Camera does not work - Moto G5 Questions & Answers

Ok I've googled a lot and none of the suggested solutions worked.
Device: Cedric XT1676
Bought second hand with Oreo pre-installed. Camera does not work. Things I tried:
- Clear cache/data and adjust permissions of camera app
- Clear cache partition
- Tried OpenCam
- Tried Custom ROMS: LineageOS 15, 16, OMNI, ArrowOS, back to stock
In all custom ROMs the camera app immediately closes and does not work. Any terminal command to debug the issue or other way to fix it?
Happy for any help on this issue

Camera does not work correctly on custom oero/pie roms
If you are trying to work out if your camera works then it's pointless trying these roms
Flash the latest stock oero firmware via fastboot
If the camera doesn't work correctly with stock oreo firmware it's likely to be a hardware fault

Possibly it is a camera problem, try changing it or take it to be repaired

Related

[Q] Can a ROM kill the camera?

I had a perfectly working Galaxy Nexus running CM10.x, which I updated to a CM11 nightly. This worked great for a week or so and then the camera and gallery started FCing. After several resets, restores, newer/older nightly installs, nothing changed. Tried all possible combinations of new/old Gapps, but still no luck. I tried different ROMs - PA, stock 4.3 and some others, but nope. I even tried Ubuntu Touch and even that couldn't access the camera. This is when I was pretty convinced that the camera module itself must have died.
My questions:
What killed the camera? Is it possible that a bad ROM could have done it?
Is it possible to fix this via software?
I can try and get it repaired locally, but I just want to know if anything can be done at home.
Thanks.
aalaap said:
I had a perfectly working Galaxy Nexus running CM10.x, which I updated to a CM11 nightly. This worked great for a week or so and then the camera and gallery started FCing. After several resets, restores, newer/older nightly installs, nothing changed. Tried all possible combinations of new/old Gapps, but still no luck. I tried different ROMs - PA, stock 4.3 and some others, but nope. I even tried Ubuntu Touch and even that couldn't access the camera. This is when I was pretty convinced that the camera module itself must have died.
My questions:
1) What killed the camera? Is it possible that a bad ROM could have done it?
2) Is it possible to fix this via software? I can try and get it repaired locally, but I just want to know if anything can be done at home.
Thanks.
Click to expand...
Click to collapse
A ROM wouldnt just kill the camera over time. It would have not worked right after the ROM was installed. So I doubt it was a ROM. I would do a full reset. Not just a normal factory reset but flash the factory image and see if it fixes it. If it doesn't then most likely it's a hardware issue.
jsgraphicart said:
A ROM wouldnt just kill the camera over time. It would have not worked right after the ROM was installed. So I doubt it was a ROM. I would do a full reset. Not just a normal factory reset but flash the factory image and see if it fixes it. If it doesn't then most likely it's a hardware issue.
Click to expand...
Click to collapse
I've used the phone for over a year without any issues with several kernels and ROMs before and the camera worked just fine.
Yes, I've done a complete clean up - I wiped the whole phone and memory (using the fastboot -w option) and installed different ROMs and even a different OS (Ubuntu Touch), but the camera issue persists.
I believe it's hardware issue, but I just wanted to know if anyone's faced a similar problem.
aalaap said:
I've used the phone for over a year without any issues with several kernels and ROMs before and the camera worked just fine.
Yes, I've done a complete clean up - I wiped the whole phone and memory (using the fastboot -w option) and installed different ROMs and even a different OS (Ubuntu Touch), but the camera issue persists.
I believe it's hardware issue, but I just wanted to know if anyone's faced a similar problem.
Click to expand...
Click to collapse
So you went through this process?
http://forum.xda-developers.com/galaxy-nexus/general/how-to-return-to-stock-galaxy-nexus-t1626895
jsgraphicart said:
So you went through this process?
http://forum.xda-developers.com/galaxy-nexus/general/how-to-return-to-stock-galaxy-nexus-t1626895
Click to expand...
Click to collapse
Yup. I believe that's the exact post I referred to when I did it.
It even lost root during this process (of course) and I had to do it again - something I hadn't done in almost two years.
Since it was a spare phone, there wasn't any useful data on it. I backed up a few pictures and completely wiped it clean. No luck.
I'll add that the issue is only with the camera. Some apps FC, some apps (such as Camera+) give a message saying it was unable to connect to the camera or something. I believe the Gallery also FCs because it uses the camera at some point. All other apps work perfectly fine.
aalaap said:
Yup. I believe that's the exact post I referred to when I did it.
It even lost root during this process (of course) and I had to do it again - something I hadn't done in almost two years.
Since it was a spare phone, there wasn't any useful data on it. I backed up a few pictures and completely wiped it clean. No luck.
I'll add that the issue is only with the camera. Some apps FC, some apps (such as Camera+) give a message saying it was unable to connect to the camera or something. I believe the Gallery also FCs because it uses the camera at some point. All other apps work perfectly fine.
Click to expand...
Click to collapse
Usually if the phone has any issues at all, that process fixes them. And if it doesn't, then there is usually something wrong with the hardware. I wouldn't think the problem was brought on by installing a ROM or kernel though.
I think it's related to the kernel that you're using
......
i think yes but if you change the rom it will work
some roms the camera has some bugs big bugs colors are broken and stuff

