Check camera hardware with 3rd party camera app. If possible take a backup and do hard format.