How to Enable OEM Unlocking and Easily Unlock Bootloader on Xiaomi Mi A3 (Comprehensive Guide)

How to Unlock Xiaomi Mi A3 Bootloader

Unlocking the bootloader on your Xiaomi Mi A3 will allow you to install third-party firmware (custom ROMs), TWRP, and even root using Magisk. If you’re here for it, then follow the instructions in this comprehensive guide on how to unlock bootloader on Xiaomi Mi A3 easily, using fastboot.

Advertisement

Xiaomi/Redmi devices running MIUI require a specialized tool (Mi Unlock Tool) to unlock the bootloader. You’d need to get your device approved for unlocking first and then wait for a specific time period before you could finally unlock the bootloader.

But since the Xiaomi Mi A3 is part of the Android One program and runs stock Android software, it makes it easier for users to unlock the phone’s bootloader by simply issuing a fastboot command via command-line. And it could be done in a matter of minutes!

Now, before you head below to the instructions to unlock bootloader on Xiaomi Mi A3, take a bit of time to read why you might need to do it in the first place.

Table of Contents

Why Would You Need to Unlock the Bootloader?

Although the Xiaomi Mi A3 comes with the stock Android software and the least amount of bloatware (unnecessary pre-installed system apps), it also doesn’t offer many options to customize the software. If you feel the same, then unlocking the bootloader on Xiaomi Mi A3 will enable you to install a custom recovery like TWRP to flash third-party firmware (also known as custom ROMs). These custom ROMs can provide you with a plethora of customization options, or custom kernels to gain on the phone’s performance and battery life.

If you don’t want to install a custom ROM and don’t want to move away from the stock firmware, then you can simply root your Xiaomi Mi A3 using Magisk and add more features to it using Modules. Rooting also enables you to use certain apps that require root permissions and even lets you install mods to enhance your phone’s audio experience (like ViPER4Android).

It is also worth noting that an unlocked bootloader is mandatory to manually restore stock firmware using MiFlash tool, to fix software issues or get your phone out of bootloops.

To sum up, the list is long, and there’s a lot you can do after unlocking your Xiaomi Mi A3’s bootloader. The best part is that you can easily re-lock the phone’s bootloader back at any point if you want, without much hassle.

Instructions to Unlock Bootloader on Xiaomi Mi A3

How to Unlock Xiaomi Mi A3 Bootloader

Advertisement

Now, unlocking the bootloader is not a difficult task. All you have to do is, enable the OEM Unlocking option in ‘Developer options’ first, then reboot into Fastboot Mode, and finally unlock the bootloader on your Xiaomi Mi A3 using fastboot.

To further aid your understanding of the procedure, we have split the instructions into 3 simple steps. Make sure to follow them in the mentioned order.

Step 1: Fulfill the Requirements

  • Unlocking the bootloader will instantly wipe all the data stored on your phone, including the internal storage. So, make sure that you take a full backup of all your data including apps, messages, call logs, photos, videos, etc. We also have a handy guide on how to do it quickly.
  • Unlocking the bootloader requires the use of Fastboot. It is a command-line tool and is part of the Android SDK Platform-tools package. So, you must install the Android SDK Platform-tools on your Windows, macOS, or Linux PC. Alternatively, you can also use Minimal ADB and Fastboot Installer that will automate the whole process for you.
  • When asked to launch the command-line window on your PC, do the following:
    • PowerShell in Windows: Go to the folder where the Android SDK platform-tools are installed. Then press and hold the “Shift” key and right-click on any empty space inside the folder. Finally, select the “Open PowerShell window here” to launch the PowerShell on your Windows PC.
      Unlock Xiaomi Mi A3 Bootloader - Open PowerShell in Windows
    • Terminal in macOS/Linux: Open the Terminal and “cd” to the folder where the ADB and fastboot binaries are installed (e.g. cd Documents/platform-tools).
      Unlock Xiaomi Mi A3 Bootloader - cd to fastboot folder in macOS/Linux using Terminal
  • In order for fastboot to detect your Mi A3, you must also download and install the required Xiaomi USB drivers. This could be done via two methods, both of which have been detailed in our guide here.
  • Make sure that your phone is charged to a sufficient battery level, around 60% or above. This shall help prevent any sudden shutdowns during the unlocking process.

Step 2: Enable OEM Unlocking on Xiaomi Mi A3

