Camera and sensors all work well on MIUI 10 beta 8.11.15 Pie, as well as Lineage OS 16.
But when downgrade to MIUI 9 or 10 Oero via official MiFlashTool(fastboot) , or Lineage OS 15.1 via TWRP, it says "CANNOT connect to camera". What's more, all sensors do not work in CIT mode (of course they do not work in normal situation).
I think flash MIUI Oreo via official MiFlashTool(fastboot) should over-write all files about Pie, Isn't it?
Any ideas to this strange bug?
My poco has the same symptoms.
I installed the B-S-G camera and it did not work well, so I uninstalled it.
Then, I woke up original camera application, "CANNOT connect to camera" happened.
This phenomenon is similar to Pixel 3, but this one is more serious, coz it will not get better after reboot.
I have another twice try to flash MIUI stable 9.6.18 and beta 8.9.13 (both of them are Oero) via FASTBOOT from beta 8.11.15 (Pie), but camera app still says it " cannot connect to camera ", so can't google camera apps.
Did I forget something important? How to Downgrade from Pie to Oreo? Have any one succeeded in downgrading?
I think it's not hardware broken. Please help me. Thanks
succeeded in downgrading. need flash back a persist.img backup from 8.1 (not persist.img from official .tga fastboot package)
kumoilain said:
succeeded in downgrading. need flash back a persist.img backup from 8.1 (not persist.img from official .tga fastboot package)
Click to expand...
Click to collapse
How did you create your persist.img backup?
MikelFuchs said:
How did you create your persist.img backup?
Click to expand...
Click to collapse
ask your friends for a backup, or you can try mine. make a backup before flash my persist.img.
persist and a twrp(cn default and have English)which can flash persist easily:drive.google
kumoilain said:
"CANNOT connect to camera".
Click to expand...
Click to collapse
have you solved it somehow?
because I have the same problem
onairda said:
have you solved it somehow?
because I have the same problem
Click to expand...
Click to collapse
Try flashing persist partition. See my posts on 2018.11.25 and 2018.11.27
kumoilain said:
Try flashing persist partition. See my posts on 2018.11.25 and 2018.11.27
Click to expand...
Click to collapse
I just flashed version 9.6.18.0 from fastboot, then after installing the recovery "recovery-TWRP-3.2.3-1010-POCO_F1-CN-wzsx150.img" I flashed the file pocopersist8.img in the "persist" partition, despite this the cameras do not work and neither do the gyroscope and accelerometer sensors.
However after trying several persist files a few days ago I found one that runs 3 cameras (except the IR) even though it takes about 15 seconds to boot up, and in any case the sensors still don't work, anyway thanks for trying, I had already tried but I said to myself I try one last time.
Related
After flashing via twrp I was shown /persist error invalid argument . After doing bit of Google I got To know we need to flash persist.img via twrp to get back my camera and sensor working.
When I flash my twrp nandroid backup of old rom everything works..but when I get back to oos3.1.4 error pops.. rom gets booted everything works apart from sensor and camera.
Everytime I do clean flash so plz don't ask me that..
trendchanger said:
After flashing via twrp I was shown /persist error invalid argument . After doing bit of Google I got To know we need to flash persist.img via twrp to get back my camera and sensor working.
When I flash my twrp nandroid backup of old rom everything works..but when I get back to oos3.1.4 error pops.. rom gets booted everything works apart from sensor and camera.
Everytime I do clean flash so plz don't ask me that..
Click to expand...
Click to collapse
I had the same problem like you and yet can't get back to OOS 3.1.4
That's why I am staying on OOS 2.2.3 forever ... well until I can find a fix...
If you really only need persist.img you can find it in the Mega Unbrick Guides Files although I think this one only works with OOS 2.2.3
Here's the persist.img file from my last nandroid backup. Latest bootloader and all that. https://drive.google.com/open?id=0B3KASUh3N9vVbXphYWRGS2xjNVk
It's not an IMG file but you should be able to put it in a TWRP folder and "restore" it.
Actually i solved my problm in same way.. accidently found persist.img in onplus mini tool and everything went smooth..now no issues in any rom.
pixeldasher said:
I had the same problem like you and yet can't get back to OOS 3.1.4
That's why I am staying on OOS 2.2.3 forever ... well until I can find a fix...
If you really only need persist.img you can find it in the Mega Unbrick Guides Files although I think this one only works with OOS 2.2.3
Click to expand...
Click to collapse
Follow this guide to get away wth ur os 2.2.3..i have faced the same thing to get stuck on 2.2.3
https://forum.xda-developers.com/yureka/general/guide-prisist-error-fix-yureka-plus-t3363342
Hope it helps ...trick is u have to delete persist.img in adb fastboot mode and flash our new persist.img...remember deleting persist.img is imp step...cheers if u get to os 3.1.4
trendchanger said:
Follow this guide to get away wth ur os 2.2.3..i have faced the same thing to get stuck on 2.2.3
https://forum.xda-developers.com/yureka/general/guide-prisist-error-fix-yureka-plus-t3363342
Hope it helps ...trick is u have to delete persist.img in adb fastboot mode and flash our new persist.img...remember deleting persist.img is imp step...cheers if u get to os 3.1.4
Click to expand...
Click to collapse
Well instead of using the Yureka persist.img I am supposed to use the persist.img from the Unbrick Guide, right?
Obviously we have to use files specific fr our device..so download unbrick mini tool package..use that persist.img and flash according to guide mentioned over there....
i want to ask that I'm on resurrection remix 5.8.3 nougat...and I'm facing camera issues like hdr is not working and front camera also not working....anyone help me with it..
pankaj_007 said:
i want to ask that I'm on resurrection remix 5.8.3 nougat...and I'm facing camera issues like hdr is not working and front camera also not working....anyone help me with it..
Click to expand...
Click to collapse
Completlely out of topic here.
Just ask here :
https://forum.xda-developers.com/oneplus-x/development/rom-resurrection-remix-t3507559
First you can upgrade to 5.8.4.
trendchanger said:
Obviously we have to use files specific fr our device..so download unbrick mini tool package..use that persist.img and flash according to guide mentioned over there....
Click to expand...
Click to collapse
Thank you for being so helpful! Gonna try it later this day
pixeldasher said:
Thank you for being so helpful! Gonna try it later this day
Click to expand...
Click to collapse
Problem solved??
I've lost the functionality of all my sensors (sensors like auto rotation,gyro,compass,acceleration,hall etc except proximity are not working) in my Redmi Note 4....
I've googled and found that :;
To bring back the sensors back alive , we should flash persist.img file of our specific device......
I've tried to install via fastboot but it is showing an error like this....
When I type :fastboot erase persist persist.img
Its showing:[remote:erase operation on partition persist is not allowed].......
But my bootloader is unlocked.......
Can't do anything with my phone......
Sensors without mobile is like a man without his ..............heart.....
Please share your help guys........
Try TWRP rom and check.
There is a way bring back all sensors alive but you need to sacrifice miui rom, but in custom rom all sensors works well. COLOROS ROM for RN4 sensor fix file can help you.
If you go back to miui, you will face "This device is associated with an existing Mi Account" problem. If you are OK with this, go ahead.
Try to use MiTool to flash fastboot rom
gaab1998 said:
Try to use MiTool to flash fastboot rom
Click to expand...
Click to collapse
I've done this 5 6 times, but nothing helps.
Tried to flash it via edl method (it well reparation n am sure it might fix it for sure, I'll tell you the exact method to put it on edl mode(works every time I tried)
If you have problems with the sensors of your Xiaomi MI8 (camera that does not open, gyroscope, steps not calculated, compass, face unlock etc.), you probably made trouble with the persist partition, doing a wipe via twrp, or with a simple update through updater.
The problem is of a software nature and very simple to solve.
Install the latest version of TWRP, download: (Recovery-TWRP-3.3.1-2-dipper-mauronofrio.img)
Download the persist.img file, for completeness I uploaded the file together with the TWRP. The persist.img file is the most recent one, is the last update of the global stable miui 11 (V11.0.6.0.PEAMIXM, same for china), download: (persist.img V11.0.6.0.PEAMIXM)
Go to recovery twrp
Flash the image persist.img in the / persist partition.
Make a wipe cache and dalvik.
Reboot.
Now the sensors of your mi8 will come back to work.
I will try when back home, if it works, i'll send u a virtual kiss
Dam, really works, thank you very much!!!!!!
ghis94210 said:
I will try when back home, if it works, i'll send u a virtual kiss
Click to expand...
Click to collapse
Let me know.
maxniper said:
Dam, really works, thank you very much!!!!!!
Click to expand...
Click to collapse
You are welcome!
gatsuu said:
Let me know.
You are welcome!
Click to expand...
Click to collapse
I buy the phone and had that camera issue less than 24h after have it lol, you save my phone ?
How to flash this on persist partition. Got error on twrp
SPOCK_VULKAN said:
How to flash this on persist partition. Got error on twrp
Click to expand...
Click to collapse
Download from my link.
Mine is a .img file not .zip. Use it.
The hardware test app says my sensors are working abnormally. But my phone ain't rooted and the bootloader still unlocked.
Doesn't work for me, the file are corrupted when open the .rar, I need help I flash global rom 8.9.20 android P, the sensors dont work and my phone show message activate mi account, I need internet network, cant connect wifi and sim card say "error network ocurred"
rOck4n said:
The hardware test app says my sensors are working abnormally. But my phone ain't rooted and the bootloader still unlocked.
Click to expand...
Click to collapse
It's a bug on miui. Don't worry your sensors is fine. They will fix it on the next update afaik
gatsuu said:
If you have problems with the sensors of your Xiaomi MI8 (camera that does not open, gyroscope, steps not calculated, compass, face unlock etc.), you probably made trouble with the persist partition, doing a wipe via twrp, or with a simple update through updater.
The problem is of a software nature and very simple to solve.
Install the latest version of TWRP, download: (Recovery-TWRP-3.2.3-0918-XIAOMI8-EN-wzsx150)
Download the persist.img file, for completeness I uploaded the file together with the TWRP. The persist.img file is the most recent one, ie the last update of the global stable miui 10 (V10.0.2.0.OEAMIFH, same for china), download: (persist.img V10.0.2.0.OEAMIFH)
Go to recovery twrp
Flas the image persist.img in the / persist partition.
Make a wipe cache and dalvik.
Reboot.
Now the sensors of your mi8 will come back to work.
Click to expand...
Click to collapse
I am in Twrp and going to install persist.img. But I cannot see the option of persist partition. I only have partition option for boot, Recovery, System image, Vendor, Vendor Image. What should I choose?
Dampard said:
I am in Twrp and going to install persist.img. But I cannot see the option of persist partition. I only have partition option for boot, Recovery, System image, Vendor, Vendor Image. What should I choose?
Click to expand...
Click to collapse
TWRP---->install----->install image---->select persist.img----->select persist partition.
If you don't see a persist partition, you must change the recovery.
Use TWRP 3.2.3 0918, you can download it on the first post.
Inviato dal mio MI 8 utilizzando Tapatalk
gatsuu said:
TWRP---->install----->install image---->select persist.img----->select persist partition.
If you don't see a persist partition, you must change the recovery.
Use TWRP 3.2.3 0918, you can download it on the first post.
Inviato dal mio MI 8 utilizzando Tapatalk
Click to expand...
Click to collapse
Thanks!
Manage to enter twrp and flashed. Now all my sensors are back!
Just a note : your twrp.img cannot be boot. I'll just stuck at first screen with logo. What I did was to flash it into recovery.
For example this command doesn't work with your twrp version in the beginning
fastboot boot twrp.img
But this works
fastboot flash recovery twrp.img
then
fastboot boot twrp.img
gatsuu said:
If you have problems with the sensors of your Xiaomi MI8 (camera that does not open, gyroscope, steps not calculated, compass, face unlock etc.), you probably made trouble with the persist partition, doing a wipe via twrp, or with a simple update through updater.
The problem is of a software nature and very simple to solve.
Install the latest version of TWRP, download: (Recovery-TWRP-3.2.3-0918-XIAOMI8-EN-wzsx150)
Download the persist.img file, for completeness I uploaded the file together with the TWRP. The persist.img file is the most recent one, is the last update of the global stable miui 10 (V10.0.2.0.OEAMIFH, same for china), download: (persist.img V10.0.2.0.OEAMIFH)
Go to recovery twrp
Flash the image persist.img in the / persist partition.
Make a wipe cache and dalvik.
Reboot.
Now the sensors of your mi8 will come back to work.
Click to expand...
Click to collapse
Can u explain me how u created the persist.img or where u take it from ? I would like to get it for MIUI 9 8.9.20
ZeNiXxX said:
Can u explain me how u created the persist.img or where u take it from ? I would like to get it for MIUI 9 8.9.20
Click to expand...
Click to collapse
Download a fastboot rom, extract it and find persist.img
Inviato dal mio MI 8 utilizzando Tapatalk
you are my hero @gatsuu)))
thanks to yours, i solved my big problem. Thank you very very much...
hi
This will solve the problem of facdata
Fix
Opens the face of my brother
I have the same problem but in a Mi Note 3, but I cant see the /persist partition.
Any help?
keteflips said:
I have the same problem but in a Mi Note 3, but I cant see the /persist partition.
Any help?
Click to expand...
Click to collapse
You must download a fastboot rom for Mi note 3.
Extract it and find a persist.img, next flash it.
thank you for this precious help
My Poco sensors stoped working while o was flashing some ROM I don't remember but it was maybe an sGSI.
After flashing alot of vendors on miui or pixel e, iam still facing the same issue.
Any help would really be appreciated
Stock with miflash.....and always backup...lesson learned
seems like persist.img is corrupted!
if you have fastboot rom (miui10.3.7 (2.7gb) , extract it, and further extract it, i will come something 8 gb in total!
inside images folder there will be persist.img
flash that img file, in TWRP /persist PARTITION (BE CARE FUL !!!!!!!!!!!!!!!!)
or better use ORANGE FOX RECOVERY to flash PERSIST.img
then reboot device and check!
if it still doesnt work then use miflasher, and flash this FASTBOOT rom from image folder!
REMEMBER!!!!!!!! don't tick the box, "FLASH ALL AND LOCK" this will relock your bootloader! , simply select "FLASH ALL" button in miFLASHER (down-right)
YasuHamed said:
seems like persist.img is corrupted!
if you have fastboot rom (miui10.3.7 (2.7gb) , extract it, and further extract it, i will come something 8 gb in total!
inside images folder there will be persist.img
flash that img file, in TWRP /persist PARTITION (BE CARE FUL !!!!!!!!!!!!!!!!)
or better use ORANGE FOX RECOVERY to flash PERSIST.img
then reboot device and check!
if it still doesnt work then use miflasher, and flash this FASTBOOT rom from image folder!
REMEMBER!!!!!!!! don't tick the box, "FLASH ALL AND LOCK" this will relock your bootloader! , simply select "FLASH ALL" button in miFLASHER (down-right)
Click to expand...
Click to collapse
mi flash failed to do the job and came out with error. booted fine but sensors still broken.
twrp and orange fox have no persist.img chose when flashing.
anyways thx 4 help. i hope i can get out outta this:crying::crying:
iam using miui 9.6.18 bcz i want oreo
lokixd4x4 said:
mi flash failed to do the job and came out with error. booted fine but sensors still broken.
twrp and orange fox have no persist.img chose when flashing.
anyways thx 4 help. i hope i can get out outta this:crying::crying:
iam using miui 9.6.18 bcz i want oreo
Click to expand...
Click to collapse
according to this video https://youtu.be/JKShaUdpvQw?t=374 its platform file issue,
download latest version from
https://forum.xda-developers.com/android/software/tool-platform-tools-adb-fasbootdrivers-t3061441
extract platform folder, put FASTBOOT FILES of MIUI rom in Platform folder and then try flashing
also
put everything in root C:/ and only one folder "C:\images"
long paths are not recomended for MIflasher!
@YasuHamed bro I am facing the exact same issue with a window popup on screen says find device is corrupted your device is unsafe now. Did you find a solution . Please help .brother.
abhisheksh9999 said:
@YasuHamed bro I am facing the exact same issue with a window popup on screen says find device is corrupted your device is unsafe now. Did you find a solution . Please help .brother.
Click to expand...
Click to collapse
i gave up and started using custom roms! they are closer to Stock android and have amazing customizations!
Evolution / Havoc / AeX on android 10 is amazing!
Reloaded OS (android10) is CAF based rom and its faster than others but have no customizations!
CR droid has maximum customizations but its little laggy!
you may also use
Masik13.3 and XiaomiEu roms which are Modified MIUI versions! ( google MIUI ROM BUILDER) and you can predefine features!
these roms can them be flashed via Twrp!
lokixd4x4 said:
mi flash failed to do the job and came out with error. booted fine but sensors still broken.
twrp and orange fox have no persist.img chose when flashing.
anyways thx 4 help. i hope i can get out outta this:crying::crying:
iam using miui 9.6.18 bcz i want oreo
Click to expand...
Click to collapse
Did you find any way to fix the sensors?
I think i too made the same mistake some two months back after flashed peplus rom.. i noticed it only recently.
hello, my miA3 was in V10.3.17.0.PFQEUXM, and i had some troubles with it after trying to root with magisk because of a wrong boot.img, and i lost wifi.
since I couldn't find a V10.3.17.0.boot.img to flash and get back wifi, i try to find some escape plan and finally i succeed to install twrp and then official V11.0.8.0 , but i would like to go back to V10.3.15.0 and root it ( or 10.3.17.0 if someone have the good boot.img ), is it possible?
Just download fastboot rom and you are good to go
arjo656 said:
hello, my miA3 was in V10.3.17.0.PFQEUXM, and i had some troubles with it after trying to root with magisk because of a wrong boot.img, and i lost wifi.
since I couldn't find a V10.3.17.0.boot.img to flash and get back wifi, i try to find some escape plan and finally i succeed to install twrp and then official V11.0.8.0 , but i would like to go back to V10.3.15.0 and root it ( or 10.3.17.0 if someone have the good boot.img ), is it possible?
Click to expand...
Click to collapse
If you want to keep your sensors and DRM working, follow this guide:
https://forum.xda-developers.com/showpost.php?p=82110807&postcount=224
amnher said:
Just download fastboot rom and you are good to go
Click to expand...
Click to collapse
ok,do you have a link with DL and tuto step by step?
_mysiak_ said:
If you want to keep your sensors and DRM working, follow this guide:
https://forum.xda-developers.com/showpost.php?p=82110807&postcount=224
Click to expand...
Click to collapse
thanks (again ) mysiak, the steps are clear but there is no link for dl any of the rom he's talking
edit : i downloaded a rom 10.3.15.0 here https://forum.xda-developers.com/mi-a3/how-to/rom-xiaomi-mi-a3-laurelsprout-t3962489, but when i double click on flash_all.bat nothing happends
arjo656 said:
thanks (again ) mysiak, the steps are clear but there is no link for dl any of the rom he's talking
edit : i downloaded a rom 10.3.15.0 here https://forum.xda-developers.com/mi-a3/how-to/rom-xiaomi-mi-a3-laurelsprout-t3962489, but when i double click on flash_all.bat nothing happends
Click to expand...
Click to collapse
Run the script from terminal window, it will show you an error message why it fails.
arjo656 said:
hello, my miA3 was in V10.3.17.0.PFQEUXM, and i had some troubles with it after trying to root with magisk because of a wrong boot.img, and i lost wifi.
since I couldn't find a V10.3.17.0.boot.img to flash and get back wifi, i try to find some escape plan and finally i succeed to install twrp and then official V11.0.8.0 , but i would like to go back to V10.3.15.0 and root it ( or 10.3.17.0 if someone have the good boot.img ), is it possible?
Click to expand...
Click to collapse
Guys, I did the update for android 10 in the second wave.
after trying to return to android 9 my device got stuck resetting the "android one" home screen, as there was no solution i put the "pixel" rom for mi a3.
Today as a test again I tried to flash the rom stock 9 and everything went back to normal as it was before, with everything working.
I believe that after installing "PIXEL" something made it back to normal.
alexjmachado said:
Guys, I did the update for android 10 in the second wave.
after trying to return to android 9 my device got stuck resetting the "android one" home screen, as there was no solution i put the "pixel" rom for mi a3.
Today as a test again I tried to flash the rom stock 9 and everything went back to normal as it was before, with everything working.
I believe that after installing "PIXEL" something made it back to normal.
Click to expand...
Click to collapse
yes , that's what sapper morton explained in a other post:
" I received Android 10 as an OTA 29th February, and a couple of days later I updated to v11.0.8.0 (locked bootloader); but I didn't enjoy it overall, so I did install Magisk, after a couple of days, I downgraded to Pie (March firmware); I lost my sensors, did try a couple of things, none of them solved the issue.
I knew from the beginning I could have flashed persist.img, but then again, I would've lost my DRM Keys (Widevine), thus I updated to Android 10 Stock (recovery firmware) to regain my sensors.
After a little search I read that downgrading from a custom Android 10 ROM (PX in my case) solves the issue on Pie, I tried and the sensors started working again on Android 9 Stock, without losing Widevine L1, since persist partition was intact. "
So my steps to solve the issue was as it follows:
1• Flashed Android 10 Stock (sensors working) [Recovery]
2• Flashed Android 9 Stock (sensors not working) [Fastboot]
3• Flashed Android 10 custom (sensors working) [Recovery]
4• Flashed Android 9 (sensors working) [Fastboot]
hello all
is there any download link to "3• Flashed Android 10 custom (sensors working) [Recovery]" or do you recommend a specific custom rom ?
I want to do the downgrade right