How to fix mi8 sensors - Xiaomi Mi 8 Guides, News, & Discussion

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

Related

Partition "Firmware" failed to restore

As everyone already knew, MIUI 8 is not only available for China Developer ROM, it's not yet available for Global. I was on Global MIUI 7 Developer, I was very curious about MIUI 8. So, I tried to flash it through TWRP. Before I flash, I backed up all partitions on TWRP.
Fast forward 20 minutes, MIUI 8 flashed properly, but I want to go back to my original Global Developer MIUI 7. So, I tried to restore every partition through TWRP with the backup I did. Every partition restored successfully, except "Firmware". It gives error "extractTarFork() process ended with ERROR: 255"
In recovery log, it shows that "tar_extract_file(): failed to restore SELinux context ubject_r:vfat:s0 to file" for a lot of files.
It booted up normally, but it failed to detect my SIM card. Wifi working, just no SIM. Baseband version unknown, can't enter Phone Status, SIM cards & mobile networks greyed out. Phone tells that Can't get valid Device ID (Invalid Device ID: null)
Anyone did experienced this? Any solution?
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Thanks for the advise. I've restored everything except firmware, and I'm now downloading the fastboot file to be flashed
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Unfortunately it didnt help. Still the same after flashing with MiFlashTool
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
@ImjuzCY
i flash the cm rom, but finger print can not work properly .
so i restored all the partitions by twrp. also got that error. and i restored all the partitions except “Firmware”.
but my phone working properly include sim and usb.
lordrak said:
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
Click to expand...
Click to collapse
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
what type of bugs does alka have???is cofface twrp better??
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
I use alka twrp too, but while twrp should we use?
The official twrp can backup all the partitions.
Sent from my Nexus 7 using Tapatalk
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Pranbellam said:
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Click to expand...
Click to collapse
can i flash the miui rom by twrp?
paranoia_gu said:
can i flash the miui rom by twrp?
Click to expand...
Click to collapse
Y not..! U can ,the recovery rom zip file BTW
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
What's this bug you mentioned? Pls tell more
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
yogesh1970 said:
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
Click to expand...
Click to collapse
which twrp u recommend then??
Pranbellam said:
Y not..! U can ,the recovery rom zip file BTW
Click to expand...
Click to collapse
Sorry, i don't understand. Original recovery is zip file. So How I can use twrp to recover original FW?

Need Help Please..

