Question stuck on fastboot - Xiaomi Mi 11 Lite 5G

My xiaomi phone is chenese version and the original rom is the official stable version of 12.8. I want to root my phone so I search relative theme on Ada ,as result I have found this thread(https://forum.xda-developers.com/t/rooting-the-mi-11-with-the-latest-xiaomi-eu-rom.4232347/).In this thread everything begin on xiaomi.eu rom,so I install xiaomi.eu rom on this thread .The problem was happened here, when I do as what the thread said download the rom which has matched my phone (I select the stable rom of xiaomi.eu_multi_MI11Lite5G_V12.5.8.0.RKICNXM_v12-11-fastboot.zip) and run the macos_fastboot_first_install_with_data_format.sh file my phone was stuck on fastboot....
phone infomations:
xiaomi 11 lite 5g (renoir)
Click to expand...
Click to collapse
what I have try:
1、boot twrp.img of matched my phone
fastboot boot twrp-3.7.0_11-0-renoir.img
Click to expand...
Click to collapse
but receive the blow error message
downloading 'boot.img'...
OKAY [ 4.397s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Device Error)
finished. total time: 4.398s
Click to expand...
Click to collapse
2、I search in the google and found this blog which similar with my situation
but still stuck on fastboot......
3、try to flash official rom which matched my phone use miflash tool
but still stuck on fastboot....
I do not know what can I do to take my phone back
Is there has any other methods can make my phone unbrick

Hello, that is an old miui version, i assume you have unlocked bootloader so you may try to install the latest china version wich is 14.0.6.0, you can search it in mifirm.net and try to install it with xiaomi tool v2, and if that does not work, then try again with mi flash.
You can search 'how to unbrick xiaomi with xiaomi tool v2' for more information. Good luck bro

97jota said:
Hello, that is an old miui version, i assume you have unlocked bootloader so you may try to install the latest china version wich is 14.0.6.0, you can search it in mifirm.net and try to install it with xiaomi tool v2, and if that does not work, then try again with mi flash.
You can search 'how to unbrick xiaomi with xiaomi tool v2' for more information. Good luck bro
Click to expand...
Click to collapse
Yes, I have unlocked boot loader.
Thank you for your suggestions ,I will make a try

97jota said:
Hello, that is an old miui version, i assume you have unlocked bootloader so you may try to install the latest china version wich is 14.0.6.0, you can search it in mifirm.net and try to install it with xiaomi tool v2, and if that does not work, then try again with mi flash.
You can search 'how to unbrick xiaomi with xiaomi tool v2' for more information. Good luck bro
Click to expand...
Click to collapse
still stuck on fastboot....

cyberexplorer said:
still stuck on fastboot....
Click to expand...
Click to collapse
flash 12.0.8 stock firmware with fastboot, with clean data,

rayman95 said:
flash 12.0.8 stock firmware with fastboot, with clean data,
Click to expand...
Click to collapse
Thank you for your suggestions which gave me light in dark...
I found here and other relative websites but only found 12.0.8.0 for renoir_eea_global version(eg.renoir_eea_global_images_V12.0.8.0.RKIEUXM_20210419.0000.00_11.0_eea_1e3641e85a.tgz)
But my phone is Chinese version, is that ok?

cyberexplorer said:
Thank you for your suggestions which gave me light in dark...
I found here and other relative websites but only found 12.0.8.0 for renoir_eea_global version(eg.renoir_eea_global_images_V12.0.8.0.RKIEUXM_20210419.0000.00_11.0_eea_1e3641e85a.tgz)
But my phone is Chinese version, is that ok?
Click to expand...
Click to collapse
you should take CHN firmware...or at least global version

rayman95 said:
you should take CHN firmware...or at least global version
Click to expand...
Click to collapse
But I only found 12.0.7 for CN (if you have 12.0.8 for CN please post the link), is ok?

cyberexplorer said:
But I only found 12.0.7 for CN (if you have 12.0.8 for CN please post the link), is ok?
Click to expand...
Click to collapse
normally yes...but take fastboot rom

rayman95 said:
normally yes...but take fastboot rom
Click to expand...
Click to collapse
still stuck on fastboot

cyberexplorer said:
still stuck on fastboot
Click to expand...
Click to collapse
Did you successfully flash - ie, it did not complain about eg Downgrade protection?
Actually, instead of flashing Xiaomi Fastboot ROMs by MiFlash, it is better to un-gzip and un-tar the tgz ROM, and find inside the bat scripts (sh scripts for Linux users)
Choose a script (judge by their names and by inspecting commands) that does not relock BL
Strip some 5-6 lines from the beginning of the script that deal with Downgrade protection (you will easily find it, also, it's usually separated from the rest by an empty line)
Then, run that bat script through Fastboot - this is then the same what MiFlash does (but it takes the original tgz and it uses the Downgrade protection part found in the script)
Btw, you can use this handy app to search through the ROMs:
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
---
Btw, once when I had a similar Bootloop (Fastboot mode only) on Lisa (not Renoir) and flashing variozs official Fastboot ROMs did not help, I put my Lisa back to service (8 months ago, since then using it as my daily driver) by successfully flashing Xiaomi.eu Fastboot ROM

zgfg said:
Did you successfully flash - ie, it did not complain about eg Downgrade protection?
Actually, instead of flashing Xiaomi Fastboot ROMs by MiFlash, it is better to un-gzip and un-tar the tgz ROM, and find inside the bat scripts (sh scripts for Linux users)
Choose a script (judge by their names and by inspecting commands) that does not relock BL
Strip some 5-6 lines from the beginning of the script that deal with Downgrade protection (you will easily find it, also, it's usually separated from the rest by an empty line)
Then, run that bat script through Fastboot - this is then the same what MiFlash does (but it takes the original tgz and it uses the Downgrade protection part found in the script)
Btw, you can use this handy app to search through the ROMs:
MIUI Downloader - Apps on Google Play
MIUI upgrade app for Mi users.
play.google.com
---
Btw, once when I had a similar Bootloop (Fastboot mode only) on Lisa (not Renoir) and flashing variozs official Fastboot ROMs did not help, I put my Lisa back to service (8 months ago, since then using it as my daily driver) by successfully flashing Xiaomi.eu Fastboot ROM
Click to expand...
Click to collapse
yeah,i use miflash to flashing rom.and it's successed except the check point error(because not lock)
I open the flash_all.bat with editor only autirollback check but no error
::check anti_version
if exist %~dp0images\anti_version.txt (for /f "delims==" %%a in (%~dp0images\anti_version.txt) do (set CURRENT_ANTI_VER=%%a))
if [%CURRENT_ANTI_VER%] EQU [] set CURRENT_ANTI_VER=0
for /f "tokens=2 delims=: " %%i in ('fastboot %* getvar anti 2^>^&1 ^| findstr /r /c:"anti:"') do (set version=%%i)
if [%version%] EQU [] set version=0
set anticheck="antirollback check pass"
if %version% GTR %CURRENT_ANTI_VER% set anticheck="Current device antirollback version is greater than this pakcage"
echo %anticheck% | findstr /r /c:"pass" || @echo "Antirollback check error" && exit /B 1
Click to expand...
Click to collapse
I run the flash_all.bat again just now no any error about "downgrade protection",BUT still stuck on fastboot

zgfg said:
I put my Lisa back to service (8 months ago, since then using it as my daily driver) by successfully flashing Xiaomi.eu Fastboot ROM
Click to expand...
Click to collapse
I really not understand how do you flashing xiaomi rom successfully

cyberexplorer said:
I really not understand how do you flashing xiaomi rom successfully
Click to expand...
Click to collapse
It was not the official Xiaomi ROM but let's say debloated Xiaomi.eu ROM (they are based on CN ROMs but made to work internationally)
You can search through the Stable and Weekly ROMs, you can go back from the current A13 to A12 but I'm not sure how was Renoir the Renoir supported
There is always a table in the post #1 which devices we're supported and by what type of ROM (TWRP, Fastboot or hybrid), instructions and links to download
www.xiaomi.eu

zgfg said:
It was not the official Xiaomi ROM but let's say debloated Xiaomi.eu ROM (they are based on CN ROMs but made to work internationally)
You can search through the Stable and Weekly ROMs, you can go back from the current A13 to A12 but I'm not sure how was Renoir the Renoir supported
There is always a table in the post #1 which devices we're supported and by what type of ROM (TWRP, Fastboot or hybrid), instructions and links to download
www.xiaomi.eu
Click to expand...
Click to collapse
oh,i got it. My phone was bricked because of flashing a xiaomi.eu rom which is stable,so only weekly rom maybe worth make a try...

cyberexplorer said:
oh,i got it. My phone was bricked because of flashing a xiaomi.eu rom which is stable,so only weekly rom maybe worth make a try...
Click to expand...
Click to collapse
You should try with a Fastboot type ROM. They usually flash more (deeply) than OTA type Recovery ROMs

zgfg said:
You should try with a Fastboot type ROM. They usually flash more (deeply) than OTA type Recovery ROMs
Click to expand...
Click to collapse
ok, i will make a try

zgfg said:
You should try with a Fastboot type ROM. They usually flash more (deeply) than OTA type Recovery ROMs
Click to expand...
Click to collapse
Unfortunately,still stuck on fastboot

Download rom from https://mifirm.net/model/renoir.ttt#cn
Select China > Fastboot stable.
Extract all content (7zip), again, and again until you see the images folder and the "flash.all.bat" files. Put everything in c:\rom
Download MiFlash20210226, extract also to c:\miflash
Go to fastboot (volume down + power)
Select c:\rom and press Flash.
This WILL work. Good luck.

dwensch said:
Download rom from https://mifirm.net/model/renoir.ttt#cn
Select China > Fastboot stable.
Extract all content (7zip), again, and again until you see the images folder and the "flash.all.bat" files. Put everything in c:\rom
Download MiFlash20210226, extract also to c:\miflash
Go to fastboot (volume down + power)
Select c:\rom and press Flash.
This WILL work. Good luck.
Click to expand...
Click to collapse
I have done this many times, but finally it's still stuck on fastboot

Related

Phone Stuck in Bootloader

Hello, I updated my redmi note 3 to The 6.9.9 stable version:fingers-crossed:. But as there as many bugs, I tried to rollback to the previous version:silly:. But I'm now stuck on Bootloop:crying::crying:. Help me plz. ADB is not enabled, bootloader is locked & the phone is not rooted.
Use EDL mode. Search it in Google (MIUI Forum).
is EDL also used to get completly stock? i might sell my kenzo to buy a kate ... and i would like to sell with official global stable
EDL is used if your device bootloader is not unlocked.. The fastboot method is for unlocked bootloader only.. Yes, completely stock
Sorry, i should have posted whats my device status:
1. flashed global dev rom via EDL mode
2. updated to MIUI 6.9.9 6.0.1 MM
3. unlocked bootloader officialy with xiaomi tool
4. flashed ALKA TWRP
5. Did a wipe because phone encryption was on, after wipe i was able to backup all partitions
6. flashed Supersu
Now if i want to go completly stock, do i have to flash latest MIUI rom via fastboot instead of EDL?
Then everything is back to stock, even the Bootloader is locked?
It's up to you, it's same.. EDL should be fine
---------- Post added at 03:07 PM ---------- Previous post was at 03:01 PM ----------
Go flash it via fastboot
Tyuzva said:
Use EDL mode. Search it in Google (MIUI Forum).
Click to expand...
Click to collapse
EDL isn't working... While updating it stucks on 25% & says.. Not enough space.. Although the phone is empty
Da_SilentKnight said:
EDL isn't working... While updating it stucks on 25% & says.. Not enough space.. Although the phone is empty
Click to expand...
Click to collapse
Your Windows is 32Bits? If yes, use latest MiFlash tool. And check if file folder has no spaces like this C:\Users\Name\Desktop\Redmi Note\
If has space, remove all spaces. Put ROM in C:\ROM folder for example...
Da_SilentKnight said:
EDL isn't working... While updating it stucks on 25% & says.. Not enough space.. Although the phone is empty
Click to expand...
Click to collapse
use new version of mi flash tool
http://en.miui.com/thread-281979-1-1.html (i am using it)
and fastboot edl
http://forum.xda-developers.com/and.../guide-how-to-reboot-to-edl-fastboot-t3394292
and ya plz do not make log dict.
e.g D:/xyz/xyz/ahs/zhahd/fastboot rom
do like this
D:/fasboot rom
32 bit, use MiFlash beta
Tyuzva said:
32 bit, use MiFlash beta
Click to expand...
Click to collapse
It working well with windows 10 64bit without any error
Unlike old version show error
andersonaragao said:
Your Windows is 32Bits? If yes, use latest MiFlash tool. And check if file folder has no spaces like this C:\Users\Name\Desktop\Redmi Note\
If has space, remove all spaces. Put ROM in C:\ROM folder for example...
Click to expand...
Click to collapse
android_smater said:
use new version of mi flash tool
http://en.miui.com/thread-281979-1-1.html (i am using it)
and fastboot edl
http://forum.xda-developers.com/and.../guide-how-to-reboot-to-edl-fastboot-t3394292
and ya plz do not make log dict.
e.g D:/xyz/xyz/ahs/zhahd/fastboot rom
do like this
D:/fasboot rom
Click to expand...
Click to collapse
Thanks guys... My problem is solved.
Da_SilentKnight said:
Thanks guys... My problem is solved. ?
Click to expand...
Click to collapse
are you asking or telling

TWRP without unlocking bootloader

If I flash TWRP using this method:
http://forum.xda-developers.com/red...-to-flash-twrp-recovery-unlock-t3473294/page1
Will I be able to normally flash CM/MIUI roms without unlocking bootloader. My bootloader was never unlocked btw.
I dont care about OTA update, I never dirty flash. Always clean
@malimukk
Hi,
Of course you can do that, just read the second post of OP.
Thanks.
karkand said:
@malimukk
Hi,
Of course you can do that, just read the second post of OP.
Thanks.
Click to expand...
Click to collapse
Also flash kernels etc.?
I have seen some discussions about which TWRP to install. Alka or Cofface.. what would you recommend?
Thanks
i replaced the default recovery.img with twrp 3.0.2 (renamed and replaced as recovery.img)for redmi note 3.the phone flashed sucessfully but i cant enter into recovery mode.when i press "power+volume up" its showing to connect charger.even tried from the updator app but no use.any help !
superstar007 said:
i replaced the default recovery.img with twrp 3.0.2 (renamed and replaced as recovery.img)for redmi note 3.the phone flashed sucessfully but i cant enter into recovery mode.when i press "power+volume up" its showing to connect charger.even tried from the updator app but no use.any help !
Click to expand...
Click to collapse
Do you have an unlocked bootloader? You need to check in fastboot mode, by typing in fastboot oem device-info
you may have to boot straight to recovery, or the recovery image may get overwritten
my bootloader is locked.i think above method is for locked bootloader.right.i pressed power+volume up right after flashing(after disconnecting cable),phone showed mi logo and then after 5-6 seconds its showing to connect cable again. also when i use miflash tool to unlock bootloader.its not showing advanced menu in miflash tool.any solutionfor that too.my desktop is windows 7 32 bit os.do i need a 64 bit os to get all options in miflash tool.pls any solution.
Can anyone confirm the successful installation on Kenzo along with the step by step guide. And please let me know which fastboot rom should be used for fastboot flashing. Because we have 3 type of ROMs on Kenzo I.e. Global Stable, Global Developer or Chinese Developer rom. Please provide the step wise installation guide so that I can carry on
manudhomra said:
Can anyone confirm the successful installation on Kenzo along with the step by step guide. And please let me know which fastboot rom should be used for fastboot flashing. Because we have 3 type of ROMs on Kenzo I.e. Global Stable, Global Developer or Chinese Developer rom. Please provide the step wise installation guide so that I can carry on
Click to expand...
Click to collapse
I can't write you a detailed step-by-step guide because my English is not so perfect, but: you need to install the Global/Chinese Developer rom. Must be Developer rom, but you can choose which of them (Chinese or Global).
I made it with Global Developer, so I can confirm that this method perfectly works.
Luck!
Mononitoto said:
I can't write you a detailed step-by-step guide because my English is not so perfect, but: you need to install the Global/Chinese Developer rom. Must be Developer rom, but you can choose which of them (Chinese or Global).
I made it with Global Developer, so I can confirm that this method perfectly works.
Luck!
Click to expand...
Click to collapse
pls help
1.can i use official twrp version from there site or need any modded version
2.pls confirm i only have to replace "recovery.img" and no other system files
superstar007 said:
pls help
1.can i use official twrp version from there site or need any modded version
2.pls confirm i only have to replace "recovery.img" and no other system files
Click to expand...
Click to collapse
You need the modded version and yes, only have to replace that .img and no other.
Check this thread, is which I followed
http://forum.xda-developers.com/redmi-note-3/how-to/method-to-flash-twrp-recovery-unlock-t3473294
Mononitoto said:
You need the modded version and yes, only have to replace that .img and no other.
Check this thread, is which I followed
http://forum.xda-developers.com/redmi-note-3/how-to/method-to-flash-twrp-recovery-unlock-t3473294
Click to expand...
Click to collapse
thank you so much it worked perfectly.and i hope installing xposed framework wont be a problem in the future.

Question Xiaomi Redmi Note 10: how to root

Does anyone have a guide on how to root a Xiaomi Redmi Note 10? I’m a novice Android user so any help will be appreciated. Thanks
You will need a Windows PC with Fastboot and Mi unlock tool installed. Here is what you could do without a TWRP to root through Magisk:
Apply for the Unlock process. This will take 167 hours and will factory reset your device. Backup your data before you do this. After the waiting period unlock your Bootloader.
Download your matching or newer Fastboot firmware from here. I assumed you have note 10 non 5G (mojito) based on that screenshot, if not, then that website has it for different varieties as well.
The Fastboot firmware is in .tgz format. Keep a copy for future screw ups just in case (will rescue you). Extract that archived folder and find boot.img inside.
Copy that .img to your phone, and download magisk manager 21.0 or newer and install it.
When opening the Manager on your phone for the first time, it'll prompt you to install itself, choose select and patch file and select the boot.img you copied to your phone earlier.
After it does that successfully, you will find a file called magisk_patched.img on the root of internal storage. Copy that patched .img back to your PC.
Reboot your phone to fastboot mode and connect to PC, flash that patched boot.img using:
Code:
fastboot flash boot magisk_patched.img
If flashed successfully, reboot your device and update/further install magisk.
Done, Your device is rooted !!!
P.S. Don't forget to mark this answer as solved by clicking the check mark beside it if it solved your question so anyone can see this in the future.
Slim K said:
You will need a Windows PC with Fastboot and Mi unlock tool installed. Here is what you could do without a TWRP to root through Magisk:
Apply for the Unlock process. This will take 167 hours and will factory reset your device. Backup your data before you do this. After the waiting period unlock your Bootloader.
Download your matching or newer Fastboot firmware from here. I assumed you have note 10 non 5G (mojito) based on that screenshot, if not, then that website has it for different varieties as well.
The Fastboot firmware is in .tgz format. Keep a copy for future screw ups just in case (will rescue you). Extract that archived folder and find boot.img inside.
Copy that .img to your phone, and download magisk manager 21.0 or newer and install it.
When opening the Manager on your phone for the first time, it'll prompt you to install itself, choose select and patch file and select the boot.img you copied to your phone earlier.
After it does that successfully, you will find a file called magisk_patched.img on the root of internal storage. Copy that patched .img back to your PC.
Reboot your phone to fastboot mode and connect to PC, flash that patched boot.img using:
Code:
fastboot flash boot magisk_patched.img
If flashed successfully, reboot your device and update/further install magisk.
Done, Your device is rooted !!!
P.S. Don't forget to mark this answer as solved by clicking the check mark beside it if it solved your question so anyone can see this in the future.
Click to expand...
Click to collapse
Thanks mate. Will wait for the phone to be unlocked then will try these steps.
hello, I followed the whole procedure and the phone only reboots in bootloop or after several reboots it brings me back to Fastboot
Slim K said:
You will need a Windows PC with Fastboot and Mi unlock tool installed. Here is what you could do without a TWRP to root through Magisk:
Apply for the Unlock process. This will take 167 hours and will factory reset your device. Backup your data before you do this. After the waiting period unlock your Bootloader.
Download your matching or newer Fastboot firmware from here. I assumed you have note 10 non 5G (mojito) based on that screenshot, if not, then that website has it for different varieties as well.
The Fastboot firmware is in .tgz format. Keep a copy for future screw ups just in case (will rescue you). Extract that archived folder and find boot.img inside.
Copy that .img to your phone, and download magisk manager 21.0 or newer and install it.
When opening the Manager on your phone for the first time, it'll prompt you to install itself, choose select and patch file and select the boot.img you copied to your phone earlier.
After it does that successfully, you will find a file called magisk_patched.img on the root of internal storage. Copy that patched .img back to your PC.
Reboot your phone to fastboot mode and connect to PC, flash that patched boot.img using:
Code:
fastboot flash boot magisk_patched.img
If flashed successfully, reboot your device and update/further install magisk.
Done, Your device is rooted !!!
P.S. Don't forget to mark this answer as solved by clicking the check mark beside it if it solved your question so anyone can see this in the future.
Click to expand...
Click to collapse
what about vbmeta?
0purple said:
what about vbmeta?
Click to expand...
Click to collapse
I do not understand the question
0purple said:
what about vbmeta?
Click to expand...
Click to collapse
Not really necessary for Xiaomi devices (apart from the Mi series) as far as I know, but maybe they changed that with the upgrade to android 11?
titifayls said:
I do not understand the question
Click to expand...
Click to collapse
He meant disabling AVB 2.0 by flashing the vbmeta.img from the downloaded fastboot firmware by using:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
I personally have encountered many problems using Magisk 22.0 stable version, if you're using that, then either update to the canary version (you can switch the update channel in the manager settings) or use the older version 21.4.
If all of the above fails, just reflash the stock boot.img and your phone will boot normally.
Slim K said:
Not really necessary for Xiaomi devices (apart from the Mi series) as far as I know, but maybe they changed that with the upgrade to android 11?
He meant disabling AVB 2.0 by flashing the vbmeta.img from the downloaded fastboot firmware by using:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
I personally have encountered many problems using Magisk 22.0 stable version, if you're using that, then either update to the canary version (you can switch the update channel in the manager settings) or use the older version 21.4.
If all of the above fails, just reflash the stock boot.img and your phone will boot normally.
Click to expand...
Click to collapse
precisely I did not take magisk v22 but v21, moreover I have exactly the same version as the first poster is 12.0.1 RKGEUXM.
To root I took the boot.img from version 12.0.2, was it an error?
I tried to reflash the original boot.img file from v12.0.2 but still in bootloop
I can not find anywhere where to take my original version yet up to date v12.0.1
@titifayls The original poster had version
V12.0.1.0.RKGMIXM (Global) while you claim to have downloaded
V12.0.2.0.RKGEUXM (European) which are not interchangeable. If you want to use either global or eu. Then you would need to flash the full firmware, you can't flash the boot.img from EU to ROM of global. It won't boot.
If you don't really remember which version came with your device, then reply to me again and I can give you further instructions. Tell me which OS are you using to access fastboot and if you want to preserve your data.
Slim K said:
@titifayls The original poster had version
V12.0.1.0.RKGMIXM (Global) while you claim to have downloaded
V12.0.2.0.RKGEUXM (European) which are not interchangeable. If you want to use either global or eu. Then you would need to flash the full firmware, you can't flash the boot.img from EU to ROM of global. It won't boot.
If you don't really remember which version came with your device, then reply to me again and I can give you further instructions. Tell me which OS are you using to access fastboot and if you want to preserve your data.
Click to expand...
Click to collapse
ha , sorry indeed I may have made a mistake, now I don't remember my exact version, it seemed to me that it was EU but in 12.0.1
I use ABD in fastboot and yes I would like to keep all my data that I did not save before wanting to root: /
I bought the phone on aliexpress, I am French, can I look on the box if I have any info on the version?
titifayls said:
ha , sorry indeed I may have made a mistake, now I don't remember my exact version, it seemed to me that it was EU but in 12.0.1
I use ABD in fastboot and yes I would like to keep all my data that I did not save before wanting to root: /
I bought the phone on aliexpress, I am French, can I look on the box if I have any info on the version?
Click to expand...
Click to collapse
I asked if you're using windows or linux to connect to your phone. About losing data, maybe a clean flash could be required, but trying first won't hurt.
Here is how you do it: (you can use the downloaded fastboot firmware, because your device is unlocked, so region differences won't matter that much when flashing full firmware):
Inside that .tgz archive (that you unarchived) you'll find a script called flash_all_except_data_storage.bat for windows or flash_all_except_data_storage.sh for linux. (Do not use the flash_all_lock.bat/.sh script or risk a hard brick, so read carefully this time!!!!)
Connect your device in fastboot mode and open a CMD/Terminal where those scripts and the rest of the firmware files are. Use fastboot devices to make sure device is recognized.
If it is, then type in fastboot followed by dragging and dropping the flash_all_except _data_storage.bat to your CMD/terminal and press Enter. The process should begin automatically. If you get an error, make sure to have typed a space after the fastboot command and before the dropped script.
If it takes a long time during flash of super, don't panic!! Super.img is a very big file
Done!
If it still bootloops after that, then use the flash_all.bat script (will factory reset your phone and delete data)
It doesn't matter, it gives me the list of commands but doesn't launch anything
Wouldn't it be better to put fastboot flash?
don't bother, I'll take miflash, it'll be easier
I delivered an eea_global_images_V12.0.2.0.RKGEUXM rom with miflash by putting flash_all_except_data_storage.
I recovered everything at startup, my applications everything, so I redid the manipulation for the root and now everything works, perfect
thank you
I did the above process successfully.
Also if new update comes out, the process must be done again (not including the unlocking part of course).
The ROMs are posted here
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Slim K said:
Not really necessary for Xiaomi devices (apart from the Mi series) as far as I know, but maybe they changed that with the upgrade to android 11?
He meant disabling AVB 2.0 by flashing the vbmeta.img from the downloaded fastboot firmware by using:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
I personally have encountered many problems using Magisk 22.0 stable version, if you're using that, then either update to the canary version (you can switch the update channel in the manager settings) or use the older version 21.4.
If all of the above fails, just reflash the stock boot.img and your phone will boot normally.
Click to expand...
Click to collapse
so if i use latest magisk v22.1 , do i have to disable something like vbmeta.img or not ? or it is onli Mi Series that need to disable vbmeta.img ?
how to see how many hours left to unlock the phone ? i kinda forgot about it, it is my 1st MIUI device beside Xiaomi Mi A1
pihpih95 said:
so if i use latest magisk v22.1 , do i have to disable something like vbmeta.img or not ? or it is onli Mi Series that need to disable vbmeta.img ?
Click to expand...
Click to collapse
Only MI series need that. You should not have to do that. Also yes, I meant to say that 22.0 stable magisk can make the patched boot.img unbootable. Using the 22.1 canary is the way to go.
pihpih95 said:
how to see how many hours left to unlock the phone ? i kinda forgot about it, it is my 1st MIUI device beside Xiaomi Mi A1
Click to expand...
Click to collapse
You would need to connect your phone in fastboot mode and use MI unlock tool again. It'll tell you how many hours left. Usually, you just need to wait exactly one week or 168 hours.
Slim K said:
Only MI series need that. You should not have to do that. Also yes, I meant to say that 22.0 stable magisk can make the patched boot.img unbootable. Using the 22.1 canary is the way to go.
You would need to connect your phone in fastboot mode and use MI unlock tool again. It'll tell you how many hours left. Usually, you just need to wait exactly one week or 168 hours.
Click to expand...
Click to collapse
about mi unlock tool , what version that show how many hours left ? i use latest version and it show nothing on the tool , if i remember correctly the oldest version show the time remaining to unlock , sorry if i mistaken something here >.<
pihpih95 said:
about mi unlock tool , what version that show how many hours left ? i use latest version and it show nothing on the tool , if i remember correctly the oldest version show the time remaining to unlock , sorry if i mistaken something here >.<
Click to expand...
Click to collapse
I used the latest as well. Most of the time, it errors out and I can't see the time left, but sometimes it works. Don't forget, you're giving them your imei for the freedom of your phone. Those imei's must be stored on Chinese servers and the tool must query those servers to get any info, depending on your country it may not work at all.
My experience with using an older tool has been very bad, the time was extended to 2 weeks instead of one on an another Xiaomi device. Avoid doing that and wait the requested time first.
After following the instruction my phone keeps rebooting.
I tried the flash_all.bat without success. What could I do?

Question please , help me

I lost persist.img data in the system, I really need your help, I can't find the persist.img file in fastboot, sorry for bad english
my devices redmi note 10 sunny
Did you mean that You deleted "presists.img" file from Fastboot rom folder ?
besides what's MIUI Fastboot file so I can share it to you here.
Abdullah.Csit said:
Did you mean that You deleted "presists.img" file from Fastboot rom folder ?
besides what's MIUI Fastboot file so I can share it to you here.
Click to expand...
Click to collapse
i found all the fastboot roms that don't have persist.img file, currently the sensor device and network connection are not working
thienthantoiloi1995 said:
i found all the fastboot roms that don't have persist.img file, currently the sensor device and network connection are not working
Click to expand...
Click to collapse
Just download Fastboot rom from here:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Abdullah.Csit said:
you must download Miui stock rom "Fastboot type not recovery type"
Then use Mi flash Tool latest to flash fastboot rom.
1. Download this rom "Fastboot 4.7 GB" from here :
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
2. Download Mi flash Tool:
https://www.xiaomiflash.com/downloads/MiFlash20181115.zip
Unzip password: xiaomiflash.com
3. Extract fastboot rom file .tgz to "C" disk then extract one more time the .zip file in same location "C://" then you get folder with rom build number and name.
4. Open Mi flash Tool , select Rom folder that we had extracted it.
5. Boot to fastboot mode & Connect your device.
6. Hit refresh so you will find your device name.
7. Check erase all data box without lock!
8. Click flash and wait till your device boot to MIUI.
Click to expand...
Click to collapse
Abdullah.Csit said:
Just download Fastboot rom from here:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Click to expand...
Click to collapse
I ran the program again and it still doesn't work
thienthantoiloi1995 said:
I ran the program again and it still doesn't work
Click to expand...
Click to collapse
Did you Downloaded the Fastboot rom from the site that I mentioned ?
Abdullah.Csit said:
Did you Downloaded the Fastboot rom from the site that I mentioned ?
Click to expand...
Click to collapse
yes
thienthantoiloi1995 said:
yes
Click to expand...
Click to collapse
That's weird!
Last solution just flash TWRP then format internal storage then reboot to Fastboot mode and reflash Fastboot rom (same instructions on my reply up here)
Abdullah.Csit said:
That's weird!
Last solution just flash TWRP then format internal storage then reboot to Fastboot mode and reflash Fastboot rom (same instructions on my reply up here)
Click to expand...
Click to collapse
it still not working, can you extract persist.img file from your device send it to me.
Just 1 file persist.img can save my device then thank you
thienthantoiloi1995 said:
it still not working, can you extract persist.img file from your device send it to me.
Just 1 file persist.img can save my device then thank you
Click to expand...
Click to collapse
Download this presist.img file:
persist.img
drive.google.com
Method #1:
flash it with adb cmd:
Code:
fastboot flash persist persist.img
Method #2:
If not success use this way, Thanks @MPK99 :
a way from twrp terminal
Store it on pc & do:
su
adb shell dd if=/location/to/persist.img of=/dev/block/platform/soc/1d84000.ufshc/by-name/persist
Click to expand...
Click to collapse
For now are you still just trying to fill in the missing file, or have you already re-flashed the Miui ROM using MiFlash?
EDIT:
Transferring persist.img from the other phone is not a good idea. Read here (used for Xiaomi Mi A1).
StaryMuz said:
For now are you still just trying to fill in the missing file, or have you already re-flashed the Miui ROM using MiFlash?
EDIT:
Transferring persist.img from the other phone is not a good idea. Read here (used for Xiaomi Mi A1).
Click to expand...
Click to collapse
It's true. Messing with persist data is never a good idea. As who someone lost their persist in anyway, has no other chance to resurrect the same state, they have no other choice.
Stock ROM Miui no longer contains persist.img in its standalone form. In which file is it now included?
Won't copying also change the IMEI?
MPK99 said:
It's true. Messing with persist data is never a good idea. As who someone lost their persist in anyway, has no other chance to resurrect the same state, they have no other choice.
Click to expand...
Click to collapse
I'm still wondering, wouldn't the file be created when locking the bootloader (flash_all_lock)?
StaryMuz said:
I'm still wondering, wouldn't the file be created when locking the bootloader (flash_all_lock)?
Click to expand...
Click to collapse
Maybe. I'm not so sure bout that.
StaryMuz said:
Stock ROM Miui no longer contains persist.img in its standalone form. In which file is it now included?
Won't copying also change the IMEI?
Click to expand...
Click to collapse
Maybe, but what we can do ! it's the only way let he flash the backuped persist file and let see what he can lose if he has no other way!
For your information I already checked all fastboot MIUI roms for mojito none of it's include presist.img Then I checked my second device (Sweet redmi note 10 pro) fastboot folder Then I located the presist.img file! so I think flashing presist.img will work.
let him go online and figure out if it will work
Abdullah.Csit said:
Download this presist.img file:
persist.img
drive.google.com
Method #1:
flash it with adb cmd:
Code:
fastboot flash persist persist.img
Method #2:
If not success use this way, Thanks @MPK99 :
Click to expand...
Click to collapse
Thank you so much, I'm really happy
StaryMuz said:
For now are you still just trying to fill in the missing file, or have you already re-flashed the Miui ROM using MiFlash?
EDIT:
Transferring persist.img from the other phone is not a good idea. Read here (used for Xiaomi Mi A1).
Click to expand...
Click to collapse
MPK99 said:
Maybe. I'm not so sure bout that.
Click to expand...
Click to collapse
my device is back to normal, thank you for everyone's interest in solving my device problems
thienthantoiloi1995 said:
Thank you so much, I'm really happy
Click to expand...
Click to collapse
Glad that is your problem solved , Just to confirm did you follow method #1 ?
Regards
Abdullah.Csit said:
Glad that is your problem solved , Just to confirm did you follow method #1 ?
Regards
Click to expand...
Click to collapse
I used the file you sent by loading it directly by TWRP , the cmd command didn't work

Question PIXEL EXPERIENCE

Hi everyone, sorry for my bad english but i sure we can help me to find a PIXEL EXPERIENCE fluid rom for my Xiaomi Mi 11 Lite 5G (8+128).
I searched the entire internet to find the rom but none of that are good for myself.
FCsperimentx said:
Hi everyone, sorry for my bad english but i sure we can help me to find a PIXEL EXPERIENCE fluid rom for my Xiaomi Mi 11 Lite 5G (8+128).
I searched the entire internet to find the rom but none of that are good for myself.
Click to expand...
Click to collapse
you have to take GSI rom here..
You can check my personal PE 12.0 build, been using it for 2 weeks and it works alright not 100% perfect.
Releases · aurotones/renoir
Contribute to aurotones/renoir development by creating an account on GitHub.
github.com
Ho un grosso problema sul mio dispositivo: quando provo a installare una rom personalizzata lo smartphone si blocca sul bootloop e I install again the stock miui con MIFlashTool.
I tried everything but the smartphone still have this problem.
FCsperimentx said:
Ho un grosso problema sul mio dispositivo: quando provo a installare una rom personalizzata lo smartphone si blocca sul bootloop e I install again the stock miui con MIFlashTool.
I tried everything but the smartphone still have this problem.
Click to expand...
Click to collapse
i updated install instructions. Also don't forget you must be on MIUI 12.5.7 firmware base.
I downloaded MIUI 12.5.7 but everything is the same.
Now when i write .\adb reboot fastboot the phone reboot itself on FASTBOOTD.
I tried everything but nothing just change because the xiaomi’s stuck on bootloop.
FCsperimentx said:
I downloaded MIUI 12.5.7 but everything is the same.
Now when i write .\adb reboot fastboot the phone reboot itself on FASTBOOTD.
I tried everything but nothing just change because the xiaomi’s stuck on bootloop.
Click to expand...
Click to collapse
You downloaded MIUI 12.5.7 is a good start but you could have alternatively download and flash only the firmware base which is only about 100MB. Also I see the instructions were not 100% clear, hope this will be clear enough for you. Also before you do, backup your files!
1. You supposed to go into bootloader, not fastboot.
Code:
adb reboot bootloader
2. Flash boot.img and vendor_boot.img files through fastboot command on your PC.
Code:
fastboot flash boot_ab ./boot.img
fastboot flash vendor_boot_ab ./vendor_boot.img
3. Now you need to go into recovery mode. It should say pixel experience recovery on top of the screen.
Code:
fastboot reboot recovery
4. Select Apply update -> Apply from ADB.
5. Now sideload the zip file through adb command on your PC
Code:
adb sideload ./PixelExperience_renoir-***.zip
6. You may need to format your data so it will boot properly.
Above commands are examples but might be different on your type of operating system you're using, so take them as example, not the exact command that will guaranteed to work.
If you're still having problem then, there's underlying problem that i'm not aware of and hope someone else will help you to flash it.
Hi, I don't get it I tried everything can't make it work. I finally flashed vendor_boot, and booted on TWRP 3.6.1_11-0 in order to manage to side load on Renoir, and I get this error all time (with the 12 and 12 plus official release of pixel experience) as on the picture.
Could you help me, it's been 6 month I don't manage to installé any pixel experience on this phone. First time I' m stuck with a smartphone ever ... Official/gsi nothing works, I only manage to flash the MIUI ROM and lineage os....
I'm desperate .
Eightkiller said:
Hi, I don't get it I tried everything can't make it work. I finally flashed vendor_boot, and booted on TWRP 3.6.1_11-0 in order to manage to side load on Renoir, and I get this error all time (with the 12 and 12 plus official release of pixel experience) as on the picture.
Could you help me, it's been 6 month I don't manage to installé any pixel experience on this phone. First time I' m stuck with a smartphone ever ... Official/gsi nothing works, I only manage to flash the MIUI ROM and lineage os....
I'm desperate .
Click to expand...
Click to collapse
TWRP doesn't support Android 12 yet, you need LineageOS or Pixel Experience recovery to sideload.
Edit: Follow instructions here: https://wiki.pixelexperience.org/devices/renoir/install/
aurotones said:
TWRP doesn't support Android 12 yet, you need LineageOS or Pixel Experience recovery to sideload.
Edit: Follow instructions here: https://wiki.pixelexperience.org/devices/renoir/install/
Click to expand...
Click to collapse
Thx for your answer the problem is I can't manage to boot on pixel experience recovery as shown in the tutorial. It says ok when I flash but I can only get to fastboot. And when I just try to fastboot boot 'myrecovery.img', it just rebbotsyto fastboot. That's why I tried to boot on TWRP which works without any trouble :s
Eightkiller said:
Thx for your answer the problem is I can't manage to boot on pixel experience recovery as shown in the tutorial. It says ok when I flash but I can only get to fastboot. And when I just try to fastboot boot 'myrecovery.img', it just rebbotsyto fastboot. That's why I tried to boot on TWRP which works without any trouble :s
Click to expand...
Click to collapse
TWRP will never work but while you're on TWRP your base should be on V12.5.7.0.RKIEUXM, flash that first in TWRP and then maybe try flash boot.img and vendor_boot.img and go to recovery mode. Without it you will never be able to install. Please give me details what your phone is, is it 5G variant with renoir codename?, is it global or china?, did it had MIUI 12.5 or 13?, these informations are necessary.
aurotones said:
TWRP will never work but while you're on TWRP your base should be on V12.5.7.0.RKIEUXM, flash that first in TWRP and then maybe try flash boot.img and vendor_boot.img and go to recovery mode. Without it you will never be able to install. Please give me details what your phone is, is it 5G variant with renoir codename?, is it global or china?, did it had MIUI 12.5 or 13?, these informations are necessary.
Click to expand...
Click to collapse
It had MIUI 12.x and it is a "eu" phone, I tried to flash the V12.5.7.0.RKIEUXM (miui_RENOIREEAGlobal_V12.5.7.0.RKIEUXM_325e38b5bf_11.0) from twrp it's not working with the same errors messages. I don't really know what to do, i managed to put back my 12.6 beta stock miui from "xiaomi.eu_multi_MI11Lite5G_21.7.7_v12-11-fastboot" version.
When i'm stuck i'm forced to install this back to not be stuck on fastboot loop. I found a "renoir_eea_global_images_V12.5.7.0.RKIEUXM_20220105.0000.00_11.0_eea" fastboot version but the installation is not working (would you have one working from my config ?).
I also tried to flash the firmware (fw_renoir_miui_RENOIREEAGlobal_V12.5.7.0.RKIEUXM_325e38b5bf_11.0 ~104mo) which gave me an "orange" fastboot instead of the fastboot with the funny character. And tried to install the recovery from pixel after but still stuck on fastboot.
Hope it will help you a bit more to help me
Eightkiller said:
It had MIUI 12.x and it is a "eu" phone, I tried to flash the V12.5.7.0.RKIEUXM (miui_RENOIREEAGlobal_V12.5.7.0.RKIEUXM_325e38b5bf_11.0) from twrp it's not working with the same errors messages. I don't really know what to do, i managed to put back my 12.6 beta stock miui from "xiaomi.eu_multi_MI11Lite5G_21.7.7_v12-11-fastboot" version.
When i'm stuck i'm forced to install this back to not be stuck on fastboot loop. I found a "renoir_eea_global_images_V12.5.7.0.RKIEUXM_20220105.0000.00_11.0_eea" fastboot version but the installation is not working (would you have one working from my config ?).
I also tried to flash the firmware (fw_renoir_miui_RENOIREEAGlobal_V12.5.7.0.RKIEUXM_325e38b5bf_11.0 ~104mo) which gave me an "orange" fastboot instead of the fastboot with the funny character. And tried to install the recovery from pixel after but still stuck on fastboot.
Hope it will help you a bit more to help me
Click to expand...
Click to collapse
i feel like your partition is messed up by TWRP so my advice is clean flash V12.5.7.0 fastboot rom with method of "flash_all.bat" on windows, "flash_all.sh" on linux i forgot the filenames but there's also method with lock in the name which you should avoid and then never touch or install TWRP as it's a bit unstable even with Android 11 roms, now you flash boot.img and vendor_boot.img provided by Pixel Experience through bootloader that only spells fastboot, no extra letter at the end.
This is important, Rebooting into bootloader and fastboot is different, when you do 'adb reboot fastboot' it will show fastbootd with orange text which something you should avoid, instead do 'adb reboot bootloader' or by vol down + power button and flash those 2 files.
If you still having problems try changing your boot slot by
Code:
fastboot --set-active=a
or
Code:
fastboot --set-active=b
And then
Code:
fastboot reboot recovery
If you still having problems, then head over to this telegram group and get help from ROM maintainer: https://t.me/arixelogroup
The Official build Pixel Experience is now available for renoir
It works perfectly on my device
PE for renoir
RGB39 said:
The Official build Pixel Experience is now available for renoir
It works perfectly on my device
PE for renoir
Click to expand...
Click to collapse
Attention that, Don't flash miui13 before flashing pe, or your wlan won't work.
aurotones said:
i feel like your partition is messed up by TWRP so my advice is clean flash V12.5.7.0 fastboot rom with method of "flash_all.bat" on windows, "flash_all.sh" on linux i forgot the filenames but there's also method with lock in the name which you should avoid and then never touch or install TWRP as it's a bit unstable even with Android 11 roms, now you flash boot.img and vendor_boot.img provided by Pixel Experience through bootloader that only spells fastboot, no extra letter at the end.
This is important, Rebooting into bootloader and fastboot is different, when you do 'adb reboot fastboot' it will show fastbootd with orange text which something you should avoid, instead do 'adb reboot bootloader' or by vol down + power button and flash those 2 files.
If you still having problems try changing your boot slot by
Code:
fastboot --set-active=a
or
Code:
fastboot --set-active=b
And then
Code:
fastboot reboot recovery
If you still having problems, then head over to this telegram group and get help from ROM maintainer: https://t.me/arixelogroup
Click to expand...
Click to collapse
Thx, but that's what i'm trying to do since yesterday, but i don't manage to fresh install 12.5.7.0 with the fastboot rom i found (miui_RENOIREEAGlobal_V12.5.7.0.RKIEUXM_325e38b5bf_11.0
I always get errors when i run the flash_all.bat, saying that my rom is more recent than the one i'm trying to flash. I tried to delete the "if statement" checking for the versions, but seems to mess up with the "directories name" after.
Would you have some link or place where i can get a working 12.5.7.0 with fastboot install ? I'll try it properly from this one.
Thanks in advance.
Eightkiller said:
Thx, but that's what i'm trying to do since yesterday, but i don't manage to fresh install 12.5.7.0 with the fastboot rom i found (miui_RENOIREEAGlobal_V12.5.7.0.RKIEUXM_325e38b5bf_11.0
I always get errors when i run the flash_all.bat, saying that my rom is more recent than the one i'm trying to flash. I tried to delete the "if statement" checking for the versions, but seems to mess up with the "directories name" after.
Would you have some link or place where i can get a working 12.5.7.0 with fastboot install ? I'll try it properly from this one.
Thanks in advance.
Click to expand...
Click to collapse
Use XiaoMiFlash
Download Official Xiaomi Mi Flash Tool All Versions
xiaomimiflashtool.com
or fastboot v29.0.5
Download Platform Tools for Android SDK Manager
Download Android SDK Platform-tools 29.0.0 , 29.0.0 , 30.0.0 , 30.0.0 , 31.0.0 , 31.0.0 , 31.0.0 , 33.0.0 , 33.0.0 , 33.0.0 , 34.0.0 ,
androidsdkmanager.azurewebsites.net
mitanyan98 said:
Use XiaoMiFlash
Download Official Xiaomi Mi Flash Tool All Versions
xiaomimiflashtool.com
or fastboot v29.0.5
Download Platform Tools for Android SDK Manager
Download Android SDK Platform-tools 29.0.0 , 29.0.0 , 30.0.0 , 30.0.0 , 31.0.0 , 31.0.0 , 31.0.0 , 33.0.0 , 33.0.0 , 33.0.0 , 34.0.0 ,
androidsdkmanager.azurewebsites.net
Click to expand...
Click to collapse
Thx for your answer, as i was saying: same error with mi flash tool (look the screenshot)
And if i comment the "checking parts" inside the .bat files, i get directories error on windows: it does not seem to check properly my direcotries name
for example a line is like this:
fastboot %* flash crclist %~dp0images\crclist.txt || @ECHO "Flash crclist error" && exit /B 1
the %~dp0images seems to be my path, but it's not taken properly into accoutn, seems to have " quote problems with the path
Edit: I had to double quote " the path inside the script as my path was having spaces inside
Thx for you help, I managed to install it, the only problem was to properly install 12.5.7 After succeding that everything worked as it should
RGB39 said:
Attention that, Don't flash miui13 before flashing pe, or your wlan won't work.
Click to expand...
Click to collapse
So that's why... so many hours wasted trying to get Wi-Fi to work. I had the "fantastic idea" of flashing the official global miui (renoir_global_images_V13.0.4.0.SKIMIXM_20220412....) prior to installing DotOS and when wi-fi did not work, flashed Pixel Experience...
And I'm pretty sure flashing miui 12.x will trigger ARB and brick the phone. Right?

Categories

Resources