I'm getting seriously mad at this crazy issue. My rear camera and flash stopped working a few days ago for no reason at all. I'm running the latest Lineage OS nightly (2018-02-22) but I also tried a couple of older builds, with the same result. I do not have Gapps installed, I only use F-Droid. Phone is rooted.
If I try to open the default camera app I get "Camera Error - can't connect to camera". Then it closes.
Using Barcode Scanner says "Sorry, the Android camera encountered a problem. You may need to restart the device".
Taking pictures or videos with Signal says "camera unavailable" and closes the video window.
Open Camera works if I select the front camera, but selecting the rear camera says "Failed to open camera. Camera may be in use by another application"
Also the flashlight doesn't work: neither the stock widget, nor the "Search Light" app ("The camera is in use by another application").
I killed the stock camera process and cleared cache and data. Nothing.
I did the same for any other app which might be potentially connected to the use of the camera, I had even to reset settings of Signal etc.
I opened a teminal and run
to no avail.
Eventually I freshly reinstalled another Lineage image, clearing Cache and Dalvik - but no data.
As far as I understand, at this point the next logical step would be a full reset. Either that works or it's an hardware fault. Before arriving at that point, does anyone have some other idea? I would be really thankful.
Thanks and cheers.
If I try to open the default camera app I get "Camera Error - can't connect to camera". Then it closes.
Using Barcode Scanner says "Sorry, the Android camera encountered a problem. You may need to restart the device".
Taking pictures or videos with Signal says "camera unavailable" and closes the video window.
Open Camera works if I select the front camera, but selecting the rear camera says "Failed to open camera. Camera may be in use by another application"
Also the flashlight doesn't work: neither the stock widget, nor the "Search Light" app ("The camera is in use by another application").
I killed the stock camera process and cleared cache and data. Nothing.
I did the same for any other app which might be potentially connected to the use of the camera, I had even to reset settings of Signal etc.
I opened a teminal and run
Code:
su
killall mediaserver
killall cameraserver
Eventually I freshly reinstalled another Lineage image, clearing Cache and Dalvik - but no data.
As far as I understand, at this point the next logical step would be a full reset. Either that works or it's an hardware fault. Before arriving at that point, does anyone have some other idea? I would be really thankful.
Thanks and cheers.