How Root Xiaomi Mi A1 on Android Oreo

Xiaomi Mi A1 was recently updated to Android Oreo. With that, we need a new way to root Xiaomi Mi A1 on Android Oreo. If you are using Xiaomi Mi A1 and you have already updated to Android Oreo then you can simply follow the below steps to root your Mi A1 on Android Oreo.

Xiaomi is one of the top players in the smartphone market. They anticipate the needs of their customers and build the features into their devices with respect to the feedback they get from the customer for the previous products. By this, they are able to deliver products that the market demands and this lead to Xiaomi’s success over the global market.

By the end of 2017, Xiaomi announced their major decision of releasing Android One powered smartphone. The guaranteed software updates are one of the specialties of Android One. As a matter of fact, Xiaomi Mi A1 has already received its update in Android Oreo. Oreo is packed with features that the users always wanted. But if you think you need more features in your Android Oreo powered Xiaomi Mi A1 then you can root your device.

Root Xiaomi Mi A1[Android Oreo]

Xiaomi announced their first stable update if Android Oreo by the end of December and this was called off midway due to some issues. But they were not very late to announce a proper stable update and this was in January as OTA. The new update not only had bug fixes but also the new security patches.

Android Oreo provides amazing features like picture in picture mode, instant Apps, notification categories and more in their update. Even though most of them find it satisfying some don’t. If you are one among them who not really satisfied with the Android Oreo and wish for tweaks such as ViPER4Android, Xposed Framework then we got you covered in this post.

The regular rooting process included flashing the Magisk Zip, but here we are using Magisk manager app to patch stock boot image. The steps listed in this post are optimized so that you can follow them easily. You can get further OTA updates easily in the future.


  1. Back up all the data on your device before doing the root. Because this procedure will wipe all the data you have saved on your device.
  2. Download and install Xiaomi USB drivers.
  3. Install ADB / Fastboot tools.

Steps To Root Mi A1

  1. Download the corresponding stock boot image for the firmware:
    > OPR1.170623. Download
    > OPR1.170623. Download
  2. Paste the downloaded file to phone’s internal storage or SD card.
  3. Download the Magisk manager App and install on your Android device.
  4. Open Magisk manager.root-mi-a1-oreo
  5. Click on Install button on the main screen.
  6. Select install icon again and click on patch boot image file.
  7. Select the stock boot image you have stored already in the SD card or Internal storage.
  8. Go to SD card > Magisk manager > copy the “patched_boot.img” to C:\adb.
  9. Hold the SHIFT key and right click on the same folder and on the resulting window click on “power shell window here”
  10. Boot your Mi A1 in fastboot mode. To do this: Switch off your device > Press and hold the Power button and Volume down button together.
  11. Connect your phone to the PC.
  12. Unlock the bootloader by executing the below command in command prompt:
    fastboot oem unlock
  13. Flash the patched boot image to your Xiaomi Mi A1 by using the below command:
    fastboot flash boot patched_boot.img
  14. Finally, reboot your device using the below command:
    Fastboot reboot

This is the easiest way to root Mi A1 on Android Oreo. Now you can install any Mods or root apps which you love. If you face any difficulties in any of the above steps, please do drop a comment below!

Follow ThemeFoxx on Facebook, Twitter & Google+ to get all the latest updates.


Download Huawei P20 Stock Themes for All EMUI Devices

How to Root Android P with Magisk 16.1


Leave a Comment

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