[Question] Can't connect to camera - Xiaomi Mi 5s Questions & Answers

Hi community,
Long time user of XDA, new user of a Xiaomi Mi 5s.
Brand new, stock MIUI8, I'm getting the error can't connect to camera. I've tried a couple of thing... rebooting obviously, and clearing the data of the camera app, no luck.
Even going into that weird test mode, I don't get any response from the rear or front camera.
Any ideas?
Thanks a lot.

Ok, I think I know the reason.
It looks like the brilliant minds from the shop (honorbuy) flashed the Global Developer ROM for the mi 5s plus on my mi 5s.
Luckily, it looks like my bootloader is unlocked, so I'll try flashing the proper European version to see what happens.
I will report, maybe it will be helpful for others.

Confirmed. The problem was that the shop flashed the wrong ROM on this phone. After flashing a proper ROM (from xiaomi.eu) on the phone, everything is working properly.
Cheers.

Related

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?

Issue with Pixel experience rom on Xiaomi Redmi note 8

Hello everybody!
I've installed the pixel experience rom on my xiaomi in order to resolve a slow connection issue. Problem is solved but i'm facing another issue: phone shut down automatically; sometimes restart correctly sometimes goes in bootloop, so i need to access twrp and flash the rom again.
I don't know how to resolve this issue.
Note: i downloaded ROM and firmware from the official website.
I'd like also to ask which camera can i install (google camera, downloaded from playstore, crashes). The one preinstalled is not good at all.
Thank You very much!

Mi Mix 2 problem after new screen

I was running Havoc OS on my mi mix 2, I replaced the screen and the phone went into bootloop on restart. Tried many things and ended up doing a full wipe/format and re-install. Only stock MIUI will work, have tried Pixelexperience, Lineage, Havoc all start and begin setup and eventually the setup crashes and starts over. Aside from the screen being replaced, the only other thing I can think of is that the front facing camera isn't working...I think I screwed up the cable when re-installing. The stock MIUI ROM doesn't have any problem, it boots normal and the only noticeable issue is if you open camera and switch to front camera the camera app crashes. Any ideas how I can get a non-miui ROM to work?
I have this problem too. Maybe are you Russian? I simple don't know English well.
kustiktm_kirill said:
I have this problem too. Maybe are you Russian? I simple don't know English well.
Click to expand...
Click to collapse
Sorry no
Any one else have ideas on why a new screen would prevent non-miui roms from working?
Same problem here. TWRP and OrangeFox blank screen, something is running in the background, I can feel vibration. Also tried PitchBlack Recovery Project, I have visual but touch screen unresponsive?
Maddening because I hate miui
Has anyone made any progress? Really would like to ditch miui but I am stuck after the new screen

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!

Question Poco F3 Signal issue both MIUI and custom roms

