Flash TWRP and Root Mi 9T With These Proven Steps

Flash TWRP and Root Mi 9T With These Proven Steps 1

This article explains all the essential steps on how to install TWRP on Xiaomi Mi 9T and finally to root it. In this guide, we’ll use LR.Team TWRP by Wzsx150. Feel free to use the official TWRP build once becomes available.

TWRP by WZSX150 is a custom TWRP build with Chinese as its default language. You can switch it to English upon flashed. The process is easy.

Every Xiaomi device comes with the stock Mi Recovery. This recovery is necessary to flash MIUI OTA update package. Replacing the stock one with TWRP recovery may prevent you to do so.

This limitation does not prevent you to update the MIUI system running on your phone. You can simply download the full MIUI Recovery ROM and flash the zip file through TWRP.

Alternatively, you can simply wait for the coming of forked TWRP with OTA Support such as Red Wolf, Pitch Black, or Orange Fox.

Anyway, TWRP is a powerful recovery. It can flash third-party binaries easily. Furthermore, TWRP can also create full backups, wipe partitions, restore backups, do factory resets, and so on.

Many people employ it to flash Magisk which in turn it allows users to gain root access systemlesly.

Xiaomi Mi 9T is the company’s latest product. The device is originally available in the company’s home country as Redmi K20. The company distributes it globally as Mi 9T. Both devices, however, are basically the same device with different naming. That’s all.

Both Mi 9T and Redmi K20 sport Qualcomm Snapdragon 730 chipset with 8 nm finfet technology. Such a fabrication technology allows better performance with less power needed.

The chipset has Octa-core processors on board. The CPUs consist of 2x 2.2GHz Kryo 470 Gold CPUs and 6x 1.8GHz Kryo 470 Silver CPUs. These provide all the horsepower needed by the system. Additionally, the chipset also equips Adreno 618 GPU to process all heavy-duty graphics tasks.

Such powerful hardware will be useless if the phone is not at its full potential. Unlocking its bootloader and flashing a custom recovery are the first key answers to unleash the beasts within.

Below we compiled all the essentials steps to help you flash TWRP and root Mi 9T successfully. The whole process may not as easy as expected for most novice users. However, it is a safe process if done right,

Before we begin, we strongly encourage you to create full backups of your data and files. We hold no responsibility of any damage that may happen to your device.

Nobody forces you to do what we guide you in this article. Please proceed with caution.

Furthermore, it is always good practice to read the whole article thoroughly. You may need to envisage all the steps before actually attempting to proceed.


  1. Windows computer either a PC or a Laptop. Windows 8/8.1/10 64-bit is recommended.
  2. A USB data cable. Make sure it’s a data cable and not a charging-only cable.
  3. Download Xiaomi ADB & Fastboot driver on your computer.
  4. Download Android Platform Tools r28.0.1 (zip).
  5. Download LR.Team WZSX150 TWRP for Mi 9T (img).
  6. Download Magisk – latest version (zip). Optional, only if you want to root.


Step 1. Disable Windows Drivers Signature Enforcement on your computer. We have the detailed tutorial here.

Step 2. Extract Xiaomi ADB Fastboot Driver zip file (miui-ADB-Driver-Installer-v1.4.3.zip) and install it on your computer. This should finish in seconds. Make sure you install it on C:\adb\. This step is necessary to install ADB Fastboot system-wide.

Step 3. Extract the miui-platform-tools_r28.0.1-win.zip on your computer. You’ll get a folder called “platform-tools“. This step is important to make sure you use the latest version of ADB-Fastboot.

Step 4. Unlock the bootloader of your phone. Read the full guide on how to unlock MIUI bootloader officially here. Please be aware that the process requires you to reset your phone. All your data will be lost.

Step 5. Rename the “recovery-TWRP-3.3.1-0607-REDMI_K20-CN-wzsx150.img” to “recovery.img“.

ALSO READ:  Newbie-friendly Guide to Flash crDroid on Redmi 5 Plus

Step 6. Copy that recovery.img file into the “platform-tools” folder (Step 3).

Step 7. Now enable USB debugging on your phone. You might have it enabled during bootloader unlocking process. However, it is a good practice to double-check it.

Enable Developer Options, go to:

Settings >> About phone >> tap the MIUI version 7x >> You are developer!

Enable USB Debugging, go to:

Settings >> Additional Settings >> Developer Options >> USB Debugging >> toggle it on.

A notification will pop up on your screen. Tap the “OK” button.

Flash TWRP and Root Mi 9T With These Proven Steps 2

Step 8. Next, connect your Mi 9T to your computer using its USB.

Step 9. Choose the “File Transfer” mode when asked (do not choose the charging mode).

Step 10. In Windows Explorer, go to the “platform-tools” folder. Hold down the Shift button on the keyboard, right-click anywhere within that folder, and choose “Open command prompt window/PowerShell window from here“.

Flash TWRP and Root Mi 9T With These Proven Steps 3

Step 11. Now type following lines of command. Hit Enter every each line to issue it.

adb devices
adb reboot bootloader
fastboot devices

The first line asks your computer to recognize your device. The second line instructs your phone to boot into bootloader mode a.k.a fastboot mode. You’ll see the Mi Bunny logo displayed.

Flash TWRP and Root Mi 9T With These Proven Steps 4

