Home » How to » How to : Xiaomi Mi A2 Bootloader Unlock (Windows/Mac/Linux)

How to : Xiaomi Mi A2 Bootloader Unlock (Windows/Mac/Linux)

How to : Xiaomi Mi A2 Bootloader Unlock (Windows/Mac/Linux)

Xiaomi Mi A2 is the latest Android One device from Xiaomi. Running Android 8.1 Oreo out of the box, the Xiaomi Mi A2 is a decent mid-range smartphone. In case you are looking on a tutorial for Xiaomi Mi A2 bootloader unlock, you have come to the right place.

xiaomi mi a2 bootloader unlock

How to : Xiaomi Mi A2 Bootloader Unlock (Windows/Mac/Linux)


We are not responsible for any bricked devices. You are doing this at your own risk.

Unlocking the bootloader will wipe your data so make sure you backup your data.


Download and Install Xiaomi Mi A2  drivers by following below instructions.

Download MiUnlock zip file

  1. Unzip the file.
  2. Double click to execute the file called “miflash_unlock”.
  3. It will open the application, click on settings icon on top right of the application.
  4. Click on check and follow the instructions. Once drivers have installed we can close the application.

Make sure your Xiaomi Mi A2 is charged 70-80 percent.

Xiaomi Mi A2 Bootloader Unlock  (Video Guide)

Xiaomi Mi A2 Bootloader Unlock  (Text Guide)

Step 1 – Enable USB debugging and OEM Unlock

On your Xiaomi Mi A2, go to Settings -> System -> About Phone and tap on build number 7-8 times. You will see a message “You are now a developer”. At this point head back to Settings and you will see an option called Developer Options.

Once in developer options, enable USB Debugging and OEM unlock.

Step 2 – Setup ADB & Fastboot

Setup adb and fastboot on your computer (Windows, Mac or Linux) by following the steps listed in the link below.

How to Setup ADB and Fastboot

Step 3 – Boot Xiaomi Mi A2 into fastboot mode

Turn off your Xiaomi Mi A2. Press and hold Volume Down + Power to enter fastboot mode. Once in fastboot mode you will see text saying fastboot.

Step 4 – Xiaomi Mi A2 Bootloader Unlock

Once in fastboot mode connect Xiaomi Mi A2 to computer using usb cable. Open command prompt (for Windows) or Terminal (for Mac and Linux). Navigate to platform-tools folder.

Enter below command to check if device was connected successfully.


fastboot devices

Mac or Linux
./fastboot devices

You will see your device’s serial number show up if device was connected successfully. If not then something is wrong with drivers.

Enter below command to unlock the bootloader.


fastboot oem unlock

Mac or Linux

./fastboot oem unlock

You will see a warning message about Unlock Bootloader on Xiaomi Mi A2, use Volume buttons to navigate to Yes and Power button to select Yes.

Your device will now reboot, wipe all data and then boot into Android.

That’s it folks! Xiaomi Mi A2 Bootloader Unlock is successful.