How to ROOT Xiaomi Mi 9 Lite/Mi CC9, Install TWRP Recovery. How To Install TWRP Recovery On Xiaomi Mi 9 Lite and Root with Magisk. Root Mi CC9 and install TWRP Recovery
These operations work on bootloader unlocked devices. Bootloader lock removal support is officially provided by Xiaomi. If you have the Mi 9 Lite/Mi CC9 model and you have not unlocked your bootloader, you can unlock your Bootloader by going to the topic below.
WARNING: There is a slight risk of crash due to interference with the bootloader and recovery of the phone. remember to back up the information on your phone (Contacts, Applications, Internal Storage) before starting this process. If you follow these procedures, you assume full responsibility.
Process 1: Xiaomi Mi 9 Lite/Mi CC9 TWRP install
adb-setup.exe > Download
For Android 10 TWRP > Download / Mirror = Copy the recovery.img and misc.bin files in the Local Disk C:/adb folder.
For Android 9 TWRP > Download / Mirror = Copy the recovery.img and misc.bin files in the Local Disk C:/adb folder.
Disable_Dm-Verity_ForceEncrypt.zip > Download
Magisk.zip > Download
Preparation 1: Open developer options
- To open the developer menu is hidden, go to Settings > About phone.
- Press “MIUI version” 5-6 times in a row.
- After pressing the MIUI version 5-6 times, “You are now a developer” will be displayed.
Preparation 2: Turn on OEM lock and USB Debugging
- To unlocking: Go to Settings > Additional settings > Developer options.
- Enable the “OEM unlocking” and “USB debugging” options here.
Step 1: First, press Win + R together on the keyboard. In the Run window that opens, type the following code, and then press ENTER.
cmd.exe /k "cd C:\adb"
Step 2: When the black screen window opens, connect the phone to the computer with the screen open and type the following “adb devices” code and press ENTER. on the screen of the phone says “Allow USB Debugging?” a warning will come; Check the Always allow this computer check box and press “OK”.
Step 3: Then, to get our phone into fastboot mode: Type the following “adb reboot bootloader” code on the black cmd screen and press “ENTER” on the keyboard.
adb reboot bootloader
Step 4: After entering the above code and entering from the keyboard, the device will enter fastboot mode. Then type the following code, and then press ENTER. This is the code that will load the TWRP.
fastboot flash recovery recovery.img
fastboot flash misc misc.bin
Step 5: TWRP Installation is finished. Now we have to turn on the phone in TWRP mode. Note that TWRP was loaded but it was not permanent. If the phone starts normally, the TWRP is deleted. To start the phone in TWRP Mode: Disconnect the phone from the USB and press and hold the Volume Up + Power key until the phone hangs up and vibrates. Release the keys after vibration.
Once TWRP Mode is turned on, we can proceed to Patch and Root.
Process 2: Root Xiaomi Mi 9 Lite/Mi CC9
Step 1: In the TWRP Mode, tap the Keep Read Only Button. Then touch the Wipe and Format Data buttons. Enter “yes” in the inbox and press the blue “ENTER” button. Then press the Center key and move to the TWRP Home screen. Then tap Reboot > Recovery.
Step 2: Your device will turn off and on again in TWRP mode. In the TWRP, tap Keep Read Only. Now With the phone plugged into the computer, copy the Disable_Dm-Verity_ForceEncrypt.zip and Magisk.zip files to the internal storage of My Computer / phone. Disconnect the phone from the USB. Now tap the Install button on the TWRP main screen. Then select Disable_Dm-Verity_ForceEncrypt.zip and drag the Swipe to install button to the right. If you get red text during installation, come back and install again. Finally, install the Magisk.zip file in the same way.
Step 3: Now press the Center key to move to the TWRP main screen, and then tap Reboot > System. This will open your root-loaded phone.
Final: Finally, when the phone is switched on, you will find Magisk Manager among the applications. This is the application that manages root permissions. Never update Magisk!