Forgot your Mi Account password? 5 ways to unlock Xiaomi without losing data

A forgotten Mi Account password is one of the most common problems for Xiaomi smartphone owners, and locking a device through a Mi Account is triggered after resetting settings, flashing it, or trying to log in after a long downtime. Unlike the standard pattern lock or PIN-Unlocking through Mi Cloud requires proof of ownership, which often becomes an obstacle if access to mail or phone is lost.

In this article, we will analyze all the current ways of unlocking – from official (via support for Xiaomi and Mi Unlock Tool) to alternative (via Fastboot, EDL We will focus on the risks of data loss and methods of minimizing them, as well as the nuances for devices with a locked bootloader, POCO, Mi and Black Shark on base MIUI (including MIUI 14/15).

1.Official method: Unlocking through Mi Unlock Tool

The most legal method is to use the Mi Unlock Tool, a tool developed by Xiaomi to unlock the bootloader, but it only works if three conditions are met:

  • πŸ“± The device is linked to your Mi Account (even if your password is forgotten).
  • πŸ”— The phone's debugging on. USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 taps by assembly number β†’ For developers β†’ Debugging by USB).
  • ⏳ At least 72 hours have passed since the last account was linked (Xiaomi anti-theft rule).

If the conditions are met, follow the instructions:

  1. Download Mi Unlock Tool from the official website.
  2. Install Xiaomi drivers for your model (like Qualcomm or Mediatek).
  3. Transfer the phone to Fastboot mode: turn off the device, press Volume down + Power.
  4. Connect your smartphone to your PC and launch the Mi Unlock Tool. Sign in with the same Mi Account that your phone is attached to.
  5. Press Unlock and wait until the process is complete (usually 5-10 minutes).

Download Mi Unlock Tool from the official website|Install drivers for your Xiaomi model|Enable debugging on USB phone-on|Link the device to your Mi Account 72 hours before unlocking|Prepare. USB-cable (original or high quality)

-->

Limitations of the method:

  • ❌ Does not work on devices with a locked bootloader (pre-unlocking via Mi Account is required).
  • ❌ Not suitable if the phone is stolen or bought from hands (link to someone else's account).
  • ⚠️ After unlocking, all data will be reset (if there was no backup copy).

2 Unlocking via Fastboot: Bypassing the Mi Account Check

If the Mi Unlock Tool doesn’t help (for example, because of a blocked bootloader), you can try bypassing the Mi Account verification via Fastboot mode.This method is suitable for Qualcomm devices (most Redmi and POCO models).

You'll need:

  • πŸ–₯️ Windows computer (Qualcomm drivers) HS-USB QDLoader 9008).
  • πŸ“² Mi Flash Tool or QFil (for firmware in mode) EDL).
  • πŸ”§ Firmware for your model (download from xiaomifirmwareupdater.com).

Step-by-step:

  1. Turn off the phone and turn it into Fastboot mode (Loud down + Power).
  2. Connect the device to the PC and check its definition by command: fastboot devices If the device is not detected, install drivers manually through Device Manager.
  3. Download Fastboot firmware for your model and unpack it into a folder without Cyrillic characters.
  4. Run the Mi Flash Tool, select the firmware folder, and press Refresh. The device should appear in the list.
  5. At the bottom of the program, select Clean all and lock (full reset with bootloader lock) or Clean all (reset without lock).
  6. Press Flash and wait for the process to complete (5-15 minutes).
What to do if the Mi Flash Tool is in error?
If the program gives an error critical partition flashing is not allowed, then the bootloader is blocked. In this case, you will need: 1. Unlock the bootloader through the Mi Unlock Tool (if you have access to the associated account). 2. Or use EDL mode (emergency boot), but this requires an authorized Xiaomi account or a special box (for example, UFi Box).

After the Fastboot firmware:

  • βœ… The Mi Account lock will be removed.
  • ❌ All data on the phone will be deleted.
  • ⚠️ Some models (such as the Redmi Note 10 Pro) may require authorization to use the Mi Account after the first download.

πŸ’‘

Before you run your Fastboot firmware, check the phone model with the fastboot getvar product command. Using firmware from another model will result in a device being "bricked."

3. Unlocking through EDL (Emergency Download Mode)

EDL (Emergency Boot) is a "hidden" firmware mode that allows you to reflash your phone even with a locked bootloader, but it requires:

  • πŸ”Œ Special cable EDL (board-bar).
  • πŸ’» QFil or Mi Flash Tool with support EDL.
  • πŸ” Authorized Xiaomi account (for new models).

Instructions for devices on Qualcomm:

  1. Turn off the phone and connect it to the PC without pressing the buttons.
  2. Close the Test Point contacts on the motherboard (location depends on the model, look for diagrams for your device).
  3. The device will be called Qualcomm HS-USB QDLoader 9008.
  4. Start QFil, select firmware in.mbn format and press Download.

πŸ’‘

EDL mode is the only way to unlock Xiaomi with a locked bootloader and lost access to the Mi Account.However, it requires disassembling the phone and risks voiding the warranty.

Warnings:

⚠️ Attention, Test Point's incorrect contact closure could disable the motherboard. If you're not sure about your skills, contact the service center.

⚠️ Attention, starting with MIUI 13, Xiaomi tightened protection in mode EDL. For firmware, authorization may be required through an official developer account.

