Home Tricks How to Install TWRP Recovery and Root Xiaomi Mi A1

How to Install TWRP Recovery and Root Xiaomi Mi A1

8 min read

Install TWRP Recovery and Root Xiaomi Mi A1: TWRP recovery is a custom version of stock recovery which is used to flash custom ROMs. It is highly popular and is one of the most preferred methods used while rooting or installing custom ROMs.

If you are a user of Xiaomi Mi A1, then there is incredibly good news for you. You have the opportunity to easily root your device by installing TWRP. All that is needed is unlocking the bootloader of your device which will grant you the root access on your phone with the assistance of TWRP recovery.

The whole process is fairly simple and can be completed within 10-15 min. We have already mentioned that one of the most preferred uses of TWRP recovery is that you can use it to flash custom ROMs on your device with the help of stock recovery. So let us see How to Install TWRP Recovery and Root Xiaomi Mi A1.


  1. This guide only for Xiaomi Mi A1.
  2. Unlocked Bootloader.
  3. Remember to take a backup of your files before beginning to install TWRP and root your device.
  4. Your device must have more than 50% battery to prevent the sudden shutdown.


ADB Drivers for  Windows /  Mac

TWRP recovery zip for Xiaomi Mi A1 – Coming Soon (Watch This Space)

 Latest Magisk ZIP |  Magisk APK


Steps to Install TWRP Recovery and Root Xiaomi Mi A1

Install TWRP Recovery

  1. First Install Unlock Bootloader of your device.
  2. Download and Install ADB drivers.
  3. Now, download Xiaomi Mi A1 TWRP recovery ZIP.
  4. Move downloaded TWRP ZIP file to ADB folder and rename the zip file to “TWRP”.
  5. Enable the USB debugging on your device after enabling ‘Developer Options’ by going to ‘About phone’ and tapping build number 7 times.
    Install TWRP Recovery
  6. Go to the folder you created in Step 3 and then press “Shift + Right mouse key” and tap on “Open command window here.”
    Install TWRP Recovery
  7. Now connect your device to the PC using a USB data cable.
  8. Boot your device into “Fastboot” mode and give the following command reboot bootloader,
    adb reboot bootloader
  9. Your device will start booting in fastboot mode. Now to flash recovery image on the device type the following command.
    fastboot flash recovery TWRP.img

    To Bypass device encryption you have to format user data.

    fastboot format userdata

That’s all! You have rooted your Xiaomi Mi A1 using TWRP recovery. It can be checked by long pressing “Volume down + power” buttons until your device boots into recovery mode.

Root Xiaomi Mi A1 via TWRP recovery

  1. Download SuperSU or Latest Magisk Zip from above link and save the downloaded zip file into your device
  2. Reboot your device into TWRP Recovery.
    1. Switch off your device.
    2. Press and hold “Volume down + Power” buttons until you see anything on the screen.
  3. Now in the TWRP main menu, Click on Wipe and swipe to factory reset on the bottom of the screen.
  4. Go back to the main menu in TWRP, tap on install and select the SuperSU or Magisk zip file which you have saved in your device.
    Install TWRP Recovery
  5. After selecting the magisk or SuperSU zip file, do swipe to confirm flash to begin the installation process.
  6. Once the installation process is completed, You will see Wipe cache/Dalvik option, tap on it and Swipe to wipe.
  7. After flashing magisk or SuperSU, reboot your device from the main menu.
  8. Done!!!

Hope you have installed TWRP Recovery and Root Xiaomi Mi A1. Let us know if you have any queries in the comment section below.

Get more stuff like this

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

  • How to take a screenshot on the Xiaomi Mi A1

    The latest entrant of Android One series is out in the form of Xiaomi Mi A1. It is a power…
  • How to Root Xiaomi Mi A1 Without PC

    So do you want to root Xiaomi Mi A1 without Pc? If yes then you are at right place today w…
Load More Related Articles
Load More By Janu Bairiha
Load More In Tricks

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

How to Update Coolpad Note 3 Lite to Android 8.0 Oreo

So do you want to Update Coolpad Note 3 Lite to android 8.0 Oreo? If yes then you are at r…