How to Unlock Xiaomi Mi A1: formal + circumvention

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:

  1. Download Mi Unlock Tool (version no lower than 5.5.224.30 for Mi) A1).
  2. Run the utility on behalf of the administrator (on Windows PC) 10/11).
  3. Sign in with the same Mi Account as you do on your phone.
  4. Turn off Mi. A1, Hold the volume down + Power to log into Fastboot Mode.
  5. Connect your phone to your PC via the original cable USB (port USB 2.0 is preferable!).
  6. 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:

  1. Turn off Mi. A1 disconnect the battery (if possible) for 30 seconds.
  2. 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?
On the Mi motherboard. A1 point EDL located next to the Snapdragon 625 processor (marking) MSM8953). Look for two golden dots with a signature TEST or EDL. For convenience, you can use a magnifying glass or a macro lens of a smartphone. Don't confuse it with charging points! Photos of the board wiring can be found on iFixit.

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:

  1. Turn off Mi. A1 And press the volume up. + Food to Enter Recovery Mode.
  2. Connect. OTG-In the recovery menu, select Apply update from OTG.
  3. Select a file mi_account_bypass.zip and confirm installation.
  4. After restarting, enter the Settings β†’ Additionally. β†’ Special facilities.
  5. Activate Test Mode (code for entry: #3646633##).
  6. 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 phoneRe-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 bindingWait 720 hours or use it. EDL-method
Mi Flash: Flash is not doneIncorrect firmware or damaged cableCheck the firmware version, try another one. USB-port (preferably) USB 2.0)
Phone is not defined in FastbootThere are no Android drivers ADB InterfaceInstall drivers through SDK Platform Tools or the official package from Google
Anti-rollback check failTrying to run the old version on top of the newUse 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:

  1. Try going to Fastboot (Loudness Down). + Power) and flash fastboot ROM via Mi Flash Tool.
  2. If it doesn’t help, use it. SP Flash Tool with firmware for MediaTek (yes, Mi) A1 Snapdragon, but sometimes the bypass works).
  3. 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:

  1. Take it. USB-Type-C cable and bare the wires.
  2. Find the green (DATA+) white (DATA-) wire.
  3. Close them together (or connect them to a resistor of 300 kΞ©).
  4. Connect the cable to the phone turned off, and it should be defined as a Qualcomm 9008.
Where to buy a Deep Flash Cable?
Finished cables are sold on AliExpress (search on request Deep Flash Cable Xiaomi) or in specialty stores (for example, in specialized stores, 4PDA Price: 300 to 800 rubles. Pay attention to reviews: poor-quality cables can burn the port USB.

⚠️

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 devices

If 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.

FAQ: Frequent questions about unlocking Xiaomi Mi A1

Can I unlock the Mi A1 without losing data?
Any unlocking of the bootloader results in a complete reset (including internal memory).
How long does it take to officially unblock?
If you have a Mi Account for more than 30 days, about 5-10 minutes, new accounts require a wait of 720 hours (30 days) between attempts.
What if the Mi Unlock Tool says β€œAccount not bound to device”?
This means that the account is not tied to the phone. Solutions: Log in to Mi Account on your phone and sync the data. OEM Unlock and restart the device. If the phone doesn't turn on, use the bypass method. EDL or Deep Flash Cable.
Can I unlock the Mi? A1 on macOS/Linux?
Officially, no, as the Mi Unlock Tool only runs on Windows. Alternatives: Use a Windows virtual machine (like VirtualBox). EDL-QFil is suitable for Linux (manual driver installation required). ⚠️ On macOS, unlocking is only possible via Fastboot using heimdall or fastboot-mac, but success is below 50%.
After unlocking the phone does not see SIM-What do you do?
This is a typical Mi problem. A1 Solution: Check it out. IMEI through *#06#. If he NULL β€” Restore it through SN Write Tool. Sweep through the modem part (files) non-hlos.bin and modemst1.modemst2) If it doesn't work, the modem chip malfunctions (repair required).