How to unlock Xiaomi phone if you forgot the password from the Mi Account: a complete guide through the PC

Forgot the Mi Account password and now your Xiaomi has become a useless brick? The situation is familiar to many: after resetting your settings or flashing your phone, you need to enter your account details you don't remember. Fortunately, you can unlock your device through your PC β€” even without access to the original email or phone number.

In this article, we will discuss three official and semi-official methods of unlocking: through Fastboot, Mi Unlock Tool and the Internet. EDL-Each method has its own nuances: somewhere you need to wait 72-720 hours, somewhere you need special equipment, we will describe each stage in detail, warn about the risks and give recommendations on how to avoid re-blocking.

⚠️ Attention: All of these methods reset data on the phone, if the device had important files without a backup, their recovery after unlocking is unlikely. EDL may result in loss IMEI on some Xiaomi models (e.g. Redmi Note 8 Pro) POCO X3).

πŸ“Š What kind of Xiaomi phone is you?
Redmi (Note/Pro series)
POCO (F/X/M)
Mi (11/12/13)
Black Shark
Other

1.Pc Preparation: What it takes to unlock Xiaomi

Before you start unlocking, make sure your computer is ready for the procedure. Without proper preparation, you risk getting errors like Couldn't unlock or Device not connected.

You'll need:

  • πŸ–₯️ Computer on Windows 7/10/11 (64-bit On macOS or Linux, some tools (such as the Mi Unlock Tool) may not work.
  • πŸ”Œ Original. USB-cable (preferably from a phone set) cheap cables often don't transmit data to Fastboot.
  • πŸ”‹ The phone is at least 60% charged, and it can take several hours to unlock, and discharging during the process will result in a breeze (completely inoperable).
  • πŸ› οΈ Qualcomm drivers and ADB/Fastboot. Without them, the PC will not recognize the phone in the right modes.

Also download in advance:

  • πŸ“₯ Official firmware for your model (Global Stable or China Stable version).
  • πŸ“₯ Mi Unlock Tool (last version from Xiaomi).
  • πŸ“₯ Android SDK Platform-Tools (for fastboot and adb commands).

⚠️ Note: If you use a laptop, connect it to the network.Some steps (such as waiting for unlock through the Mi Unlock Tool) can take up to 30 days when you first connect your account.

2. Method 1: Unlocking via Fastboot (official method)

This is the cleanest way Xiaomi has approved, and is suitable for most models released after 2018 (Redmi Note 7, POCO F3, Mi 11 and later), the main drawback is the long wait (from 72 hours to 720 hours depending on the account’s binding).

Step-by-step:

  1. Turn on Fastboot: Turn off the phone. Press Volume down + Power for 10-15 seconds until the hare in the hat-eared (Fastboot logo) appears.
  2. Connect your phone to your PC and check for recognition: fastboot devices If the device isn’t displayed, install ADB drivers manually through Device Manager.
  3. Sign in to Mi Unlock Tool: Run Mi Unlock Tool on behalf of the administrator. Log in to the same Mi Account that is linked to the phone (even if you don't remember the password, try to restore it via account.xiaomi.com). If the account is new, the system will request a phone number link.

Start unlocking.

  • Press Unlock Now.
  • Confirm the action on the phone (if the screen is active).
  • Wait for a message about successful unlocking (can take up to 30 days on the first connection).

Once unlocked, the phone will automatically reset to factory settings. If the process is stalled in the Waiting for device phase, try:

  • πŸ”„ Reconnect. USB-cable.
  • πŸ”„ Re-launch the Mi Unlock Tool.
  • πŸ”„ Use the other USB-port (preferably) USB 2.0).

Make sure your phone is charged >60%|

Download the latest version of Mi Unlock Tool|

Install ADB/Fastboot | drivers

Link the phone number to your Mi Account |

Connect the original USB-cable-->

3. Method 2: Unlock through EDL-mode (for advanced)

EDL (Emergency Download Mode) is a service mode that allows you to flash your phone directly, bypassing the Mi Account lock, and works even on locked bootloaders, but requires:

  • πŸ”§ Authorized Xiaomi Account (for some models).
  • πŸ”§ Firmware file in.mbn format (for example, for Qualcomm chips).
  • πŸ”§ Mi Flash Tool or QFil.

⚠️ Risks of the method:

  • 🚨 Loss of loss IMEI (Some models, such as the Redmi Note 8 Pro).
  • 🚨 Possible Brick with Incorrect Firmware.

Instructions for Qualcomm devices:

  1. Transfer the phone to EDL: Turn off the phone. Press the volume up. + Loudness down + USB-cable (some models need to short test points on the board) Device Manager should appear Qualcomm device HS-USB QDLoader 9008.

Put your phone on.

  • Open the Mi Flash Tool.
  • Select the downloaded firmware file (.tgz or.mbn).
  • Press Refresh β†’ Flash.

If the Mi Flash Tool is a Sahara or Firehose error, try:

  • πŸ”Ή Use a different firmware version (e.g. China Stable instead of Global).
  • πŸ”Ή Run the Mi Flash Tool in Clean All mode (full reset).
How to find test points for EDL on Xiaomi?
On most Xiaomi models, the testpoints are located under the back cover, next to the battery. For example: - Redmi Note 9 Pro: two contacts under the inscription EDL next to the camera plume connector. - POCO X3: contacts under the metal plate (you need to lift carefully). - Mi 10: points near the charging connector (a magnifier is required). For the exact location, look for diagrams for your model on the 4PDA or XDA Developers forums.

Method 3: Bypassing locking through FRP reset (for Android 8–11)

If your Xiaomi runs Android 8-11, you can try bypassing FRP (Factory Reset Protection), Google’s protection that works after a reset.

Instructions:

  1. Turn on Recovery Mode: Turn off the phone. Press Volume up + Power until the Mi Recovery logo appears.
  2. Connect to Wi-Fi: From the Recovery menu, select Connect with Mi Assistant. Connect to the Wi-Fi network (if the phone requests a password from your Mi Account, proceed to the next step).

Use the FRP vulnerability

  • Download the FRP Bypass APK PC.
  • Connect your phone to your PC and transfer the file via adb push: adb push frp_bypass.apk /sdcard/
  • Install APK via Mi Assistant and follow the instructions in the app.

If your phone still requires a password after installing FRP Bypass, try:

  • πŸ”„ Reboot in Safe Mode (clip the power supply) β†’ Hold power off until the offer to go to safe mode appears).
  • πŸ”„ Use the other APK-file (e.g. QuickShortcutMaker to bypass locking).

