top of page

How to root Mi A1 without losing OTA and receive/install that OTA after this method ?

  • Writer: SJSP
    SJSP
  • Jan 20, 2018
  • 3 min read

A developer from XDA has found a way to root Xiaomi Mi A1 and In this blog , let's see how to do it . (**Note that this method is only for Mi A1. So even don't try this method for anyother phones**).


To do this , follow the methods below

1.Go to settings in your Mi A1 > System > About phone >Tap Build Number for 7 times or till you see this - "No need you are already a developer ".

2.Go back to System settings . You will find the {}Developer options.

3.Tap {}Developer options > Tap OEM unlocking .It will ask PIN or Password (if you have set or else it will not ask) . Type it .

4.And also disable Automatic system updates , if it is enabled in the {}Developer options

5.Install Magisk manager on your device using this apk file link - https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

6.After installing Magisk Manager , Switch off your phone.Press Power button+Volume down Button at the same time. This makes your phone to switch into Fastboot mode.

7. Now open your computer/laptop and connect your phone to it in the fastboot mode . 8. Now in your PC , download these files according to the instructions given below.

i)Only if you are in January month security patch download this patched_boot.img -

https://androidfilehost.com/?fid=962157660013071407

ii)Platform tools folder - http://bit.ly/latestadb (Common for all Security Patches)

9.Extract the Janroot.zip file and after extracting it will be in the name patched_boot

10.Now,extract the Platform tools folder and after extracting it will be in the name

platform-tools or platform-tools-latest-windows as a folder.

11.Now copy the patched_boot file extracted from Janroot.zip and open the platform-tools folder extracted from Platform tools folder.zip . Paste it in this platform-tools folder.

12.Now Press Shift Key+Right Click on the same time in any empty space in the folder

and then you will see this option Open Command window or Power shell window here > Tap it .13.Command window will be opened and then type these commands

(**Note that each and every word in the commands below are very very important . If you have done any mistake while typing , then I am not not responsible for that**)

i)Type - fastboot oem unlock - This unlocks the bootloader

ii)After the bootloader gets unlocked , Type the next command - fastboot boot and then copy the name of the patched_boot that you copied and pasted before in Platform tools folder and then paste in the command/powershell window and dont forget to type .img near patched_boot that you pasted in command/powershell window

(i.e) The command is - fastboot boot patched_boot.img

14.Press enter and then Your phone will reboot.

15.Now ,open Magisk Manager app that we have installed . Now you will see an Install option / Install Magisk > Tap Install>Select Direct install(Recommended).

16.After installing it , the app will automatically flash that file in your Mi A1 > Tap Reboot option.

And that's it your Xiaomi Mi A1 is rooted successfully .

The Most important part :-

When you receive the OTA update do not install that OTA update without doing the following :-

1.Open Magisk Manager > Tap Uninstall > Tap Restore Images .

You have to do this before updating ,otherwise you will not be able to update your device.

And then you can update your Xiaomi Mi A1 and for the root access you have to flash the new patched boot image for that month again .

That's it . Now you have rooted your Xiaomi Mi A1 successfully without disabling OTA updates. For more like this ,

Follow me on all social medias here :-

Instagram - theonemantech

Twitter - theonemantech

Thanks everyone for reading this article and if you any doubt regarding this article ask me about it in the comment section below

Comments


By SJSP for The One Man Tech Show

  • Facebook Social Icon
  • Twitter Social Icon
  • YouTube Social  Icon
  • Instagram Social Icon
bottom of page