Root Mi A3 and Unlock Bootloader – Detailed Tutorial


This guide contains a detailed instruction set on how to unlock the bootloader and root Xiaomi Mi A3. Being the third iteration in the Android One Mi Series, the Mi A3 has definitely caught the eyes of the masses. Its predecessor had already made a name for themselves. Now it seems it is following along the same route. Its USP includes an impressive triple rear camera and a cool 32MP selfie camera. On the aesthetics front, it has managed to score big as well.

With that said, let us now have a look at the below guide on how to unlock the bootloader and subsequently root the Xiaomi Mi A3. Do note that as the device has just now been launched, there has been neither an unofficial nor an official version of TWRP Recovery. So, we will be rooting the device via Magisk only.

Warning

Unlocking the bootloader, rooting, etc will void the warranty of your Mi A3 device. Also, your entire data will be wiped off once you unlock the bootloader of your device. Therefore it is highly recommended to have a complete backup of your device.

Moreover, unlocking and rooting always involve a chance of things going south. That is, you may not get the desired results. So it is now believed that you have been warned and are continuing the process after understanding the risks involved. Neither DroidViews nor any of its author will be held responsible for any damage to your device.

Requirements & Downloads

How to Unlock the Bootloader of Xiaomi Mi A3

As mentioned before unlocking the bootloader on your Mi A3 will wipe off all the data. So please make a backup before proceeding.

  1. Open the ADB and Fastboot platform-tools folder. In the address bar field, type in cmd. This will open a command prompt window.
  2. Type in the below code and if you get a device ID, it means that a successful adb connection between your device and PC is established. Otherwise, make sure that you have installed the Xiaomi USB Drivers and USB Debugging is enabled.
    adb devices

  3. Now type the following code to boot your device to fastboot mode:
    adb reboot bootloader
  4. You may type the following command and check if the device has successfully booted to fastboot mode:
    fastboot devices

  5. Now type in the following two commands to unlock the bootloader on your Mi A3 device. First off, type:
    fastboot flashing unlock
  6. After typing the above command, your device will boot to Android OS. You will need to again boot the device to fastboot mode using the adb reboot bootloader command (make sure USB Debugging is enabled). Once in fastboot mode, type:
    fastboot flashing unlock_critical
  7. That’s it. You have successfully unlocked the bootloader of your Mi A3 device. Now head over to the next section and follow the instructions to root it.

Steps to Root Xiaomi Mi A3 via Magisk

Do note that the process of rooting Xiaomi Mi A3 will be divided into two sections. In the first one, we will be patching the stock boot image file via Magisk. In the next section, the patched boot.img file will be subsequently installed on your device.

Patch the Stock boot.img File via Magisk

  1. Download and install the Magisk Manager on your device.
  2. Also, transfer the downloaded stock boot.img file to your device’s internal storage.
  3. Open the Magisk app and tap on INSTALL.
  4. Again, tap on INSTALL.
  5. Now, chose the option “Select and Patch a File“.
  6. Browse to the stock boot.img file that you have downloaded earlier. Then select it.
  7. Magisk will now patch the boot.img file.
  8. Once the process is finished, you may find the patched boot image file under Internal Storage > Downloads > magisk_patched.img

Install the Patched boot.img File via Fastboot

  1. Transfer the patched boot image file (magisk_patched.img) from your device to the platform-tools folder on the PC.
  2. Enable USB Debugging by going to Settings > Developer Options (as already discussed before).
  3. Now boot your Mi A3 to fastboot mode. Type the below command:
    adb reboot bootloader
  4. Next, flash the boot.img file that we patched earlier via Magisk. Type the following code:
    fastboot flash boot magisk_patched.img

    where magisk_patched.img is the name of the patched boot.img file.

  5. Finally, reboot your device by typing in the below command:
    fastboot continue

You have now successfully rooted your device via Magisk. With that, we come to the end of our guide on how to unlock the bootloader and root Mi A3. If you have any queries with respect to any part of this guide, do let us know in the comments section below.



Source link

WP Twitter Auto Publish Powered By : XYZScripts.com
Exit mobile version