Back camera not working/Flashlight not activating on stock, custom ROM or safe mode

Hi all,
I've been having quite a few problems with my month-old HTC 10, specifically with the camera (and the WLAN coverage, but at least that's working somewhat!) I finally unpacked it last week and have spent the whole week since attempting to fix the "Camera has stopped/Unable to connect to camera" problem. The selfie camera, however, is perfect and can be used in other apps, but attempting to switch to the camera on the back results in a freeze/force close. Considering I decided on the HTC 10 because of the camera quality, I'm a bit disappointed so far. A google search reveal a number of people having the same problem, but no real solution. Here's what I've done so far:
- Set up phone, comes with Nougat 7.0. Camera works at first, though seems to have problems with the auto focus. Camera app then updates overnight and stops working. Clear data/cache, remove updates, hard reset - no good. Flashlight does not work either, simply says "loading..." and stays like this indefinitely until closed.
- Factory reset, no change. Switch to safe mode, no change. Decided to unlock bootloader and install custom ROM after hearing that would fix it (I know, I know...I should have just sent it back at this point). Install Viper 5.10 + root with magisk, camera and flashlight still not working. Safe mode, not working. Full wipe in TWRP, RUU back to stock firmware (CID: HTC_034, flashed 2.41.401.3 signed firmware). Set up phone again on stock firmware, still no change in camera or flashlight.
- Install LeeDroid 10 3.7.0 custom ROM, root with magisk. I get a breakthrough here; turning off "OK Google" in settings gets the camera and flashlight working again! Still have the "laser autofocus blocked" issue, but I figure I'll deal with that later. Backed up with TiBu.
- Next day, decide to use a ROM that includes the latest security patches (got a bit annoyed waiting for HTC to push out the European updates, still on 1st January patch) so went for Resurrection Remix. Wipe, clean install etc. Camera stops working again, no change in safe mode. Wipe, clean flash back to LeeDroid, camera is no longer working, in normal mode or safe mode.
- Went through a bunch of custom ROMs at this point; ICE, Dirty Unicorns, LineageOS, then decided to try RR, LeeDroid and Viper again - camera still not working in normal mode or safe mode. With the ROMs that required GApps, used every package in both Open GApps and Dynamic GApps to install. No change to camera, Google Camera was unable to start as well.
- Flashed upgraded RUU (2.41.401.4 signed firmware) and went through the process of wipe/clean install custom ROM/test camera with all the above custom ROMs in normal mode and safe mode. No change in camera, though the ROMs were all excellently made
At this point I'm pretty stumped If it was a hardware problem, why did it work when I first installed LeeDroid, but not after? It's not been mishandled, it's just been sitting on my desk since I got it. The fact that it doesn't work in safe mode would suggest to me that ,maybe, a camera driver has been deleted somewhere along the way? I also tried a load of other methods I found on various message boards; flash it with no SD card inserted, flash without SIM card installed, etc. but absolutely nothing works.
Third party camera apps also don't work; most simply crash on starting. Open Camera says "Unable to access camera. Maybe being used by another app?", so I tried removing the permissions of all apps that had access to the camera except the camera itself - no change. Deleted cache/data/preferences of all apps - no change.
Finally, I had a look at the HTC diagnostics test using *#*# 3424 #*#* on the dialler - the camera test doesn't even show up! :crying:
I've run out of things to try at this point, so I'm posting this here to see if anyone can possibly shed some light on this very strange situation. Is there something I can do to fix it? Or should I start begging Amazon to give me a refund? Unfortunately I'm a week outside their 30 day return window...lesson learned for next time; if in doubt, send it back!
Oops, meant to post this in the Q and A forum. Don't want to spam a duplicate, is it possible to move it over?
Hardware issue. Contact HTC for a replacement. sounds like it may just not be connected. I had one with no working vibration notification, the motor would turn on, you could hear it, but the phone wouldn't vibrate. Got it replaced ASAP! I recommend you do the same!
FinnMacKool said:
Hi all,
I've been having quite a few problems with my month-old HTC 10, specifically with the camera (and the WLAN coverage, but at least that's working somewhat!) I finally unpacked it last week and have spent the whole week since attempting to fix the "Camera has stopped/Unable to connect to camera" problem. The selfie camera, however, is perfect and can be used in other apps, but attempting to switch to the camera on the back results in a freeze/force close. Considering I decided on the HTC 10 because of the camera quality, I'm a bit disappointed so far. A google search reveal a number of people having the same problem, but no real solution. Here's what I've done so far:
- !
Click to expand...
Click to collapse
Same issue here. The only thing that works for me (so far) is flashing back to a Marshmallow rom. HTC has been completely silent on this issue in terms of actually fixing the problem. They know the problem is there for only a small number of us and so aren't going to do anything about it. Fine. This was my first and will be my LAST htc phone. Buh bye htc, you'll never get another dime from me.
Did you fix the issue, coz i have the same in my HTC 10
Hi
follow my post in anildsouza73 blog..I will show how to fix it if someone really spoiled it...have a good day..
from yesterday morning the problem appeared to me. Initially, the difficulty in focusing, then rebooting the impossibility of opening the camera app and the flashlight. I found on Youtube the videos that showed the same problem. Is there a solution today?
Hi all
I found if I cleared my flashlight cache and then the camera cache, soft reset phone I could get the camera working again. Only problem now is the autofocus is not working properly. Any ideas for that?
Same problem. Focus stopped working, then I cannot launch camera app. Anyone found a solution?