Hello everybody.
I have an issue with the Poco F3 regarding signal and networking.
After the last update to MIUI 12.5 and later MIUI 13, my phone was having issues making and receiving calls and also using mobile data.
Before those updates, I had no issues whatsoever.
I unlocked my bootloader and decided to try a custom rom, thinking it will solve this issue but nothing has changed.
I have "no service" in areas were many other phones (xiaomi and cheap ones at that etc) have at least 4g. Other times, while I do have service, I can't make or receive calls and even if I can, it's dropping after the first minute or so. Trying to use mobile data is a mess too, working rarely and most of the times I get that exclamation mark and cannot access the internet. It's starting to cause issues at work.
Note, that I use the phone with dual sims from different carriers and the issue is the same. I tried using only a single SIM thinking it might have something to do with dual sims but nothing.
I tried everything, from factory reset, to reseting network settings, airplane mode for 30seconds, custom roms, custom apns etc etc.
The sims work as they should on a poco m3 that I also own, but on the F3 the issue remains.
Now, the issue is much work with android 12, both with MIUI and custom rom (using PixelOS at the moment).
Do you think it is a hardware issue? Should I try an android 11 custom rom and see if the issue is fixed? Is there anything else I should try?
It's driving me crazy and since it's causing work related issues I am thinking of just getting a new phone at this point.
Thanks in advance.
crashpoum99 said:
Hello everybody.
I have an issue with the Poco F3 regarding signal and networking.
After the last update to MIUI 12.5 and later MIUI 13, my phone was having issues making and receiving calls and also using mobile data.
Before those updates, I had no issues whatsoever.
I unlocked my bootloader and decided to try a custom rom, thinking it will solve this issue but nothing has changed.
I have "no service" in areas were many other phones (xiaomi and cheap ones at that etc) have at least 4g. Other times, while I do have service, I can't make or receive calls and even if I can, it's dropping after the first minute or so. Trying to use mobile data is a mess too, working rarely and most of the times I get that exclamation mark and cannot access the internet. It's starting to cause issues at work.
Note, that I use the phone with dual sims from different carriers and the issue is the same. I tried using only a single SIM thinking it might have something to do with dual sims but nothing.
I tried everything, from factory reset, to reseting network settings, airplane mode for 30seconds, custom roms, custom apns etc etc.
The sims work as they should on a poco m3 that I also own, but on the F3 the issue remains.
Now, the issue is much work with android 12, both with MIUI and custom rom (using PixelOS at the moment).
Do you think it is a hardware issue? Should I try an android 11 custom rom and see if the issue is fixed? Is there anything else I should try?
It's driving me crazy and since it's causing work related issues I am thinking of just getting a new phone at this point.
Thanks in advance.
Click to expand...
Click to collapse
Rollback miui first to any android 11 version, see if the issue remains.
Then if you want you can flash custom roms and such... Your firmware got updated to android 12 when you upgraded miui , installing custom ROM won't downgrade it that's why you want to rollback miui
Thank you for your reply.
I need some time to do this proccess since I am practically 24/7 on call, but I will surely give it a shot when I get the chance.
Just a question though. Is it something common with this phone? A quick google search shows it happens with android 12 on the oneplus phones, but I got nothing for the poco f3.
Some time ago, with a similar issue, all I had to do was flash a kernel and it got fixed. Do you think there is a chance it is kernel related?
crashpoum99 said:
Thank you for your reply.
I need some time to do this proccess since I am practically 24/7 on call, but I will surely give it a shot when I get the chance.
Just a question though. Is it something common with this phone? A quick google search shows it happens with android 12 on the oneplus phones, but I got nothing for the poco f3.
Some time ago, with a similar issue, all I had to do was flash a kernel and it got fixed. Do you think there is a chance it is kernel related?
Click to expand...
Click to collapse
No idea... I don't think kernel houses firmware components tho , they live in their own separate partition
You can use DSU Sideloader. This allows you to boot into Android 11 and check Cell-connectivity & Wi-Fi, without touching your Main OS.
Basically, you download the Android 11 GSI, extract the "system.img", set up the app (either through Root or ADB), select "system.img" and Install.
That app utilizes Android's DSU feature, but lets you install any GSI you feed it.
Android has a built-in 'DSU Loader' in Developer Options, but it only lets you install the Android 12 and Android 13 Beta GSI, not older ones like Android 11. ^^
Note: GSI's don't work on Xiaomi.eu Custom ROM. May also not work on other Custom ROMs. ^^
cyanGalaxy said:
You can use DSU Sideloader. This allows you to boot into Android 11 and check Cell-connectivity & Wi-Fi, without touching your Main OS.
Basically, you download the Android 11 GSI, extract the "system.img", set up the app (either through Root or ADB), select "system.img" and Install.
That app utilizes Android's DSU feature, but lets you install any GSI you feed it.
Android has a built-in 'DSU Loader' in Developer Options, but it only lets you install the Android 12 and Android 13 Beta GSI, not older ones like Android 11. ^^
Note: GSI's don't work on Xiaomi.eu Custom ROM. May also not work on other Custom ROMs. ^^
Click to expand...
Click to collapse
That's a cool feature and thank you so much for the reply.
However, when trying it, I get stuck on the Poco logo and then straight to recovery. So I guess it doesn't work on the rom I am using.
Rebooting back to system from TWRP works as it should, so there are no further issues.
Tried the two official images from google, and the result is exactly the same.
crashpoum99 said:
That's a cool feature and thank you so much for the reply.
However, when trying it, I get stuck on the Poco logo and then straight to recovery. So I guess it doesn't work on the rom I am using.
Rebooting back to system from TWRP works as it should, so there are no further issues.
Tried the two official images from google, and the result is exactly the same.
Click to expand...
Click to collapse
Hm, I don't know.
You just need an unlocked bootloader (in most cases apparently).
When it didn't work for me, it was solely because of the Custom ROM Xiaomi.eu. Doesn't work at all there.
You're on Stock MIUI, I think, and it should work there normally. For me it does.
cyanGalaxy said:
Hm, I don't know.
You just need an unlocked bootloader (in most cases apparently).
When it didn't work for me, it was solely because of the Custom ROM Xiaomi.eu. Doesn't work at all there.
You're on Stock MIUI, I think, and it should work there normally. For me it does.
Click to expand...
Click to collapse
That's all true I guess.
But as I stated, I am on the PixelOS custom rom at the moment.
Just to see if the issue was MIUI specific, turning out it isn't.
I will return to MIUI 12.5 when I get the chance regardless.
crashpoum99 said:
That's all true I guess.
But as I stated, I am on the PixelOS custom rom at the moment.
Just to see if the issue was MIUI specific, turning out it isn't.
I will return to MIUI 12.5 when I get the chance regardless.
Click to expand...
Click to collapse
Did you ever get the signal problem solved?
narmak said:
Did you ever get the signal problem solved?
Click to expand...
Click to collapse
No, not at all unfortunately. Tried everything, even downgrading and switching around custom roms.
I figure it's a hardware issue and have since swapped my sim to my older Mi 9 Lite and use that device only for calls and data hotspot.
If, however, you have some solution to propose I will gladly give it a shot!
Hi, I also got myself the Poco F3 in June 2022.
Some days ago (~end of September) it started having little to no signal in places that I usually had good signal coverage.
I use 2 SIMs. I tried any combination of SIM as well as single SIMs.
Signal is bad and even if the indicator shows signal with severals bars, calls are not going out nor can I receive calls.
MIUI is
I thought of resetting the phone but after reading this thread I prefer to return the phone as long as it is still stock rather than wasting my time.
There are several posts about this issue on Amazon as well.
Same thing happening to me. This is a good smartphone but sadly, it wasn't just me that is having the same issue.
Same here. Simcard works fine in my Mi 8 and iPhone 7. Went back from LineageOS to MIUI, but MIUI tells me the Simcard "can't be activated" and doesnt get signal at all. With my Mi 8 i have 4G coverage.
I do have the exact same problem.
Tried different roms A11+A12, MIUI+Custom, even opened it up to check if the antenna cable was loose.
Has anybody fixed that problem?
did you manage to fix it? I had the same problem in pixelOs and now I want to install pixel experience but it worries me
gurripato said:
did you manage to fix it? I had the same problem in pixelOs and now I want to install pixel experience but it worries me
Click to expand...
Click to collapse
i was facing the same problem, it was solved when i flashed Xiaomi.eu 13.0.6.0 via fastboot.
its working perfectly since that, at least in xiaomi.eu. I didnt try any other rom.
Xblade234 said:
i was facing the same problem, it was solved when i flashed Xiaomi.eu 13.0.6.0 via fastboot.
its working perfectly since that, at least in xiaomi.eu. I didnt try any other rom.
Click to expand...
Click to collapse
Thanks for the hint. I will try it myself and report then...
I'm on the latest xiaomi.eu weekly beta and I do sometimes have a signal, but it's really unstable.
Xblade234 said:
i was facing the same problem, it was solved when i flashed Xiaomi.eu 13.0.6.0 via fastboot.
its working perfectly since that, at least in xiaomi.eu. I didnt try any other rom.
Click to expand...
Click to collapse
Are you using 5G or LTE data plan?
Xblade234 said:
i was facing the same problem, it was solved when i flashed Xiaomi.eu 13.0.6.0 via fastboot.
its working perfectly since that, at least in xiaomi.eu. I didnt try any other rom.
Click to expand...
Click to collapse
Problem is still there...

Categories

Resources