Root Xiaomi Mi A1 Pie 9.0 using TWRP and Install Magisk

Xiaomi Mi A1 series comes with Android One From Google. Your mobile will receive regular patch updates for Two years. So, You will receive updates until the end of 2019. Xiaomi Mi A1 already received Pie 9.0 upgrade. Due to you have enough Hardware with Stock Android, Rooting is not required, in my opinion. Most of the users root their mobile because they hate their Manufacturer’s Custom Skin OS. If MIUI in the mobile, you may consider about rooting. Most of the Custom ROMs are based on Stock Android. So, there is no need to flash other ROMs when you already have Android One. But, If you are a root user or regular root required apps user, you can achieve root by the below steps. Ordinary people may not need root. It will trigger security on your mobile. So, the mobile will not get Official updates from Google.
Xiaomi Mi A1 with Red and White Texture Background

Why should you Root Xiaomi Mi A1?

We thank the TWRP team and XDA Developer- mohancm. Without the TWRP developers work, this process can’t happen. If you want to root your mobile, you should have a proper reason, and you know what you are doing. Yes, with a minimum of 4 GB RAM and Qualcomm MSM8953 Snapdragon 625 processor, You can use this mobile without root for 2-3 Years If you use correctly. You also have Android One version. Don’t root because everybody is saying when root your mobile it can become fastest. No. Rooting is to extract some performance from the device. But, you already have Powerful specs and software. So, If you are addicted to some root apps, you can root. But, if you want to test, I won’t recommend it.

How to Root Xiaomi Mi A1 Pie 9.0

Xiaomi Mi A1 International Variants comes with a flexible bootloader other than some locked devices. Example- In Samsung, Verizon mobiles come with locked Bootloader. This means that different smartphone variants can be easily rooted. Also, the device can accept to install TWRP recovery or any other custom recovery file/app alike.

TWRP recovery is a custom recovery file which must be installed on your devices because you can root them successfully. In this article, we explained the easiest method to follow and install TWRP recovery on Xiaomi Mi A1. However, the tool required for rooting this device is the Magisk App.

With the help of TWRP Recovery, you can quickly flash the latest version of Magisk into your Mi A1 to gain root access. Before sharing the tutorial, you may want to know that, with the TWRP recovery present on your device, you can easily install any custom ROM or firmware. Does it seem complicated? Relax, everything will be explained succinctly in bullets.

Things to check out for;

  • Make sure your device battery is charged above 50%

  • Backup your current files and data, full data loss process (save them on external storage).

Pre-Requirement StepsOnePlus 6T OEM Unlock and USB Debugging

  • Enable USB Debugging Mode and OEM Unlock on your mobile. To do this; go to settings >>> about >>> Tap on the “Build Number” 7-10 times consistently to enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock and Enable the ‘Advanced Reboot.’ There is no complicated process in Xiaomi Mi A1.

  • Also, download the ADB drivers. Install it on your PC.

  • Download Magisk.Zip (Latest Version) and Copy it to Your Phone Memory.
  • Download and save the TWRP Recovery on your PC and rename the recovery file to recovery.img.

  • Download and save the TWRP Installer on your mobile.

Unlock Bootloader using ADB and Fastboot

  • It is an Android one device. So, you don’t have to contact Xiaomi for the Bootloader unlock process.
  • Switch off your device. Connect your mobile to the PC. Then, enter into Fastboot mode. To do this; Press and hold down the Volume Down + Power buttons at the same time for some time. It will boot your mobile into Fastboot mode.
  • Launch the fastboot on your computer. Open a Command prompt on your PC and type below command.

  • fastboot oem unlock

Xiaomi Mi A1 OEM Unlock Command

  • It will display the warning screen on your mobile.

Xiaomi Mi A1 Bootloader Screen

  • It will take 2-3 minutes to finish the process. After the successful process completion, Reboot your mobile.Xiaomi Redmi Note 7 Fastboot

  • Check again enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock and Enable the “Advanced Reboot.” Sometimes they disabled them self after the boot.

