I can not upload a stock rom - Xiaomi Mi 8 Lite Questions & Answers

Hello, I can not upload a ROM stock from the MIUI website in any way by the MiFlash program or by TWRP.

_theos_ said:
Hello, I can not upload a ROM stock from the MIUI website in any way by the MiFlash program or by TWRP.
Click to expand...
Click to collapse
Miflash does not work for me, flash OrangeFox recovery and try to update, this method worked for me without issues miui_MI8LiteGlobal_V10.3.1.0.PDTMIXM_8f2efd3fd2_9.0 global version... this is name of rom and rom must contain system.new.dat.br file and similar files ending with dat, br.....make folder log inside Miflash root folder. This may help

Stefke93 said:
Miflash does not work for me, flash OrangeFox recovery and try to update, this method worked for me without issues miui_MI8LiteGlobal_V10.3.1.0.PDTMIXM_8f2efd3fd2_9.0 global version... this is name of rom and rom must contain system.new.dat.br file and similar files ending with dat, br.....make folder log inside Miflash root folder. This may help
Click to expand...
Click to collapse
I flash orangefox and nothing else gave me further error 7 pops up

_theos_ said:
I flash orangefox and nothing else gave me further error 7 pops up
Click to expand...
Click to collapse
Strange, try to wipe vendors, system etc... and then mount partitions in OrangeFox. Also disable siignature check and other stuff's... try to flash dm-verity disabler first...you can try also Pitch black recovery

Stefke93 said:
Strange, try to wipe vendors, system etc... and then mount partitions in OrangeFox. Also disable siignature check and other stuff's... try to flash dm-verity disabler first...you can try also Pitch black recovery
Click to expand...
Click to collapse
ok thank you for your 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?

Bricked my V10 C432

Hello,
i was on EMUI 9 with my BKL-L09 and decided to give the custom roms a new try.
So i backed up my recovery_ramdisk (it was rooted with magisk before) and then flashed twrp (version 3.2.3-3).
Now i went for Wipe>format data and gave it a try. Result: it was hanging after makefs->(..) done. So i done the whole procedure again but it was still hanging.
Now i can't get back into twrp, because only the twrp bootscreen is showing up. Even after restoring my recovery_ramdisk backup with fastboot i can't get back into erecovery Is there anything i can do?
Thanks.
Ok, i solved this by myself through downloading the full ota update, extracting everything and flashing new kernel, system and recovery from ota update contents.
Can you put the CMD lines to do it?
Thank you anyway. I think i have the same problem.
jesusdoar said:
Can you put the CMD lines to do it?
Thank you anyway. I think i have the same problem.
Click to expand...
Click to collapse
I don't have this smartphone anymore but i remember the following:
1. Download the Full OTA Zip (e.g. here: https://www.getdroidtips.com/huawei...-update-for-honor-view-10-download-available/
2. Use the Huawei Update Extractor to extract the partitions from the content in the zip file. (https://forum.xda-developers.com/showthread.php?t=2433454)
3. Flash the partitions over the existing ones on your V10 using fastboot "fastboot flash recovery_ramdisk recovery_ramdisk.img , ...) - these contents are inside the full ota package
Greetings
Did it work out for you?
You can also try to flash the original erecovery using fastboot und use the download option inside the Recovery App. This will reset all partitions back to default. But also all data is lost.
Brodelpiet said:
Did it work out for you?
You can also try to flash the original erecovery using fastboot und use the download option inside the Recovery App. This will reset all partitions back to default. But also all data is lost.
Click to expand...
Click to collapse
it works thank you, now the problem is that the erecovery doesn´t download the package to flash.
jesusdoar said:
it works thank you, now the problem is that the erecovery doesn´t download the package to flash.
Click to expand...
Click to collapse
Did you just flash the erecovery or also the normal recovery partition und Kernel from the zip? What kind of error do you get?
Brodelpiet said:
Did you just flash the erecovery or also the normal recovery partition und Kernel from the zip? What kind of error do you get?
Click to expand...
Click to collapse
Yeah i flashed the kernel and the recovery ramdisk. And now it boots into erecovery, but inside the erecovery, the option to download and install the last version of emui doesn´t work, it just shows an error that it can´t get the package info.
thanks for your attention.
greets

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!

Which is the correct way to go back to stock rom?

Hello, i was on RR rom for joyeuse, but i tried to flash the new stock rom version (11.0.7) i did a Data format with twrp, reboot to twrp, wipe factory and flash the zip of stock rom(11.0.7), reboot to system and my device shows me system destoyed XD.
So i go to my pc, open Miflash 20-3-14, tried to flash V11.0.5 but it shows me an error "error reading sparse file", i tried again but now it shows an error sending userdata too many links.
After that i tried to flash xiaomi eu rom(11.0.4 fastboot) so I open the "installer" for windows, but ends with an error too at step 3/7 (FAILED (Error reading sparse file) ).
I finally recover my phone flashing the twrp and flashing the xiaomi eu rom (11.0.5), but I have no idea what I did wrong trying to go back with MiFlash.
Any suggestion of the correct steps to go back to stock? thanks!
pd: I reboot the pc so many times and the device too but always end with an error :'c
(sorry for bad english :fingers-crossed: )
SOLVED: it was a problem on my pc, I think a problem on the drivers
https://gist.github.com/j-jith/0c4950e8020d9bed0c3104608b07a49d
There is even a script to relock the bootloader.
heyadmwutanime said:
https://gist.github.com/j-jith/0c4950e8020d9bed0c3104608b07a49d
There is even a script to relock the bootloader.
Click to expand...
Click to collapse
Thank you sir, I will try that method
https://forum.xda-developers.com/redmi-note-9-pro/how-to/tutorial-how-to-revert-to-official-t4109831
razerphynx said:
https://forum.xda-developers.com/redmi-note-9-pro/how-to/tutorial-how-to-revert-to-official-t4109831
Click to expand...
Click to collapse
I've already try that but end with error reading sparse file and I don't know why
pwnaz said:
I've already try that but end with error reading sparse file and I don't know why
Click to expand...
Click to collapse
Did you create a log folder in the program's directory?
razerphynx said:
Did you create a log folder in the program's directory?
Click to expand...
Click to collapse
Nope, I did not, but I'll see if there are something in the mi flash directory or in the xiaomi EU fastboot rom
razerphynx said:
Did you create a log folder in the program's directory?
Click to expand...
Click to collapse
I found the log file of some errors what i had trying to flash with MiFlash
https://drive.google.com/file/d/1obGcEy7_8qm1ouGfY5oQl9qgreFuWo0O/view?usp=sharing
This was the first
And after that one i tried again and I get user data error
https://drive.google.com/file/d/1MLIsIIuBkaftYwoGFztA1NrA__y-MSUi/view?usp=sharing
Any idea? thanks!

Question Search Xiaomi MIUI EU Custom ROM for twrp

Hi,
I search Xiaomi MIUI EU Custom ROM to flash with twrp.
Is this the right file for doing it:
xiaomi.eu_multi_HMNote10_V13.0.11.0.SKGMIXM_v13-12.zip2022-12-133.4 GB
or this file: xiaomi.eu_multi_HMNote10_V13.0.10.0.SKGMIXM_v13-12.zip
Thanks
nierewa said:
Hi,
I search Xiaomi MIUI EU Custom ROM to flash with twrp.
Is this the right file for doing it:
xiaomi.eu_multi_HMNote10_V13.0.11.0.SKGMIXM_v13-12.zip2022-12-133.4 GB
or this file: xiaomi.eu_multi_HMNote10_V13.0.10.0.SKGMIXM_v13-12.zip
Thanks
Click to expand...
Click to collapse
Check the version of your phone:M2101K7AG, M2101K7AI
It seems that the code name of your device is MOJITO, Xiaomi EU rom does not provide a rom for this version.
The roms you post are stock roms.
The roms you post are stock roms
Click to expand...
Click to collapse
That means it does'nt work with twrp?
nierewa said:
That means it does'nt work with twrp?
Click to expand...
Click to collapse
Is there already a TWRp for this model?
And the TWRP uses recovery roms which contain only enough to start the phone or update, unlike the Fastboot rom which contains all the IMGs.
Use this tool to change rom version (the data will be erased).
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
Is there already a TWRp for this model?
Click to expand...
Click to collapse
Yes.
Use this tool to change rom version (the data will be erased).
Click to expand...
Click to collapse
I wan't to use not the official stcok rom.
I have read somewhere that Xiaomi MIUI EU Custom ROM made some customizations.
In meantime I found this thread
So I asked my question there
nierewa said:
Yes.
I wan't to use not the official stcok rom.
I have read somewhere that Xiaomi MIUI EU Custom ROM made some customizations.
In meantime I found this thread
So I asked my question there
Click to expand...
Click to collapse
Exact, I looked for the MOJITO and apparently the SUNNY does the trick so yes you can use this rom and flash it with the TWRP.
If this is a first installation, format the data.
Exact, I looked for the MOJITO and apparently the SUNNY does the trick so yes you can use this rom and flash it with the TWRP.
If this is a first installation, format the data.
Click to expand...
Click to collapse
Thank you
I try to flash xiaomi.eu_multi_HMNote10_V13.0.11.0.SKGMIXM_v13-12.zip with twrp.
First I format data. Then I reboot to recovery and flash the file...
but I get an error:
Code:
mkdir "/cache/recovery/682af685bee328ad0ad286918h88aded905b5bb4" failesd:
File exists
E2001: Failed to flash cust partition.
Updater process ended eith ERROR: 1
What can I do?
nierewa said:
I try to flash xiaomi.eu_multi_HMNote10_V13.0.11.0.SKGMIXM_v13-12.zip with twrp.
First I format data. Then I reboot to recovery and flash the file...
but I get an error:
Code:
mkdir "/cache/recovery/682af685bee328ad0ad286918h88aded905b5bb4" failesd:
File exists
E2001: Failed to flash cust partition.
Updater process ended eith ERROR: 1
What can I do?
Click to expand...
Click to collapse
Is the twrp you are using is A12?
On which rom currently?
Yes. Is A12. Version 3.7.0_12-0 from here
Forum thread
I've installed currently cDroid 8.9
nierewa said:
Yes. Is A12. Version 3.7.0_12-0 from here
Forum thread
I've installed currently cDroid 8.9
Click to expand...
Click to collapse
Maybe the same to check https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/sunny/
try to flash a stock rom with the TWRP, let the phone restart and arrive on Xiaomi account, switch to Fastboot mode and flash the TWRP and try again the Xiaomi Eu rom, if it does not work, use Miflash.
TWRP/wipe format data type yes reboot TWRP/flash rom.
Ok. I'll try it.
Doesn't work with this twrp. Same error.
So I download this recovery rom and flash it with twrp.
All good.
Then I flash twrp again and format date.
Try to flash the EU custom rom... same error. ...File exist...
How can I do this with Miflash?
I extract the EU custom Rom. Load it to MiFlash and get error:
---------------------------
couldn't find flash script.
---------------------------
nierewa said:
Doesn't work with this twrp. Same error.
So I download this recovery rom and flash it with twrp.
All good.
Then I flash twrp again and format date.
Try to flash the EU custom rom... same error. ...File exist...
How can I do this with Miflash?
I extract the EU custom Rom. Load it to MiFlash and get error:
---------------------------
couldn't find flash script.
---------------------------
Click to expand...
Click to collapse
Miflash is only for stock roms.
Try this Xiaomi Eu rom fastboot.zip.xiaomi.eu_multi_HMNote10_V13.0.8.0.SKGMIXM_v13-12-fastboot.zip
https://sourceforge.net/projects/xi...13.0.7.0.SLMCNXM_v13-12-fastboot.zip/download
Extract the folder from the zip, then run the file first install.bat,phone in Fastboot mode.
You can update afterwards via OTA.
In meantime I tried once again #13
This time it works. Now I use Eu custom Rom.
Thanks for all your help

Categories

Resources