Skip to main content

Guide To Root Mi A2 / A2 Lite and Install TWRP Recovery

In this guide, you will get to know How to Root Mi A2 / A2 Lite Using Magisk and Install TWRP Recovery. So, go through the guide below to root your Xiaomi device right now.
Mi A2 / A2 Lite is the successor to the Xiaomi’s Mi A1. We have already covered a guide on how to root Mi A1 using magisk. So, check it out if you’re interested in. Now, let’s take a quick look at the Mi A2 device specifications. So, Mi A2 is a Google or Android One powered smartphone that comes with great hardware configurations like 2.2GHz Qualcomm Snapdragon 660 octa-core processor and Android v8.1 Oreo (upgradable to Android Pie), etc.
Note: Before the users head over to the rooting guide below, I would like to inform that the users who have upgraded their Mi A2 / A2 Lite to Android pie need to follow a different guide on the rooting process that needs Forced-Encryption Disabler to be installed first. So, if your Xiaomi device is running over Android Oreo, then only you can proceed.

Guide To Root Mi A2 / A2 Lite and Install TWRP Recovery

There’s good news for the Mi A2 and A2 Lite users that finally official TWRP Build for their devices has been rolled out. Using which uses can flash Magisk on Mi A2 and A2 lite to root the Android.
For this official TWRP Build, we should be thankful to the XDA Member – TingyiChen and the whole TWRP Recovery team.
Now, let’s look over to the prerequisites and downloads below:

Prerequisites

  • Always take a complete backup of your device’s data to avoid sudden data loss.
  • Make sure to charge your Mi A2 / A2 Lite to a sufficient battery power level, So that you don’t have to face any shutdowns during the process.
  • Enable USB Debugging Mode and OEM Unlock options in the Developer Android settings.
  • Before heading over any of the processes below, make sure that you’ve unlocked the bootloader of your device.
  • At last, install ADB and Fastboot tools.

Downloads

Step-1: Install TWRP Recovery on Mi A2 /A2 Lite

  1. Download the TWRP img and zip files of your device’s model and transfer them to your PC’s ADB Folder.
  2. In the ADB Folder, open the PowerShell window using the Shift Key and Right Key.
  3. Now, power OFF your Mi A2 / A2 Lite, and boot it into the Fastboot or Bootloader Mode using the unique combination of buttons that are present at the sides of the phone.
  4. Once done, connect your Xiaomi device to the computer using the USB cable.
  5. Now, run the below commands as per your device model to boot TWRP temporarily:
    • Mi A2: fastboot boot TWRP-3.2.3-jasmine-20181201.img
    • Mi A2 Lite: fastboot boot twrp-3.2.3-0-daisy.img
  6. Now, your device should boot into the TWRP Recovery mode.
  7. In the TWRP menu, select ‘Advanced’ > ‘ADB Sideload’ and swipe the ‘Swipe to start to sideload” button to confirm the process.
  8. Once done, finally hit the below command as per your device model to flash the TWRP recovery permanently:
    1. Mi A2: adb sideload twrp-installer-jasmine-3.2.3.zip
    2. Mi A2 Lite: adb sideload twrp-installer-daisy-3.2.3-0.zip
  9. Done. Now, wait until the process finishes.
So, you’ve successfully been able to Install TWRP Recovery on Mi A2 and A2 Lite. But, now in order to root Mi A2 or A2 Lite, you need to format the data partition and flash the forced-encryption disabler. Follow the steps below to do so.

Step-2: Format Data Partition and Disable Android Pie Encryption

  1. After successfully flashing and installing the TWRP ZIP, go back to the TWRP home screen and navigate to ‘Wipe’ > ‘Format Data’.
  2. Type ‘Yes’ and enter to confirm the data format.
  3. Once done, enable ‘MTP’ in the ‘mount’ tab.
  4. Now, connect your Xiaaomi Mi device to the desktop using the USB cable.
  5. Then download the Forced Encryption Disabler ZIP for Xiaomi Mi A2 / A2 Lite and transfer it to the device’s internal storage.
  6. Once you’ve done, you can disconnect the USB cable.
  7. Now, Go to ‘Install’ and browse the force encryption disabler zip file.
  8. Once selected, swipe the ‘swipe to confirm the flash’ button which is just at the bottom of the screen.
  9. Now, wait until the process finishes. Sometimes, it may take some time. So be patient.
  10. At last, Hit the ‘Reboot System’ button to let the changes effect over the OS.
Done. You have successfully been able to disable the encryption on Mi A2 and A2 Lite. You can now proceed over to the steps to Root Mi A2 / A2 Lite.

How To Root Mi A2 / A2 Lite Using Magisk

  1. Download the Magisk Flashable  ZIP file using the link provided in the downloads section above.
  2. Once downloaded, move the Zip file to the device’s storage.
  3. Now, boot your Xiaomi device into the TWRP Recovery Mode by pressing and holding the Volume Up and Power buttons simultaneously for a couple of seconds until the device starts booting.
  4. On the TWRP home screen, Go to ‘Install’ and browse the Magisk Flashable ZIP file.
  5. Select it and swipe the ‘Swipe to confirm the flash’ button to root Mi A2 / A2 Lite with Magisk.
  6. Nw, wait till the process completes. Once done, hit the ‘Reboot System’ button.
That’s it. Now, you’ve successfully been able to root Mi A2 / A2 Lite using Magisk and TWRP Recovery. In case, if you’ve any problem or query regarding the guide, you can feel free to shoot us in the comments section below.

Comments