• Skip to primary navigation
  • Skip to main content
The Custom Droid Logo

The Custom Droid

Android Tutorials, Tips, and Development

  • General
  • How-To
  • Downloads
  • ROMs
  • Reviews
  • About
  • Contact
Home ❯ How-To ❯ Root

How to Root Xiaomi Mi A1 on Android Oreo (MagiskSU)

Jul 1, 2020 • by Dhananjay Bhardwaj

Root Xiaomi Mi A1 Android Oreo using MagiskSU

Have you updated your Mi A1 to Oreo already? Then follow this simple guide to root Xiaomi Mi A1 on Android Oreo without using TWRP Recovery.

Xiaomi is much known for delivering Android smartphones in a pocket-friendly price tag. The company took a huge step last year by announcing the Android One powered Mi A1. The phone, while keeping Xiaomi’s standard build quality, design, and hardware configuration, offers the near-AOSP software. The major advantage of being a member of the Android One program is that the device will receive guaranteed software updates. That, in fact, has proved to be true. Xiaomi has already rolled out Mi A1 Android Oreo update. But if you’re not much satisfied with the regular stock features and want more, then you might want to consider rooting. The instructions below will help you root Xiaomi Mi A1 on Android Oreo using Magisk.

 

Root Xiaomi Mi A1 Android Oreo using MagiskSU

Read more:
  • Enable Camera2API and EIS on Xiaomi Mi A1 without Root
  • How to Hard Reset Xiaomi Mi A1 to Factory Settings (2 Methods)
  • Download Xiaomi Mi A1 January Update 8.1.10 (Android 8.0 Oreo)
Table of Contents
  • Root Xiaomi Mi A1 running Android 8.0 Oreo (MagiskSU)
  • Prerequisites
  • Download Mi A1 Stock Boot Images
  • Instructions to Root Xiaomi Mi A1 on Android Oreo

Root Xiaomi Mi A1 running Android 8.0 Oreo (MagiskSU)

Xiaomi was on time and announced the first stable Android Oreo update for the device at the end of December 2017. The update initially had certain issues and was unfortunately called off mid-way. Later in January, the OTA was resumed with build number OPR1.170623.026.8.1.10. The new firmware not only fixed the specific issue but also brought the latest January 2018 security patch along with it. Now, if you’d like to root Xiaomi Mi A1 on Android Oreo, the steps below will cover it for you.

After updating the Mi A1 to Android Oreo, users can enjoy a list of hefty new features like Picture-in-Picture mode, Notification Categories, Instant Apps, and much more. However, it seems like even that is not enough. Several users out there (including me) have a tendency of rooting their device for the sake of additional features that the OEM doesn’t normally provide us with. For example, if you would like to use tweaks like ViPER4Android or Xposed Framework, you will need root permissions. In this tutorial, we will help you root Xiaomi Mi A1 on Android Oreo using MagiskSU. The additional benefits of using Magisk is that you can further install dedicated modules to enable third-party features on the phone.

Unlike the regular rooting process of flash the Magisk zip, we will be using the Magisk Manager app to patch the stock boot image. Once patched, the instructions will also help you to flash the modified boot image using fastboot. The steps are even simpler to perform. We will be updating this post with the links to latest stock boot images corresponding to the stable firmware released in the future. Rooting using this method will also allow you to install OTA updates using a simple trick.

Prerequisites

  • In order to safeguard yourself from any data loss situation, make sure to take a complete backup of your data. We strongly recommend that you follow our guide on how to backup Android devices.
  • Install Xiaomi USB drivers on your PC to maintain a successful connection between the device and the PC.
  • In order to flash the patched boot image and root Xiaomi Mi A1 on Android Oreo, you will need to install ADB/Fastboot tools on your PC.

Download Mi A1 Stock Boot Images

  • OPR1.170623.026.8.1.10: Link
  • OPR1.170623.026.7.12.29: Link

Instructions to Root Xiaomi Mi A1 on Android Oreo

  1. Download the stock boot image for the firmware installed on your device.
  2. Copy the downloaded file (boot.img) to the phone’s storage or SD card.
  3. Next, download the latest Magisk Manager APK and install it manually on your Mi A1.
  4. Go to the app drawer and open “Magisk Manager”.
  5. On the main screen, tap on the “Install” button.
    Root Xiaomi Mi A1 Android Oreo - Patch Boot.img
  6. Select “Install” again when prompted and tap on “Patch Boot Image File”.
  7. Navigate to the internal storage/SD card and select the stock boot image file you placed during the initial steps.
    Root Xiaomi Mi A1 Android Oreo - Patched Boot.img
  8. The app will automatically download the latest Magisk version (v16.0) and patch the boot image.
  9. Next, go to /sdcard/MagiskManager/ and copy the “patched_boot.img” to C:\adb.
    • C:\adb is the folder where all the ADB and Fastboot binaries are present.
  10. Hold the SHIFT key on the keyboard and right-click on an empty space inside the same folder.
  11. Select “Open PowerShell window here”.
    Root Xiaomi Mi A1 Android Oreo - Open PowerShell window here
  12. Boot your Mi A1 into Fastboot mode:
    • Power off completely.
    • Hold the Volume Down + Power button simultaneously.
  13. Connect your phone to the PC.
  14. Unlock the bootloader first:
    fastboot oem unlock
  15. Finally, flash the patched boot image to root Xiaomi Mi A1 on Android Oreo.
    fastboot flash boot patched_boot.img
  16. Reboot your device now:
    fastboot reboot

Once you have successfully flashed the patched boot image, your device shall be rooted running Oreo. If an OTA update arrives, just follow the steps laid down by Magisk Developer – topjohnwu. The method works flawlessly for different firmware versions. Once a new update is available, we will be updating the list of stock boot images for your convenience.

So, you have just been able to root Xiaomi Mi A1 on Android Oreo. If you have any questions regarding the procedure, let us know by commenting below.

Reader Interactions

Comments

  1. Brian

    May 13, 2018

    my rom is OPR1.170623.026.V.9.5.10.0 how do i get the boot.img?

    Reply
    • Dhananjay

      May 14, 2018

      You can download the fastboot image from here. Once you have downloaded, simply extract the ZIP and you will find the boot.img in it.

Leave a Reply Cancel reply

Comment Policy: Input your real name and email address in the fields below, and let us have a meaninful conversation. Your email address will NOT be published publically.
All comments are manually moderated and those deemed to be spam will be deleted. Read our our privacy policy to know how we process the comment data.

Recent Posts

Download Magisk v22 w/ New Magisk App, Galaxy S21 support, and more

[Download] Magisk v22.0 – New Magisk App, Galaxy S21 support, bugfixes and more

How to Install TWRP on Snapdragon Galaxy S20 and root using Magisk

Install TWRP on Snapdragon Galaxy S20/S20+/S20 Ultra and Root using Magisk

Unlock bootloader on Snapdragon Galaxy devices using SamPWND (paid remote service)

PSA: Unlock Bootloader on Snapdragon Galaxy Devices with SamPWND (Paid Service)

©2017 - 2021 TheCustomDroid.com Privacy Terms Disclaimer Request Tutorial