Guys I've been facing a severe problem in my redmi note 4 sd . The problem is that all the sensors of my mobile are not working like(auto rotation,compass,magnetic sensor,hall sensor...etc)
The story behind this is that I've flashed color os rom(it didn't even booted for me) and after coming back to miui I'm facing this problem.
I've clean flashed a ton times but the sensors are not working....
Please help me friends...
m.shyamsundar37 said:
Guys I've been facing a severe problem in my resume note 4 sd . The problem is that all the sensors of my mobile are not working like(auto rotation,compass,magnetic sensor,hall sensor...etc)
The story behind this is that I've flashed color os rom(it didn't even booted for me) and after coming back to miui I'm facing this problem.
I've clean flashed a ton times but the sensors are not working....
Please help me friends...
Click to expand...
Click to collapse
Do a fastboot flash ..
You should post it in the proper section.
https://forum.xda-developers.com/redmi-note-4/help
I've flashed via fast boot but still im facing the problem
I had this problem for my 'redmi note 3' before. I flashed 'persist.img' through fastboot. Note: that is for redmi note THREE.
m.shyamsundar37 said:
I've flashed via fast boot but still im facing the problem
Click to expand...
Click to collapse
arunak said:
I had this problem for my 'redmi note 3' before. I flashed 'persist.img' through fastboot. Note: that is for redmi note THREE.
Click to expand...
Click to collapse
Help him find the persist.img ,.. Also did you extract that img from fastboot ROM ?
arunak said:
I had this problem for my 'redmi note 3' before. I flashed 'persist.img' through fastboot. Note: that is for redmi note THREE.
Click to expand...
Click to collapse
Is your problem solved now??
m.shyamsundar37 said:
Guys I've been facing a severe problem in my redmi note 4 sd . The problem is that all the sensors of my mobile are not working like(auto rotation,compass,magnetic sensor,hall sensor...etc)
The story behind this is that I've flashed color os rom(it didn't even booted for me) and after coming back to miui I'm facing this problem.
I've clean flashed a ton times but the sensors are not working....
Please help me friends...
Click to expand...
Click to collapse
friend, flash this zip and you will solve the problem of sensors, but I recommend you first do a deep cleaning, then flash this file and then the rom you want
m.shyamsundar37 said:
Is your problem solved now??
Click to expand...
Click to collapse
Yes
Edinsonpol said:
friend, flash this zip and you will solve the problem of sensors, but I recommend you first do a deep cleaning, then flash this file and then the rom you want
Click to expand...
Click to collapse
I'll try it bro and report u
Edinsonpol said:
friend, flash this zip and you will solve the problem of sensors, but I recommend you first do a deep cleaning, then flash this file and then the rom you want
Click to expand...
Click to collapse
Still not sliced...bro thanks for your help
m.shyamsundar37 said:
I'll try it bro and report u
Click to expand...
Click to collapse
Still not solved bro thanks for your help.....
Waiting for a perfect solution....
I've had this sensors problem in my redmi note 4 device, i flashed the fix & it solved all but created a new problem, i can't go back to stock rom.
The "persist.img" file in this fix belongs to someone else RN4 phone. Now I'm stuck with his mi account in my device. It needs his password to unlock. Ur only option is to use custom roms
You can find the persist.img file inside the fastboot zip from here.
It isn't flashed by default with Mi Flash but it's there.
BubuXP said:
You can find the persist.img file inside the fastboot zip from here.
It isn't flashed by default with Mi Flash but it's there.
Click to expand...
Click to collapse
Persist.img file comes with fastboot zip is around 5mb, but actual file size is more than 32mb, i flashed manually the smaller one and phone doesn't boot, keeps restarting in boot logo. I had to flash this sensor fix again to unbrick.
Ondipuli said:
I've had this sensors problem in my redmi note 4 device, i flashed the fix & it solved all but created a new problem, i can't go back to stock rom.
The "persist.img" file in this fix belongs to someone else RN4 phone. Now I'm stuck with his mi account in my device. It needs his password to unlock. Ur only option is to use custom roms
Click to expand...
Click to collapse
OK bro thanks and what if I flash the persist.IMG from the fastboot rom and not from some others mobile??
Persist.img file in fastboot rom is low in size, below 5mb, if you flash it, you get bootloop. Actual size around 32mb. U can see it in the fix file.
The partition on the phone is 32 MB. If the persist.img file is only 5 MB it could mean that the data inside the partition is only 5 MB, it doesn't have to be 32 MB.
Take the recovery partition for example, it's bigger than the size of the TWRP .img file, but it doesn't mean that TWRP file is corrupted.
However, to flash persist partition you need the unlocked bootloader and a modified fastboot.exe version that can restart the phone in EDL mode, and from there you can flash every partition with MiFlash.
Of course, data size of Persist.img partition maybe only 5mb, but after flashing the that comes with fastboot rom, all i got is an infinite bootloop. Even miflash doesn't flash this partition, I've seen it in miflash log file.
I tried to flash the persist image, but it simply refuse to do it, even with MiFlash (you can enable the flashing of persist.img by modifying the .bat file that MiFlash will use to flash).
As I write on my post above, to flash persist.img you need to be in EDL mode, but I didn't tried it personally, so I don't know if it will cause bootloop even this way (but I read of people resolving problems this way, so I don't think it will do harm).

No camera and gyro working, PERSIST partition problem?

it doesn't work any camera out of the four including the compass / gyroscope I'm afraid I have the partition, "PERSIST" damaged at the moment I don't have the possibility to use a PC and so I would need a working copy of this partition if someone would be kind enough to send it to me I would be grateful, I installed the Orange Fox recovery with which I can manage to restore that partition, I extracted the persist.img file from the TGZ ROM but not being a ZIP I don't know how to use it. Thanks Adriano P.S. sorry for the bad english but I used a translator
onairda said:
it doesn't work any camera out of the four including the compass / gyroscope I'm afraid I have the partition, "PERSIST" damaged at the moment I don't have the possibility to use a PC and so I would need a working copy of this partition if someone would be kind enough to send it to me I would be grateful, I installed the Orange Fox recovery with which I can manage to restore that partition, I extracted the persist.img file from the TGZ ROM but not being a ZIP I don't know how to use it. Thanks Adriano P.S. sorry for the bad english but I used a translator
Click to expand...
Click to collapse
Flash full stock rom, it should resolve your problem
EugenStanis said:
Flash full stock rom, it should resolve your problem
Click to expand...
Click to collapse
Yes, I am aware of it, but I am hospitalized and I do not have access to the PC for the next 25/30 days, so I asked for a backup of the partition
onairda said:
Yes, I am aware of it, but I am hospitalized and I do not have access to the PC for the next 25/30 days, so I asked for a backup of the partition
Click to expand...
Click to collapse
I flashed stock rom but not solved
onairda said:
I flashed stock rom but not solved
Click to expand...
Click to collapse
did you flash the fastboot rom or the full rom zip?
eLaDiio said:
did you flash the fastboot rom or the full rom zip?
Click to expand...
Click to collapse
Fastboot rom ,i try many different version
beryllium_global_images_V10.2.2.0.PEJMIXM_20190110.0000.00_9.0_global_da212305c9.tgz
beryllium_global_images_V10.2.2.0.PEJMIXM_20190110.0000.00_9.0_global_da212305c9.tgz
beryllium_global_images_V10.0.6.0.OEJMIFH_20181113.0000.00_8.1_global_ad6e716a76.tgz
beryllium_global_images_V9.6.22.0.OEJMIFD_20180914.0000.00_8.1_global_32ef48d800.tgz
beryllium_global_images_V9.6.14.0.OEJMIFD_20180730.0000.00_8.1_global_2bd0482eef.tgz
and 2 global beta:
beryllium_global_images_9.3.28_20190328.0000.00_9.0_global_2a4c37f3d7.tgz
beryllium_global_images_9.6.20_20190620.0000.00_9.0_global_300b5f8c65.tgz
I also tried restoring a twrp backup of the whole device made on my mother's phone that works normally but without result.
However, after flashing so many different "persist" partitions extracted from fastboot rom with a chinese version of twrp that allow to flash "persist" partition (recovery-TWRP-3.2.3-1010-POCO_F1-CN-wzsx150.img), 3 out of 4 cameras work (even though they are much slower to boot, about 15 seconds), the IR camera does not work and the gyroscope and the accelerometer still do not work

HI I just need a QUICK 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.

How to Fix Anti Rollback

I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
Format phone viai TWRP, install any ROM you want!
head_djmusic said:
Format phone viai TWRP, install any ROM you want!
Click to expand...
Click to collapse
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
how to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi.
Do it like this, install TWRP and then the operating system of your choice. There is also the question of how you could install the ROM without TWRP.
Hardbrick with TWRP, never, I don't think so.
I have now easily shot my device 20 times and put it on again and again, definitely shot 100 devices over 10,000 times over the years and never suffered a hard brick.
You can do it, otherwise the heroes will help you here. :highfive:
sudhakar.ksvn said:
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
Click to expand...
Click to collapse
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Oh really nice!
Do you mind to share your solution?
I don't need it but it's the purpose of forum ....
Greetings
Failed to mount '/system_root'
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
i Used this TWRP
https://androidfilehost.com/?fid=4349826312261728614
https://gsmhostingfiles.com/index.php?a=downloads&b=file&id=14217
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Ner0o1 said:
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Click to expand...
Click to collapse
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
fards said:
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
Click to expand...
Click to collapse
no data format dont touch system
Yes, of course not the whole system partition, sorry.
From German into English is sometimes not that easy.?
In this case, TWRP will of course only delete the data as it stands there.
Otherwise everyone will find a step by step guide for almost every device a thousand times, thanks to you. So it should be also possible for everyone here.
Best regards and thank you two.:highfive:
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
Thanks for ur reply .. now i am able to successfully install the .eu ROM on my Indian Mi10
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Arif shaikh said:
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Click to expand...
Click to collapse
I also want to go back to stable ROM
Its very simple to bypass the Anti rollback on miflash, just download the fastboot version of the ROM you want to install, unzip it and you'll have to edit this file (flash_all.bat), with for instance note++. And you remove 5 or 6 lines that does not begin by FASTBOOT. You can't miss it.
You can close and save.
Afterwards, just flash that same file that you just edited, and no more anti rollback error!
A second tip that I have when you just can't install custom firmwares on the mi 10, just flash stock firmware with miflash, reboot and flash TWRP. Transfer your custom firmware to your phone, flash it and ONLY format data afterwards! It was the only way to get a custom firmware on my mi10. It's my 5th xiaomi device and never experienced something like this...tried all TWRP available for the mi 10, but only by doing this way, I was able to succesfully install xiaomi.eu.
Good luck!

Categories

Resources