How to Root Mi A3 and Unlock Bootloader

xiaomi mi a3

This guide contains a set of step-by-step instructions on how to unlock the Xiaomi Mi A3 boot loader and root. Third iteration of the Android One Mi series, the Mi A3 has definitely attracted the attention of the masses. His predecessor had already made a name. Now, it seems that it follows the same path. His USP includes an impressive triple rear camera and a 32MP selfie camera. On the aesthetic level, he also managed to get big results.

With that in mind, let's take a look at the guide below on how to unlock the bootloader and then root the Xiaomi Mi A3. Note that since the device has just been launched, there has been no unofficial or official version of TWRP Recovery. We will install the device via Magisk only.

Warning

Unlock the boot loader, root, etc. will void the warranty on your Mi A3 device. In addition, all your data will be erased once you have unlocked the boot loader of your device. Therefore, it is strongly recommended to make a full backup of your device.

Plus, unlocking and rooting always involve a chance that things will go south. That is, you can not get the desired results. So, we now think that you have been warned and that you continue the process after understanding the risks involved. Neither DroidViews nor any of its authors will be held responsible for damage to your device.

Requirements and Downloads

How to unlock the Xiaomi Mi A3 bootloader

As mentioned before, unlocking the bootloader on your Mi A3 will erase all data. So please make a backup before continuing.

  1. Open the ADB and Fastboot platform tools folder. In the field of the address bar, type cmd. This will open a command prompt window.root files ad mi a3 "srcset =" https://www.droidviews.com/wp-content/uploads/2019/08/unlock-bootloader-root-mi-a3-cmd.png 1080w, https: // www. droidviews.com/wp-content/uploads/2019/08/unlock-bootloader-root-mi-a3-cmd-768x432.png 768w "data-lazy-sizes =" (maximum width: 1080px) 100vw, 1080px "src = "https://www.droidviews.com/wp-content/uploads/2019/08/unlock-bootloader-root-mi-a3-cmd.png
  2. Type the code below and if you get a device identifier, it means that an adb connection is established between your device and your PC. Otherwise, make sure that you have installed the Xiaomi USB drivers and that USB debugging is enabled.
    adb devices

    Adb Devices "src =" https://www.droidviews.com/wp-content/uploads/2019/08/unlock-bootloader-root-mi-a3-adb-devices.jpg

  3. Now, type the following code to start your device in Quick Start mode:
    adb reboot bootloader
  4. You can type the following command and check if the device started successfully in fastboot mode:
    fastboot devices

    fastboot devices mi a3 "src =" https://www.droidviews.com/wp-content/uploads/2019/08/unlock-bootloader-root-mi-a3-fastboot-devices.jpg

  5. Now, type the following two commands to unlock the boot loader on your Mi A3 device. First, type:
    fastboot flashing unlock
  6. After typing the command above, your device will start on Android OS. You will need to restart the device in quick start mode using the button rebooting the adb bootloader command (make sure that USB debugging is enabled). Once in fastboot mode, type:
    fastboot flashing unlock_critical
  7. That's all. You have successfully unlocked the boot loader for your Mi A3 device. Now go to the next section and follow the instructions to root it.

Steps to root Xiaomi Mi A3 via Magisk

Note that the rooting process of Xiaomi Mi A3 will be divided into two sections. In the first, we will patch the boot image file via Magisk. In the next section, the corrected boot.img file will be installed later on your device.

Correct the boot.img boot file via Magisk

  1. Download and install Magisk Manager on your device.
  2. Also upload the downloaded boot.img file to the storage of your device.
  3. Open the Magisk application and press INSTALL.
  4. Again, press INSTALL.fix the boot image via Magisk "srcset =" https://www.droidviews.com/wp-content/uploads/2019/08/unlock-bootloader-root-mi-a3-patch-boot-file.jpg 800w, https://www.droidviews.com/wp-content/uploads/2019/08/unlock-bootloader-root-mi-a3-patch-boot-file-768x512.jpg 768w, https://www.droidviews .com / wp-content / uploads / 2019/08 / unlock-bootloader-root-mi-a3-patch-boot-file-225x150.jpg 225w, https://www.droidviews.com/wp-content/uploads/ 2019/08 /unlock-bootloader-root-mi-a3-patch-boot-file-90x59.jpg 90w "data-lazy-sizes =" (max-width: 800px) 100vw, 800px "src =" https: // www.droidviews.com/wp-content/uploads/ 2019/08 / unlock-bootloader-root-mi-a3-patch-boot-file.jpg
  5. Now choose the option "Select and patch a file".
  6. Browse to the boot.img file that you downloaded previously. Then select it.
  7. Magisk will now patch the boot.img file.
  8. Once the process is complete, you can find the boot image file corrected under Internal storage > Downloads > magisk_patched.img

Install the corrected boot.img file via Fastboot

  1. Transfer the corrected startup image file (magisk_patched.img) from your device to the platform tools folder on the PC.
  2. Activate USB debugging by going to settings > Developer options (as already discussed before).
  3. Now start your Mi A3 in quick start mode. Type the command below:
    adb reboot bootloader
  4. Then, flash the boot.img file that we corrected previously via Magisk. Type the following code:
    fastboot flash boot magisk_patched.img

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

  5. Finally, restart your device by typing the command below:
    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 the Mi A3. If you have any questions about any part of this guide, please let us know in the comments section below.

Leave a Reply

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