How To Xiaomi Mi A1 using Magisk and TWRP

Tested on all Xiaomi Mi A1 Version  Noughat, Oreo and Pie

Table of Contents

Things You should Know

  • Use at your own risk! I am not responsible for your actions
  • This Tutorial can be applied to any Mi A1 Stock ROM such Android 7,8,9
  • Take IMEI Backup ! (EFS and Modem)

Video Tutorial How To Root MI A1

File Needed To Root Mi A1


  • Do Unlock Bootlader
    fastboot oem unlock
  • Boot Into Custom Recovery
    fastboot boot recovery-xx.img
  • Format Data > Reboot to bootloader again
  • Boot Into Recovery again
    fastboot boot recovery-xx.img
  • Wipe cache
  • Change Partition slot using twrp[Reboot–> Change_Slot]
  • (for example, if you’re in slot A, change it to Slot B and Vice versa)
  • flash
  • boot into android system
  • Reboot again into Recovery
  • Flash Magisk
  • Reboot System

Stock ROM

Step To Install Custom ROM for Mi A1

  • boot into recovery
  • wipe data cachae dalvik
  • install Custom ROM
  • instal twrp sideload
  • reboot recovery
  • install open gapps + magisk
  • clear cache
  • restart

Leave a Comment

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