This guide should work with any Xiaomi device, including the Redmi K20, Redmi K20 Pro, Xiaomi Mi 9T and Xiaomi Mi 9T Pro.
Install ADB on windows 10
Go to developer.android.com and download SDK Platform-Tools for Windows as ZIP
Unzip and save in a folder on the C drive. Remark: you do not have to install anything or run any program.
Check installation: Shift+right click on an empty area in the folder and select open command prompt here and type adb. The result should be similar to this: Android Debug Bridge version 1.0.39 Revision 3db08f2c6889-android Installed as C:\ADB\platform-tools\adb.exe. If ADB is not correctly installed, you will probably see the following message: ‘adb’ is not recognized as an internal or external command, operable program or batch file.
Unlock bootloader
Backup all your personal documents
Turn off lockscreen security (fingerprint, code, face ID)
Make sure you have sufficient battery.
Make a Mi account: Settings > Mi account
Activate developer options: Settings > about > MIUI version: Tap 5 times
Enable OEM unlocking: Developer options > OEM unlocking
Enter fastboot mode: Hold volume down + power
Connect to PC and install drivers: Use device manager and select manually downloaded drivers
Download unlock tool: Go to en.MIUI/unlock > Unlock now > Sign in > Download Mi Unlock as ZIP
Unlock bootloader: Extract ZIP > Run miflash_unlock.exe > Sign in with your Mi account and follow instructions. The unlock tool will say unlocked successfully and the phone will reboot itself
Install TWRP
Enable USB debugging: Settings > Developer Options > USB Debugging
Download TWRP ZIP: Unzip
Flash TWRP: Boot into bootloader. Connect to PC. Open folder where twrp.img is stored. Shift+right click on an empty area in the folder and select open command prompt here. Type fastboot devices to ensure your phone is recognized. Flash TWRP by typing fastboot flash recovery twrp.img.
Flash custom ROM
Download files: Download the ROM (and other files like Gapps, Magisk) and move it to your internal storage
Backup stock ROM: Select backup. Select system (not system image) & select boot. Select storage where the backup will be saved. Name the backup. Swipe to backup. When the backup is done, press reboot system for your phone to start up normally. Keep a copy of the backup on the internal storage and one on your PC
Wipe old software: Boot into recovery. Select wipe. Select advanced wipe. Select data, cache, dalvik cache and system** and swipe to wipe. When the reset is done, press back (twice) to return to the TWRP homescreen.
Flash ROM: Select install. Select the ROM (and add other files like Gapps, Magisk). Swipe to confirm flash. When flashing is done, press reboot system. The first boot will take a lot longer than usual.
Remarks:
** It is not always necessary to wipe system, since most custom ROMs automatically wipe system. Wiping anyway should not do any harm. Furthermore, formatting data (wipe > format data > type yes) is unnecessary most of the time. It is useful for people who have an encrypted device. If your device is encrypted and TWRP fails to flash, format data to remove encryption. Note that if you disabled all lockscreen security, then encryption is disabled. Encryption is not possible without lockscreen security. To encrypt again after flashing, go to device settings in the new ROM. Be sure to setup lockscreen security first.
Krullendhaar said:
This guide should work with any Xiaomi device, including the Redmi K20, Redmi K20 Pro, Xiaomi Mi 9T and Xiaomi Mi 9T Pro.
Install ADB on windows 10
Go to developer.android.com and download SDK Platform-Tools for Windows as ZIP
Unzip and save in a folder on the C drive
Check installation: Shift+right click on an empty area in the folder and select open command prompt here and type adb. The result should be similar to this: Android Debug Bridge version 1.0.39 Revision 3db08f2c6889-android Installed as C:\ADB\platform-tools\adb.exe
Unlock bootloader
Backup all your personal documents
Turn off lockscreen security (fingerprint, code, face ID)
Make sure you have sufficient battery.
Make a Mi account: Settings > Mi account
Activate developer options: Settings > about > MIUI version: Tap 5 times
Enable OEM unlocking: Developer options > OEM unlocking
Enter fastboot mode: Hold volume down + power
Connect to PC and install drivers: Use device manager and select manually downloaded drivers
Download unlock tool: Go to en.MIUI/unlock > Unlock now > Sign in > Download Mi Unlock as ZIP
Unlock bootloader: Extract ZIP > Run miflash_unlock.exe > Sign in with your Mi account and follow instructions. The unlock tool will say unlocked successfully and the phone will reboot itself
Install TWRP
Enable USB debugging: Settings > Developer Options > USB Debugging
Download TWRP ZIP: Unzip
Flash TWRP: Boot into bootloader. Connect to PC. Open folder where twrp.img is stored. Shift+right click on an empty area in the folder and select open command prompt here. Type fastboot devices to ensure your phone is recognized. Flash TWRP by typing fastboot flash recovery twrp.img.
Flash custom ROM
Download files: Download the ROM (and other files like Gapps, Magisk) and move it to your internal storage
Backup stock ROM: Select backup. Select system (not system image) & select boot. Select storage where the backup will be saved. Name the backup. Swipe to backup. When the backup is done, press reboot system for your phone to start up normally. Keep a copy of the backup on the internal storage and one on your PC
Wipe old software: Boot into recovery. Select wipe. Select advanced wipe. Select data, cache, dalvik cache and system** and swipe to wipe. When the reset is done, press back (twice) to return to the TWRP homescreen.
Flash ROM: Select install. Select the ROM (and add other files like Gapps, Magisk). Swipe to confirm flash. When flashing is done, press reboot system. The first boot will take a lot longer than usual.
Remarks:
** It is not always necessary to wipe system, since most custom ROMs automatically wipe system. Wiping anyway should not do any harm. Furthermore, formatting data (wipe > format data > type yes) is unnecessary most of the time. It is useful for people who have an encrypted device.
Click to expand...
Click to collapse
i am not able to unlock bootloader help pls
Jaskaran21 said:
i am not able to unlock bootloader help pls
Click to expand...
Click to collapse
With respect,
You've given no information for anyone to want to help.
DaveHTC200 said:
With respect,
You've given no information for anyone to want to help.
Click to expand...
Click to collapse
Sorry i am getting 168 hours later error in the mi unlock tool i have tried 3-4 different accounts with different phone numbers but still it is showing the same error. I had even waited for a week but still its the same error
Jaskaran21 said:
Sorry i am getting 168 hours later error in the mi unlock tool i have tried 3-4 different accounts with different phone numbers but still it is showing the same error. I had even waited for a week but still its the same error
Click to expand...
Click to collapse
I'm not sure you can get around the waiting time!
Some people get longer times than others I believe, you just have to continue to use the phone and potentially keep trying.
I may stand corrected though
DaveHTC200 said:
I'm not sure you can get around the waiting time!
Some people get longer times than others I believe, you just have to continue to use the phone and potentially keep trying.
I may stand corrected though
Click to expand...
Click to collapse
It is not possible to get around the waiting time. The waiting time and the requirement for a Mi account is a safety measure to prevent reseller from installing spyware/malware. Just wait.
Krullendhaar said:
It is not possible to get around the waiting time. The waiting time and the requirement for a Mi account is a safety measure to prevent reseller from installing spyware/malware. Just wait.
Click to expand...
Click to collapse
Some mentioned about an older version of MiFlash but I've not required this as yet
DaveHTC200 said:
Some mentioned about an older version of MiFlash but I've not required this as yet
Click to expand...
Click to collapse
I have tried the old unlock tool it gives the same error
Why did you have to use TWRP? I used only MiFlash with the India ROM fastboot and it worked fine.
DontDamnMe said:
Why did you have to use TWRP? I used only MiFlash with the India ROM fastboot and it worked fine.
Click to expand...
Click to collapse
MiFlash only works with MIUI ROMS.
What are the PRO/CONS of rooting this Mi 9T Pro device? what would stop working?
alxtorrentazos said:
What are the PRO/CONS of rooting this Mi 9T Pro device? what would stop working?
Click to expand...
Click to collapse
You can flash EEA, Global and China firmwares on different phones. You can flash custom rom. That's about unlocking bootloader, rooting is another thing which you can do once U unlocked.
For bad things you become able to harm or destroy your device(what happens if you do something very wrong, always double check while flashing from PC, don't lock bootloader on firmware not for your region) and there are security flaws in storage encryption.
dpdp73 said:
You can flash EEA, Global and China firmwares on different phones. You can flash custom rom. That's about unlocking bootloader, rooting is another thing which you can do once U unlocked.
For bad things you become able to harm or destroy your device(what happens if you do something very wrong, always double check while flashing from PC, don't lock bootloader on firmware not for your region) and there are security flaws in storage encryption.
Click to expand...
Click to collapse
Thank you for your reply sir. I was wondering about NFC or Google Pay, things like that maybe stop working after unlocking the bootloader.
Everything perfect except for Magisk. When I try to install Magisk from TWRP, I am always getting Error 1. How can I fix it?
Hi guys,
I'm sorry, but I have tue current problem of many people here : OEM unlocking is impossible.
I tried 3 times, with 168h/7 days intervall each time, but same error.
I allowed OEM unlocking and USB debugging, I tried with several MiFlashUnlockTools.
I can't find why it doesn't work...
caperonjr said:
Hi guys,
I'm sorry, but I have tue current problem of many people here : OEM unlocking is impossible.
I tried 3 times, with 168h/7 days intervall each time, but same error.
I allowed OEM unlocking and USB debugging, I tried with several MiFlashUnlockTools.
I can't find why it doesn't work...
Click to expand...
Click to collapse
What error?
After waiting 7 days and trying to unlock again, what happens?
When you are waiting for the 7 days to finish, do not change the Mi account on the phone, do not go to the Mi Unlock Status setting and press start. Doing anything like this will reset the process and start the timer again.
When the 7 days are finished you should only put the phone in fastboot mode, connect it to the PC and run the Mi Unlock Tool.
Robbo.5000 said:
What error?
After waiting 7 days and trying to unlock again, what happens?
When you are waiting for the 7 days to finish, do not change the Mi account on the phone, do not go to the Mi Unlock Status setting and press start. Doing anything like this will reset the process and start the timer again.
When the 7 days are finished you should only put the phone in fastboot mode, connect it to the PC and run the Mi Unlock Tool.
Click to expand...
Click to collapse
The same error : 168h to wait !
I don't think I do something to reinitialize the process : mi Mi account is not changed, oem unlock and usb debug always allowed...
I have a global rom, can it be the reason ? Or the method is the same for all versions of this phone ?
Hello,
Well, i've made all the steps, but after flashed TWRP, the phone only boots on Fastboot mode...
Can you help me?
Will the "bootloader unlock" cause a factory reset of the phone?
Kicked off the wait timer so 168hrs or 7 days to wait. Box fresh Mi 9T Pro; I'll probably be lurking around these parts of XDA now.
What happened to the old clear gel cases? The included black hard case is super-brittle and cracked as I was putting it on for first use. Ordered a good old gel case; I'd like to actually see the aurora effect :silly:.
Anyone know if running a system update will reset the timer?
Related
hi guys
i have a problem
when i want to unlock my bootloader with this method
http://en.miui.com/thread-253680-1-1.html
i got this error 0x80070026 receiving Hello Packet error
my device bootloader id locked and i want to unlock it without permission from miui
how can i fix this error
every things in my pc is ok
the drivers is installed succesfuly-my windows is 7 x64
i can go to edl
and try 2 version of mi flash(2015 - 2016)
:crying::crying::crying::crying:
and second question. how long does it take to I receive the permission form the miui in official method of unlocking bootloader
sorry for my bad english:good:
booshveg said:
hi guys
i have a problem
when i want to unlock my bootloader with this method
http://en.miui.com/thread-253680-1-1.html
i got this error 0x80070026 receiving Hello Packet error
my device bootloader id locked and i want to unlock it without permission from miui
how can i fix this error
every things in my pc is ok
the drivers is installed succesfuly-my windows is 7 x64
i can go to edl
and try 2 version of mi flash(2015 - 2016)
:crying::crying::crying::crying:
and second question. how long does it take to I receive the permission form the miui in official method of unlocking bootloader
sorry for my bad english:good:
Click to expand...
Click to collapse
It happened to me too. Tried many version of mi flash but it says error once hello packet and once not enough memory.
I was not able to boot up. I once again tried it.
Opened PC booted into edl mode. Flashed the ROM by proper settings by mi flash. It again showed error. Not enough memory. But this time I didn't turn my phone off. I straightly ran unlock bootloader.bat file and then flash twrp. Bat file. It worked and my phone rebooted into twrp. I wiped all data except microsd and flashed cm13 official because j need to boot up atleast. And now using it like charm flashing and installing any ROM of my choice
---------- Post added at 07:05 PM ---------- Previous post was at 07:01 PM ----------
This for other problem but may help you.
The solution is here:
download the required files from the given link: [50mb]
https://mega.nz/#!1NhDTQoR!cP7vrchwswOfj3oHQ5saZ2d0JkcmunEn5pqyOcpZDoE
INSTRUCTIONS: [redmi note 3]
1. Get into fastboot mode. Charge the phone first. Hold the power button and the volume down button simultaenously.
2. If you can open your current rom, open developer options by clicking on the build no several times in the about phone menu in settings. and select allow oem unlocking and usb debugging.
3. if not leave it... go on and connect your phone to the PC while in fastboot mode.
BUT, before that: open Command prompt on your PC. (search it on the search box). right click on it and open it in administrator mode.
type in: bcdedit /set testsigning on
hit enter and restart your pc
(this is imp.)
4. open the zip file and extract the contents. open the boot edl mode folder and click the edl.bat file. allow it to run.
5. now screen will turn black, do not disturb it. Now flash the twrp by running flash twrp.bat from the 'flash TWRP' folder.
6. Now go to Unlock folder and run the unlock bootloader.bat file.
your phone will boot into the TWRP recovery mode automatically.
if it opens in chineese you select every tab and find the globe icon.
if the globe icon is found on any of the tab select it and change the language to ENGLISH.
wipe your system from the wipe tab:
Now download the latest CM13 SNAPSHOT BUILD ROM FOR YOUR REDMI:
https://download.cyanogenmod.org/get/kenzo-snapshot.zip
and GAPPS:
http://opengapps.org/?api=6.0&variant=mini
do select the arm 64 version and mini one.
download from your pc and copy it to micro sd card. enter this card into you phone and go to mount in twrp.
mount the micro sd card storage.
select the zip file on the micro sd card from the install tab on twrp and flash it.
now go back and flash open gapps zip file.
now REBOOT to system. everything will work fine....
Yes even I got the same error when flashing fastboot ROM.. tried with older version of miflash... success... then use the batch files provided in the above post... everything will be fine..
One problem though fingerprint isn't working after flashing RR or any other custom ROM..
********************************
UNLOCK BOOTLOADER
********************************
WARNING:I will not responsible if you damage your phone. So do this at your own risk.
************************************************** *
INSTRUCTIONS 1 (Getting Unlocking Permission)
************************************************** *Before unlocking bootloader, you need to take permission from Xiaomi.
SKIP these steps and Jump to Instruction 2 if you already have unlocking permission in your mi account.
1. open this link[ http://en.miui.com/unlock ] and click on "Unlock Now" button.
2. Log in with your mi account.
3. Fill all details. While filling details you will find a text field "Please input your unlocking reason"
4. In this text field, enter these reasons: "I understand the risks of unlocking bootloader. I want to flash the ROM to fix the bootloop. I request you to grant me the permissions for unlocking."
5. Click on "Apply Now"
6. Verify phone via OTP. After that, your Account is verified and it says Processing and you will receive a SMS within 10 days.
7. Afer 2-3 days you will get a SMS Like "You have been granted for permissions To unlock ur device ..."
**********************************************
INSTRUCTIONS 2 (Changing Phone Setting)
**********************************************1. Now you are having unlocking permission on your phone. So login into the Mi account in your phone with the same id on which you got the unlocking permission.
3. On your Redmi 3s/3s Prime, go to Settings > About Phone > Tap on "MIUI Version" 7 times. This will enable Developer Options.
3. Now go to Settings > Additional settings>Developer options > enable "USB debugging" and "OEM unlocking".
***********************************************
INSTRUCTIONS 3 (Downloading & Installing)
*********************************************** 1.Download ADB driver and install it.
DOWNLOAD:https://1drv.ms/u/s!As8WYajEFuJlhT_fT0o5ui-Zk0Rl
2. Download & Install Mi Flash Tool.
DOWNLOAD:https://1drv.ms/u/s!As8WYajEFuJlhUBGYLbwbHCczzH_
3.Download MiFlashUnlock Tool and extract to folder
DOWNLOAD:https://1drv.ms/u/s!As8WYajEFuJlhT51klLtCm3abV_6
YOU NEED WINDOWS 7 TO UNLOCK BOOTLOADER SO PLEASE GUYS COOPERATEGUYS WINDOWS 7 BECAUSE OF KEDACOM DEVICE PROBLEM AS WINDOWS 10 AUTOMATICALLY DOWNLOADS DEVICE DRIVER AND INSTALLS IT AND KEDACOM DRIVER DOSENT ALLOW ANY COMMAND TO GET TO YOUR DEVICE SO THERE IS UNLOCKING PROBLEM THAT YOU GUYS FACE I ALSO FACED SAME PROBLEM GUYS BUT AFTER IT I TRIED IN WINDOWS 7 AND I SUCCEEDED IN FIRST TRY.
***********************************************
STEPS:
***********************************************1. On your computer, open MiFlashUnlock folder
2. Right click on MiFlashUnlock.exe and select "Run it as administrator" & click on 'Yes'
3. Login into the unlocking tool on PC with the same Mi account IN WHICH YOU GOT PERMISSION.
4. Reboot your phone into Bootloader mode. To do that, simply turn off your device, press & hold Power button + Volume down buttons at the same time. Hold until you see Mi Bunny Fastboot logo.
5. Now connect your phone to the computer using its USB cable.
6. Once your phone is connected, the Unlock button will become active.
7. Simply click on the Unlock button to start the process. The unlock process will take about 10-15 SECONDS
8. You will see the message in green color "Unlocking Successfully"
9 LEAVE A POST BELOW IF YOU FIND ANY PROBLEM.
If you like it then click on "THANKS" button
and Cheers if you UNLOCKED your bootloader successfully.***********************************************
TWRP FLASHING:
***********************************************1.AFTER YOU UNLOCKED BOOTLOADER.
2.DOWNLOAD THIS TWRP FILE JUST DON'T KNOW WHERE THIS CAME FROM ITS IN CHINESE OR SOME OTHER LANGUAGE I DONT KNOW WHICH.
DOWNLOAD:https://1drv.ms/u/s!As8WYajEFuJlhUQRu5_gsHAfX-oV
3. Reboot your phone into Bootloader mode. To do that, simply turn off your device, press & hold Power button + Volume down buttons at the same time. Hold until you see Mi Bunny Fastboot logo.
4. Now connect your phone to the computer using its USB cable.
5.in twrp recovery go to advanced and disable dm-verify before rebooting to system.
Reboot to recovery and enjoy your TWRP
NOTE:IF YOU DONT DISABLE DM VERIFY YOUR DEVICE MAY ENTER A BOOTLOOPIf you like it then click on "THANKS" button***********************************************
ROOTING:
***********************************************now after you have TWRP recovery installed reboot to recovery mode then just flash this super su zip file from the download link provided below link below is of latest supersu by chainfire
DOWNLOAD:https://1drv.ms/u/s!As8WYajEFuJlhUFNYcaVP0Amul4S
AND YOU UNLOCKED BOOTLOADER FLASHED TWRP AND ROOTED YOUR DEVICE
I dont hav win 7... Can we unlock bootloader of redmi 3s in win 8.1? Thank u...
madydj said:
I dont hav win 7... Can we unlock bootloader of redmi 3s in win 8.1? Thank u...
Click to expand...
Click to collapse
sorry for replying late and your ans you can try on win 8.1 may get success however I recommend windows 7
any way to change chinese writing for twrp?
Yes just go to folder where you extracted twrp just hold shift and right click while holding shift then you click on open command window here then connect your phone in fastboot mode then type fastboot flash recovery recovery.IMG then press enter then type fastboot reboot and you wrote twrp recovery I will soon update with a English twrp installer
kewlpanda said:
any way to change chinese writing for twrp?
Click to expand...
Click to collapse
link updated for recovery flasher now in english
Super su link broken... Pls fix... Thank u .
madydj said:
Super su link broken... Pls fix... Thank u .
Click to expand...
Click to collapse
Link works fine try again else I will update the link thank you
IMPORTANT: It appearance that Huawei is no longer going to provide bootloader unlocking services for their devices. Because of this, this guide is of no use unless you can find a way to get a code or you just held onto the code.
Hello, this is a guide for unlocking the bootloader and rooting the Huawei Ascend XT. I am writing this because the current guide is not very well written and does not contain bootloader unlock instructions. This will be split into two parts: Part 1, unlocking the bootloader, and Part 2, rooting the phone.
PLEASE NOTE THAT FOLLOWING THESE INSTRUCTIONS WILL WIPE YOUR DEVICE. I AM NOT RESPONSIBLE FOR AND DAMAGE DONE TO YOUR PHONE!
THINGS YOU WILL NEED:
1. A Huawei Ascend XT with at least 60% of battery left
2. A computer with adb drivers, fastboot drivers, and the Huawei USB drivers
3. A Micro-SD card for your backups (THIS IS VERY IMPORTANT! PLEASE MAKE BACKUPS!)
4. TWRP for this phone. This can be found here: https://forum.xda-developers.com/android/general/huawei-ascend-xt-h1611-t3507933 (credits to enigma2446)
5. The ZIP containing SuperSU. This can be found here: https://forum.xda-developers.com/android/general/huawei-ascend-xt-h1611-t3507933
6. The SDK Platform Tools. These can be found on the android studio website.
PART 1: UNLOCKING THE BOOTLOADER1. Geting the Bootloader Unlock Code: You need to get your bootloader unlock code. You can get this by going to https://emui.huawei.com/en/plugin.php?id=unlock
(EDIT: It appears that this website is down. I have read that if you PM Huawei on Twitter or call them and provide all the details of your phone, they will give you a code. I have not tested this method, bit people have said it worked with the mate 10.) and signing into your Huawei ID. If you dont have one, create one. Then, follow the instructions given to you by Huawei to get the code.
2. Enabling the Enable OEM Unlock Option: To enable this option, you must enable developer options. To do this, go to Settings>About Phone and tap the Build number until it says "You are now a Developer". back out of About Phone, and go to Developer options. turn on "Enable OEM unlock" and press Enable.
3. Enable USB Debugging: While you are still in Developer options, enable the option 'USB debugging" and press OK.
4. Booting Into the Bootloader: once you have completed the first three steps, you can now boot into the bootloader. Connect your phone to your computer, and open the Platform Tools folder you should have downloaded and extracted. Shift-Right click, and press "Open Command Window Here" or "Open Powershell Window Here", depending on your version of windows. Once it is open, make sure your device is detected by typing "adb devices". If it displays your device, you are good to continue. If not, something is not set up right on your computer or phone. Once you verified that your phone is detected, type "adb reboot bootloader".
5. Unlocking the Bootloader: Once your phone has booted into the bootloader, you can now unlock the bootloader. YOUR PHONE WILL BE WIPED ONCE YOU TYPED THIS COMMAND. You can unlock it by typing "fastboot oem unlock <your bootloader unlock code>". Once it has finished, you can reboot your phone, and just run through the setup fast, because you will still have to wipe it again.
PART 2: ROOTING YOUR PHONE1. Move the TWRP image you downloaded (called
Xtrecovery) to your Platform Tools folder and rename it to "TWRP.img"
2. Insert Your Micro-SD Card
3. Move the SuperSU Zip you downloaded to the SD card
4. Re-Enable USB Debugging: Enable Developer options by going to Settings>About Phone and taping the Build number until it says "You are now a Developer". Back out of About Phone, and go to Developer options, and enable USB debugging, and press OK.
5. Boot Into the Bootloader: Type "adb reboot bootloader" into your open CMD window or Powershell window.
6. Verify That your Phone says that the Bootloader is unlocked
7. Type "fastboot boot TWRP.img"
8. TWRP should boot. Tap "Keep Read Only"
9. You should now be in TWRP. Go to Backup>Select Storage and choose your Micro-SD card and tap OK. Uncheck everything and check "Recovery". Then, Swipe the slider to back up your stock recovery partition.
10. Once it has finished backing up, reboot your phone to the bootloader.
11. Once it is in the bootloader, type "fastboot flash recovery TWRP.img" to flash TWRP as your recovery. (I believe this is the point where your warrenty will be invalidated by Huawei, so be careful.)
12. When it finishes flashing TWRP, reboot your phone to TWRP by holding down the power button and volume up
13. It should boot to TWRP. Tap "Keep Read Only", then go to (YOU ARE ABOUT TO WIPE IT AGAIN)Wipe>Format Data and type yes, and hit the enter button.
14. Once it finishes, go to Backup>Select Storage, select your SD card and hit OK, then check every box to backup all six partitions, and swipe to back them up. (At the end, it may seem to get stuck at 98-99%, DO NOT STOP IT! It is generating an MD5 checksum)
15. When it finishes backing everything up, go back to the home screen of TWRP, then go to Install, navigate to where you stored the SuperSU ZIP, select it, then swipe to flash it.
16. When it finishes flashing the SuperSU ZIP, tap "Clear Cache/Dalvik" and swipe to clear them.
17. Reboot your phone. IT WILL REBOOT MULTIBLE TIMES AND APPEAR TO BE STUCK SOMETIMES, BUT DONT TOUCH IT! This is normal and it will eventually boot like normal.
That's it!
Your phone should now be rooted and have SuperSU installed. Please note that this is a Systemless root, and will be removed if you factory reset your phone.Thanks to divineBliss for creating the original instructions.
What do we do after we get root to install custom ROMS? please advise
nedfred0 said:
What do we do after we get root to install custom ROMS? please advise
Click to expand...
Click to collapse
To install a custom ROM, you need the ROM you want to install, gapps depending on the ROM, and the proper firmware. The firmware you are on can be found under about phone and is the last 4 digets of the build number (in the format of B1xx). Once you are on the proper firmware, have your ROM and other things it may require, (every ROM is different), and a backup (just in case), you can flash the ROM from TWRP. Follow the instructions provided by the creator of the ROM to properly flash it.
Where do you get the USB driver at because I am not seeing it at http://consumer.huawei.com/us/support/phones/ascend-xt/
BTJustice said:
Where do you get the USB driver at because I am not seeing it at
Click to expand...
Click to collapse
The drivers come with HiSuite. Download it and you should be good to go.
randomness725 said:
The drivers come with HiSuite. Download it and you should be good to go.
Click to expand...
Click to collapse
Thanks. I tried that but couldn't get it to go so I downloaded these instead which did the job:
https://www.androidfilehost.com/?fid=817550096634745788
does this work on the new h1711 huawei assend xt2
xaneth201 said:
does this work on the new h1711 huawei assend xt2
Click to expand...
Click to collapse
It will not. The TWRP recovery image is device specific and might brick your device if you flash it to your phone.
bricked 1711
randomness725 said:
It will not. The TWRP recovery image is device specific and might brick your device if you flash it to your phone.
Click to expand...
Click to collapse
Well I did not see that, so yeah, I have bricked it. IT comes up and says it is unlocked, it used to sit there then boot into the system.
So I downloaded the TWRP, tried to reboot to recovery and nothing.
Now, it just gets to the yellow warning screen, then goes black. Just bought this today on a black friday sale for 49.00
But did it for a reason. Now I would like to be able to recover it....
I was able to run adb and fastboot, so know that the drivers work, but it looks like it won't even get there now.
And it won't even go to the recovery, so I guess this phone is a real brick.
Can't seem to get the back cover off to remove the battery either.
You need a copy of the stock H1711 recovery image to use
"fastboot flash recovery H1711-stock-recovery.img" to restore the stock recovery. Until someone creates a working H1711 TWRP, I don't know where you'll find a stock H1711 recovery image file.
scrungydoolittle said:
Well I did not see that, so yeah, I have bricked it. IT comes up and says it is unlocked, it used to sit there then boot into the system.
So I downloaded the TWRP, tried to reboot to recovery and nothing.
Now, it just gets to the yellow warning screen, then goes black. Just bought this today on a black friday sale for 49.00
But did it for a reason. Now I would like to be able to recover it....
I was able to run adb and fastboot, so know that the drivers work, but it looks like it won't even get there now.
And it won't even go to the recovery, so I guess this phone is a real brick.
Can't seem to get the back cover off to remove the battery either.
Click to expand...
Click to collapse
download hisuite, enable oem unlocking and usb debbuginig, you gotta also get tha password or the unlocking, denn u run cmd and type:
adb devices
i hope i helped
there is easy way to get unlock bootloader pass for all huawei
just by IMEI search on google "hardreset24 unlock bootloader" there is full info how to do it
BTJustice said:
Where do you get the USB driver at because I am not seeing it at http://consumer.huawei.com/us/support/phones/ascend-xt/
Click to expand...
Click to collapse
Here is the site for USB drivers for all Huawei models:
http://huaweiadvices.com/download-huawei-usb-drivers/
Good luck....
Does the phone even have a fastboot mode?
RomLord14495 said:
Does the phone even have a fastboot mode?
Click to expand...
Click to collapse
Sure it does
Notes on booting up the phone (from power off)
Bootloader (fastboot) = power + volume down + USB hooked to pc
eRecovery = power + volume up + USB hooked to PC
TWRP = power + volume up
Click to expand...
Click to collapse
Optionally you put phone into bootloader/fastboot or recovery modes by typing from an adb prompt "reboot bootloader" or "reboot recovery"
Hi there. The website link for submitting your imei to get the unlock code doesn't work. Does anyone know how to get this code now?
dominoes20 said:
Hi there. The website link for submitting your imei to get the unlock code doesn't work. Does anyone know how to get this code now?
Click to expand...
Click to collapse
You'll have to use DC Unlocker and pay to unlock until the page returns
Since unlocking the bootloader is no longer supported, I have a suggestion but am afraid to try myself.
So, download stock version of rom (aka fastboot rom). Extract, replace recovery.img with twrp (renamed to recovery.img). Restart phone in EDL mode, flash. In theory, edl is working fastboot mode so it shouldn't matter if bootloader is unlocked, correct?
ezopantyd said:
there is easy way to get unlock bootloader pass for all huawei
just by IMEI search on google "hardreset24 unlock bootloader" there is full info how to do it
Click to expand...
Click to collapse
Imma try this out, I’m stuck in a weird situation where my sd card slot broke. When I sent it in for service, they said it was rooted and refused to fix it. I specifically did not root it so that I could send it in for warranty service. So it’s mission to try and root, unlock boot loader etc so that I can have more storage space
---------- Post added at 11:50 AM ---------- Previous post was at 11:36 AM ----------
ezopantyd said:
there is easy way to get unlock bootloader pass for all huawei
just by IMEI search on google "hardreset24 unlock bootloader" there is full info how to do it
Click to expand...
Click to collapse
Can you be a little more specific? I didn’t get that info on google
Like many, I was overwhelmed with information when trying to unlock, flash, and root my phone. After many failures, I decided to compile the good information all in one place.
I hope this helps. If it does, please consider buying me a beer...
Bitcoin Address: 17p3sW8hG5ndZqAuoDQiUE99iHwBZss6UK
Bitcoin QR Code:
{
"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"
}
________________________________________
MY SPECS
I'm using the Redmi K20 Pro running Android version 9 PKQ1.181121.001 (patched July 1, 2109) and MIUI Global 10.3.5. I am in the United States and I have Verizon as my cellular service provider. On the Redmi K20 Pro in the United States, Verizon is compatible with LTE/GSM (and CDMA, but I learned that Verizon is phasing out CDMA).
BOOTLOADER & UNLOCKING
Let me start by thanking Jumundz who saved my ass when I bricked my phone. More on that below...
"ALL IN ONE" TOOL
The following guide details how to root your phone manually. If you already understand the process, or want to tweak some of the steps, I recommend using:
ALL IN ONE tool. / (mediafire alternative link)
...or...
Xiaomi ADB Fastboot Tools (this is the current version, 2.3.1)
DEVELOPER MODE & USB DEBUGGING
To start, we need to enable Developer Mode.
Go to Settings and then click on About phone.
Then tap "MIUI version" several times (5-7 taps) until a notification reads "You are now a developer."
Go back into the main Settings menu and scroll down until you see Additional settings.
Click on Additional settings and then scroll down until you see Developer options
Click on Developer options. Here you will find a number of options that are not commonly available. If you have not unlocked your device yet, you will notice that OEM unlocking is turned off and also greyed out so that you cannot click on it. Instructions for unlocking your device can be found below.
Scroll down and tap USB debugging.
** Optional ** I also tap Install via USB just in case I want to use that down the road.
After enabling Developer Mode, connect your phone to your computer with a USB cable. (*NOTE* Some USB cables only charge your device. Make sure your USB cable is designed to permit data transfer as well.) A notification will pop up on your phone asking if you would like to allow the connection for USB debugging. Press "YES" so that the computer and phone will recognize each other in the future.
OFFICIAL MIUI UNLOCK
As many of you know, Xiaomi created obstacles for those wishing to unlock the bootloader. Xiaomi claims they created the waiting period to "deter resellers from loading shady firmware into their devices" (LINK). So, I created a Mi Account and then made the unlock request with the official MIUI unlocking tool Mi Unlock. The program that downloaded (at least for me) through the official site was miflash_unlock-en-3.5.719.27.zip
MI ACCOUNT BYPASS TOOLS?
Since unlocking my device through the official pathway, I read that you can bypass this process using other tools. ** Disclaimer ** I have not personally used these tools! XiaoMiTool (version 1) is discussed in this XDA article, but recommends using XiaoMiTool V2(Download link to the latest version of XiaoMiTool V2). XiaomiBuzz suggests using the Mi Account Unlock Tool. Here is a link to the Mi Account Unlock download file (the password required to unpack the .rar file that downloads is ourflashfile.com).
JUST IN CASE: THE MOST IMPORTANT TOOL
** Disclaimer ** You may not need this section, but if you run into problems (like I did) this is your salvation.
After a few failed attempts at rooting my Redmi K20 Pro, I flashed my device and found myself needing to unlock the bootloader (again). However, when I tried, I ran into an error message that read "you must wait 30 days before unlocking another device." Some of you have run into this problem if you accidentally lock your device while using Xiaomi ADB/Fastboot Tools or TOOL ALL IN ONE (discussed later in this guide). Luckily, I found a thread by Jumundz (LINK) that indicated that an older version of MiFlash Unlocker (version 2.2.406.5) would still unlock my device. Thankfully it did!
GET THE STUFF YOU NEED
There are several sites that suggest to offer the best way to root your device. I have tried many of them and very few have worked (it's possible that I messed up the process somewhere). Whatever... this worked for me...
Generally, I followed this guide posted on AndroidInfoTech.com. I am, however, making some recommended changes.
XIAOMI USB DRIVERS
Start by getting the USB drivers. XiaomiBuzz has a pretty comprehensive list of all Xiaomi phones and their respective USB drivers (HERE). But, here is a link to the Xiaomi Redmi K20 Pro USB Driver Package for Windows 7/8/8.1/10 (32/64-bit). Scroll down and select the download link.
Alternatively, you could download the Xiaomi Mi PC Suite through mi.com and install the drivers through that program. The version I used was 2.2.0.7032_2717.
Go ahead and install the Xiaomi USB drivers.
ADB & FASTBOOT
Next you'll need to setup ADB & Fastboot. You must have USB Debugging enabled for either of these platforms to work properly. See above for instructions on USB Debugging. Both ADB and Fastboot are utilized through the command line, so I was confused me for the longest time on when to use each one. In fact, I had trouble getting ADB to work, but Fastboot worked fine. Turns out the reverse is more common (people tend to have problems with Fastboot, but not ADB).
Here's the difference:
ADB: This is the platform that you can use when your phone is turned on normally (booted into the system). So, if you can see your your normal phone screens, then ADB will work.
FASTBOOT: Note that you can still use Fastboot when your phone is turned on normally, BUT you cannot use ADB when your phone is in Fastboot mode.
Get the latest ADB Driver Installer from miui.blog. This will install ADB and Fastboot. The current version of the ADB Driver Installer (for me) was 1.4.3. (Alternative download through Mega.nz).
Alternatively (and I recommend this instead), you can get the Android Platform Tools Pack for Windows which comes with the Google USB drivers, ADB, Fastboot, and the ADB/Fastboot drivers. Download it from miui.blog here, or through Mega.nz here.
Go ahead and install the file package you have chosen. Once installed, ADB and Fastboot should be able to be used universally (from anywhere on your PC). Just know that many installation guides suggest installing ADB into a special folder on your C: drive which is fine too. We will come back to this folder to run some commands later in the guide.
TWRP
You'll need TWRP which is a recovery (or "temp") operating system that will run on your phone when you're attempting to root your device. However, TWRP doesn't have an official version specific to the Redmi K20 Pro. Luckily, XDA Member madsponge26 has a list of TWRP options that will work for the Redmi K20 Pro in this thread. I recommend going with the TWRP Auto Install option. You can also download a compatible TWRP image from androidfilehost.com. Here's a link to version-3.3.1-13-raphael.
Once downloaded, extract the .zip file. It should contain 5 or 6 files. Copy all of the files and paste them into the ADB folder (if you're sticking with my recommendation, it will be the "platform-tools" folder). When you copy-and-paste these files, it may ask you if you want to replace some files with the same names. That's fine (they're the same). Just click "Yes." If you downloaded the TWRP image separately (say, from androidfilehost.com), just copy the twrp.img file into the same folder.
MAGISK
Next download Magisk.zip from the official Magisk github.com page. The latest version (for me) was Magisk v19.4. Don't bother unzipping it. This .zip file will be placed (as a .zip file) onto your phone.
DISABLE FORCE ENCRYPTION TREBLE
Also download Disable-Force-Encryption-Treble.zip. Like Magisk.zip, don't bother unzipping this file because you're going to place it (as a .zip file) onto your phone. Here's a Dropbox link to directly download the file. Otherwise you can download it from Androidfilehost.com.
FLASHING TWRP & ROOTING
Alright, you got all the software tools and now we're ready to proceed with flashing TWRP and Magisk.
With your phone powered on normally, plug your device into your computer with the USB cable.
Pull down on the screen to display the notifications. One of them should read "Android System" and indicate how the phone is interacting with your computer as a connected device. Switch it to "File Transfer." Your phone should now show up as a drive on your computer.
Open the "Redmi K20 Pro" drive on your computer and then open the "Internal shared storage" folder (it should be the only folder).
Drag and drop the Magisk.zip and the Disable-Force-Encryption-Treble.zip into that folder.
**SIDE NOTE: Some guides suggest that you wait until you're in TWRP to transfer these files. That's fine. To do so, wait until you're in the TWRP interface and then select "Mount" and "Enable MTP." Your phone's internal storage should appear as a device on your computer and you can then transfer the .zips.
Once transferred, unplug your phone from the computer and power it off.
Enter into Fastboot mode by pressing and and holding down the Volume Down button and the Power button at the same time. It may take several seconds. It will vibrate and then boot your phone into Fastboot mode.
Next, connect your phone to your computer with the USB cable.
Once you connect your phone to the computer via USB, you should hear the computer recognize the phone but you may not see it show up as a drive. That's okay.
Go to your computer and open a command line interface in the ADB folder (if you're sticking with my recommendation, it will be the "platform-tools" folder).
**NOTE: If you chose the Auto Install option of TWRP, you can simply double-click the file "flash_twrp.bat" and then skip to the next section (TWRP INTERFACE).
**TRICK: Go to the folder where you have the ADB file adb.exe and click in the file pathway (where it says "C:\Users\Username\Downloads\platform-tools_r29.0.4-windows\platform-tools" or whatever). Highlight and delete that file pathway, and instead type "cmd". Hit enter and it will open a terminal window already in the proper directory.
**SIDE NOTE: If you installed ADB/Fastboot universally, you can simply open the command line interface by clicking on Start and typing "cmd" to open a terminal window. Once in the terminal window, you can "cd" or change directory to the one where you have ADB. Also, you can use Powershell, but you may need to preference each Fastboot command with "./."
In that terminal window, make sure you're in the folder with adb.exe and then type this command:
fastboot devices
This command looks to make sure that the Fastboot platform recognizes your device. Next to "Fastboot Devices," you should see a series of numbers and letters. That series of numbers and letters is your phone identifier.. If you do not see any numbers/letters, then Fastboot does not see your phone and you need to troubleshoot the situation.
Next, type in the following command:
fastboot flash recovery twrp.img
What this is doing is identifying what platform to use (fastboot), telling it what you want to do (flash), in which directory you want to perform that action (recovery), and what file to use to flash it (twrp.img). It is important to note that, depending on how you installed TWRP, the .IMG file may be called "recovery.img" or "twrp.img" or some variation of the TWRP version number. You can either rename the file to "twrp.img" or you can type in the entire filename.
Once you hit enter, it will read something like:
target reported max download size of 805306368 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.437s]
writing 'recovery'...
OKAY [ 0.254s]
finished. total time: 1.696s
Once it's finished, enter this command to boot into the temporary TWRP recovery operating system:
fastboot boot twrp.img
Once you hit enter, it will read something like:
downloading 'boot.img'...
OKAY [ 1.428s]
booting...
OKAY [ 0.138s]
finished. total time: 1.566s
TWRP INTERFACE
Unplug your phone from the USB. The screen will go black and you may see the "Redmi" logo come on the screen. After a few seconds, the TWRP title page will appear. Once the TWRP operating system powers on, you may be presented with the option to enter a PIN code (if you previously had one on your phone) or a passcode. Enter the PIN or code to get into the TWRP interface.
Once in TWRP, you will have several options. Click "Install" and scroll to the bottom of the file list to find the magisk.zip that you transferred onto your phone. Go ahead and swipe right to install it. Once the installation is complete, click "Reboot System" to power the phone back on normally.
That's it. Your Redmi K20 Pro should now be rooted.
If there are any problems, start the process over from the Fastboot interface on your computer (where you flashed TWRP onto your phone with "fastboot flash recovery twrp.img"). Go through the same process, but before you install the Magisk.zip, first install the Disable-Force-Encryption-Treble.zip.
If this was helpful, please consider buying me a beer!
Bitcoin Address: 17p3sW8hG5ndZqAuoDQiUE99iHwBZss6UK
Bitcoin QR Code:
________________________________________
ALL TOOLS FROM THE ABOVE GUIDE
ALL IN ONE Tool: ALL IN ONE Tool
Alternate Download: (mediafire alternative link)
Xiaomi ADB Fastboot Tools:Xiaomi ADB Fastboot Tools v2.3.1
Mi Flash Unlock: miflash_unlock-en-3.5.719.27.zip (just the version that I used)
Mi Flash Unlock (latest version): official download site
XiaoMiTool V2 (link to download latest version): (https://www.xiaomitool.com/V2/#download).
Mi Account Unlock Tool: mediafire download (password: ourflashfile.com)
MiFlash Unlocker 2.2.406.5: mediafire download
Alternate Download: androidfiles.host download
XIAOMI USB Drivers: Xiaomi Redmi K20 Pro USB Driver Package for Windows 7/8/8.1/10 (32/64-bit)
For ADB/FASTBOOT get...
Android Platform Tools Pack for Windows: download from miui.blog (includes: Google USB drivers, ADB, Fastboot, and the ADB/Fastboot drivers)
Alternate Download: Mega.nz download link.
TWRP Auto Install (Mega.nz link): TWRP Auto Install
TWRP 3.3.1-13-Rapheal: androidfilehost.com link
Magisk.zip: Magisk v19.4
Magisk.zip (latest version): official download site
Disable-Force-Encryption-Treble.zip: "]Dropbox direct download link
for MI 9T PRO to?
Hi guys,
You know if this guide works with the European rom 10.3.3?
Thanks
Ekil said:
Hi guys,
You know if this guide works with the European rom 10.3.3?
Thanks
Click to expand...
Click to collapse
This should work but realistically all you really need to do is get all the drivers than go ahead and use mi flash tool to go to 10.3.16 fastboot Rom, can be found at mifirm, then go ahead and flash it make sure to select clean all, NOT clean all and Lock. (it's selected by default). Then proceed to install twrp, and flash any Rom you like, there are some modules for getting back nfc and Gpay so look around for them on here and boom you're all set.
Make sure you have an unlocked bootloader first obviously, after that it's relatively simple to install twrp, and after that it's smooth sailing. You just can't flash on stock European firmware as all these ROMs are based on the Chinese or Indian firmwares and vendors, and as a result will brick your phone,if you try to flash on 10.3.3. Trust me I've done it before and it's not fun.
Good luck :fingers-crossed:
fast9000 said:
This should work but realistically all you really need to do is get all the drivers than go ahead and use mi flash tool to go to 10.3.16 fastboot Rom, can be found at mifirm, then go ahead and flash it make sure to select clean all, NOT clean all and Lock. (it's selected by default). Then proceed to install twrp, and flash any Rom you like, there are some modules for getting back nfc and Gpay so look around for them on here and boom you're all set.
Make sure you have an unlocked bootloader first obviously, after that it's relatively simple to install twrp, and after that it's smooth sailing. You just can't flash on stock European firmware as all these ROMs are based on the Chinese or Indian firmwares and vendors, and as a result will brick your phone,if you try to flash on 10.3.3. Trust me I've done it before and it's not fun.
Good luck :fingers-crossed:
Click to expand...
Click to collapse
Hi!
Thanks for the detailed answer, I'll try it on the weekend ✌?
Hi, could you please list the exact and only set of tools you used to unlock your phone and install 3rd party ROMs?
Like list them step wise
1.
2.
3.
...
Thanks in advance!
ntmalol said:
Hi, could you please list the exact and only set of tools you used to unlock your phone and install 3rd party ROMs?
Like list them step wise
1.
2.
3.
...
Thanks in advance!
Click to expand...
Click to collapse
Well you should realistically read the forums but this is basically what I did
1. Unlock Bootloader using official mi unlock tool, (make an acc. wait a week or so)
2. Get the mi flash tool preferably latest, download fastboot Rom CN 10.3.16 from mifirm (Google it)
3.Go to fastboot mode in phone plug it in, press refresh for port to be detected, extract the mifirm Rom to desktop select the second folder before images option
4. Flash the fastboot Rom make sure to select clean all, DO NOT FLASH CLEAN ALL AND LOCK. (Will brick your phone and you'll be sticked with a locked bootloader)
5. Flash process takes 5 mins roughly, boot in setup lockscreen pass remember it for twrp setup.
6. Flash twrp via fastboot or adb, use the raphael variant latest found on the forum
7. Boot into twrp and enter screen lock to decrypt phone
8. Download any Rom and GAPPS, flash them and you should boot just fine.
Proceed to install magisk, and any other modules you want (vanced, Gpay, etc)
There is a 10.3.17 version for Chinese fastboot Rom available not sure of its compatibility so don't bother just stick to 10.3.16
Very simple once you have an unlocked bootloader just be careful when using the mi flash tool.
Good luck :good:
fast9000 said:
Well you should realistically read the forums but this is basically what I did
1. Unlock Bootloader using official mi unlock tool, (make an acc. wait a week or so)
2. Get the mi flash tool preferably latest, download fastboot Rom CN 10.3.16 from mifirm (Google it)
3.Go to fastboot mode in phone plug it in, press refresh for port to be detected, extract the mifirm Rom to desktop select the second folder before images option
4. Flash the fastboot Rom make sure to select clean all, DO NOT FLASH CLEAN ALL AND LOCK. (Will brick your phone and you'll be sticked with a locked bootloader)
5. Flash process takes 5 mins roughly, boot in setup lockscreen pass remember it for twrp setup.
6. Flash twrp via fastboot or adb, use the raphael variant latest found on the forum
7. Boot into twrp and enter screen lock to decrypt phone
8. Download any Rom and GAPPS, flash them and you should boot just fine.
Proceed to install magisk, and any other modules you want (vanced, Gpay, etc)
There is a 10.3.17 version for Chinese fastboot Rom available not sure of its compatibility so don't bother just stick to 10.3.16
Very simple once you have an unlocked bootloader just be careful when using the mi flash tool.
Good luck :good:
Click to expand...
Click to collapse
I used CN 10.3.17 version and works fine.
Not working?
Hey, i tried doing this but the phone does not boot into TWRP after i send
fastboot boot "C:\Users\loren\Desktop\Root Mi9T\twrp-3.3.1-13-raphael-mauronofrio.img"
Click to expand...
Click to collapse
Instead, it reboots to system, then when i reboot it again it does a couple of bootloops then enters Mi Recovery; to get it to work again i have to wipe all data.
Any ideas? I'm on MIUI 10.3.2.0 EU
---------- Post added at 06:10 PM ---------- Previous post was at 05:51 PM ----------
Bidishake said:
Hey, i tried doing this but the phone does not boot into TWRP after i send
Instead, it reboots to system, then when i reboot it again it does a couple of bootloops then enters Mi Recovery; to get it to work again i have to wipe all data.
Any ideas? I'm on MIUI 10.3.2.0 EU
Click to expand...
Click to collapse
Nevermind, i fixed it - instead of sending that i sent a simple fastboot reboot while pressing volume up. Booted into TWRP, installed disable-encryption and magisk, cleaned cache, and rebooted like a charm.
Thank you for the guide!
I tried to flash twrp on my mi9 t pro miui 10.3.2 global ( for some reason that's the latest ota i got don't know if its a fake rom ) , but can't get to recovery , i tried some versions of twrp but can't get to it with vol + and power button. I get 1st logo than screen fades to black , 1 time it took me to miui recovery.
By the way the miui version im on don't have the option to manually update ( manually select the update zip ),
Does this make it a fake rom?
Also if i try to install from the latest package from the updarer app can it fix my missing miui recovery or brick my phone?
Don't use XiaomiTools v2, my OS was corrupted and stuck at Mi logo after attempting to unlock bootloader and flash TWRP recovery.
Better to do so using official mi unlock to unlock bootloader and ADB fastoot to flash TWRP
I used xiaomi tool v2 to unlock boolader, install twrp and xiaomi eu beta (9.10.17). The tool did it all for me, no drivers, no adb no commands used, nothing else but the tool (xiaomi mi 9t pro eea, windows 10)
Try this for MIUI 11
Install the ADB-Fastboot USB Driver.
Unlock the bootloader of your phone.
Flash TWRP on Redmi K20 Pro / Mi 9T Pro. You may also use Wzsx150’s TWRP if you want; it’s in Chinese tho.
Download Xiaomi.eu MIUI 11 ROM from the link above.
Reboot your phone to the TWRP Recovery mode.
Choose Wipe > Format Data then type Yes to confirm.
Copy the Xiaomi.eu MIUI 11 Zip file to your phone.
Choose Install > locate the ROM Zip file > Swipe to confirm flash.
Choose Reboot > System.
Set up Google Account and you are good to go.
https://miui.blog/redmi-k20/xiaomi-eu-miui-11-redmi-k20-pro-mi-9t-pro
It would be nice if this worked for me........followed every single step and it will not boot into TWRP, it either gets stuck in a boot loop or it goes to the build in MiRecovery, and to get around this i need to force wipe the phone with MiRecovery, i quite literally am not allowed to install TWRP so i gotta go the other route to install Magisk and root my phone.......on EU version of the K20 pro if anybody else is having this issue or knows a fix.
I can't boot into TWRP.
Bootloader is unlocked.
I tried both TWRP, auto Install and version-3.3.1-13-raphael. Both install with "OK". On any of them when I send fastboot boot twrp.img I get again OK's, the screen goes black and it just stay there... any ideas? thanks!
Edit: yesterday I installed OTA update and then I did the bootloader unlock. I discovered in settings that my USB developer was not enabled (disabled after update/or unlock) - could this be a reason for TWRP not working?
Thanks for the guide. Couldn't install Magisk 20.1 via "TWRP 3.3.1-22 Unofficial by mauronofrio", however, was able to do it through TWRP 3.3.1-21.
K20 Pro India on MIUI 11.0.1.0.
Note: in the command 'fastboot flash recovery twrp.img' I thought 'recovery' was the source (computer) folder, but it was actually specifying the folder in the destination (phone).
scarmage said:
Thanks for the guide. Couldn't install Magisk 20.1 via "TWRP 3.3.1-22 Unofficial by mauronofrio", however, was able to do it through TWRP 3.3.1-21.
K20 Pro India on MIUI 11.0.1.0.
Note: in the command 'fastboot flash recovery twrp.img' I thought 'recovery' was the source (computer) folder, but it was actually specifying the folder in the destination (phone).
Click to expand...
Click to collapse
intersting :what you mean by ##Note: in the command 'fastboot flash recovery twrp.img' I thought 'recovery' was the source (computer) folder, but it was actually specifying the folder in the destination (phone).[/QUOTE]
## i do as always flash the twrp via cmd
1- fastboot devices
2- fast flash recovery " recoveryname.img "
3- fastboot reboot like that
what source you ?
The OP does a great job of explaining what each command does. If you're used to DOS commands, then when you issue a command that has a file name (eg: copy), you would specify a 'source directory' and a 'destination directory'. If the command contains only a single directory, then you won't get to know whether it's supposed to be a source directory or destination, unless it's specified explicitly. That's what I meant. But I guess if you know your way around android adb commands and such, you wouldn't have that confusion. I'm kinda new to this, so it wasn't obvious to me.
Antidote03 said:
intersting :what you mean by ##Note: in the command 'fastboot flash recovery twrp.img' I thought 'recovery' was the source (computer) folder, but it was actually specifying the folder in the destination (phone).
Click to expand...
Click to collapse
Don´t resolved
My phone is also like this, asks the 30 days so I can solve the brick, tried mi unlock 2.2.406.5 but it also did not work. Someone help, I don't want to wait 30 days.When I take the internet cable to try tbm, it says error unknown (-1)
Same steps as previous Xiaomi models
1- First officially apply to unlock bl
2 Download and flash twrp as needed
Be cautious when brushing the machine, at your own risk
RECOVERY information:
Name version: Redmi Note 9 Special Edition TWRP Chinese and English modified optimized version
File package name: TWRP-3.4.1B-Redmi Note 9.7z
Introduction:
The author synchronizes the latest source code of TWRP. In the omni environment, the official kernel file is used to write the device code.
Some bugs were fixed by modifying the source code, some functions were added and improved, and finally compiled.
Thanks for the enthusiastic engine oil test.
This RECOVERY is stable and practical, with various functions. The author has measured many times and recommended to use it when flashing. No major bugs have been found.
I haven't tested it comprehensively. I hope that if you find any bugs, please give me feedback in time. Thanks~~~~
Brushing is risky and requires careful operation. Brushing is a personal voluntary act, and the author does not bear any problems caused by brushing into this rec.
important:
1. This rec supports automatic decryption of data partitions, and encrypted data can be used normally under rec without formatting.
Please don't flash the unknown rec randomly, it may cause the data to be unable to be decrypted, and the data will be lost.
The official default is to encrypt the data for the lock screen password, and you need to enter the lock screen password to enter twrp.
2. Theoretically, this rec supports swiping into the official original full amount of cards, but will cover twrp.
3. Bootloader must be unlocked to flash into the third-party rec, please unlock BL.
4. Built-in root system / remove root function, through the root system, you can enable the system to obtain root permissions.
5. Function to prevent being overwritten by official rec (any one is enough): prevent overwriting of TWRP, root system, etc.
6. It is recommended to turn off the avb2.0 verification after the official package of the card is swiped, otherwise it may cause the system to be damaged due to the root boot.
7. If the boot prompt system is damaged due to root, etc., you can flash the boot.img on the fastboot line or flash the closed vbmeta to restore normal.
Please use my own one-click flashing tool to flash in, otherwise, there is a mess, don’t ask me
[Known bugs]:
1. There is a certain probability of entering the first screen of twrp card, forced restart, re-swipe or re-enter twrp should be able to solve.
Update on 2020.06.09:
1. Some optimizations
2. There is a certain probability of entering the first screen of twrp card, forced restart, re-swipe or re-enter twrp should be able to solve.
Content of the first edition of 2020.06.06:
1. Based on the twrp source code, I modified and adapted the Android 10 compilation system and named the version number as [3.4.1b] to show the difference, indicating the unofficial version number
2. Support dynamic partitioning of Android 10 system
3. Support Android 10 system data decryption (password is the lock screen password)
4. Adapt user space fastboot of Android 10 system,
5. Support card swipe official complete package
6. Support the card swipe magisk official card swipe package, you can also use twrp's built-in root system (magisk20.3)
7. Support FBE multi-user decryption, such as mobile phone avatar, application avatar and the like are multiple users. Data can be backed up normally by other users without decryption, solving the problem that some oils cannot be backed up
8. It is recommended to turn off the avb2.0 verification after the official package of the card is swiped, otherwise it may cause the system to be booted due to root and prompt system damage.
9. If the boot prompt system is damaged due to root, etc., you can flash boot.img on the fastboot line or flash vbmeta to turn off the verification to restore normal.
10. There is a certain probability that the first screen of the card will be swiped in after a certain probability, and it will be forced to restart and re-swipe it again.
The download file will be updated on the second floor
:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
Download link update
[MOD EDIT: URL REMOVED]
If you ROOT, you must turn off avb2.0 verification in TWRP, otherwise it is not the system
Unpacking your file does not work for me, I always get a "not supported compression method" error with 7 zip
MeinsEins said:
Unpacking your file does not work for me, I always get a "not supported compression method" error with 7 zip
Click to expand...
Click to collapse
Your decompression software is too old, I have uploaded a decompression compatible with the old version, please download again
czghzh said:
Your decompression software is too old, I have uploaded a decompression compatible with the old version, please download again
Click to expand...
Click to collapse
Thanks for updating, it worked now, but I don't think that my software was too old as I use the current (19.00) version of 7ip
is this ok to use it in redmi note 9s or pro sd variant series?
jhun3xx said:
is this ok to use it in redmi note 9s or pro sd variant series?
Click to expand...
Click to collapse
Impossible, please do not do this
MI Unlock doesn't see my phone when in fastboot mode.
Doesn't matter if I do it manually (power + vol down) or through "adb reboot fastboot".
Any solution?
Akitake said:
MI Unlock doesn't see my phone when in fastboot mode.
Doesn't matter if I do it manually (power + vol down) or through "adb reboot fastboot".
Any solution?
Click to expand...
Click to collapse
Have you tried to enable OEM unlocking, USB Debugging and add account to Mi Unlock Status on Developer Options?
awahok said:
Have you tried to enable OEM unlocking, USB Debugging and add account to Mi Unlock Status on Developer Options?
Click to expand...
Click to collapse
Yes I do, but I figured it out.
I had an unknown device in my device manager "Other Devices > Android", and it couldn't find drivers because I was using a slimmed down version of Windows 10, which also blocked Windows update & driver updates through windows servers.
Used another device which has stock Windows installed and works fine. I now just need to wait about 150 hours to be able to unlock c:
Thread closed due to GPL non-compliance. When ready to upload kernel source, PM me.