In order to unlock the bootloader on Xiaomi Mi A3, you must first enable the OEM Unlocking option to set the phone’s bootloader “unlock_ability” to “1” (Reference). Without enabling this option, the bootloader unlock command will fail. To enable OEM Unlocking on Xiaomi Mi A3, follow the instructions below:

  1. Go to “Settings” → “About phone” on your Mi A3.
  2. Scroll down to the bottom until you find “Build number”.
    Enable OEM Unlocking on Xiaomi Mi A3 - Tap 5 times on 'Build number' section
  3. Continuously tap on the “Build number” section for 5 (five) times until you see the “You’re now a developer!” message on the screen.
  4. Now go to “Settings” → “System” and tap on “Advanced” to expand the menu.
    Enable OEM Unlock on Xiaomi Mi A3 - Go to Developer options
  5. Select the “Developer options” menu.
  6. Find the “OEM Unlocking” option and turn ON the toggle next to it.
    Enable OEM Unlocking on Xiaomi Mi A3
  7. Select “ENABLE” when prompted to finally enable OEM Unlocking on your Xiaomi Mi A3.

Once enabled, finally head over to the third and last step to finally unlock your phone’s bootloader.

Step 3: Unlock Bootloader on Xiaomi Mi A3 using Fastboot

Note: Make sure to prepend the commands in the instructions below with “.\” when using PowerShell in Windows, or with “./” when using Terminal in macOS/Linux.

  1. Press and hold the Power button of your Mi A3 until the Power Menu appears.
  2. Select “Power off” to shut down your phone completely.
  3. Now boot your Xiaomi Mi A3 into Fastboot Mode.
  4. You should now see the Mi bunny and “FASTBOOT” text on the screen.
    Unlock Xiaomi Mi A3 Bootloader - Enter Fastboot Mode
  5. Connect your phone to the PC using the USB cable while it is Fastboot Mode.
  6. Launch the command-line window on your PC.
  7. Enter the below command to ensure that your Mi A3 is successfully being detected by fastboot:
    fastboot devices
  8. The output should be your device’s ID along with the ‘Fastboot’ message.
  9. Now while holding the Volume Down button, enter the following command to finally unlock bootloader on Xiaomi Mi A3:
    fastboot flashing unlock

    Unlock Xiaomi Mi A3 Bootloader using Fastboot on Windows PC

  10. As soon as the command is entered, your phone will reboot back into Fastboot Mode.
  11. Now execute the following command to unlock the critical partitions as well:
    fastboot flashing unlock_critical

That’s it! Your phone’s bootloader is now unlocked. When the phone boots, you shall see the Android One logo with “Unlocked” text, as shown in the image below.

Unlocked Bootloader on Xiaomi Mi A3 - Spashscreen (Android One and Unlocked)

Before you leave, go through the F.A.Q section below in case you have any doubts or questions.

FAQ (Frequently Asked Questions)

Question 1: Does Unlocking the Bootloader of my Xiaomi Mi A3 void the official warranty/customer service?

  • Answer: According to Xiaomi, unlocking your Mi A3 will not void the warranty. However, if a damage to your phone is caused during/after rooting, or installing custom ROMs/recoveries, etc will not be covered under the official warranty (Which is rarely the case).

Question 2: Now that I have unlocked the bootloader, how can I customize the software on my Mi a3?

  • Answer: There are a ton of things you can do once you have unlocked the bootloader. For starters, if you want to use apps that require root permissions, then you can easily root your Mi A3 using Magisk. Magisk also allows you to hide root from certain root-detecting apps and even gives you the option to add more features to your phone systemless-ly via modules. You can also install TWRP on your Mi A3, which will grant you the options to install custom ROMs/kernels/mods, backup/restore the OS via Nandroid, and much more.

Question 3: I want to re-lock the bootloader, how can I do it?

  • Answer: At any point, if you feel that you need to re-lock the bootloader, you can easily do it. But make sure that you completely restore the stock firmware by flashing the fastboot ROM first. Once done, the instructions to re-lock bootloader are same as above, just replace the command in step #9 with “fastboot flashing lock”.

There you go! You have just succeeded to unlock bootloader on Xiaomi Mi A3. If you have any other questions, please feel free to comment and ask us.

