[Lineage] Cannot connect to camera / Rear camera and flash not working - Galaxy S 4 Mini Q&A, Help & Troubleshooting

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
Code:
su
killall mediaserver
killall cameraserver
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.

Did you solved this problem? I have exactly the same issue on my HTC one m9. The camera worked well before I upgraded to Lineage 15.1 so I soubt that is hardware fault.

alb108 said:
Did you solved this problem? I have exactly the same issue on my HTC one m9. The camera worked well before I upgraded to Lineage 15.1 so I soubt that is hardware fault.
Click to expand...
Click to collapse
Oh gosh, I hope you're wrong! Actually, since I could not manage to solve the problem myself I assumed it was indeed a hardware problem, so I have just ordered a replacement! It will arrive soon! I will let you know as soon as it arrives. Please remind me here if I forget (I do receive notifications)

alb108 said:
Did you solved this problem? I have exactly the same issue on my HTC one m9. The camera worked well before I upgraded to Lineage 15.1 so I soubt that is hardware fault.
Click to expand...
Click to collapse
Hi, I can confirm that (luckily) the new phone's camera works fine it was probably a hardware problem on my old phone (also the flash was not working). Maybe it is the case for your HTC as well?

alb108 said:
Did you solved this problem? I have exactly the same issue on my HTC one m9. The camera worked well before I upgraded to Lineage 15.1 so I soubt that is hardware fault.
Click to expand...
Click to collapse
I forgot to mention: the replacement phone I got is exactly the same as the old one (S4 mini LTE, serranoltexx) and also the Lineage version and apps installed.

Related

Modded Defy and auto focus

Hey dudes,
Here my problem:
Since I first modded my Defy, I lost camera auto focus capability. Have you any idea how to solve it?
I can't read barcode anymore.
I'm using a Pays rom 5.1.
Thanks!
Sent from my Defy.
u tried uninstalling the app and then reinstalling it again?
I have a similar problem with Pays 5.1:
Mostly the camera works but the picture is cut somewhere (rest of the screen is in the color of the last pixel recorded correctly I think) and the screen is frozen for a few seconds until the camera works again (picture is not saved)
and sometimes the whole picture is black or very dark (saved, but useless).
Maybe this happens because of an error in this rom?
I don't know, but I tried to uninstall and then reinstall the application, but it didn't work.
It seems that CEE and UK roms don't use the proper AF setting..
Sent from my Defy.
I'm using 3.4.2-155-CEE in Barebones 1.3 and it's ok. There's jpeg fix on the Barebones thread (on the latest pages), but i don't know if it can help, since Pays use 3.4.3-11
I flashed 3.4.2-155-CEE (no custom rom, no data) and took about 20 pictures - no error.
LordNemesisXDA said:
I have a similar problem with Pays 5.1:
Mostly the camera works but the picture is cut somewhere (rest of the screen is in the color of the last pixel recorded correctly I think) and the screen is frozen for a few seconds until the camera works again (picture is not saved)
and sometimes the whole picture is black or very dark (saved, but useless).
Maybe this happens because of an error in this rom?
Click to expand...
Click to collapse
I have the same problem with S.Froyo Cee Edition.... Sometimes i can not take a picture because of freezing screen with the lower part painted with plain color. Sometimes it's ok. When i was on a factory firmware 3.4.2-155 there were no problems with the camera....
I am using official french 2.2.2 update(since my defy is from france). I've updated it trough motorola defy, and my phone lost auto focus. On 2.1 there was the rectangle and when it gets green the camera takes the photo, now it just snaps without the focus.
:/
I've tried camera 360, and auto focus works there, but I need a fix for the stock app. :/
EDIT: I've went to Settings/manage applications/Camera and clicked on the Clear Data, and now auto focus is back!
hi all.
i had a similar problem: after update from 2.1 to 2.2.2 (cee stock both), auto-focus stopped working. tried the "clear data", but without a success. i didn't want to make factory reset, so i tried "fix permission" from rom manager. at first, it threw an error, because it didn't find the busybox. installed it to "/system/bin". after that, fix permission run without an error, reboot, and focus is working again.
just for record
Hello,
I am using French 2.2.2 stock rom and since the update from 2.1, I lost the autofocus. I tried to clear all data from the stock camera app but it did not work. I also tried fix persmissions from Rom Manager as said above but with no luck.
I noticed that the autofocus does not work with Camera360 and Barcodescanner either...
Any clue on what I could try (without a full reset which would be my last resort ) Thanks!
same here
I have the same problem since Cyanogenmod 7.1 flash.
I tried the "clear app data" method and the "fix permissions". Still I can't get any focus.
Some help please ?
Thanks
I have the same problem, neither the clear data nor the fix permissions didn't work...
Hello,
same problem for me, so that programs like prixing or barcode scanner don't work properly .
Thanks
Very annoying problem, I tried everything.
Factory reset, fix permissions, clear cache.
I have WajkIUI (Miui based custom rom) and the 2 camera app do the same. Auto focus is dead.
What is your opinion, it this a hardware related issue?
vicked said:
Very annoying problem, I tried everything.
Factory reset, fix permissions, clear cache.
I have WajkIUI (Miui based custom rom) and the 2 camera app do the same. Auto focus is dead.
What is your opinion, it this a hardware related issue?
Click to expand...
Click to collapse
I can tell you (from personal experience ) that it is possible for the camera module auto focus to break, the camera will still work "normally" but just won't focus.
Mine is/was a SoC module, so I've just been looking to see if I could find a Bayer module to replace it. I haven't found one yet though....
Have you tried going back to a stock ROM yet?
I didn't try jet.
Is it possible that the rollback solve this issue?
I don't even know what is my camera module, but when I arrive to home I will check it.
Well it appears that it might not be the actual camera itself that is broken, I've just replaced mine and the autofocus still doesn't work
I've tried flashing stock sbfs, and also all the suggestions above as well, so I was "sure" it was the actual camera that was broken.
I have absolutely no idea what to try now. Maybe the power for the focus motor in the module comes from a different place to the main camera power?
Does anyone know how to get more detailed debugging information on what happens when the camera is told to focus?
Even if you press and hold the camera soft button it will not focus and give you the green square?
How about booting the phone.. is there any clicking sound from the camera that it auto adjusting itself?
farsight73 said:
Even if you press and hold the camera soft button it will not focus and give you the green square?
How about booting the phone.. is there any clicking sound from the camera that it auto adjusting itself?
Click to expand...
Click to collapse
No, whatever I press, the green square never appears, and there is no clicking sound during boot.
mmec2 said:
Well it appears that it might not be the actual camera itself that is broken, I've just replaced mine and the autofocus still doesn't work
Click to expand...
Click to collapse
Did you manage to get a Bayer camera module from SBE like you said you were going to try in this thread?

Front Facing Camera not working / causes camera app to crash

All,
I noticed yesterday when attempting to use the front facing camera that I get only a black screen, the camera app switches back to rear camera for a moment, then the app closes.
I am not sure when this became an issue as I'm not a selfie kind of guy. The rear camera continues to function just fine.
I have tried the following fixes
wipe data in the camera app
wipe user data
uninstall / reinstall camera update
boot into safe mode
uninstall / reinstall app that utilize the camera
None of the "fixes" have resolved the problem.
Does anyone have a suggestion where to head next?
Phone is S-Off, unlocked, rooted, and running the latest stock ROM.
Should I just say f-it and try a different ROM?
Thanks in advance for any advice!
Update: I flashed LeeDroid ROM this morning and the front facing camera is still not working. Looks like it could be a hardware issue...
Dfib said:
Update: I flashed LeeDroid ROM this morning and the front facing camera is still not working. Looks like it could be a hardware issue...
Click to expand...
Click to collapse
yah, that's what it looks like. hope you have warranty.
I have the same issue. Previously when I pressed the swirly-arrows button it tried to switch then locked up and wouldn't do anything until I restarted. Now when I press the button it just spins around and nothing happens. I used catlog reader to find some errors being logged. I posted a thread about it if you're interested.
http://forum.xda-developers.com/htc-10/help/facing-camera-t3447559

Camera not working!!!

I have started with the stock ROM, and used cm13, and even updated to the newest fully stock ROM 3.2.4 and to no avail.
The camera app either force closes or nothing shows up on screen. Every once in awhile the front camera will work, but I'll click the icon to switch to the rear camera and no effect, it just stays on fron t camera.
I've tried many third-party apps, I've tried cm camera fix, everything I can think. Clearing data and coach for the app the whole shabang.
Now I'm ordering a brand new camera module and I will see what happens. But any help and any information will be much appreciated thanks
Was it working when you bought it...what did you do to it before it broke?
it definitely seems like a hardware issue, had it been a software issue a custom rom or 3rd party camera might have resolved it and since you have tried many roms and reverted back to stock too so it doesnt look like a software issue.
GeneralDisaray2 said:
Was it working when you bought it...what did you do to it before it broke?
Click to expand...
Click to collapse
Funny you should ask, because I honestly don't know when it actually started but I do remember wiping userdata so I could unencrypt my phone and thereafter was when I noticed it no longer worked. Don't know if those 2 things correlate because I flashed back to stock (which is encrypted) and still no luck
Did you solve the camera problem ???

Camera not working