problem with camera

Hi all
All of a sudden, camera stopped working on my Nexus5X. I was on AquariOS at that moment. Camera crashes every time I try to open any camera-related app. Rebooting in safe mode may help for one shot, but more likely not. Doesn't matter whether I try to use front- or rear-facing camera.
What I did:
Clean reflashed AquariOS - same error
Flashed Google stock 8.1 - didn't help
Flashed PureNexus 7.1.2, on what camera definitely was working when PureNexus was actual - nope
Took the phone itself to repair shop, where camera was replaced, still FC. Therefore, it's not a broken camera, looks like a software issue. I'm lost
I did flash appropriate vendor image every time I flashed new OS.
Any advice will be highly appreciated.

can't switch to front camera

Whenever I try to switch to front camera on my redmi note 5 pro(whyred) it switch to secondary rear camera.Don't know what's going on.need help!I tried different apps, different roms, clean stock firmware.*Video calling apps are also not working. This happened few days ago maybe because I was trying to enable camera 2 API without root from an app from playstore which is highly unlikely. I can't see front camera details in any hardware spec app so I'm assuming hardware issue but then why it's switching to second rear camera I'm confused. Anyone .?
You can't enable cameraapi2 without root, flash a miui with mitools, clear data as well. See if cameras with then.
JustS0meone said:
You can't enable cameraapi2 without root, flash a miui with mitools, clear data as well. See if cameras with then.
Click to expand...
Click to collapse
I tried, I'm getting antirollback error in miflash tool.
So i flash stock rom using orangefox recovery. Still same issue

MiUi not working properly

So i've been trying a lot of roms, but now when I go back to MiUi random things stop working, like the cameras, motion sensors and even the find my device storage (or something like that)
Anyone has any idea of why this is happening? like, everything works fine in every rom I try, but as soon as I install MiUi things stop working.
I was wondering if it has to do with the roms leaving junk data behind...?
If you reverted from custiom A10 or A9 roms better flash miui with miflashtools via fastboot.
To solve the camera error install persist.img from fastboot version of current miui rom.
I had the same problem as op. Flashing Miui via miflashtools didn't helped, but I'll try again.
Edit: everything's working fine with Miui EU 11.0.6

Categories

Resources