An unofficial build of TWRP Recovery for the Redmi K20 Pro is now available. You can follow this tutorial to install TWRP recovery and root Redmi K20 Pro/Xiaomi Mi 9T Pro using Magisk.
Back in June 2019, Xiaomi released the Redmi K20 Pro in India and China, also known as the ‘Xiaomi Mi 9T Pro‘ for the global market. The phone boasts some exceptional specifications and is sure to give its competitor a run for their money. Powered by the Snapdragon 855 processor and 6GB of RAM, it would surely provide among the smoothest user experience.
On the software front, although the phone runs MIUI based on the latest Android version (Pie, and now even Android 10 Q), the OEM software is still full of gimmicks. Users would often want to move away from that by installing a custom ROM like LineageOS 16, HavocOS, etc or by rooting the phone. But in order to do either, one must install TWRP recovery on Redmi K20 Pro/Mi 9T Pro.
XDA Senior Member mauronofrio wasn’t far behind and has already released unofficial TWRP recovery for the Redmi K20 Pro/Mi 9T Pro. According to the developer, the available builds are fully stable. All features including /data partition decryption, MTP, Nandroid backups, etc work too. Moreover, the latest build also supports the Redmi K20 Pro running Android 10 Q.
With TWRP available, you can easily root Redmi K20 Pro/Mi 9T pro using Magisk. Rooting your phone via Magisk has several benefits. For starters, you can install Magisk Modules to add third-party features to the OS or use the MagiskHide feature hide root from certain root-detecting apps. It also facilitates easier OTA installation when device is rooted.
Without any further ado, proceed to the instructions below.
Installing TWRP, rooting, or performing any of the procedures mentioned in this guide is risky. Make sure that you fully understand the risks involved and the instructions provided here before you proceed.
TheCustomDroid.com or any of its members shall not be held responsible for any damage that happens to your Redmi K20 Pro/Xiaomi Mi 9T Pro during or after following this procedure.
Step 1: Fulfill the Requirements
Ensure that you fulfill all the requirements stable below before you head over to the next step.
- The bootloader of your Redmi K20 Pro/Xiaomi Mi 9T Pro must be unlocked. If not already unlocked, then follow the detailed insturctions here on how to do it.
- It is extremely important to have a backup of your entire device. Although the instructions here wouldn’t wipe any data stored on the device, it is always wise to take a complete backup first hand in case anything goes sideways. If you need help, you may also refer to our guide on how to create a full backup of your data on Android devices.
- In order to avoid any sudden shutdowns, make sure to keep your device charged to at least 50%.
- The process also involves the use of Android SDK platform-tools like adb and fastboot. So make sure that you install them on your PC.
- Download and install the latest USB drivers for Redmi K20 Pro.
Step 2: Downloads
- Unofficial TWRP Recovery for Redmi K20 Pro:
- twrp-3.3.1-25-raphael-mauronofrio.img (Latest build)
- Magisk Installer zip: Magisk-v20.1.zip (Check here for the latest available version).
Step 3: Install TWRP Recovery on Redmi K20 Pro/Xiaomi Mi 9T Pro
- Download the TWRP Recovery image for your Redmi K20 Pro/Mi 9T Pro.
- Copy the downloaded TWRP file to the folder where the Android SDK platform-tools are installed (e.g. C:\adb).
- Hold the ‘shift’ key and right-click on an empty space inside the same folder.
- Select the ‘Open PowerShell window here’ option to launch the PowerShell command window on your PC.
- Now, power off your Redmi K20 Pro/Mi 9T Pro completely.
- Boot your phone into Fastboot Mode by pressing and holding the ‘Power’ and ‘Volume Down’ buttons together.
- Connect your phone to the PC using the USB cable now.
- Enter the following command in the PowerShell window to ensure that your phone is being detected over fastboot:
- The command should return a device ID. In case it doesn’t, make sure that you install Xiaomi USB drivers on your PC and reconnect your phone.
- Now enter the following command to install TWRP recovery on your Redmi K20 Pro/Mi 9T Pro:
.\fastboot flash recovery twrp-3.3.1-25-raphael-mauronofrio.img
- Note: If you have downloaded a newer version of the TWRP recovery image, then make sure that you replace the filename in the command above with the filename of the new image.
IMPORTANT: It is important that you must directly boot your phone into TWRP recovery mode. If your phone tries and boots into the OS, DM-Verity will be triggered and the newly installed TWRP recovery will be replaced by the stock MIUI recovery.
So, boot your Redmi K20 Pro/Mi 9T Pro directly into TWRP recovery mode by entering the following command in the PowerShell window:
fastboot boot twrp-3.3.1-25-raphael-mauronofrio.img
With the device now booted to TWRP Recovery, proceed to the next step for the rooting instructions.
Step 4: Root Redmi K20 Pro/Xiaomi Mi 9T Pro using Magisk
- Download the Magisk installer zip (Magisk-v20.1.zip) file.
- Connect the Redmi K20 Pro/Xiaomi Mi 9T Pro to PC via USB cable.
- Go to the ‘Mount’ menu in TWRP and press the ‘Enable MTP’ option.
- Copy the downloaded Magisk zip file to the device’s internal storage.
- Disconnect the device and go back to the TWRP main screen.
- Now, tap on the ‘Install’ button and select the ‘Magisk-v20.1.zip’ file.
- Swipe the ‘Swipe to confirm flash’ button to flash the Magisk zip file and root your Redmi K20 Pro/Mi 9T Pro.
- Finally, reboot your phone by pressing the ‘Reboot System’ button.
Your device will boot to Android System and should be rooted with Magisk. You should also see ‘Magisk Manager’ installed on your phone now.
So go ahead and explore some customization options at hand. Like you can tweak the kernel parameters with Kernel Adiutor, edit your system’s build properties via the buildprop editor or theme your device with Substratum Theme Engine. You could also try the MagiskHide feature to hide root from certain root-detecting apps like Pokemon Go, etc.
So this was the guide on how to root Redmi K20 Pro/Xiaomi Mi 9T Pro and install TWRP recovery on it. Note that this post will be regularly updated with the latest TWRP builds and root packages. In the meantime, if you are having any doubts with respect to any part of this guide, do ask us through the Comments Section.