When the problem first started I was running CyanogenMod 11 nightly. It ran sporadically and I replaced the battery, which fixed all of the problems I was experiencing except for the camera crash. I tried out SlimRom and then back to CM but it doesn't seem to work on any ROMs. I also tried disabling the built in camera and using the Google camera, and vice versa.
There are two error it gives:
Camera Error!
Cannot connect to camera.
And:
Unfortunately, camera has stopped.
I assume that the first error is given by the application and the second error is given by android itself.
The really weird thing, is that the CamScanner app can access my camera fine without crashing.
I have just been dealing with the issue, because I have tried everything I can think of to fix it. But I would like to use my camera as I am sure anyone could understand.
If anyone could brainstorm up any ideas as to why its crashing, feel free to share. 
There are two error it gives:
Camera Error!
Cannot connect to camera.
And:
Unfortunately, camera has stopped.
I assume that the first error is given by the application and the second error is given by android itself.
The really weird thing, is that the CamScanner app can access my camera fine without crashing.
I have just been dealing with the issue, because I have tried everything I can think of to fix it. But I would like to use my camera as I am sure anyone could understand.
If anyone could brainstorm up any ideas as to why its crashing, feel free to share. 
Last edited: