EDIT: The culprit was Cerberus, and its "Wrong Unlock Code Photo" feature (and possibly all of its features that relate to using the camera). See post #8.
What the problem is: after a couple of minutes or hours, your camera suddenly "dies", meaning when you open any camera app (e.g. Snapchat, Camera Zoom FX, stock Camera, Instagram (when taking a picture)), causing "Camera has failed" or "Cannot connect to camera" messages. The only solution to this is rebooting.
Supposed solutions: there are many "solutions" posted that apparently worked for people, such as:
- Flashing back to stock (and sticking with the stock kernel)
- Doing a factory reset / internal storage wipe
- Battery (and MicroSD) pull
- Clearing the data and cache for Camera (and Gallery)
- Removing or replacing the MicroSD card (if any; it may be corrupted)
- Deleting all images/videos (may be corrupted)
- Uninstalling Skype
- Killing the mediaserver process
- Unfreezing the default Email.apk
- Updating the camera firmware (note: must have TouchWiz)
- Physically opening the back, and checking the camera connection
- And some other weird ones, like removing the top left screw.
(disclaimer: do the above "solutions" at your own risk)
What I've done: I did all of the above, except the last two which involve you physically opening up your phone.
Even flashing back to stock (TouchWiz), removing my MicroSD card, unfreezing the default Email.apk, updating the camera firmware to the latest version, I still get the failed camera every now and then. Clearing data/cache for Camera/Gallery doesn't fix it. Only a reboot does.
Possible Cause and Solution: undervolting too much may be the cause.
One common denominator that I recently realized is that I like to undervolt (e.g. lowest frequency set at 800 mV). I usually flash a custom kernel almost immediately after I flash a rom, and then configure it.
Currently I have reset my kernel (KT747) to its default settings, default voltages, and the camera has been working for the past few hours, so let's see how this goes! I will keep everyone updated.
I just wanted to share this thread because I know this is a pretty annoying "bug" and I know how much we XDAers like to tinker with our kernels and voltages.
Of course, another assumption may be that the hardware itself has deteriorated and needs to be replaced, but I keep my phone in an Otterbox and have never dropped it.
If you are reading this and you have no problems with your camera: DO A NANDROID BACKUP NOW. I have no idea why or how this problem started, but that's one piece of advice I would offer to those of you who don't currently have this issue.
What the problem is: after a couple of minutes or hours, your camera suddenly "dies", meaning when you open any camera app (e.g. Snapchat, Camera Zoom FX, stock Camera, Instagram (when taking a picture)), causing "Camera has failed" or "Cannot connect to camera" messages. The only solution to this is rebooting.
Supposed solutions: there are many "solutions" posted that apparently worked for people, such as:
- Flashing back to stock (and sticking with the stock kernel)
- Doing a factory reset / internal storage wipe
- Battery (and MicroSD) pull
- Clearing the data and cache for Camera (and Gallery)
- Removing or replacing the MicroSD card (if any; it may be corrupted)
- Deleting all images/videos (may be corrupted)
- Uninstalling Skype
- Killing the mediaserver process
- Unfreezing the default Email.apk
- Updating the camera firmware (note: must have TouchWiz)
- Physically opening the back, and checking the camera connection
- And some other weird ones, like removing the top left screw.
(disclaimer: do the above "solutions" at your own risk)
What I've done: I did all of the above, except the last two which involve you physically opening up your phone.
Even flashing back to stock (TouchWiz), removing my MicroSD card, unfreezing the default Email.apk, updating the camera firmware to the latest version, I still get the failed camera every now and then. Clearing data/cache for Camera/Gallery doesn't fix it. Only a reboot does.
Possible Cause and Solution: undervolting too much may be the cause.
One common denominator that I recently realized is that I like to undervolt (e.g. lowest frequency set at 800 mV). I usually flash a custom kernel almost immediately after I flash a rom, and then configure it.
Currently I have reset my kernel (KT747) to its default settings, default voltages, and the camera has been working for the past few hours, so let's see how this goes! I will keep everyone updated.
I just wanted to share this thread because I know this is a pretty annoying "bug" and I know how much we XDAers like to tinker with our kernels and voltages.
Of course, another assumption may be that the hardware itself has deteriorated and needs to be replaced, but I keep my phone in an Otterbox and have never dropped it.
If you are reading this and you have no problems with your camera: DO A NANDROID BACKUP NOW. I have no idea why or how this problem started, but that's one piece of advice I would offer to those of you who don't currently have this issue.
Last edited: