[All-in-One] Redmi Note 7 (lavender): Unlock Bootloader, Flash TWRP, Root, Flash ROM - Xiaomi Redmi Note 7 Guides, News, & Discussion

Dear Redmi Note 7 user,
I'm not responsible if anything happens to your device. If you execute these AiO procedures properly then you shouldn't face any problems.
Before you proceed please back up all your important data and make sure that your phone battery is charged >80%!
A. Prerequisites:
1. Disable driver signature enforcement in Windows
If your computer doesn’t recognize Xiaomi drivers then please disable driver signature enforcement. How to do this please read here: http://en.miui.com/thread-237673-1-1.html
2. Install ADB and Fastboot tools with drivers on Windows
How to do this please read here: https://forum.xda-developers.com/showthread.php?t=2588979
Restart your computer.
3. Enable "OEM unlocking" and "USB debugging" in your device
a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version seven times
b. Now go to: Settings/Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"
4. Check if your bootloader is locked
a. After successful installation of "ADB and Fastboot" enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable).
b. Go to the folder where you have put the "ADB and Fastboot" and open a command window inside that folder. To do that hold together "Shift + Right Click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
c. Enter the terminal command in command line: >>fastboot devices<<
If you don't see your device it means that the drivers weren't installed properly or the device wasn't connected properly. If this happens please reinstall your drivers from Point A. 2. or try these drivers here:
http://xiaomiadvices.com/download-xiaomi-usb-drivers/
d. If you see your device then enter the terminal command in command line: >>fastboot oem device-info<<
If your bootloader is locked, you'll get the following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.058s]
finished. total time: 0.063s
………………………………………………………………………
If your bootloader is unlocked, you'll get following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.053s]
finished. total time: 0.055s
………………………………………………………………………
5. Request Permission from Xiaomi to Unlock the Bootloader
a. Create a Mi Account: https://global.account.xiaomi.com/pass/register
b. Sign to Xiaomi and apply for unlocking https://en.miui.com/unlock/
6. Connect your Mi Account to your Device
Go to: Settings/Additional Settings/Developer Options/Mi Unlock status and check "Add account and device"
B: Unlock the Bootloader
Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader!
1. You must enable "OEM unlocking" and "USB debugging" as per point A. 3.
2. You must connect your Mi Account with your device as per point A. 6.
3. Download Mi Unlock Tool here: https://en.miui.com/unlock/
4. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
5. Start the Mi Unlock Tool
6. Enter your eMail and your password of your Mi Account
7. Connect you device to your computer and start the unlock procedure
8. Follow the unlock tool instructions until the unlock procedure is finished
9. Reboot your device
If you get the message, that the unlocking can be done after 72h or 360h or 720h etc., then you have to wait for that time to pass.
C: Install the TWRP Recovery
a. Your bootloader must be unlocked
b. The official twrp can be downloaded here: https://twrp.me/xiaomi/xiaomiredminote7.html. However the official twrp for Redmi Note 7 is not yet available. For the time being please download the latest unofficial "twrp-x.x.x.img" from here https://forum.xda-developers.com/re...overy-unofficial-twrp-touch-recovery-t3921637 and put it into a dedicated folder in your computer and rename it to "twrp".
c. Go to the folder where you have put the twrp-file. Now open a command window inside that folder. To do that hold together "Shift + Right click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
d. Enter fastboot mode by holding together "Volume Down + Power" and connect your device to your computer
e. Enter the terminal command in command line: >>fastboot flash recovery twrp.img<<. Attention: Do not restart your device otherwise Xiaomi's original recovery might overwrite the custom recovery twrp!
f. Boot your device into recovery (3 possible methods)
+ by entering terminal command in command line: >>fastboot boot twrp.img<<, or
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
If you only want to root your smartphone, then please continue to point D
If you want to install a custom rom, then please continue to point E
D. Root Your Smartphone
a. Download latest Magisk from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 and put it into internal memory of your smartphone or into the micro sd-card or into on-the-go memory stick
b. In the main twrp screen please click "Install", search for the Magisk-*zip*-file and flash it
c. Restart your smartphone
E. Install A Custom Rom
1. Download the desired rom and put it into device's internal memory or into the micro sd-card or into on-the-go memory stick:
a. Lineage
The official Lineage for Redmi Note 7 is not yet available, but when it becomes available you can download it from here:
https://download.lineageos.org/lavender
Lineage roms don't have Google Apps integrated in them.
b. Resurrection Remix
Please download the official Resurrection Remix for Redmi Note 7 (lavender) from here:
https://get.resurrectionremix.com/?dir=lavender
Resurrection Remix roms don't have Google Apps integrated in them.
c. ATOM
Please download the official ATOM for Redmi Note 7 (lavender) from here:
https://sourceforge.net/projects/atom-os-project/files/Ten/lavender/
ATOM roms usually don't have Google Apps integrated in them but the developer of AOSP Extended for lavender is offering both versions, with and without Google Apps.
d. Xiaomi.EU
Download the latest rom (weekly or stable) from here: https://xiaomi.eu/community/
Global Xiaomi.EU roms already have Google Apps integrated in them.
2. (in case you want to have root on your device) Download "addonsu-arm64-signed.zip" (for Lineage: https://download.lineageos.org/extras) or (for other Roms) the latest Magisk (from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445) and put it into device's internal memory or into the micro sd-card or into on-the-go memory stick.
3. If the rom doesn’t contain Google Apps then download Google Apps ARM64, Mini, Pico, Nano etc. from here www.opengapps.org and put them into device's internal memory or computer or on-the-go memory stick or micro sd-card.
4. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
5. Wipe: Dalvik / Art Cache; System; Data; Cache; (be careful, don't wipe internal storage!)
6. Go back to main twrp screen and install the Rom, install Google Apps (if the Rom doesn’t contain them), install "addonsu-arm64-signed.zip" (in case of Lineage) or the latest Magisk (in case of other Roms).
7. Reboot. That's it, you are done.
F. Returning To The Original Xiaomi Rom, MIUI
for those users who would like to return to original Xiaomi rom MIUI, below the flashing instructions and download links for the Fastboot and Recovery roms:
1. Fastboot:
a. Download latest fastboot rom (*.tgz*-file) from here: https://c.mi.com/oc/miuidownload/detail?guide=2
b. Flash the rom as per instructions explained in the a.m. link.
2. Recovery:
a. Download latest recovery rom (*.zip*-file) from here: http://c.mi.com/oc/miuidownload/detail?device=1700360 and put it into device's internal memory or into the micro sd-card or into on-the-go memory stick
b. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
c. Wipe: Dalvik / Art Cache; System; Data; Cache; (be careful, don't wipe internal storage!)
d. Go back to main twrp screen and install the rom
e. Reboot. That's it, you are done.
If my guide helped you please click "thanks" and enjoy your phone.

Frequently Asked Questions (FAQ):
Question:
My computer doesn't recognize my device. What can be the problem?
Answer:
1. Check your cable if it is the original one, and if not then use the original one.
2. Check you drivers if they are installed properly and if not, then re-install them.
3. If the problem is not with point 1 and 2 then please try another computer.
Question:
Can I bypass the waiting time to unlock the bootloader?
Answer:
No you can't. You have to wait for that time to pass.

You know you can probably root without recovery using Magisk Manager and fastboot. You'll just need the original boot image which you should be able to extract from Xiaomi's firmware downloads.

any confirmation how many hours to unlock this device (after 72h or 360h or 720h) ?

Cryslin111 said:
any confirmation how many hours to unlock this device (after 72h or 360h or 720h) ?
Click to expand...
Click to collapse
Unfortunatelly the waiting time varies from person to person and also which smarphone model we are talking about. Until now the longest time I waited to unlock a bootloader was 72h. In Xiaomi forums people are reporting that they are waiting btw. 72h - 720h, sometimes even more than 1000h.

TWRP for Redmi note 7 from LR.TEAM 21/1/2019
https://drive.google.com/file/d/1nYu4gbLnGcoWnfXTOONwJk4ifc82l-Sc/view

senerex said:
Unfortunatelly the waiting time varies from person to person and also which smarphone model we are talking about. Until now the longest time I waited to unlock a bootloader was 72h. In Xiaomi forums people are reporting that they are waiting btw. 72h - 720h, sometimes even more than 1000h.
Click to expand...
Click to collapse
I register my mi account by a google voice number,would it make the unlock process faster?OR perhaps I even could unlock my redmi note 7?

wangweitung said:
I register my mi account by a google voice number,would it make the unlock process faster?OR perhaps I even could unlock my redmi note 7?
Click to expand...
Click to collapse
No, I don't think so. No.

senerex said:
No, No.
Click to expand...
Click to collapse
I will soon check how long I will wait to unlock bootloader.
---------- Post added at 11:32 AM ---------- Previous post was at 11:12 AM ----------
senerex said:
No, I don't think so. No.
Click to expand...
Click to collapse
It's sad to see that I have to wait 360 hours before I can unlock.

wangweitung said:
It's sad to see that I have to wait 360 hours before I can unlock.
Click to expand...
Click to collapse
same here

Enddo said:
same here
Click to expand...
Click to collapse
Sam here (actuall 359h)

I've heard that Xiaomi's phone bought from mainland China can't unlock bootloader and flash global rom. Really?

ColtonDRG said:
You know you can probably root without recovery using Magisk Manager and fastboot. You'll just need the original boot image which you should be able to extract from Xiaomi's firmware downloads.
Click to expand...
Click to collapse
How would you flash the patched boot.img with a locked bootloader?
It shows this and blocks you from proceeding:

vEEGAZ said:
How would you flash the patched boot.img with a locked bootloader?
It shows this and blocks you from proceeding:
Click to expand...
Click to collapse
unlock bootloader first!

lehungit8 said:
I've heard that Xiaomi's phone bought from mainland China can't unlock bootloader and flash global rom. Really?
Click to expand...
Click to collapse
That's completely untrue. I do tutorials for these devices on my website Android Explained and have bought the latest ones from the Mi Global seller account on AliExpress.
All have been completely sealed devices, shipped a day or two after their Chinese launch, and once you can unlock the bootloader (you do have to wait a certain period of time), then you can flash the global fastboot ROM with either Mi Flash, or just using the flash_all.bat file
---------- Post added at 12:12 PM ---------- Previous post was at 12:10 PM ----------
vEEGAZ said:
How would you flash the patched boot.img with a locked bootloader?
It shows this and blocks you from proceeding:
Click to expand...
Click to collapse
the person you quoted said 'without recovery'. . .not 'with a locked bootloader'
You'll still need to unlock the bootloader, but once you do then you can patch the boot.img file for the device with Magisk and then load it onto the phone (instead of installing TWRP and then flashing Magisk) to gain root access

vEEGAZ said:
How would you flash the patched boot.img with a locked bootloader?
It shows this and blocks you from proceeding:
Click to expand...
Click to collapse
Yep, as the person above said, I said you could do it without recovery, not without unlocking the bootloader.

ColtonDRG said:
Yep, as the person above said, I said you could do it without recovery, not without unlocking the bootloader.
Click to expand...
Click to collapse
Alright, I misunderstood you.
Still more 14 days to go until I can unlock the bootloader

That's completely untrue. I do tutorials for these devices on my website Android Explained and have bought the latest ones from the Mi Global seller account on AliExpress.
All have been completely sealed devices, shipped a day or two after their Chinese launch, and once you can unlock the bootloader (you do have to wait a certain period of time), then you can flash the global fastboot ROM with either Mi Flash, or just using the flash_all.bat file
That sounds interesting - so - please state if I'm correct:
Once Redmi Note 7 Global version is out, I could install the official Global ROM and this one would work and have OTA upgrades in future on my Chinese Redmi Note 7?
Thank you in advance.

tomsag said:
Once Redmi Note 7 Global version is out, I could install the official Global ROM and this one would work and have OTA upgrades in future on my Chinese Redmi Note 7?
Click to expand...
Click to collapse
Global rom for Redmi Note 7 is not available yet, and thus I can't test it myself yet, but judging by all other Xiaomi Smartphones I had until now (Mi 5, Mi 6, Mix 2s, Redmi Note 4, Redmi Note 5 etc.) I was always able to flash the global rom on my Chinese version of these smartphones. Of course the bootloader will have to be unlocked. I'm quite sure that flashing the global rom on Chinese version of Redmi Note 7 will be possible too!
EDIT 1:
Thanhbat said:
Does OTA work on that ROM? And How about Android development on Chinese versions compare to Global versions? Can you flash global's ROM on Chinese version?
Thanks
Click to expand...
Click to collapse
Yes, OTA will work! Android development on Chinese versions compared to Global version is a prerogative of developers. They decide which version of MIUI (Chinese or Global) they take as basis for their further development.

senerex said:
Global rom for Redmi Note 7 is not available yet, and thus I can't test it myself yet, but judging by all other Xiaomi Smartphones I had until now (Mi 5, Mi 6, Mix 2s, Redmi Note 4, Redmi Note 5 etc.) I was always able to flash the global rom on my Chinese version of these smartphones. Of course the bootloader will have to be unlocked.
I'm quite sure that flashing the global rom on Chinese version of Redmi Note 7 will be possible! Pozdrav...
Click to expand...
Click to collapse
Does OTA work on that ROM?
And How about Android development on Chinese versions compare to Global versions? Can you flash global's ROM on Chinese version?
Thanks

Related

xiaomi.eu 7.8.13.0 (MAACNDB)

so i bought a phone via a reseller and it came with the above miui version and lots of bloat ware that i cant remove. Some of the bloat ware doing funny things as well.
How do i go about flashing back to a original global or china version?
Dear,
You need to follow the below in order:
1- Apply for unlock Bootloader.
2- Once you unlocked the BL then.
3- Download the latest fastboot image for your device (Not Flashable ROM).
4- Download MiFlash Tool.
5- Enable USB Debugging.
6- Boot your device on Fastboot.
7- Put the whole downloaded package on the Desktop.
8- Extract the package using "7-Zip Software".
9- Open the MiFlash Tool.
10- Select browse and select image.
11- Select Advance option which is the "Browse Arrow".
12- Select Flash_All.
13- Click on Flash.
14- Done.
Thanks.
I suspect the bootloader be unlocked already, since the reseller managed to flash a non-official ROM. Try entering fastboot mode (boot the phone while holding down the volume-down button); if you see a Mi Bunny, you'll be able to fastboot flash immediately. Follow the above poster's instructions after that.
If you don't know how to fastboot flash, you can google around for some guides. Also, you can find all of Xiaomi's fastboot ROMs here. Scroll down and pick your poison
nicholaslimck said:
I suspect the bootloader be unlocked already, since the reseller managed to flash a non-official ROM. Try entering fastboot mode (boot the phone while holding down the volume-down button); if you see a Mi Bunny, you'll be able to fastboot flash immediately. Follow the above poster's instructions after that.
If you don't know how to fastboot flash, you can google around for some guides. Also, you can find all of Xiaomi's fastboot ROMs here. Scroll down and pick your poison
Click to expand...
Click to collapse
This is not true. Resellers can flash roms on locked bootloader devices (with EDL mode) and fastboot is accessible with locked bootloader too (just cannot flash roms with it).
He has to flash an official rom with edl mode or official recovery (mi pc suite) and he doesn't even need to unlock the device.
Follow these instructions:
1. Download and install miflash: https://drive.google.com/open?id=0B7JS5kbVejxxUE9DNGpIOVhFWUU
2. Download and extract Mi5 EDL zip: https://drive.google.com/open?id=0B7JS5kbVejxxVGJIengtUTJFVEE
3. Turn off your phone
4. Press volume down and power button for 5 sec (you're gonna see a bunny pic and a fastboot text)
5. Connect phone to pc with usb cable
6. Wait few sec for drivers
7. Open Mi5 EDL.cmd (from Mi5 EDL zip)
8. Fastboot text should disappear (if not, then something is wrong)
9. Download and extract china dev rom: http://bigota.d.miui.com/6.6.30/gemini_images_6.6.30_20160523.0000.23_6.0_cn_79be63012e.tgz (should be no space in the folder name where you extract this zip!!!)
You can find other official fastboot roms here: http://en.miui.com/a-234.html
10. Open miflash, press refresh, should find your phone
11. Browse rom folder
12. Tick flash all at the right bottom corner
13. Press flash button and wait
14. After finish, the phone should reboot, if not, then hold power button for 10 sec
15, First boot takes very long, keep calm
abyssq said:
This is not true. Resellers can flash roms on locked bootloader devices (with EDL mode) and fastboot is accessible with locked bootloader too (just cannot flash roms with it).
He has to flash an official rom with edl mode or official recovery (mi pc suite) and he doesn't even need to unlock the device.
Follow these instructions:
1. Download and install miflash: https://drive.google.com/open?id=0B7JS5kbVejxxUE9DNGpIOVhFWUU
2. Download and extract Mi5 EDL zip: https://drive.google.com/open?id=0B7JS5kbVejxxVGJIengtUTJFVEE
3. Turn off your phone
4. Press volume down and power button for 5 sec (you're gonna see a bunny pic and a fastboot text)
5. Connect phone to pc with usb cable
6. Wait few sec for drivers
7. Open Mi5 EDL.cmd (from Mi5 EDL zip)
8. Fastboot text should disappear (if not, then something is wrong)
9. Download and extract china dev rom: http://bigota.d.miui.com/6.6.30/gemini_images_6.6.30_20160523.0000.23_6.0_cn_79be63012e.tgz (should be no space in the folder name where you extract this zip!!!)
You can find other official fastboot roms here: http://en.miui.com/a-234.html
10. Open miflash, press refresh, should find your phone
11. Browse rom folder
12. Tick flash all at the right bottom corner
13. Press flash button and wait
14. After finish, the phone should reboot, if not, then hold power button for 10 sec
15, First boot takes very long, keep calm
Click to expand...
Click to collapse
Just a quick question for my curiosity.
If the phone was unlocked and you flash an official fastboot rom. Will it be locked again once it's flashed? Or is it still unlocked?
Thx
Foobrother said:
Just a quick question for my curiosity.
If the phone was unlocked and you flash an official fastboot rom. Will it be locked again once it's flashed? Or is it still unlocked?
Thx
Click to expand...
Click to collapse
If you choose "flash all" in mi flash, then it will be still unlocked after flashing, but if you choose "flash all and lock" then it will be locked.
abyssq said:
If you choose "flash all" in mi flash, then it will be still unlocked after flashing, but if you choose "flash all and lock" then it will be locked.
Click to expand...
Click to collapse
Ok. I didn't notice the "flash all and lock" option. But will remember for the next time.
Thx
abyssq said:
This is not true. Resellers can flash roms on locked bootloader devices (with EDL mode) and fastboot is accessible with locked bootloader too (just cannot flash roms with it).
He has to flash an official rom with edl mode or official recovery (mi pc suite) and he doesn't even need to unlock the device.
Follow these instructions:
1. Download and install miflash: https://drive.google.com/open?id=0B7JS5kbVejxxUE9DNGpIOVhFWUU
2. Download and extract Mi5 EDL zip: https://drive.google.com/open?id=0B7JS5kbVejxxVGJIengtUTJFVEE
3. Turn off your phone
4. Press volume down and power button for 5 sec (you're gonna see a bunny pic and a fastboot text)
5. Connect phone to pc with usb cable
6. Wait few sec for drivers
7. Open Mi5 EDL.cmd (from Mi5 EDL zip)
8. Fastboot text should disappear (if not, then something is wrong)
9. Download and extract china dev rom: http://bigota.d.miui.com/6.6.30/gemini_images_6.6.30_20160523.0000.23_6.0_cn_79be63012e.tgz (should be no space in the folder name where you extract this zip!!!)
You can find other official fastboot roms here: http://en.miui.com/a-234.html
10. Open miflash, press refresh, should find your phone
11. Browse rom folder
12. Tick flash all at the right bottom corner
13. Press flash button and wait
14. After finish, the phone should reboot, if not, then hold power button for 10 sec
15, First boot takes very long, keep calm
Click to expand...
Click to collapse
Hii .
Will it be possible to flash RESURRECTION REMIX M 5.7.1 this way if i use the older MIUI ( those linked in the thread ) roms ( those before Xiaomi blocked EDL )
kalliffen said:
Hii .
Will it be possible to flash RESURRECTION REMIX M 5.7.1 this way if i use the older MIUI ( those linked in the thread ) roms ( those before Xiaomi blocked EDL )
Click to expand...
Click to collapse
No, you will need unlocked bootloader and TWRP for RR.
abyssq said:
Follow these instructions:
1. Download and install miflash: https://drive.google.com/open?id=0B7JS5kbVejxxUE9DNGpIOVhFWUU
2. Download and extract Mi5 EDL zip: https://drive.google.com/open?id=0B7JS5kbVejxxVGJIengtUTJFVEE
3. Turn off your phone
4. Press volume down and power button for 5 sec (you're gonna see a bunny pic and a fastboot text)
5. Connect phone to pc with usb cable
6. Wait few sec for drivers
7. Open Mi5 EDL.cmd (from Mi5 EDL zip)
8. Fastboot text should disappear (if not, then something is wrong)
9. Download and extract china dev rom: http://bigota.d.miui.com/6.6.30/gemini_images_6.6.30_20160523.0000.23_6.0_cn_79be63012e.tgz (should be no space in the folder name where you extract this zip!!!)
You can find other official fastboot roms here: http://en.miui.com/a-234.html
10. Open miflash, press refresh, should find your phone
11. Browse rom folder
12. Tick flash all at the right bottom corner
13. Press flash button and wait
14. After finish, the phone should reboot, if not, then hold power button for 10 sec
15, First boot takes very long, keep calm
Click to expand...
Click to collapse
Thank you a *lot* for these instructions, I was now able to get rid of these ads (and whatever was still on the device). The only thing that was missing for me was that I needed to manually install the qdloader-hs-usb-driver.
Three things I didn't really understand:
- what does this process do? Does it root the device or just flash a different ROM?
- why is going into the EDL mode necessary?
- when I additionally unlock the device: what do I gain?
abyssq said:
This is not true. Resellers can flash roms on locked bootloader devices (with EDL mode) and fastboot is accessible with locked bootloader too (just cannot flash roms with it).
He has to flash an official rom with edl mode or official recovery (mi pc suite) and he doesn't even need to unlock the device.
Follow these instructions:
1. Download and install miflash: https://drive.google.com/open?id=0B7JS5kbVejxxUE9DNGpIOVhFWUU
2. Download and extract Mi5 EDL zip: https://drive.google.com/open?id=0B7JS5kbVejxxVGJIengtUTJFVEE
3. Turn off your phone
4. Press volume down and power button for 5 sec (you're gonna see a bunny pic and a fastboot text)
5. Connect phone to pc with usb cable
6. Wait few sec for drivers
7. Open Mi5 EDL.cmd (from Mi5 EDL zip)
8. Fastboot text should disappear (if not, then something is wrong)
9. Download and extract china dev rom: http://bigota.d.miui.com/6.6.30/gemini_images_6.6.30_20160523.0000.23_6.0_cn_79be63012e.tgz (should be no space in the folder name where you extract this zip!!!)
You can find other official fastboot roms here: http://en.miui.com/a-234.html
10. Open miflash, press refresh, should find your phone
11. Browse rom folder
12. Tick flash all at the right bottom corner
13. Press flash button and wait
14. After finish, the phone should reboot, if not, then hold power button for 10 sec
15, First boot takes very long, keep calm
Click to expand...
Click to collapse
Thx
Hi,
I bought a new MI5 last week, as is knowed, many of this phones comes with vendors ROM´s, so I´ve used this methed to flas an oficial miui ,
all OK , flash successful, and after ond day of use, my MI5 powers off, and no more turn ON.
At the moment the situation is, don´t have fastboot (power and Vol -), no recovery (power and vol +) ,
the only thing the MI5 have is when i conect it to USB por is in edl mode becouse aper on device mangement the drive qualcomm hs-usb qdloader 9008 , so i try flash again the oficial global ROM with Miflash Beta, and it take about 3 hours to flash sucefull, Very strange this, normaly 7 to 10min is done
But after that power on and nothing, i don´t ha any ideas...
The Mi5 is always in EDL mode, i can´t understnd it, pelase help !!!!!!
Thank You!

[All-In-One] Xiaomi Mi Mix 2 (chiron): Unlock Bootloader, Flash TWRP, Root, Flash ROM

Dear Mi Mix 2 user,
I'm not responsible if anything happens to your device. If you execute this procedure properly then you shouldn't face any problems. I tried this procedure on several Mi Mix 2 and every time it worked flawlessly. I used a computer with Windows 10.
Before you proceed please back up all your important data and make sure that your phone battery is charged >80%!!!
A. Prerequisites:
1. Disable driver signature enforcement in Windows
How to do this pls read here: http://en.miui.com/thread-237673-1-1.html
2. Install ADB and Fastboot tools with drivers on Windows
How to do this pls read here: https://forum.xda-developers.com/showthread.php?t=2588979
3. Enable "OEM unlocking" and "USB debugging" in your device
a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version seven times
b. Now go to: Settings/Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"
4. Check if your bootloader is unlocked
a. After successful installation of "ADB and Fastboot" enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable).
b. Go to the folder where you have put the "ADB and Fastboot" and open a command window inside that folder. To do that hold together "Shift + Right Click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
c. Enter the terminal command in command line: >>fastboot devices<<
If you don't see your device it means that the drivers weren't installed properly or the device wasn't connected properly. If this happens please reinstall your drivers from Point A. 2. or try these drivers here:
http://xiaomiadvices.com/download-xiaomi-usb-drivers/
d. If you see your device then enter the terminal command in command line: >>fastboot oem device-info<<
If your bootloader is locked, you'll get the following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.058s]
finished. total time: 0.063s
………………………………………………………………………
If your bootloader is unlocked, you'll get following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.053s]
finished. total time: 0.055s
………………………………………………………………………
5. Request Permission from Xiaomi to Unlock the Bootloader
a. Create a Mi Account: https://account.xiaomi.com/pass/register
b. Sign to Xiaomi and apply for unlocking http://en.miui.com/unlock
You have to give a reason for requesting to unlock the bootloader. I gave following reason on my request:
"I purchased my Mi Mix 2 from the vendor xxx and they have installed a fake (custom) rom. I want to install an original rom from Xiaomi. So please approve my request to unlock the bootloader."
c. Wait for permission. I have 5 different accounts approved by Xiaomi and the longest I had to wait was 1 day for the approval of each account. Most of the users are reporting the same, however very few users are reporting a waiting time of up to 10 days . If your request is approved then you should receive a message with following content:
"You've been granted the permission to unlock your device (Mi Account xxxx). Donload Mi Unlock Tool At http://en.miui.com/unlock"
6. Connect your Mi Account to your Device
Go to: Settings/Additional Settings/Developer Options/Mi Unlock status and check "Add account and device".
In case you cannot connect your Mi Account to your device pls try one of these solutions:
a. Install the App FlyVPN and connect it to one of the Chinese servers and then try to connect your Mi Account to your device.
If this doesn't work then
b. Download the firmware Developer Version for Xiaomi Mi Mix 2 here:
http://en.miui.com/download-334.html
+ Put the firmware into internal memory of the device
+ Go to: Settings/About phone/System update. On the upper right corner there are three points, click them, select "Choose update package", select "File Manager" and choose the Developer Version package you just downloaded on your internal memory and then press OK. After the firmware installation try to connect your Mi Account to your device.
B: Unlock the Bootloader
1. Download Mi Unlock Tool here: http://en.miui.com/unlock
2. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
3. Start the Mi Unlock Tool
4. Enter your eMail and your password of your Mi Account
5 Connect you device to your computer and start the unlock procedure
6. Follow the unlock tool instructions until the unlock procedure is finished
7. Reboot your device
P.S.: In case you get the message, that the unlocking can be done after 72h then you have to wait for that time to pass.
C: Install the TWRP Recovery
1. Your bootloader must be unlocked
2. Enter fastboot mode by holding together "Volume Down + Power"
3. Download "twrp-3.2.1-0-chiron.img" from here: https://twrp.me/xiaomi/xiaomimimix2.html and put it into a dedicated folder in your computer.
4. Go to the folder where you have put the twrp-file. Now open a command window inside that folder. To do that hold together "Shift + Right click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here"
5. Enter the terminal command in command line: >>fastboot flash recovery twrp-3.2.1-0-chiron.img <<. Attention: Do not restart your device otherwise Xiaomi's original recovery might overwrite the custom recovery TWRP!
6. Boot your device into recovery (3 possible methods)
+ by entering terminal command in command line: >>fastboot boot twrp-3.2.1-0-chiron.img <<, or
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
If you only want to root your smartphone then please continue to point E.
If you want to install a custom firmware then please continue to point F.
E. Root Your Smartphone
1. Donwload latest Magisk from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
2. Put Magisk into internal memory of your smartphone or into on-the-go memory stick
3. Flash Magisk
4. Restart your smartphone
F. Install the Custom Firmware
1. Download the desired ROM
a. Lineage OS
https://download.lineageos.org/chiron
b. AICP
http://dwnld.aicp-rom.com/?device=chiron
c. OMNI
https://dl.omnirom.org/chiron/
2. (in case you want to have root on your device) Download "addonsu-15.1-arm64-signed.zip" (for Lineage: https://download.lineageos.org/extras) or for other ROMs the latest Magisk (from here: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445) and put it into device's internal memory
3. Download Google Apps 8.1, ARM64, Pico, Nano etc. at www.opengapps.org and put them into device's internal memory or computer or on-the-go memory stick or micro sd-card.
4. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
5. Wipe: Dalvik / Art Cache; System; Data; Cache; (be careful, don't wipe internal storage!)
6. Go back to main TWRP screen and install the firmware, install Google Apps, install " addonsu-15.1-arm64-signed.zip " (in case of Lineage) or the latest Magisk (in case of other firmware).
7. Reboot
That's it, you are done!
If my guide helped you please click "thanks" and enjoy your phone. :fingers-crossed:
This is very helpfull, thank you.
All in one palce.
In my case, I had to use a VPN service (Chinese server) to enable OEM unlocking!
I followed all those steps to unlock the phone, but when i open the unlock tool and put the phone on fast boot, the program dont recognise the fone and the unlock button remains grey..
Any idea how to fix this?
vvaz said:
I followed all those steps to unlock the phone, but when i open the unlock tool and put the phone on fast boot, the program dont recognise the fone and the unlock button remains grey..
Any idea how to fix this?
Click to expand...
Click to collapse
Try a different computer or running the phone through an external USB hub.
I've found that the app had issues detecting my phone in fastboot mode unless I ran it through an external hub.
MrColdbird said:
Try a different computer or running the phone through an external USB hub.
I've found that the app had issues detecting my phone in fastboot mode unless I ran it through an external hub.
Click to expand...
Click to collapse
I tried with an older version of the unlock tool, and now i got stuck at 50% could not verify...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
vvaz said:
I tried with an older version of the unlock tool, and now i got stuck at 50% could not verify...
Click to expand...
Click to collapse
If you have received a positive approval for your Mi account and your account has been connected to your smartphone for more than 72h and your computer recognises your smartphone then pls try this unlock tool (miflash_unlock-en-2.2.624.14).
https://drive.google.com/open?id=123TJ4SkBSA0JWNYjQEatd8NIaZAQYgar
With this tool I have unlocked at least 40 Xiaomi smartphones of various models (Redmi 4x, Redmi Note 4, Redmi 5, Redmi 5 Plus, Redmi Note 5, Mi6, Mi Mix2 etc.). The last Mi Mix 2 that I unlocked with this tool was 3 days ago.
senerex said:
If you have received a positive approval for your Mi account and your account has been connected to your smartphone for more than 72h and your computer recognises your smartphone then pls try this unlock tool (miflash_unlock-en-2.2.624.14).
https://drive.google.com/open?id=123TJ4SkBSA0JWNYjQEatd8NIaZAQYgar
With this tool I have unlocked at least 40 Xiaomi smartphones of various models (Redmi 4x, Redmi Note 4, Redmi 5, Redmi 5 Plus, Redmi Note 5, Mi6, Mi Mix2 etc.). The last Mi Mix 2 that I unlocked with this tool was 3 days ago.
Click to expand...
Click to collapse
With that version it wont recognize the phone.
vvaz said:
With that version it wont recognize the phone.
Click to expand...
Click to collapse
Have you checked point A.4.c.? Can you see your smartphone in your computer?
senerex said:
Have you checked point A.4.c.? Can you see your smartphone in your computer?
Click to expand...
Click to collapse
I see this:
vvaz said:
I see this:
Click to expand...
Click to collapse
Yes, you can see your device. If your smartphone has been connencted to your Mi Account for more than 72h then pls try some other (maybe chinese) unlock tool or other computer.
senerex said:
Yes, you can see your device. If your smartphone has been connencted to your Mi Account for more than 72h then pls try some other (maybe chinese) unlock tool or other computer.
Click to expand...
Click to collapse
Ok i had to format the PC and when i did it i tried again to unlock the phone and it worked fine with the unlock tool you linked. :good:
After 72 Hours still couldn't Verify
Hi Guys so I received my mi mix 2 72 hours ago, bound my account to the phone in dev options, logged in online to miui, cloud etc and on the phone , enabled usb debuging
Used MiFlash latest version 2.8.3 - Then i saw theres a new 3.3.4 Version - Signed in Clicked unlock went all the way to 100% then said wait 72 Hours...... Ok now ive waited
Been trying and 20 times im getting " Couldn't Verify Device' Unknown Error (-1) "
Im used to flashing and unlocked and this is first time a xiaomi device has done this, Ive checked and adb devices are working.... BUT when i boot to fastboot and fastboot devices its blank , ive installed the ADB drivers and the xiaomi usb drivers over and over again... Windows is in test mode, Windows 10 64bit test mode.
Fast boot devices is always blank...... Any Ideas.........Oh and i was on global stable, now ive updated to the latest global Dev 8.0 rom from miui website - Still no luck
Ok so ive narrowed it down to the USB-C cable, is not keeping fastboot active
Ive just tried it with a redmi 5 device with old micro usb and fastboot devces gets picked up every attempt....
My mi mix 2 detects fastboot for a few seconds then seems to go off..... Very strange and also annoying
zerodi said:
Fast boot devices is always blank...... Any Ideas.........Oh and i was on global stable, now ive updated to the latest global Dev 8.0 rom from miui website - Still no luck
Click to expand...
Click to collapse
Original cable (if it is not damaged) should actually keep fastboot active. Strange indeed. Pls try with a different USB-C cable.
senerex said:
Original cable (if it is not damaged) should actually keep fastboot active. Strange indeed. Pls try with a different USB-C cable.
Click to expand...
Click to collapse
I've tried with a USB c cable from my Lumia 950 and another pc but no luck
I've ordered a USB to micro USB adapter , maybe then u can try other cables
Thing is , when I first received the mi mix 2 I got to 100% on mi unlock then it said wait 72 hours , if it's under 72 hours will it give this error ??
Ok so I installed windows again fresh and I unlocked the device BUT when I check in unlock status is still says DEVICE IS LOCKED ! ? How can that be.... Ive tried 2x
nightmare... and now fast devices is f***king blank again !
I have tried several cables even just brought a micro usb - usb c adaptor
There is a problem when I start the software MiFlash Unlock - It Cuts my fastboot connection, I have no idea why.
zerodi said:
Ok so I installed windows again fresh and I unlocked the device BUT when I check in unlock status is still says DEVICE IS LOCKED ! ? How can that be.... Ive tried 2x
nightmare... and now fast devices is f***king blank again !
I have tried several cables even just brought a micro usb - usb c adaptor
There is a problem when I start the software MiFlash Unlock - It Cuts my fastboot connection, I have no idea why.
Click to expand...
Click to collapse
Are you running MIFlash Unlock in administrator mode?
jhs39 said:
Are you running MIFlash Unlock in administrator mode?
Click to expand...
Click to collapse
I've done both , with admin rights and without , no success ... Fastboot devices just stops working
zerodi said:
I've done both , with admin rights and without , no success ... Fastboot devices just stops working
Click to expand...
Click to collapse
I'm sorry to hear that you are still not succesfull in unlocking the bootloader. It seems to me that something is broken in your firmware. Then maybe the right solution would be to start from zero: flash the original Xiaomi firmware in fastboot mode (rom here: http://en.miui.com/a-234.html) via MIUI ROM Flashing Tool and then unlock bootloader. Before you do this pls save your data and charge your battery +80%.

Bought a used Mi A2, how do I proceed?

Just bought a used Mi A2 from a guy. He dosent know what Android version it is and its probably locked. Ive been out of the Android game for many years now, but managed to install ADB and Fastboot on my Mac.
The problem is that the device is boot looping on the Android One logo. Managed to get into Fastboot, and the device shows up in ./fastboot devices. Tried to run this quickie, but only get a "Device is already locked!" message.
So please, point me in the right direction as both the Internet and forums here are loaded with information.
In the end I would like to have a custom ROM, LinageOS or something maybe.
Thanks in advance.
joachimvadseth said:
Just bought a used Mi A2 from a guy. He dosent know what Android version it is and its probably locked. Ive been out of the Android game for many years now, but managed to install ADB and Fastboot on my Mac.
The problem is that the device is boot looping on the Android One logo. Managed to get into Fastboot, and the device shows up in ./fastboot devices. Tried to run this quickie, but only get a "Device is already locked!" message.
So please, point me in the right direction as both the Internet and forums here are loaded with information.
In the end I would like to have a custom ROM, LinageOS or something maybe.
Thanks in advance.
Click to expand...
Click to collapse
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
1st try to reboot numerously with external power On (if there is a valid Android One ROM in one of two slots, sooner or later bootloader is to boot into this valid ROM).
In case phone does not have a valid Android One ROM, then next step would be MiFlash'ing via EDL (search for TestPoint Guide in "Guides, ....")
Aerobatic said:
1st try to reboot numerously with external power On (if there is a valid Android One ROM in one of two slots, sooner or later bootloader is to boot into this valid ROM).
In case phone does not have a valid Android One ROM, then next step would be MiFlash'ing via EDL (search for TestPoint Guide in "Guides, ....")
Click to expand...
Click to collapse
Like just boot loop it or hold the power to reboot?
I think the EDL pinout opiton is the way to go after some searching, but Im in a desperate need of a torx driver..
joachimvadseth said:
Like just boot loop it or hold the power to reboot?
Click to expand...
Click to collapse
Some people reported that phone rebooted just itself while bootlooping with external power, others recommended to enter fastboot mode and reboot, others recommended to enter stock recovery mode (note that there is a gotcha of "no command" -> press "Power" and then "Vol-") and then "try again: ....
Aerobatic said:
Some people reported that phone rebooted just itself while bootlooping with external power, others recommended to enter fastboot mode and reboot, others recommended to enter stock recovery mode (note that there is a gotcha of "no command" -> press "Power" and then "Vol-") and then "try again: ....
Click to expand...
Click to collapse
In Fastboot the device only displays "fastboot", no options what so ever. Tried powering on the device without power cable 20 times and no go, boot looped on external power for about 10 minutes, no go.
joachimvadseth said:
In Fastboot the device only displays "fastboot", no options what so ever. Tried powering on the device without power cable 20 times and no go, boot looped on external power for about 10 minutes, no go.
Click to expand...
Click to collapse
Sure there is no options in fastboot mode, "enter fastboot mode and reboot" means just that -> enter fastboot mode and then reboot (either long-pressing power on phone or with "fastboot reboot" command from PC.
I gave you clues, please don't tease me to dictate step-by-step, I do not own your phone.
Aerobatic said:
Sure there is no options in fastboot mode, "enter fastboot mode and reboot" means just that -> enter fastboot mode and then reboot (either long-pressing power on phone or with "fastboot reboot" command from PC.
I gave you clues, please don't tease me to dictate step-by-step, I do not own your phone.
Click to expand...
Click to collapse
Ye sure, thats fine mate
did 'fastboot reboot' about 10 times now and still no go.
Found a Xiaomitool for macOS that has an option for "unbrick my device", but need the previous owners Mi account probably, so Ive asked if he did have a Mi account.
joachimvadseth said:
Found a Xiaomitool for macOS that has an option for "unbrick my device", but need the previous owners Mi account probably, so Ive asked if he did have a Mi account.
Click to expand...
Click to collapse
Most probably that's a false path, as MiFlash, Mi Account, Mi Unlock and other such stuff are for owners of "native" Xiaomi MIUI phones, while Mi A2 boarding Android One is regarded as stepchild. Better search for Android One solutions (in these forums of in developer.android.com)
Aerobatic said:
Most probably that's a false path, as MiFlash, Mi Account, Mi Unlock and other such stuff are for owners of "native" Xiaomi MIUI phones, while Mi A2 boarding Android One is regarded as stepchild. Better search for Android One solutions (in these forums of in developer.android.com)
Click to expand...
Click to collapse
Maybe. I think the phone is stock, just bricked after some update.
Just need to get the bloody torx driver!
EDIT: when I do manage to find a tiny tiny torx driver and open up the phone, disconnect the battery a bit, connect it back up, and its time to connect the two EDL pins, how long do I hold? USB cable plugged in?
Yes I have same issue, I dont understand, why Xiaomi dont do anything with this ridiculous problem, I dont login with mi account because no paid attention to that, and when I install this update the phone get in bootloop
joachimvadseth said:
..., and its time to connect the two EDL pins, how long do I hold? USB cable plugged in?
Click to expand...
Click to collapse
Disclamer: Have not done it myself, but according to numerous sources the needed Steps (here with Windows PC) are:
1. Open (partially disassemble) Phone to reach 2 contact Test Point spots
2. Connect stock USB cable to USB2.x port on MB of PC, but not to phone, start Device Manager (to see that no USB-phone-related devices are connected and later to see that phone will be connected in EDL)
3. Download desired stock fastboot ROM https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849 and MiFlash, start MiFlash selecting ROM
4. Span the two contacts with something metal and in this state connect USB cable to phone; Device Manager must show newly connected device detected, then contacts may be open
5. Press "Refresh" in MiFlash, same new device must be displayed
6. MiFlash -> clean all, MiFlash -> flash
7. Assemble phone back and reboot
MHO Notes:
a. when EDL/TestPoint method was forced due to soft-bricking, after unbricking it is better to: (1) fully unlock phone and (2) clean-reflash stock ROM via fasboot
(Reason: this particular specimen is subject to OTA soft -bricking)
b. if EDL/TestPoint method fails with Pie (10.0.17.0 or 10.0.2.0), retry using Oreo 9.6.17.0 or 9.6.9.0.
---------- Post added at 01:01 PM ---------- Previous post was at 12:52 PM ----------
Onilink90 said:
..., and when I install this update the phone get in bootloop
Click to expand...
Click to collapse
Xiaomi is just repacking Google's Android One updates, and, obviously, does not spend much money for testing OTAs (as AndroidOne phones are not their main market items). From the other hand, Google's Android One A/B Slots feature was developed for so called friction-less ( muhaha ) reverting to previously working ROM when updated ROM fails to boot. So, an Android One phone bootlooping after OTA MUST reboot to previous version of ROM sooner or later (supposed to be 7 retries), sure if phone is not compromised / tampered by previous user actions.
Aerobatic said:
Disclamer: Have not done it myself, but according to numerous sources the needed Steps (here with Windows PC) are:
1. Open (partially disassemble) Phone to reach 2 contact Test Point spots
2. Connect stock USB cable to USB2.x port on MB of PC, but not to phone, start Device Manager (to see that no USB-phone-related devices are connected and later to see that phone will be connected in EDL)
3. Download desired stock fastboot ROM https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849 and MiFlash, start MiFlash selecting ROM
4. Span the two contacts with something metal and in this state connect USB cable to phone; Device Manager must show newly connected device detected, then contacts may be open
5. Press "Refresh" in MiFlash, same new device must be displayed
6. MiFlash -> clean all, MiFlash -> flash
7. Assemble phone back and reboot
MHO Notes:
a. when EDL/TestPoint method was forced due to soft-bricking, after unbricking it is better to: (1) fully unlock phone and (2) clean-reflash stock ROM via fasboot
(Reason: this particular specimen is subject to OTA soft -bricking)
b. if EDL/TestPoint method fails with Pie (10.0.17.0 or 10.0.2.0), retry using Oreo 9.6.17.0 or 9.6.9.0.
---------- Post added at 01:01 PM ---------- Previous post was at 12:52 PM ----------
Xiaomi is just repacking Google's Android One updates, and, obviously, does not spend much money for testing OTAs (as AndroidOne phones are not their main market items). From the other hand, Google's Android One A/B Slots feature was developed for so called friction-less ( muhaha ) reverting to previously working ROM when updated ROM fails to boot. So, an Android One phone bootlooping after OTA MUST reboot to previous version of ROM sooner or later (supposed to be 7 retries), sure if phone is not compromised / tampered by previous user actions.
Click to expand...
Click to collapse
Managed to get hold of a torx set - phone is now open, battery disconncted. USB-C cable ready (dont have USB-A-C, only USB-C-C). Installed MiFlashTool on my PC and tried to get hold of the drivers. MIFlash is giving me a hard time whineing about drivers. Giving me a erorr message, something about JIT-debugging. Only got it in norwegian.
Edit: managed to flash the stock ROM I think. Fuzzed around a bit with the qualcom driver. Now I have a white screen with a rainbow passing over it..
Edit 2: and we're there! MIUI is in - now time to get rid of it!
Edit 3: think I managed to flash TWRP now - do I need root? Can I just flash a Pixelexperience ROM now or do I need to do something else? Used the Android 9 fastboot image earlier, if that has anyting to do with anything.

How To Guide Master Guide to Unlock Bootloader/Flash TWRP/Root Device/Flash EU ROM/Pass SafetyNet

Hi All, as this device is fairly new and there is not much clarity on things so, I decided to create a master guide as you see below. I am also attaching a PDF version of this guide as I have not formatted this XDA post to what I feel it should be like. You may download and follow that, I will keep updating things as I find.
Lets start​
1. Unlock Bootloader​1.1 Apply for Bootloader Unlock​
Enable developer settings
Go to Settings>About phone/My device> All specs> Hit MIUI Version 8 times
Access Developer Settings from Settings>Additional Settings
Enable OEM Unlocking option
Now login to your desired Mi Account that you wish it to be associated with your device (Mi account should have a mobile number registered for OTP and verification sometime asked by MI flash unlock tool)
Your unlock bootloader wait time starts now. Wait for 7 days (168 hours from the time you added MI account) to unlock bootloader
1.2 Unlocking Bootloader​So you have crossed the wait period…. Now follow below to unlock assuming you have all the USB drivers for Mi devices (usually auto installed when you connect mobile)
Warning: All your userdata (including pictures and files) will be wiped out
Download official Mi flash unlock tool from this link: https://miuirom.xiaomi.com/rom/u1106245679/5.5.224.24/miflash_unlock-en-5.5.224.24.zip
Boot into Booloader: Power off your mobile then hold Volume Down + Power Button till fastboot bunny pops up
Open Mi Flash unlock tool downloaded in step 1
Sign in with same account that you used to sign in in Developer Settings in step 1.1.d. It may ask to verify your account with OTP. do it.
Click Unlock on the tool.
Your device will be unlocked and rebooted. Wait till reboot.
Congrats… you have an unlocked mobile device now
Now let’s go to Rooting your device for which we will have to flash TWRP to Mobile
2 TWRP Flash and Rooting​2.1 TWRP Flash​
Download and Install Minimal ADB and Fastboot for windows for this link: https://androiddatahost.com/wp-content/uploads/Minimal_ADB_Fastboot_v1.4.3.zip
Download unofficial TWRP (only one available as of writing this guide) from here: https://sourceforge.net/projects/xi....6.0_11-0_LOCAL-20220203-01-vili.img/download and rename it to twrp.img
Also download Magisk from below link: https://github.com/topjohnwu/Magisk/releases/download/v24.0/Magisk-v24.0.apk we will use it next section for rooting.
Rename the downloaded magisk file from magisk.apk to magisk.zip and copy it to your device’s storage
Copy the above twrp.img file to Minimal ADB and Fastboot folder (not necessary if you know some directory navigation using command prompt)
Boot mobile into bootloader (follow 1.2.b)
From your Minimal ADB and Fastboot folder open Cmd here.exe file to access the ADB tool
Connect your device to PC
Verify if device has connected successfully using the command below
Fastboot devices
This should return your device id
Now boot into TWRP using below commands
Fastboot boot “twrp.img” if you pasted twrp.img in minimal adb and fastboot folder
Fastboot boot “path to twrp.img” if you did not move it to the minimal adb and fastboot folder
Let the device boot to TWRP
In above step we just booted by TWRP which is temporary. Now let’s flash it to make it permanent:
Go to Advanced settings in TWRP and click Flash Current TWRP
Reboot to TWRP
2.2 TWRP Backup of Current Rom​
You should have a working TWRP
Boot to TWRP and navigate to Backup section
Select all partitions and swipe to confirm
If you see error in backing up, uncheck Data and EFS partition backup
The backup should complete successfully
Have this backup copied to a PC for emergency wipout of your mobile
2.3 Rooting/Flashing Magisk​
Go to Install in TWRP and select magisk.zip you copied in step 2.1.d
This will flash magisk and root your device. Now reboot to system from recovery
Once you have the device booted, rename the magisk.zip to magisk.apk again and install the magisk app on device
You may update if you see any updates to magisk or app
2.4 Passing Safetynet​
Download this magisk module zip from here: https://drive.google.com/file/d/1QJHPpL4R8fcxjB35XbcpaCOipKzpvL2I/view?usp=sharing
Go to magisk app settings and enable Zygisk (beta) also enable Enforce Deny List
Select Hide the Magisk app and give any desired name for Magisk to hide its identity
Now go to modules page in Magisk app.
Select Install from source/storage option and chose the downloaded safteynet zip
Reboot
This will pass safetynet but still Indian bank apps won’t work. Keep following below for clear
Go to magisk settings and enter Configure DenyList
Add all the apps you want to hide magisk and root from (such as phonepe, Gpay)
Don’t leave any service from the selected apps unchecked
3. Flash EU Rom​Warning: All your userdata (including pictures and files) will be wiped out
A TWRP backup of current rom is recommended before following the next steps
You can see section 2.2 for the instruction on backup
Download Fastboot EU rom from here: https://androidfilehost.com/?fid=17825722713688263895
Extract all the contents in zip file to any normal folder
We will be using Bootloader/Fastboot mode. Boot into Bootloader: Power off your mobile then hold Volume Down + Power Button till Fastboot bunny pops up
Connect your device to PC
From the extracted folder Open windows_fastboot_first_install_with_data_format.bat(for windows).
You may execute appropriate similar named file if you are running Linux or MacOS
The EU rom flashing process will start. Hit “Y” on keyboard to accept Formatting
Wait patiently while the PC does its Job.
You may see a long pause post “writing Cust” command depending on PC configuration. You should wait for 5 minutes at least, then try hitting any letter key on your keyboard, the process continues this way.
You may hit letter key whenever you see unusual pauses during pushing of super partition file sparse sending 1 of 9 to 9 of 9
Wait till process finishes and reboots
For TWRP and Rooting you can follow the same guide in section 2.
Updating to Miui13/Android 12 EU Rom​
Check out this guide to Update to Android 12
Happy Rooting… Njoy your device.
Lastly.. All the credit goes to respective owners, I have just compiled everything together and in an easy manner. PM me for credits.
Do let me know if you have any suggestions and corrections.
Thanks & Regards,
Abdus Saboor Asad
Reserved
Reserved
Much appreciated, good overview.
Will try when I get my bootloader unlocked.
Rammetje.b said:
Much appreciated, good overview.
Will try when I get my bootloader unlocked.
Click to expand...
Click to collapse
You are welcome.
sasaboor64 said:
You are welcome.
Click to expand...
Click to collapse
Quick question if you allow me.
The unlock boot loader timer starts ticking even without hooking the phone up to the mi unlock tool? Just the dev options, OEM unlock and login to mi account is sufficient?
I remember I messed around with this when I tried to unlock my Poco F1 at the time.
Thanks
Bram
Rammetje.b said:
Quick question if you allow me.
The unlock boot loader timer starts ticking even without hooking the phone up to the mi unlock tool? Just the dev options, OEM unlock and login to mi account is sufficient?
I remember I messed around with this when I tried to unlock my Poco F1 at the time.
Thanks
Bram
Click to expand...
Click to collapse
Good question... I think we should hook once, that's how I unlocked. But I feel it should work without hooking as well.
Anyone should test it and update for us the other way.
When i download the TWRP and boot into TWRP (through fastboot boot "twrp.img"), my touch screen will not work anymore. How could i fix this?
working on miui 13 android 12?
paulboqs said:
working on miui 13 android 12?
Click to expand...
Click to collapse
you may go through the last thread in my post for miui 13 related rooting. this guide is for miui12 rooting and there is no TWRP yet for miui13 for our device
at what point exactly will all my data be wiped?
yuukiw said:
at what point exactly will all my data be wiped?
Click to expand...
Click to collapse
the moment u hit unlock after your waiting period...
sasaboor64 said:
the moment u hit unlock after your waiting period...
Click to expand...
Click to collapse
is there a way to back upp all apps + data?
MIUI13 Android12 How to enter bootloader?
I'm try but FASTBOOT "orange" Showing?
how to enter bootloader? any driver or any solution?
m38d1 said:
MIUI13 Android12 How to enter bootloader?
I'm try but FASTBOOT "orange" Showing?
how to enter bootloader? any driver or any solution?
Click to expand...
Click to collapse
Please make sure you are having latest ADB installed on your machine. The best option is to install Android Studio . Secondly make sure to enable USB debugging .
You can reboot to fastboot through adb commands.
Once you are connected to ADB enter the command below.
ADB reboot Bootloader.
This will reboot to fastboot mode.
Fastboot devices
The above command shows whether you are on fastboot or not.
Now open the unlock tool and unlock your bootloader. Else if you are confident in recovering your device. use the command below
Fastboot flashing unlock
Hope the above helps.
AwkwarddWhale said:
When i download the TWRP and boot into TWRP (through fastboot boot "twrp.img"), my touch screen will not work anymore. How could i fix this?
Click to expand...
Click to collapse
did you found a solution?
this is the first time this happen to me since mi3, RHnote5,7, pocox3nfc, mi11tpro.
tactil isn't working as soon i ented the twrp.. and theres no orange fox for this devices.. shame.
Jctatis said:
did you found a solution?
this is the first time this happen to me since mi3, RHnote5,7, pocox3nfc, mi11tpro.
tactil isn't working as soon i ented the twrp.. and theres no orange fox for this devices.. shame.
Click to expand...
Click to collapse
There is no solution, there is no twrp for Android 12 / MIUI13 yet.
Well I did manage to make it work using a mouse otg. But it useless since theres no storage to flash
mm_rajesh said:
Please make sure you are having latest ADB installed on your machine. The best option is to install Android Studio . Secondly make sure to enable USB debugging .
You can reboot to fastboot through adb commands.
Once you are connected to ADB enter the command below.
ADB reboot Bootloader.
This will reboot to fastboot mode.
Fastboot devices
The above command shows whether you are on fastboot or not.
Now open the unlock tool and unlock your bootloader. Else if you are confident in recovering your device. use the command below
Fastboot flashing unlock
Hope the above helps.
Click to expand...
Click to collapse
thanks
The problem was the phone cable
This TWRP from the first post is Android 12 too?

How To Guide [GUIDE] How To Install A Custom Rom On Redmi Note 11

- Enable Developer Options in your phone by tapping the "MIUI Version" 7 times in About Phone.
- Go to Settings > Additional Settings > Developer Options.
- Enable OEM Unlocking, USB Debugging.
- Also add account in Mi Unlock Status (Can be found in Developer Options).
- Install the required ADB and Fastboot drivers in your PC from here.
- Download Mi Unlock to PC from here, and sign in with your Mi Account.
- Shut down your phone manually, and hold volume down key and power button to enter Fastboot mode.
- Connect your phone to PC using USB cable and click "Unlock" in Mi Unlock Tool. ( disable firewall or allow internet connection for unlocker tool )
- wait for 168 hours
- unlock
- flash twrp
- flash ROM
If you have problems somewhere, please read my thread about redmi note 8 and AICP ( found in my signature ), there you might find some helpful solutions.
dj
Or choose a video tutorial:
Unlock Bootloader: https://yewtu.be/watch?v=p6tZDqzTxHU
Install custom recovery: https://yewtu.be/watch?v=o9nQLFRXkaY
Is tere no official twrp ?
ensarman said:
Is tere no official twrp ?
Click to expand...
Click to collapse
Due to the lack of kernel source code, there is no official TWRP. Only unofficial builds available.
The included version of this post is already very outdated. The most current is 3.7.0, which allows the installation and decryption of A12, A12L and A13 ROMS at the cost of losing support for A11
@
derjango said:
- Enable Developer Options in your phone by tapping the "MIUI Version" 7 times in About Phone.
- Go to Settings > Additional Settings > Developer Options.
- Enable OEM Unlocking, USB Debugging.
- Also add account in Mi Unlock Status (Can be found in Developer Options).
- Install the required ADB and Fastboot drivers in your PC from here.
- Download Mi Unlock to PC from here, and sign in with your Mi Account.
- Shut down your phone manually, and hold volume down key and power button to enter Fastboot mode.
- Connect your phone to PC using USB cable and click "Unlock" in Mi Unlock Tool. ( disable firewall or allow internet connection for unlocker tool )
- wait for 168 hours
- unlock
- flash twrp
- flash ROM
If you have problems somewhere, please read my thread about redmi note 8 and AICP ( found in my signature ), there you might find some helpful solutions.
dj
Or choose a video tutorial:
Unlock Bootloader: https://yewtu.be/watch?v=p6tZDqzTxHU
Install custom recovery: https://yewtu.be/watch?v=o9nQLFRXkaY
Click to expand...
Click to collapse
Did it work flawlessly ???
Which variant Global or Chinese ?
NeoSDAP said:
Due to the lack of kernel source code, there is no official TWRP. Only unofficial builds available.
The included version of this post is already very outdated. The most current is 3.7.0, which allows the installation and decryption of A12, A12L and A13 ROMS at the cost of losing support for A11
Click to expand...
Click to collapse
Can u publish the latest version of twrp here in the thread? would be great!
zsubzwary said:
@
Did it work flawlessly ???
Which variant Global or Chinese ?
Click to expand...
Click to collapse
In my case it worked without any issues
derjango said:
Can u publish the latest version of twrp here in the thread? would be great!
Click to expand...
Click to collapse
Here's my post: https://forum.xda-developers.com/t/...p-3-7-0-for-redmi-note-11-spes-spesn.4507819/
i does not let me flash twrp. error msg is FAILED (status read failed (Too many links)). idk what to do. it will always reboot into system, even is there is no error msg. i tryed diffrent pc's and diffrent cables. its always the same. pls reach out to me, im so desperate T_T my discord is Kaito#8048
icc1412 said:
i does not let me flash twrp. error msg is FAILED (status read failed (Too many links)). idk what to do. it will always reboot into system, even is there is no error msg. i tryed diffrent pc's and diffrent cables. its always the same. pls help T_T
Click to expand...
Click to collapse
Can´t you flash TWRP? Or can´t you flash a custom ROM? as the tittle in the forum says. Provide screenshots.
Thanks for the info, very clear instructions and worked like a charm.
pls someone reach out and help me if possible. my phone became unuseable T_T my discord is Kaito#8048
What is the recommended twrp version for the Note 11 on Android 11? Looks like not everyone is familiar with the issue that the latest twrp versions don't work on A11 phones.
twrp_3.6.1-spes
The link is in the first post.
At which part of the process does it erase your data? Before or after the 7 days? Are there any risks? (on my last phone, Moto G7 Power, after some failed attempts my SIM/IMEI became unusable)
Hyoretsu said:
At which part of the process does it erase your data? Before or after the 7 days? Are there any risks? (on my last phone, Moto G7 Power, after some failed attempts my SIM/IMEI became unusable)
Click to expand...
Click to collapse
After the 7 days (168 hrs), you started the process to unlock bootloader, you'll be able to do it, and after that you unlock the bootloader, the process does format data automatically. From all the numerous Xiaomi devices I owned, I never experienced those things; failed attempts nor loosing IMEI.
i offer 100€ paypal to anyone who can help me make the pixelplusUI rom work on my redmi note 11s my discord is Kaito#8048 find me there
icc1412 said:
i offer 100€ paypal to anyone who can help me make the pixelplusUI rom work on my redmi note 11s my discord is Kaito#8048 find me there
Click to expand...
Click to collapse
It seems, there is no custom ROMs for your device, you may stick to a GSI instead. This is from a quick (not extensive) search.
If I try to unlock bootloader again before the 7-day period ends, will it say how many hours I have left or re-start the counter?
EDIT: For anyone out there, it doesn't mess up the process.
Hyoretsu said:
If I try to unlock bootloader again before the 7-day period ends, will it say how many hours I have left or re-start the counter?
EDIT: For anyone out there, it doesn't mess up the process.
Click to expand...
Click to collapse
Unless you sign out or format data.
after booting TWRP via ADB touchscreen function doesn't work until I reboot the phone. Does anyone faced the same issue if yes than what's the fix?

Categories

Resources