An unofficial build of TWRP Recovery for the Redmi K20 Pro is now available. In this tutorial, you will learn how to install TWRP recovery and root Redmi K20 Pro using Magisk.
The Xiaomi Redmi K20 Pro was released last month in June 2019. It 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), 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.
XDA Senior Member mauronofrio wasn’t far behind and released an unofficial build of TWRP recovery for the said phone. According to the developer, the available custom recovery is fully stable and supports encryption of data partition. With that available, you can now root Redmi K20 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.
With that info at hand, proceed below to the instructions on how to install TWRP recovery on Redmi K20 Pro and root it using Magisk.
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 during or after following this procedure.
- You must first unlock the bootloader of your Redmi K20 Pro. 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. Read our guide on how to install them on your Windows, Linux, or macOS PC.
- Download and install the latest USB drivers for Redmi K20 Pro.
- Unofficial TWRP Recovery for Redmi K20 Pro: twrp-3.3.1-1-raphael.img
- Magisk Installer zip: Magisk-v19.3.zip (have a look at the complete changelog for Magisk-v19.3).
Steps to Install TWRP Recovery on Redmi K20 Pro
- Download the TWRP Recovery image file.
- Connect the Redmi K20 Pro to PC using the USB cable.
- Go to the folder where the ADB and Fastboot tools are installed (C:\adb would be the location if you followed our guide).
- Move the TWRP Recovery image file (twrp-3.3.1-1-raphael.img) to that folder.
- Hold the ‘Shift’ key and right-click on an empty space inside the ADB and Fastboot folder.
- Select ‘Open PowerShell window here’ to launch the PowerShell command window on the PC.
- Press ‘Power’ and ‘Volume Down’ buttons together to boot Redmi K20 Pro into Fastboot Mode.
- Now type the below code to install the TWRP Recovery on Redmi K20 Pro:
fastboot flash recovery recovery_name.img
Replace ‘recovery_name’ with the actual filename of the TWRP Recovery image. For example, in this case, the code would be:
fastboot flash recovery twrp-3.3.1-1-raphael.img
IMPORTANT: Executing the above command will install the unofficial TWRP Recovery on Redmi K20 Pro. But don’t reboot your device to Android System yet. It would result in bootloop and DM-Verity will also be triggered. Not only this, but the unofficial TWRP Recovery would also be replaced by the Xiaomi stock recovery.
In order to prevent this, you must boot your Redmi K20 Pro directly into TWRP recovery. To do that, hold the Power button until the screen turns black. As soon as the screen turns black, press and hold the Volume UP and Power buttons together.
With the device now booted to TWRP Recovery, follow the below steps to Root Redmi K20 Pro using the Magisk zip file.
How to Root Redmi K20 Pro?
- Download the Magisk installer zip file.
- Connect the Redmi K20 Pro to PC via USB cable.
- In TWRP go to ‘Mount’ and tap on the ‘Enable MTP’ option.
- Copy the Magisk installer zip file to the device’s internal storage.
- Go back to TWRP main screen and tap the ‘Install’ button.
- Navigate to Magisk-v19.3.zip file and select it.
- Swipe the ‘Swipe to confirm flash’ button to install Magisk and root Redmi K20 Pro.
- Now go to the ‘Reboot’ option and select ‘System’.
Your device will boot to Android System and will be rooted with Magisk. Now go ahead and try various rooting activities like tweaking your kernel 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 apps.
So this was the guide on how to Install TWRP Recovery on Redmi K20 Pro and Root it using Magisk. Note that this post will be updated with the official TWRP Recovery once it gets released. In the meantime, if you are having any doubts with respect to any part of the guide, do ask us in the comment section.