Comments

  1. Dear Dhananjay,

    I have Mi A3 phone which has stock rom in which i have flashed MIUI 11 after going through all the process but most of the payment app does’t work in custom rom so i tried to roll back in stock rom but unfortunately wiped the MIUI rom & locked the bootloader because unable to flash custom rom. Again when i tried to reunlock the bootloader using MI unlock it display “Request Parameter error” when i attempt through cmd “fastboot flashing lock” it displayed error. Please help immediately bcz i suffer hard plzzzzzzzzzzzzz

    1. Hello Sandeep, the bootloader on Xiaomi Android One phones (Mi A1, A2, and A3) is not unlocked via the Mi Unlock Tool, but using the ‘fastboot flashing unlock’ command.

      When you issue that command from your PC, what error message do you see? Please provide me with the exact message or a screenshot of the same.

    2. Thanks for your kind reply that is the message i am getting while reunlocking the bootloader
      PS C:\adb> fastboot devices
      2d176ecc9b50 fastboot
      PS C:\adb> fastboot flashing unlock
      FAILED (remote: ‘Flashing Unlock is not allowed
      ‘)
      fastboot: error: Command failed
      PS C:\adb> fastboot oem device-info
      (bootloader) Verity mode: true
      (bootloader) Device unlocked: false
      (bootloader) Device critical unlocked: false
      (bootloader) Charger screen enabled: false
      OKAY [ 0.016s]
      Finished. Total time: 0.048s
      PS C:\adb>

    3. Hi again. The error is shown because OEM unlocking has been disabled. And you’re seeing the “System has been destroyed” message because when you locked the bootloader, there was still some sort of modifications on either of the two partitions (A or B).

      Have you tried performing a factory reset via the stock recovery? Because apart from that, we don’t seem to have an option. It’s important to boot the phone into the OS first, so that can you can enable OEM unlocking, unlock the bootloader, and properly restore the stock firmware.

    4. One another thing when i was locked the bootloader as message displayed on the screen that “System has been destroyed” what is that mean. Is it hard bricked ?

    1. Hi isi. Please provide more information on the problem. Did you see an error message while unlocking the bootloader?

    2. It is showing when i right in command fastboot device it shows waiting for any device

    3. It means that the PC isn’t able to identify the phone while it is in fastboot mode.

      Are you sure the phone was connected to the PC while it was in Fastboot Mode?

    4. I have the same problem..
      phone connected.. identified on adb command, but not on fastboot mode

    5. Hi Douglas. Is your Mi A3 is Fastboot Mode while connected to the PC?

    6. yeep Dhananjay.. and i’ve tried so manually, holding bottom and power buttons pressed as by command “adb reboot bootloader”..

  2. hello Dhananjay, does the fingerprint fonction will still work after unloking bootloader?
    if i root with magisk, and if i decide to re-lock the bootloader , will the root still be present?

    1. Hi Kaneda. Yes, it will work, why shouldn’t it.

      Re-locking the bootloader isn’t something I would recommend. If you really want to root, keep the bootloader unlocked. An unlocked bootloader is the only way to flash files to your phone, especially when restoring the stock firmware.

  3. I unlocked the bootloader and flashed other custom rom…now I want to flash my stock firmware afterthat I want to update my software update from setting>system>advance>system update… question is that when can I update my system update

    1.unlocking bootloader anytime u can

    2.locking bootloader anytime u can

    3.u can never if u unlocked ur bootloader in ur life😈

    Which one is right or what’s ur opinion?

    1. Hi Shahadat Akash. You can keep the bootloader unlocked and still receive software updates. For now, all you have to do is download the stock firmware and flash it to your phone.

      Once you have done this, you will have two choices:
      1) Stick with the stock firmware without TWRP or Root.
      2) Or, you can root your Mi A3 using Magisk. That’s in case you want to use Magisk Modules to add features or tweak the software, or use apps that require root permissions. There’s an added benefit with this. When you root with just Magisk (without TWRP) on stock firmware, you can still install official OTA updates (Look here for instructions).

      If you have any further questions, please feel free to let me know.

    2. I have mi a3 phone. It got locked while I was using zoom app. Further I tried to flash firmware still it is not starting. Then I tried set_active a but it is locked. Unable to unlock my phone by using above commands. I don’t know what to do now. Please help me.

    3. Hi Vaishnavi. Before all this, did you unlock the bootloader and disabled OEM Unlocking toggle?

Leave a Reply

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