Why Mi A2 is blocked and what to do about it
Xiaomi Mi A2 is one of the few smartphones of the brand, Released under the program Android One, which guaranteed a clean firmware without the shell MIUI. However, even this device has typical problems: blocked bootloader, activation of Factory Reset Protection (FRP) after reset or binding to the account Mi Account. In 2026, the unlocking procedures became more complicated β Xiaomi tightened security policy, and old methods (like bypassing through fastboot oem unlock) ceased to work without additional manipulation.
This article covers all the current ways to unlock Mi A2 (codename jasmine_sprout), including:
- π Official unlocking of the bootloader via Mi Unlock Tool (with new waiting time limits).
- π Bypass FRP after resetting (without loss of data, if possible).
- π± Resetting the binding to Mi Account when buying a used device.
We warn you beforehand that some operations require technical skills (ADB, Fastboot, build.prop editing). If you have never encountered Android firmware, you should contact the service center. But if you are ready to act on your own, follow the instructions strictly by steps.
1.Preparation for Unlocking: What to Do Before You Start
Before any manipulation of the Mi A2, it is necessary to follow mandatory preparatory steps, and ignoring them can lead to complete loss of data or a βbrickβ of the device (turning into a βbrickβ).
First, check the current status of the bootloader:
- Turn off the phone.
- Press Volume Down + Power to log into Fastboot Mode.
- Connect the device to the PC and type in the command line: fastboot oem device-info
- If the answer is Device unlocked: false, the bootloader is locked.
Second, prepare the tools:
- π₯οΈ Windows PC 7/10/11 (Mi Unlock Tool is required for Windows).
- π Cable USB Type-C (preferably original or high-quality).
- π± Charge your phone at least 50% - discharge during the procedure is fraught with failures.
- π Download: Official firmware for Mi A2 (The version must be the same as the current one!... Mi Unlock Tool (latest version). ADB/Fastboot).
β οΈ Attention: If your Mi is yours A2 If you bought it from hand and you were tied to someone else's Mi Account, you might not be able to officially unlock the bootloader without the data of the previous owner. FRP.
Make a backup copy of important data (photos, contacts)|Check the firmware version in settings (Settings) β The phone)|Make sure your PC has disabled the antivirus (it can block the Mi Unlock Tool)|Download all files to one folder (for example, C:\MiA2_Unlock)-->
2. Official unlocking of the bootloader via Mi Unlock Tool
This method is suitable if:
- π± You have access to your phone (it turns on and works).
- π You know the username/password from the Mi Account linked to the device.
- β³ You are ready to wait 7-30 days (Xiaomi has introduced a mandatory wait for new accounts).
Algorithm of action:
- Link your device to your Mi Account: Go to Settings β Accounts β Mi Account. Log in to your account (or create a new one). Enable Sync and Find your device.
You'll probably see a message saying, "Couldn't unlock. You need to wait XX hours." That's OK -- Xiaomi blocks instant unlock for new accounts. Waiting times can be as high as 720 hours (30 days) for newly created profiles. If an account is over a year old, waiting times are reduced to 72 to 168 hours.
β οΈ Note: Do not try to bypass the wait by changing the date / time on your PC or phone - this will lead to a complete locking of the account for unlocking. Also do not use other people's accounts: Xiaomi tracks such actions and can ban the device.
π‘
Officially unlocking through the Mi Unlock Tool is the only safe way to do so, which does not violate the warranty (if it is still valid), but it requires patience and account binding.
Factory Reset Protection (FRP) bypass on Mi A2
FRP (Factory Reset Protection) is Googleβs protection that is activated after resetting if a Google account was linked to the device. On the Mi A2 with Android One, FRP circumvention is more difficult than on MIUI, but possible.
Important: FRP bypass methods are often closed with security updates, and here is a current way for Android 10/11 firmware (the latest official version for the Mi A2).
Method 1: Through an Emergency Call (for Android 10)
- On the greeting screen after reset, press Emergency Call.
- Enter #4636## and the test menu will open.
- Go to Usage statistics β Settings (cog at the top).
- Turn on USB debugging and connect your phone to your PC.
- On PC, open the command line in the folder with Platform Tools and type: adb shell am start -n com.google.android.gsf.login/ com.google.android.gsf.login.LoginActivity
- Wait for the Google account entry window to open and add a new account.
Method 2: Recovery and ADB (for Android 11)
If the first method didnβt work, try this one:
- Turn off the phone.
- Press Volume Up + Power to enter Recovery Mode.
- Select Apply update from ADB.
- Connect your phone to your PC and type in: Adb sideload frp_bypass.zip (file frp_bypass.zip can be found on the forums XDA Developers).
- After rebooting, repeat the steps from Method 1.
β οΈ Attention: Files for bypassing FRP They often contain malicious code, download them only from trusted sources (e.g, XDA Developers) and check on VirusTotal.
What to do if FRP bypassing does not work?
4 Unlock without access to the phone (if the screen is not working or the device is βbrickedβ)
If Mi A2 It does not turn on, hovers on the logo or has a non-working screen, but responds to a PC connection (defined as Qualcomm). HS-USB QDLoader 9008, you can try the emergency firmware through EDL-regime.
This will require:
- π§ Firmware in.mbn format (for example, jasmine_sprout_global_images_...).
- π₯οΈ Mi Flash Tool (download from the official website).
- π Cable with support EDL (common USB-C may not work).
Instructions:
- Install the Qualcomm USB Driver (can be found on XDA).
- Connect your phone to your PC in EDL mode: Turn off the device. Press Volume up + Volume down and plug in the cable. Qualcomm HS-USB QDLoader 9008 should appear in Device Manager.
Mi Flash Tool
Refresh
Flash
Wait until the process is completed (10-15 minutes).
Once the firmware is in place, the phone should boot up in standard mode, and if the screen is not working, but the device is determined by the PC, you can control it via ADB:
adb shell input text "your password"
adb shell input keyevent 66 #Press Enterβ οΈ Attention: Firmware through EDL It can reset all data and can cause a loss. IMEI. After the procedure, check. IMEI *#06# and if necessary, restore it to the QCN-file (requires root rights).
5. Alternative methods: Unlock without Mi Unlock Tool
If the official tool doesnβt work (for example, because of the βCouldnβt verify deviceβ error), you can try to bypass the restrictions by flashing downgrade or using custom recovery.
Method 1: Downgrade firmware
Xiaomi is blocking the unlocking of new firmware versions, and the solution is to roll back to the old version, where the restrictions are softer.
- Download the Android firmware 9 for Mi A2 (for example, jasmine_sprout_global_images_V10.0.13.0.PDIMIXM).
- Unpack the archive and find the file. flash_all_except_storage.bat.
- Connect your phone to Fastboot and start the script.
- After downgrade, re-unblock through the Mi Unlock Tool.
Method 2: Installation of TWRP and Magisk
If the bootloader is already unlocked, but you need to get root rights or bypass the locks:
- Download TWRP for the Mi A2.
- Recovery from Fastboot: Fastboot Flash Recovery twrp-3.7.0_9-0-jasmine_sprout.img fastboot boot twrp-3.7.0_9-0-jasmine_sprout.img
- In TWRP, you can use Magisk to obtain root rights.
With TWRP, you can:
- π Backup the data partition (if you need to save data).
- π§ Delete the lock files (/data/system/locksettings.db password-reset).
- π Go around FRP through editing build.prop.
fastboot flash boot magisk_patched.imgwhere magisk_patched.img β magisk-stitched.-->
Table of errors and their solutions
When unlocking the Mi A2, users often encounter common errors, and below are the most common ones and how to fix them.
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't unlock. You need to wait XX hours | New Mi Account or Long-Limited Activity | Wait for a specified time or use an account older than 1 year |
| Current account is different from the account info on the device | Phone tied to another Mi Account | Need data from the previous owner or bypass through EDL |
| Fastboot: unknown command 'oem unlock' | The bootloader is already unlocked or the command is not supported | Check status with fastboot oem device-info |
| Anti-rollback check fail | Trying to flash the old version of the firmware after the new | Sweep only the allowed version (see Xiaomi Firmware Updater) |
| Phone is not defined in Fastboot | Problems with drivers or cable | Install Google USB Driver and try another cable |