Some users of Xiaomi Mi 9 become hesitant to unleash its true potential. Some others simply can’t wait for their devices to arrive and immediately unleash the best beneath the awesome Mi 9 body.
The key stage to a success of Mi 9 beast unleashing is a custom recovery. Replacing the stock MIUI Recovery with a custom one allows users to flash almost anything including custom ROMs, Magisk root, tweaks, and mods.
Therefore, you will need a custom recovery to bring your Mi 9 device to a higher level of a flagship phone.
This article will guide you through the steps necessary to flash TWRP recovery and to root Xiaomi Mi 9 (codename Cepheus).
We will use a TWRP installer toolkit. This is to simplify the process of flashing TWRP.
Traditionally, you will need to type some geeky commands which are not fairly easy to remember. This tool requires you to press 1, 2, or Enter keys on your keyboard. No complicated things to remember. Simply follow the on-screen instruction and you are practically done.
Despite this method is easier, we strictly encourage you to create backup of all your crucial data and files. This method needs unlocked bootloader. Its process makes you factory reset your phone and hence you’ll lose your files.
- You will need a Windows computer either a PC or a Laptop. Windows 8/8.1/10 64-bit is recommended.
- A Type-C USB data cable. Make sure it’s a data cable and not a charging-only cable.
- Download ADB Fastboot Driver (zip).
- Download TWRP installer toolkit (zip).
- Download latest version of Magisk root (zip).
- Download Disable Force Encryption (zip).
This section explains several basic steps before actually flashing the TWRP. This is necessary to prepare all the requirements. You may skip all steps in this section if you have done so.
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\.
Step 3. 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.
HOW TO INSTALL TWRP ON MI 9
Step 1. Extract the TWRPFlasherMi9Cepheus.zip file. You’ll get a folder called “TWRP Flasher Mi 9 Cepheus” with several files in it.
Step 2. Grab your phone. Enable Developer Options and USB Debugging (if you haven’t done it yet).
Enable Developer Options on Mi 9:
Settings >> About phone >> tap the MIUI Version several times >> Congratulation, you are developer!
Enable USB Debugging on Mi 9:
Settings >> Additional Settings >> Developer Options >> USB Debugging >> toggle it on (switch on).
Step 3. Now grab the USB cable and connect your phone to your computer. Make sure the connection type is MTP (Transfer files).
Step 4. Now copy the Magisk (Magisk-v19.0.zip) and Disable Force Encryption (Disable_Dm-Verity_ForceEncrypt_09.02.2018.zip) files to your phone internal storage.
Step 5. Turn off your phone completely.
Step 6. While it is off, press the Volume Down and Power buttons simultaneously until you see the MIUI BUNNY Fastboot logo.
Step 7. In Windows Explorer, go to the folder of where you’ve extracted the toolkit.
Step 8. Next, simply double-click the “TWRPFlasherMi9.bat” file to run the tool.
Step 9. Choose between option 1 and option 2. The first option flashes TWRP v3.2.3-0 which is an unofficial build by wzsx150 from LR.team. The next option flashes TWRP v3.2.3-10 which is the unofficial one by Mauronofrio from XDA.
We recommend you to choose option 2. The default language of the first TWRP is Chinese (but you can change it with some efforts).
Step 10. Type 2 on your keyboard (for instance) then hit Enter key.
Step 11. As your phone has entered the Fastboot mode, you can simply hit Enter key to proceed.
Step 12. The toolkit will check for your device codename and bootloader unlock status. Make sure that all the requirements satisfied.
Step 13. Hit Enter key and the tool will start flashing the TWRP on your phone.
Step 14. Once done, simply hit Enter key again.
Step 15. Now the phone will reboot into TWRP recovery mode automatically.
Step 16. Next, do the “Swipe to allow modification“.
Step 17. You will enter the main menu of TWRP.
p.s: There is always a chance that your phone may not reboot to TWRP automatically. If it does, you can reboot manually by pressing Power and Volume Up buttons simultaneously.
Check also: How to change language in LR.Team TWRP to English.
HOW TO ROOT MI 9
Step 1. Choose “Install” from the main menu.
Step 2. Locate the Magisk zip file that you have copied earlier. Tap on it to select it.
Step 3. Do the “Swipe to confirm flash” action. Wait for the flashing process to finish.
Step 4. Once done, go back to the main menu and choose “Install” again.
Step 5. This time you need to find the Disable_Dm-Verity_ForceEncrypt_09.02.2018.zip file (or Lazy Flasher). Tap on it to select it.
Step 6. Again, do the “Swipe to confirm flash” action. Wait for the flashing process to finish.
Step 7. Finally, reboot your phone.
That’s it and congratulation! You have successfully install TWRP and root Xiaomi Mi 9 (cepheus).
You can check its root status using Root Checker app available here.