How to install TWRP Recovery and Root Xiaomi smartphones

twrp banner

Xiaomi has been a top-performing smartphone brand in Global markets and especially in India. The value proposition their smartphones provide is unmatched. A huge chunk of the developer community is also very actively working on these smartphones.

Scrolling through a number of Android user communities, you can notice the number of tweaks and custom ROMs that you can flash on these smartphones. Doing this all requires a certain set of skills and tools, the biggest tool of them all is a custom recovery. One of the forerunners in the custom recovery race is the TeamWin Recovery Project or TWRP.

In this post, we will explore the steps to flash a TWRP recovery on a Xiaomi smartphone followed by rooting the phone with Magisk. But before getting into the guide, we should dwell on what TWRP is and what it can do.

What is TWRP recovery?

TWRP stands for TeamWin Recovery Project. It is an open-source and entirely GUI-based custom recovery for Android devices. The reason why it’s so popular is because of the fact that it allows Android users to enjoy fully touch-based UI and flash custom ROMs, MODs, Magisk, SuperSu, etc. There are further features like Full System backup that come in handy during these customization sessions.

EverythingXiaomi.com is not responsible for any kind of damage to data or device while performing this task. Flashing a custom recovery voids the device’s warranty and might result in full data loss. You are proceeding at your own risk.

Install TWRP on Xiaomi smartphone

Before we start with the installation process, it is advised that you stick to the guide and follow the instructions line-by-line.

Pre-Requisites:

  • Make sure the phone’s battery is charged above 65%.
  • Backup your Data on any external media or perform a Nandroid backup.
  • Download ADB and Fastboot Drivers on the PC/Laptop.
  • Download the latest Xiaomi USB Drivers on the PC
  • Download the recovery file from the Official TWRP website for the specific model and save twrp-recovery.img it to the Extracted folder of ADB – Fastboot drivers.
  • Unlocked Bootloader on the Xiaomi smartphone.

Procedure to install TWRP on Xiaomi smartphone

  • You first need to have an unlocked bootloader on your Xiaomi smartphone, so if that’s not done, follow our guide for the same.
  • Connect your phone to the PC and look if the OEM Unlock is turned on from the developer settings.
  • Extract ADB and Fastboot drivers in a folder and open the cmd or PowerShell by pressing Shift key + Right-Clicking in the same folder.
  • Now type the following command [adb reboot bootloader] to reboot the Xiaomi smartphone into the fastboot mode (Note: You might get a USB debugging permission on your smartphone, so accept the pop-up).
  • Now place the twrp-recovery.img to the same folder where you have extracted the ADB & Fastboot drivers.
  • Type this [fastboot flash recovery twrp-recovery.img] command to flash the TWRP image you download.
  • After the successful flashing, reboot the phone using the [fastboot reboot] command.

If you followed the guide correctly up to the last step, then you have successfully installed TWRP Recovery on Xiaomi smartphone. The thing to note here is that this is an unofficial TWRP build made by individual developers and the build has not been vetted by the TWRP team. So you can get some bugs upon installing it, and it is advised to take a full backup just in case things go sideways. Let us now flash the Magisk module to get root access on the phone.

Procedure to root Xiaomi smartphone

magisk manager

Before we start this, make sure you download the latest version of Magisk from here and place the file on to the internal storage of your phone.

  • It’s always recommended that you take a full backup of the phone but if you’re doing this immediately after install TWRP recovery, there is no need to make a separate backup.
  • Now reboot your phone into TWRP recovery by pressing the volume up and power at the same while the phone is being turned on.
  • Now, Select “Install” from the TWRP and browse for the Magisk.zip file. Tap on it to select it.
  • Now, “Swipe to confirm flash” action.
  • Upon successful installation, select “Install” once again and locate the “no-verity-force-encrypt.zip” file. Tap it to select it.
  • Again “Swipe to confirm flash” action.
  • Reboot System from TWRP Recovery.
  • With the first boot, you might see a Magisk app on your phone, this is how you will be able to check the root status and download and install Magisk Modules for your Xiaomi smartphone.
  • If everything checks out till now, you should have root access on your phone.
  • Just to double-check, you could install the Root Checker app from the play store which should reflect the root status.

By now you have successfully flashed a custom recovery and root on your Xiaomi smartphone and if everything is done correctly this process won’t take much more than a couple of minutes.

Tags

About the author

Yogesh Brar

The guy recommending you tech products & living on the Internet.

Add Comment

Click here to post a comment