⚠️ Attention: On Android 12+ circumvention FRP It's almost impossible without authorization. Also some models (Redmi Note 10 Pro, POCO F4) block APK recovery.

5.Table of methods compatibility with Xiaomi models

Not all methods work on all devices, and the table below shows how the methods are compatible with popular models:

ModelFastboot (Mi Unlock)EDLFRP BypassNotes
Redmi Note 8/8 Proβœ… Yes (360-720 h)βœ… Yes (risk of loss) IMEI)❌ No.On the Note 8 Pro, EDL often resets the IMEI.
POCO X3/X3 Proβœ… Yes, 72-168 h)βœ… Yes.⚠️ Partially (Android 10)An EDL requires an authorized account.
Mi 11/11 Proβœ… Yes, 72 hours)βœ… Yes.❌ No.Fastboot unlocks faster because of the new bootloader.
Redmi 9/9A/9Cβœ… Yes (168-360 h)❌ No (lockdown) EDL)βœ… Yes, Android 10)EDL is blocked on new audits.
Black Shark 4/5❌ No.βœ… Yes.❌ No.A special firmware for EDL is required.

If your model isn’t in the table, check compatibility on the 4PDA or XDA forums. For example, Redmi Note 12 may require a new method of unlocking via HyperOS (relevant to firmware 2026).

