The Custom Droid

Android Tutorials, Tips and Tricks

How to Install TWRP Recovery on Xiaomi and Redmi Devices

How to Install TWRP Recovery on Xiaomi Devices

We previously covered how you can easily unlock the bootloader on Xiaomi smartphones. And in this tutorial, we will show you how to Install TWRP Recovery on Xiaomi and Redmi devices.


The process of installing TWRP is generic through all the Xiaomi devices that support the custom recovery. So, irrespective of the device you have, the process is same for all (For most, at least). TWRP or TeamWin Recovery Project is one of the most renowned custom recovery for Android phones and tablets. It is an open-source recovery that offers several features including touch-support. TWRP is a third-party recovery console that allows you to perform several actions on your device that aid in customizing your Xiaomi or Redmi device, like flashing custom ROMs, kernels, or even mods like Xposed Framework, etc. Such actions or features are pretty much not possible in the stock recovery that comes inbuilt on a device. Now that you know about it, proceed to the instructions below and learn how to install TWRP recovery on Xiaomi or Redmi devices.

How to Install TWRP Recovery on Xiaomi Devices
How to Install TWRP Recovery on Xiaomi Devices

Page Contents

Guide to Install TWRP Recovery on Xiaomi/Redmi Devices

Installing TWRP should not harm your device. However, messing with the recovery options may result in complete data loss or an unbootable device. While these things can be fixed, it will be best if you follow the instructions in this tutorial very carefully.


Once you have fulfilled the requirements, go ahead and follow the instructions to install TWRP recovery on Xiaomi and Redmi Devices.

Download TWRP Recovery for Xiaomi/Redmi Devices

You can easily install TWRP recovery on Xiaomi devices by flashing the recovery image file through fastboot. We will be taking the Redmi Note 4X as an example for this tutorial. The complete process wouldn’t take more than a few minutes. So let’s get started!

Instructions to Install TWRP Recovery on Xiaomi/Redmi

  1. Download TWRP recovery image for your Xiaomi/Redmi device.
  2. Keeping in mind that you have enabled USB debugging and have ADB access to your device, move the downloaded recovery image file (Example: twrp-3.1.1-0-mido.img) to C:\adb.
    • This is the folder where all the ADB/Fastboot binaries are present.
  3. Now, plug your Xiaomi device to the PC using USB cable.
  4. Boot your device into bootloader mode. You can simply enter the command below in Command Prompt or Terminal window. Or you can power off your phone completely and then hold the Volume UP and Power keys until you see the bootloader screen.
    adb reboot bootloader
  5. So, type the below command and enter to verify that your device is connected in fastboot mode:
    fastboot devices
    How to Install TWRP Recovery on Xiaomi/Redmi - Fastboot Devices


  6. As soon as you enter the command, the CMD/Terminal window will return a device ID.
  7. If it doesn’t then make sure that you go through with the Prerequisites again and install proper drivers. Also, make sure that you have setup ADB access properly.
  8. Finally, install TWRP Recovery on Xiaomi/Redmi device by entering the command:
    fastboot flash recovery recovery-image-filename.img


    fastboot flash recovery twrp-3.1.1-0-mido.img
  9. The TWRP flashing process will not take more than a few seconds. When it is complete, reboot your device finally.
    fastboot reboot
  10. You have been successful to install TWRP Recovery on Xiaomi device.

Now, you can boot into TWRP recovery Mode by pressing and holding the Volume Down + Power keys together. You may go ahead and try a few custom ROMs or install some popular mods like Xposed Framework or Dolby Atmos.

I hope you enjoyed this guide. Please do share with other too.

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.