Hello,
so for the past few weeks my camera hasn't been working and I finally decided to ask you guys for help.
It all started when I wanted to try RR but it kept asking for 21C modem so I quickly downloaded one and flashed it. So I checked what I needed and restored Fulmics from the nandroid backup I made, but the camera app stared to just crash and since then I pretty much don't have camera.
What I've tried till now:
Restoring to stock
Flashing Fulmics again
Replacing the camera
Still can't resolve this issue...
By restoring to stock, do you mean flashing a TOT or KDZ file?
If you have done that and still not working you have something broken in your hardware.
Is the front camera working?
I guess you have already tried a different camera app.
Brgds
Sent from my phone
ypsmav said:
By restoring to stock, do you mean flashing a TOT or KDZ file?
If you have done that and still not working you have something broken in your hardware.
Is the front camera working?
I guess you have already tried a different camera app.
Brgds
Sent from my phone
Click to expand...
Click to collapse
Sorry for the late reply. I used the kdz file. The front camera is working. The thing is that yesterday the camera worked for a few minutes just fine. It's strange.
Fr33aKk said:
Sorry for the late reply. I used the kdz file. The front camera is working. The thing is that yesterday the camera worked for a few minutes just fine. It's strange.
Click to expand...
Click to collapse
Ummm... sounds strange... maybe your camera is partly broken, did you drop your phone or something before this problem? If so, the camera could have a bad connection to the motherboard or is about to die.
Saratoga79 said:
Ummm... sounds strange... maybe your camera is partly broken, did you drop your phone or something before this problem? If so, the camera could have a bad connection to the motherboard or is about to die.
Click to expand...
Click to collapse
I know right? I've never dropped it. I replaced the camera so I wonder if it can somehow be a software problem...
Just wanted to bump this as I STILL have this problem...
Same issue here, was running fulmics for several months with no issue, then suddenly and out of nowhere my camera app started to fail. At first the front camera looked stretched and weird and some app buttons dissapeared such as flash, but I could still choose front or rear camera and both worked fine. Then it got worse and the button to switch cameras dissapeared completely. I tried re flashing fulmics, tried xenon rom, tried back to stock... nothing so far. I tried booting in safe mode and the camera app gives me the option to choose rear camera but when I press it the app crashes.
I hope someone can find a fix for this!
nemor44 said:
Same issue here, was running fulmics for several months with no issue, then suddenly and out of nowhere my camera app started to fail. At first the front camera looked stretched and weird and some app buttons dissapeared such as flash, but I could still choose front or rear camera and both worked fine. Then it got worse and the button to switch cameras dissapeared completely. I tried re flashing fulmics, tried xenon rom, tried back to stock... nothing so far. I tried booting in safe mode and the camera app gives me the option to choose rear camera but when I press it the app crashes.
I hope someone can find a fix for this!
Click to expand...
Click to collapse
No software update inbetween? Sounds like a hardware issue, try cleaning your connections and reattaching the Camera tightly.
The camera module is extremely close to the problematic overheating chip in the G3, so it's not impossible something got messed up.
I have Exactly the same problem.. Pleaaase someone give us a solution.. Fulmics ruined our phones
I have that same problem. Resolved?
There were fulmics rum. I decided to replace it with RR rom. The rear camera did not work, the flash did not work.
I installed a different kernel but it was not resolved.
Help plsss

Front Cam Not Working

For a few months ago, my M30's front camera doesn't work. Sometimes the rear camera works but when I switch to front, the app freezes and then I've got to close it. I tested front camera by dialling *#0*# but it says FAILED!!
Any solution anyone?
Azamsm said:
For a few months ago, my M30's front camera doesn't work. Sometimes the rear camera works but when I switch to front, the app freezes and then I've got to close it. I tested front camera by dialling *#0*# but it says FAILED!!
Any solution anyone?
Click to expand...
Click to collapse
Did it ever fall? Is the upper part of the phone broke3n or anything. This data line error is new to me.
Front camera not working
Same problem i am also facing since android 10 update. Tried flashing stock rom couple of times but didn't helped. Many users facing same problem after android 10 update. After factory reset sometime it is working for a first use and then again same problem. Currently My phone is on TWRP and on Turbo Rom.. by anyway i can change the camera version?
Vipul_dhari said:
Same problem i am also facing since android 10 update. Tried flashing stock rom couple of times but didn't helped. Many users facing same problem after android 10 update. After factory reset sometime it is working for a first use and then again same problem. Currently My phone is on TWRP and on Turbo Rom.. by anyway i can change the camera version?
Click to expand...
Click to collapse
I checked just now, it works fine. I tried various angles. Everything works fine. As I asked, it may be due to some hardware trouble or something triggering it.
vdbhb59 said:
I checked just now, it works fine. I tried various angles. Everything works fine. As I asked, it may be due to some hardware trouble or something triggering it.
Click to expand...
Click to collapse
I read on Samsung Community that a user with the same camera error had to go to service center and had the motherboard changed. I believe it IS a hardware issue
Azamsm said:
I read on Samsung Community that a user with the same camera error had to go to service center and had the motherboard changed. I believe it IS a hardware issue
Click to expand...
Click to collapse
Yup, does sound like hardware issue. Just FYI, Samsung current charges are exorbitant, and they in some countries FORMAT whole data even for smallest of things, irrespective of hardware or software issues (f***ing idiots). So, please beware of the 2 points.

Categories

Resources