6. What should I do if nothing has worked?

If all methods are exhausted and the phone is still locked, radical measures remain:

  • πŸ”§ Contact Xiaomi Service Center: Provide a check or box from your phone (proof of ownership).The service can unlock the device for a fee (1,500 to 5,000) β‚½).
  • πŸ”§ Buy authorized EDL-Account: Forums sell firmware accounts (price: 500–2,000) β‚½). Risk: Fraud or blocking of Xiaomi account.
  • πŸ”§ Swipe through box (UFi, SigmaKey): Special equipment will be required (cost of service: 2,000–10,000) β‚½). Suitable for MediaTek devices (Redmi) 10A, POCO C31).

If the phone is locked due to theft or loss, unlocking may not be possible under the law, and in such cases Xiaomi, at the request of law enforcement, locks the device at the IMEI level.

πŸ’‘

Before contacting the service center, try to restore access to your Mi Account through the official website. Sometimes support will unlock the device after confirming your identity (passport, check).

7.How to avoid blocking in the future

To avoid the problem again, follow the following simple rules:

  • πŸ” Link backup email and number to Mi Account.
  • πŸ“± Turn off account binding in settings: Settings β†’ Accounts. β†’ Mi Account. β†’ Security β†’ Remove the device
  • πŸ”„ Make regular backups via Mi Cloud or Google Drive.
  • πŸ“ Write your account information to a secure location (e.g., KeePass or on paper).

If you frequently sell or buy Xiaomi used, before the transaction:

  • πŸ”Ή Check the status of your Mi Account through Settings β†’ The phone. β†’ Account status.
  • πŸ”Ή Require the seller to uncoup the device from his account.

πŸ’‘

Even after successfully unlocking, the phone can remain tied to the old Mi Account. Check this in the settings and manually uncouple if necessary.

FAQ: Frequent questions about unlocking Xiaomi

❓ Can you unlock Xiaomi without losing data?
No. All formal and informal methods involve a complete data reset (wipe), and the only way to save files is to unlock your account through retrieval (if you remember the email or number).
❓ How long does it take to unlock through the Mi Unlock Tool?
The term depends on the account history: πŸ”Ή New account (associated for less than 30 days): up to 720 hours (30 days). πŸ”Ή Old account (associated for more than 6 months): 72 hours (3 days). πŸ”Ή Account with a confirmed number: sometimes unlocking is instant.Timer resets when you turn off your phone or restart the Mi Unlock Tool.
❓ Why Mi Unlock Tool Writes Coldn't Unlock"?
The Couldn't unlock error occurs for several reasons: πŸ”Έ Account mismatch (you are logged in to the wrong Mi Account that is linked to the phone). πŸ”Έ No Administrator Rights when running Mi Unlock Tool. πŸ”Έ Older version of the tool (download the latest from the official website). πŸ”Έ The phone is not recognized in Fastboot (check drivers and cable). Solution: reinstall drivers, use another one. USB-port and make sure that the account is confirmed by email and number.
❓ Can you unlock Xiaomi on Mac or Linux?
Technically yes, but with reservations: πŸ–₯️ Mac: Mi Unlock Tool doesn’t start, but you can use fastboot to run through the ADB. 🐧 Linux: you will need to manually install libusb drivers and run the Mi Unlock Tool through Wine (unstable). 10/11.
❓ What is "authorized" EDL-Account and where to get it?
Authorized EDL-An account is an account with firmware rights for Qualcomm devices: πŸ”§ Official Xiaomi Service Centers. πŸ”§ Developers of the firmware (for example, on the XDA Developers). πŸ”§ For sale on forums (risk of fraud!) Cost: from 500 β‚½ one-time firmware up to 10,000 β‚½ For permanent access, without authorization, I'll run through EDL It will not work (there will be a Sahara error).