This instructs your computer to establish an ADB connection with your device while verifying any device attached. Second, this also reboots your device into Fastboot mode (bootloader mode). You will see your phone rebooting and you will also see the Mi Bunny Fastboot logo displayed.

17 Steps to Flash Orange Fox TWRP On Redmi Note 7 (Lavender) 3

Step 12. Next, type following command lines and hit Enter on keyboard:

fastboot flash recovery recovery.img

The first command flashes TWRP to the recovery partition. The process shall finish in a few seconds.

Step 13. It’s time to reboot into TWRP recovery for the very first time. Type this command but DO NOT hit the Enter key just yet:

fastboot reboot

Step 14. Grab your phone. Press the Power button and the Volume Up button simultaneously. Hold it for approximately 3 seconds, then hit the Enter key on your keyboard.

Step 15. Your phone is now entering TWRP recovery. Do the “Swipe to confirm system modification” action. Once swiped, you’ll be in the main menu of TWRP.

Step 16. LR. Team’s TWRP is in Chinese by default. You have to follow our previous guide on how to change its language to English.

Flash TWRP and Root Mi 9T With These Proven Steps 5


Please use this unofficial build of TWRP (instead of LR.Team’s) especially if your phone runs latest version of MIUI EU (EEA) – thanks to our reader Slothrop for the tips.


Step 1. Download Magisk zip file and transfer it to your phone. You can easily do this through Windows Explorer. The process is like copying a file to a removable drive (USB Disk).

Alternatively, you can copy the downloaded Magisk zip file into the “platform-tools” folder. Next, issue this command to copy the file to your phone:

adb push Magisk-v19.3.zip /tmp/

Step 2. Choose “Install” from the main menu.

Flash TWRP and Root Mi 9T With These Proven Steps 6

Step 3. Now locate the Magisk zip file in your phone’s internal storage. Usually, the zip file is in the /etc folder if you use the command above. Otherwise, find it in the location of where you copied earlier.

Step 4. Found it? Next, tap on its file name to select it.

Step 5. Next, do the “Swipe to confirm flash” action.

Step 6. The TWRP will do its magic and it’ll flash Magisk to your phone. Sit tight and wait for TWRP to finish the process.

Step 7. Finally, choose “Reboot” then choose “System” once done.

Voila! Your Xiaomi Mi 9T phone is now rooted!

Ran into problems? Do not hesitate to drop comments below.

Happy flashing!!

Credits: MIUI.com


27 thoughts on “Flash TWRP and Root Mi 9T With These Proven Steps”

  1. This guide helped me out a lot! I just bought a Xiaomi Mi 9T here in the Philippines a week or so ago, and followed this guide to root my new phone. Thanks!

  2. Fariez, Thank you for this guide.
    I’m planning to get a new Mi 9T, but I’m looking for it’s root first. I have some questions and I hope to answers from one have a root experience for Mi 9T.
    1- Which android version support for this root?
    2- Did I lose any OTA update if I root my device?
    3- Where can I find the Stock room form Mi 9T? to restore the device in case if it got bricked.

    1. 1. Android 9.0 Pie
      2. Rooting will not lose the OTA. However, flashing a custom recovery (TWRP) will. Unfortunately, the most common way to root is the Magisk-flashing method through TWRP. You can revive OTA using forked build of TWRP such as Pitch Black, Orange Fox, or Red Wolf (if available).
      3. Google is your best friend. Or, you can use the search form in this blog. 😉

  3. Thank you for your quick response. you give me an idea, can I boot from recovery just for once with flashing it?
    # fastboot boot recovery.img
    I thought this method will help for rooting the device without flashing the custom recovery, and losing the OTA. is that right?

      1. Had the same issue. now you can only flash a new rom with mi flash tool but if you flash a older rom then your phone is bricket like mine.
        You have to serch for Fastboot rom. others will not work.
        i bricked mit with a recovery Rom because i flashed a older Rom mit powersehll over a newer rom.
        I got stuck at the mi flashtool with the error “android anti rollback protection error”

      2. Hello, finally I unlocked my device. I followed your guide until the step 13, I did “fastboot boot recovery.img”
        C:\adb>fastboot.exe boot recovery.img
        Downloading ‘boot.img’ OKAY [ 1.404s]
        booting OKAY [ 0.127s]
        Finished. Total time: 1.560s

        but the device reboot to MI-Recovery 3.0
        can you help me? I don’t want to flash the custom recovery, just boot and root to keep my device receive the OTA.

      3. Step 14 does not work for me. The phone always goes to the MI logo screen.
        It also does not work when booting to the recovery image directly. Then it also takes me to the MI boot screen.
        Every other step worked successfully though, I have no idea what to do here.

        1. So the problem was the version provided here (Chinese TWRP by WZSX150) is not compatible with fully updated EU version of MIUI. To anyone encountering this issue: Use this fixed TWRP instead!

          It includes a handy script and the bootloop will be fixed and access to your ROM will be restored.

          1. Thank you, you clearly saved my day with your comment and link source, i knew it was my updated xiaomi 9T ( K20 ) who was the problem.
            Tried your link, the script and it all worked for me with the latest update MIUI ( to this day at least… lol )

        2. Guys i just want to root my mi 9t Global Stable 10.3.11 without replacing stock recovery.
          How do i do that and if anyone has done that what twrp did you guys used .
          Thank you 🙂

Leave a Reply

Your email address will not be published.