Discuss topics from the XDA Portal

[ROOT] How to root the Xiaomi Mi A2

  • NOTE : All data will be wiped during bootloader unlocking, so make sure to backup each and every thing on your device.

    first of all enable developer option & then enable OEM unlocking & USB debugging,

    Now setup adb and fastboot drivers on your laptop/PC,

    Now connect your Mi A2 (on state) and allow USB debugging popup.

    now boot into fastboot mode (power off and press & hold volume down + power key simultaneously)

    now connect your mi a2 to your laptop/pc,

    now run fastboot oem unlock it will unlock the bootloader and reboot your device, also will wipe data,

    now again setup the device and enable developer option, enable OEM unlocking, enable USB debugging, and connect to allow usb debugging.

    now once again boot into fastboot mode (as described above), and connect your mi a2 to your laptop/pc

    now download august months (V9.6.10.0.ODIMIFE, August 5 2018.) patched_boot.img (dont use if you are on any other month patch) use that months patched_boot.img file only.

    now put the patched_boot.img to adb folder.

    now again open the command or powershell window, and run fastboot boot patched_boot.img

    it will boot your device, now just download the Magisk manager apk and install it.

    open magisk manager and click on install, then direct install (recommended),

    it will now download the magisk zip file and flash it at its own, after its done simply reboot your Mi A2 and voila we have successfully rooted our Mi A2.

    let me know if you have any issues following this tutorial.