Camera and torch not working LineageOS - Xiaomi Mi Mix 2 Questions & Answers

Hey Guys,
My rear camera and torchlight aren't working anymore. I'm running the latest official LineageOS build.
My phone was on FW 8.7.5, because it was the recommended one for a while, but I read last week that 8.4.19 is the recommended one again. I just flashed the old version on Friday and everything was fine. I went out on Friday and also took a picture, no problem... But I noticed every now and then that the camera was only showing a black screen. I was on an older build, so I decided to flash the latest one (from last Monday), but it didn't fix the problem. I can now only use the front camera and not the rear camera or torchlight. I tried some Google can mods the last week, could that maybe be an issue? I already tried other apps, but only the front camera works. Clear cache &, deactivate of the stock cam didn't help.
Anybody know what could be the problem? I didn't reinstall the phone yet, because I had no time.
Hopefully it's not a problem that I opened a new thread and didn't post in the rom specific one, but I thought this could be a general problem and it's not rom related, because it just started without updating LineageOS...
Cheers

Flashed the stock ROM and it didn't fix the problem, so I guess it's the hardware. The phone is now one the way back and I'll get a replacement.

Related

[Q] Camera not working

Hey,
I know there are a few threads on this but I haven't found one that followed through to a reported solution.
G2 rooted with CyanogenMod 6.1.1 since January of this year. Tried google goggles and the app locked up. I finally realized that was because the camera has stopped responding. When I pressed on the camera help, nothing changes for a few seconds, then it goes to a black screen. Eventually, (pressing on the back key helps) I'll get a force close/wait screen. Camera had been working fine the previous day.
I've tried clearing caches, using a different SD card with no changes. Used the opportunity to finally upgrade to CyanogenMod 7.0.3 and cleared all the caches as part of the flash. Tried the camera the first chance I could get the phone to that point. Same response from the camera (hesitate, black screen, force close).
So, is there anything else to try or is this a hardware camera failure?
Thanks for any help.
Try flashing some other rom. If that fails, then try flashing another radio.
I'd suggest taking a rooted stock rom and a stock radio just to be sure.
Thanks, but I'm trying to understand what any of that would do to fix the camera over what I've already tried.
I guess I'm looking for anyone that actually had a similar problem and either fixed it or failed to fix it.
Thanks.
Well for once the stock rom uses HTCcamera.apk to open the cam. Since you are using CM7 its a completely different apk.
Radio is somethign that is responsible for almost every device on your phone. Then the drivers that are in the Kernel, and then the ROM which has the apk, that uses the driver from the kernel to start the camera that is defined in the radio.
Well, nothing worked. Unrooted and back to stock (camera still doesn't work). Replacement phone is on it's way.

Annoying camera and wifi problems with p8000

I got this phone a few days ago and it would be good if it didn’t have 3 annoying problems which are disconnects from wifi (plus it won't reconnect), camera won't open (it says the gallery has stopped working) and google now searches come up blank, the only way to fix these is to reboot the phone and I have to do this 3 times a day, is this a rom problem or a problem with the phone itself? I have the default rom which came rooted
tommybc said:
I got this phone a few days ago and it would be good if it didn’t have 3 annoying problems which are disconnects from wifi (plus it won't reconnect), camera won't open (it says the gallery has stopped working) and google now searches come up blank, the only way to fix these is to reboot the phone and I have to do this 3 times a day, is this a rom problem or a problem with the phone itself? I have the default rom which came rooted
Click to expand...
Click to collapse
Hi, you should try to flash a new rom (stock rom, or custom rom like eragon). Serveral users have reported similar problems and have solved with a new rom.
If you don't want to install a new rom, you could try first to wipe data (Factory reset)
Regarding to these problems i think you are using the original Stock ROM first version from the 25072015.
This version had a lot of bugs, like the camera problem,... I think you must update the ROM before you can be happy with the P8000.
There is a new Stock ROM published on the 09.09.21015 or some custom ROMs to update your Phone.
Paulpatzer said:
Regarding to these problems i think you are using the original Stock ROM first version from the 25072015.
This version had a lot of bugs, like the camera problem,... I think you must update the ROM before you can be happy with the P8000.
There is a new Stock ROM published on the 09.09.21015 or some custom ROMs to update your Phone.
Click to expand...
Click to collapse
There's a new version published on 16 October

Rear camera not working

Hi, the rear camera and flash seem to not be working a few days after installing Viper on my M9. Camera worked for about 1-2 days after flashing latest Viper ROM, but then stopped altogether. Anything trying to utilize the flash also doesn't work (HTC and Google flashlight). I've tried wiping the camera's data & cache, and I flashed the upgraded camera software that is available on Venom Hub, still no luck. Launching the camera app shows a black screen for a few seconds, then crashes back to home screen with no error message. Front camera works fine. Service provider is Sprint. Recovery is TWRP. I know that I could likely get a functioning camera back by re-flashing the Viper ROM or another ROM, but that's time consuming, and I'd prefer to only do that as a last resort. Any help greatly appreciated!
There is no fast way. Reflash the rom over the top, it shouldn't erase anything as you are recovering, not upgrading. Otherwise you're looking at going back to stock to test.
Sent from my HTC One M9 using Tapatalk
IncredibleHulk6 said:
Hi, the rear camera and flash seem to not be working a few days after installing Viper on my M9. Camera worked for about 1-2 days after flashing latest Viper ROM, but then stopped altogether. Anything trying to utilize the flash also doesn't work (HTC and Google flashlight). I've tried wiping the camera's data & cache, and I flashed the upgraded camera software that is available on Venom Hub, still no luck. Launching the camera app shows a black screen for a few seconds, then crashes back to home screen with no error message. Front camera works fine. Service provider is Sprint. Recovery is TWRP. I know that I could likely get a functioning camera back by re-flashing the Viper ROM or another ROM, but that's time consuming, and I'd prefer to only do that as a last resort. Any help greatly appreciated!
Click to expand...
Click to collapse
this happened to me without any software change (that I know of) just a hardware change. I even bought and installed a new rear camera which now allows the use of the front camera but the rear is not detected in the app and the flashlight just loops forever with a "loading" message. I am also SPRINT

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?

Camera frozen/won't open even after Factory Reset

Hello dear XDA Members,
on my OP 5T I was using the latest official Firmware 10.0.1 when suddenly the main camera froze and since then would not open again. I have tried all recommended things like restart, clearing the camera cache or the whole cache partition and so on. I performed a factory reset, downgrade to last OOS 9 version and installed latest LineageOS. Nothing worked. I also ordered a replacement camera module, but this did not work either. So it appears as if this is a hardware issue with the main board. However, I wanted to hear if anybody experienced something similar or even has a way to possibly fix this without the need for a replacement mainboard. for example through some magic commands
The other camera modules (aux back and front) work fine by the way.
Thanks in advance, have a nice day!

Categories

Resources