Flash TWRP

Xiaomi Mi A1 Fastboot Mode

  • Switch off your device. Connect your mobile to PC. Then, enter into Fastboot mode. To do this; Press and hold down the Volume Down + Power buttons at the same time for some time. It will boot your mobile into Fastboot mode.
  • Now, connect the Xiaomi Mi A1 mobile to the computer via USB cable.

  • Launch the fastboot on your computer. Open a Command prompt on your PC and type below command.

  • fastboot flash recovery recovery.img
  • Don’t boot into Normal OS. Type the below command to Boot into TWRP.

  • fastboot boot recovery.img
  • After the process complete, It will boot into the temporary TWRP. Don’t Boot into standard OS until we flash magisk.

Install TWRP Installer, Magisk and Disable Force Encryption Treble in your Xiaomi Mi A1 using TWRP

Xiaomi Mi A1 TWRP

  • Select Wipe->Advance Wipe->Select Cache Data.
  • Return to Home of TWRP select Install.
  • Select Disable Force Encryption Treble.Zip.
  • After the Installation Again navigates to Home and Select Install.
  • Select TWRP Installer.Zip. After the successful installation, the Same process goes for Magisk Installation. After Installing all three files, Reboot your mobile.
  • Don’t use Add more Zips in Installation. Install files one by one. You can also install Magisk Manager in your Mobile Applications. Install Root checker to verify your Root Status.

What More?

Xiaomi Mi A1 has a minimum of 4 GB RAM, and it is a Good Mid-Range phone; There are Major regular updates and monthly updates, from Xiaomi for a long duration. If you compare it with Old devices, they still receiving updates. So, you know what you are doing and the real purpose, you can root your device. This mobile is free from MIUI Ads due to the OS is from Direct Google.

Share This Post:

20 thoughts on “Root Xiaomi Mi A1 Pie 9.0 using TWRP and Install Magisk

    • Hello sir, I flash twrp recovery and then after someday. I think to change my rom to MSM-Xtended rom. But the problem is that I flash that rom using twrp and then flash twrp for permanent, but it is not flashed successfully, and suddenly, I pressed the reboot button. I forget to flash magisk and gapps. But now not even twrp is flash using bootloader on PC it says “(cmd failed remote partition table doesn’t exist)” what can I do now, sir. Please, help me fast.

      • Flash Official Stock ROM using ADB and Fastboot. After the successful flash, Clear User data in the Stock Recovery. We have to recover the partition. Do these steps. If you need Root, you can do it after your mobile recover.

    • Disable Encryption is used to Avoid Encryption issues on your mobile that may cause boot loop issues. Before the Magisk, Install Disable Encryption. If you can’t install, skip the step. It can’t be installed in Some Build numbers.

    • Yes, Mi A1 uses Project Treble. But, some region dependent build number versions make issues after the TWRP flash and in first boot. To avoid these issues, We have to flash the encryption. It is optional.

  1. Hi Ganesh, I followed the steps and rooted my phone successfully, but the only problem I am facing in TWRP Recovery.
    When booting in TWRP, it tells me to give a password to decrypt data to Mount, although I am giving the correct password as my phone it’s giving wrong password error. And if I hit cancel on the password screen then I cannot access any files from TWRP (It shows me on Storage – Internal 0mb)
    I tried Formatting my device and again rooted, the problem still exists.

    Should I have to install another version of TWRP?
    Could you please help me with the problem?

    • Take a complete backup. Flash no-verity-encrypt. When you can get the files again, You have to perform user data reset.

      • Friend, with your tutorial I managed to install TWRP, it was the only one that worked, however, when I start the phone after installing TWRP, the device’s Wi-Fi does not work, I try to connect it and a half.

        • Did you check it with other Wi-Fi? If you can’t connect with other Wi-Fi. Dial *#*#4636#*#* and restart the Wi-Fi connection. Don’t change different settings.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.