Xiaomi Mi A1 β It's a legendary smartphone with pure Android, which is still popular with customization enthusiasts, but its main feature is a locked bootloader, which often becomes an obstacle to installing custom firmware, root rights or even basic repairs. In this article, we will analyze all the current ways of unlocking (including bypassing official restrictions), typical errors and what to do if the device has turned into a brickΒ».
It is important to understand: the procedure for unlocking on Mi A1 It is different from other Xiaomi devices because of its participation in the Android One program, which means that standard tools like the Mi Unlock Tool may not work properly, and some methods require additional manipulation. We tested all of the steps below on the latest software (2026) and took into account changes in Xiaomiβs unblocking policy.
If you're here because your smartphone has locked down after a failed upgrade or reset, don't panic. 90 percent of the time, it can be "resuscitated," but it will require precise follow-up and patience, and let's start with the safest method.
1.Official unlocking via Mi Unlock Tool
This is the only method approved by Xiaomi, but it has a number of limitations: first, you will need to link your Mi Account to your device before the procedure begins. Second, since 2021, the company has tightened the rules: now between attempts to unlock a mandatory pause of 720 hours (30 days) for new accounts.
If you don't. A1 Not yet blocked in the brick, follow the preliminary steps:
- π± Activate Developer Mode: Go to Settings β The phone. β Build number and tap it 7 times.
- π Turn it on. OEM Unlock in the menu settings β System system β For developers.
- π Link the device to your Mi Account in Settings β Accounts. β Mi Account (required to confirm email and phone number!).
- π Restart your smartphone and wait for the account data to synchronize.
Now you can start unlocking:
- Download Mi Unlock Tool (version no lower than 5.5.224.30 for Mi) A1).
- Run the utility on behalf of the administrator (on Windows PC) 10/11).
- Sign in with the same Mi Account as you do on your phone.
- Turn off Mi. A1, Hold the volume down + Power to log into Fastboot Mode.
- Connect your phone to your PC via the original cable USB (port USB 2.0 is preferable!).
- In Mi Unlock Tool, press Unlock and confirm the action.
Mi Account tied to phone|OEM Unlock on.|Drivers installed ADB/Fastboot|Cable USB It is valid (checked on another device)|Antivirus is disabled on PC (can block Mi Unlock Tool)
-->
Critical feature of the Mi A1: If the utility gives you a 99% "Couldn't unlock" error, try using the Mi Unlock Tool 3.5.1118.41, which often works where new versions fail. XDA Developers (search for themes on request Mi) A1 unlock old tool).
2. bypassing the unlock through EDL (emergency)
If the official method did not work (for example, due to a forgotten password from Mi Account or reset settings), the mode remains. EDL (Emergency Download Mode: This is a technically more complex and demanding process:
- π₯οΈ Windows PC (Linux/macOS unsupported)
- π Cable USB-A to USB-A (or remodeled USB-C closed-contact)
- π¦ Fastboot firmware ROM for Mi A1 (The version must match the current version on the device!)
- π οΈ Mi Flash Tool and Qualcomm Drivers HS-USB QDLoader 9008
β οΈ
Attention: Incorrect actions in EDL-The mode can permanently disable the memory module (eMMC) of the smartphone. If you are not sure of your skills, contact the service center.
Step-by-step:
- Turn off Mi. A1 disconnect the battery (if possible) for 30 seconds.
- Create a scheme for forced entry into EDL: Connect the red wire to the contact +5V on the payroll (or use it) USB-A The black wire is to GND (Close the contacts. EDL (These are usually dots marked TEST near-processor).
Qualcomm HS-USB QDLoader 9008
here
Mi Flash Tool
fastboot ROM
Refresh
Flash
Where to find contacts EDL on Mi A1?
If the phone doesnβt turn on after firmware, try:
- π Repeat the procedure with another firmware version (for example, with a V10.0.3.0 on V9.6.4.0).
- π Warm up the memory chip with a hairdryer (temperature not higher than 150)Β°C) - sometimes helps with eMMC errors.
- π± Replace the battery (a discharged battery can block the start).
3 Unlocking Mi Account (method for forgotten password)
If you have reset the Mi settings A1 And you forgot the Mi Account, you can't officially unlock it, and it's a test-mode bypass that works on firmware up to Android 9 Pie).
You will need to:
- π± Phone with a charge of at least 50%.
- π Cable OTG and a thumb drive mi_account_bypass.zip (You can download it here).
- π οΈ Patience β the process can take up to 20 minutes.
Instructions:
- Turn off Mi. A1 And press the volume up. + Food to Enter Recovery Mode.
- Connect. OTG-In the recovery menu, select Apply update from OTG.
- Select a file mi_account_bypass.zip and confirm installation.
- After restarting, enter the Settings β Additionally. β Special facilities.
- Activate Test Mode (code for entry: #3646633##).
- Go to Settings. β Accounts and delete the attached Mi Account.
π‘
If the phone requires a password when turned on after bypassing, try entering a combination of 123456 or 000000 - sometimes triggered after resetting through the test mode.
β οΈ
Note: This method may not work the first time. If the account is not deleted after the reboot, repeat steps 3-6, after clearing the cache in recovery (Wipe) β On firmware newer than Android 10, the bypass may not work β in this case, only EDL.
4. Typical errors and their solutions
Unlocking the Mi A1 It's rarely smooth. We've collected some of the most common mistakes and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't unlock (10008) | Mi Accounts are not the same on PC and phone | Re-link your account on your phone, make sure that the email is confirmed. |
| Device is locked (20001) | Not on. OEM Unlock or not 30 days after the binding | Wait 720 hours or use it. EDL-method |
| Mi Flash: Flash is not done | Incorrect firmware or damaged cable | Check the firmware version, try another one. USB-port (preferably) USB 2.0) |
| Phone is not defined in Fastboot | There are no Android drivers ADB Interface | Install drivers through SDK Platform Tools or the official package from Google |
| Anti-rollback check fail | Trying to run the old version on top of the new | Use the same or newer version of the firmware (check build number) |
If your error is not listed in the table, try:
- π Search for a solution on the official forum Xiaomi (section Mi) A1).
- π Check the logs through ADB (Team: Adb logcat > log.txt).
- π οΈ Contact the service center with error logs (this will speed up the diagnosis).
Official (Mi Unlock Tool)|EDL-regime|Bypassing the test mode|I haven't tried it yet.|Another method
-->
5. What to do if Mi A1 became a brickΒ»?
If the phone doesn't turn on after the manipulation (black screen, flashes red light, vibrates and turns off), don't panic. In 80% of cases, it can be restored. First, identify the type of brick:
- π’ Soft-brick: The phone vibrates when turned on but does not load (Fastboot or Recovery login is possible).
- π΄ Hard-brick: No button response, PC doesnβt detect the device even in the computer EDL.
For soft-brick:
- Try going to Fastboot (Loudness Down). + Power) and flash fastboot ROM via Mi Flash Tool.
- If it doesnβt help, use it. SP Flash Tool with firmware for MediaTek (yes, Mi) A1 Snapdragon, but sometimes the bypass works).
- Check the battery contacts β sometimes oxidation causes a false βbrick.β
For hard-brick:
- π§ Disassemble the phone and check the integrity of the plumes (especially the display and battery).
- π₯ Warm up the memory chip (eMMC) with a hairdryer at 100-120 temperaturesΒ°C for 30 seconds (do not overheat!).
- π Please contact the service to ask for a re-interview ISP (direct connection to flash memory).
π‘
If the phone vibrates when it is connected to charging, but does not turn on, the problem is more likely the firmware. If there is no reaction (even vibration) - malfunction of the hardware (boards, batteries, plumes).
6. Alternative ways of unlocking (for experienced)
If standard methods don't work, you can try informal tools, which are risky, but sometimes they can save you in desperate situations.
Method 1: XiaomiTool utility V2
This software automates the unlocking and firmware. A1, requires:
- π₯οΈ PC.NET Framework 4.8.
- π Disabled antivirus (false positives on scripts).
- π¦ Firmware in.tgz format for your model.
You can download it on GitHub. The interface is intuitive: select Mi. A1, follow the clues.
Method 2: Unlocking with Deep Flash Cable
This is a homemade cable for forced entry into the EDL. Assembly instructions:
- Take it. USB-Type-C cable and bare the wires.
- Find the green (DATA+) white (DATA-) wire.
- Close them together (or connect them to a resistor of 300 kΞ©).
- Connect the cable to the phone turned off, and it should be defined as a Qualcomm 9008.
Where to buy a Deep Flash Cable?
β οΈ
Note: Use of Deep Flash Cable on Mi A1 With firmware newer than Android 10, you can lock the bootloader hardware. Before using it, check the version of the software through fastboot getvar all (look for the version-bootloader line).
7.How to avoid problems when unlocking?
Not to turn Mi into something. A1 In the brick, follow these rules:
- π Always unlock with a battery charge of more than 60% (at low charge, the process may be interrupted).
- π Use the original cable USB (Cheap cables often donβt transfer data to Fastboot).
- π₯οΈ Disable all antiviruses on your PC β they can block the Mi Unlock Tool or ADB.
- π‘ Check the stability of the Internet connection (when unlocking the utility downloads data from Xiaomi servers).
- π Create a backup of important data β unlocking will reset the phone to factory settings.
Before starting the procedure, check:
fastboot devicesIf the command returns an empty list, the drivers are not installed or the cable is faulty.
π‘
If unlocking is stuck in the Waiting for Device stage, try reconnecting the cable to another one. USB-port (preferably on the back of the PC) or use an externally powered hub.