4.Application in support of Xiaomi: the official lifting of the lock

If the phone is legally purchased (there is a check or warranty card), you can try to contact official support Xiaomi.

  1. Prepare proof of purchase (check, box with serial number, warranty card).
  2. Contact support through: 🌍 Official website (Support section). πŸ“§ E-mail: support@xiaomi.com (for international users). πŸ“ž Hotline phone number (numbers depend on country).

IMEI

The time limit for the request is 3 to 14 days, and if the decision is positive, you will be sent:

  • πŸ”‘ Special unlock code.
  • πŸ“„ Instructions to remove the lock via Mi Unlock Tool.

What increases the chances of success:

  • πŸ“¦ Original packaging with serial number.
  • πŸ’³ Check or bank statement of purchase.
  • πŸ“… The phone was purchased no more than 6 months ago.

Contact the official service |Use Mi Unlock Tool|ISweep through Fastboot|Use EDL|Other

-->

5. Alternative methods: bypassing Mi Account without losing data

If you need to unlock your phone without resetting data, you can try the following methods (not all models work):

Method 1: Recovery Mode (TWRP)

  • πŸ”§ Install a custom Recovery TWRP for your model.
  • πŸ“ Download the archive. Disable_Mi_Account.zip (available on forums XDA Developers).
  • πŸ”„ Reboot to TWRP, Switch the archive and restart.

Note: The method only works on devices with an unlocked bootloader.

Method 2: Through ADB (if debugging is enabled)

  1. Connect your phone to your PC and open the command line.
  2. Enter the commands: adb shell su rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot

This will delete files with lock settings, but does not guarantee a Mi Account bypass.

Method 3: Through Service Codes

Some older models (Redmi 4X, Redmi Note 4) have a combination of:

  1. Enter the dialer: ##3646633##.
  2. Go to Engineer Mode β†’ MTK Settings β†’ Security β†’ Erase FRP.
  3. Reboot the phone.

πŸ’‘

If the phone asks for a password from a Mi Account after a reset, try entering 123456 or 000000 – sometimes this works on devices with firmware from third-party developers.

6. the table of compatibility of unlock methods with Xiaomi models

Unlocking methodRedmi Note 10/11POCO X3/X4Mi 11/12Redmi 9/9ANotes
Mi Unlock Toolβœ… Yes.βœ… Yes.βœ… Yes.βœ… Yes.Account binding required in 72 hours
Fastboot (firmware)βœ… Yes.βœ… Yes.⚠️ Partially.βœ… Yes.Mi 11/12 may require authorization
EDL (Emergency mode)βœ… Yes.βœ… Yes.❌ No.βœ… Yes.It does not work on flagships with Snapdragon 8xx
TWRP (Castom Recaveri)βœ… Yes.βœ… Yes.❌ No.βœ… Yes.Requires an unlocked bootloader
Official supportβœ… Yes.βœ… Yes.βœ… Yes.βœ… Yes.I need the purchase documents.

7. Frequent mistakes and how to avoid them

When unlocking Xiaomi, users often face the following problems:

Error 1: "Couldn't unlock" in Mi Unlock Tool

  • πŸ”Ή Reason: Device is not linked to account or 72 hours have passed.
  • πŸ”§ Solution: Wait 3 days or use another method.

Error 2: Phone is not detected in Fastboot

  • πŸ”Ή Reason: no Qualcomm or Mediatek drivers.
  • πŸ”§ Solution: Install drivers manually through Device Manager.

Error 3: After firmware, the phone asks for a password from Mi Account

  • πŸ”Ή Reason: Firmware did not delete account files (/data/system/mi_account).
  • πŸ”§ Solution: Repeat the firmware with the Clean all and lock option.

Mistake 4: Hanging on the logo after EDL

  • πŸ”Ή Reason: Wrong firmware or interrupted process.
  • πŸ”§ Solution: Repeat the firmware in EDL with the correct.mbn file.

πŸ’‘

90% of the errors in unlocking Xiaomi are due to misinstallation of drivers or incompatible firmware.Always check the phone model and MIUI version before starting the procedure.

FAQ: Answers to Frequent Questions

Can I unlock Xiaomi without losing data?
Theoretically, yes, but only if you have a bootloader unlocked and TWRP installed. Otherwise, unlocking through Fastboot or EDL will result in a complete reset.
What if the Mi Unlock Tool says "Account not associated with device"?
This means that the phone is not tied to your Mi Account.Try: Sign in to another account that the phone is linked to.Call in Xiaomi's support with proof of purchase.
Does Mi Account bypass work on MIUI 14/15?
In recent versions of MIUI, TWRP or ADB circumvention is rare, and the most reliable methods are Fastboot or EDL with full flashing.
Can I unlock Xiaomi, bought from hand, if the previous owner did not untie the account?
Technically, yes, but it would require: Contacting the previous owner and asking to untie the device via account.xiaomi.com. Or using EDL, but it is risky (may block IMEI). Buying phones with a tied Mi Account is fraught with problems - it is better to avoid such transactions.
How much does it cost to unlock Xiaomi in the service center?
Cost depends on model and method: Official service: 1,500–3,000 β‚½ (Unofficial workshops: 1,000-2,500 β‚½ (risk of loss). EDL-firmware: 2,000 to 5,000 β‚½ (flagship).