Unlike iPhones, where unlocking requires contacting a service center, Xiaomi devices offer several ways to restore access, from official solutions through Mi Account to technical methods like Fastboot or EDL. The main thing is not to panic and not try to guess the password an infinite number of times: after 5-10 failed attempts, the system can lock the device for 24 hours or even erase all data.
In this article, we will discuss 5 working ways to reset your password to Xiaomi, including the Redmi, POCO and the flagship Mi/Xiaomi 13/14 series. Each method is suitable for different situations: for example, if you have a Mi Account but no access to mail, or if the phone is dead at the time of locking. Particular attention is paid to the risks of data loss - some methods require a full reset (hard reset), so prepare backups in advance if possible.
Before you start, check:
- π Battery level (minimum 30% - otherwise the risk of "bricking" the device during the procedure).
- π‘ Stable Internet connection (for methods with authorization via Mi Account).
- π§ Presence USB-cable and computer (for methods with Fastboot or EDL).
1 Unlocking through Mi Account (official method)
The most secure and recommended method for Xiaomi is to use a tied Mi Account.
- π§ You remember the login (email or phone) and password from the account.
- π The device was tied to the account before being blocked.
- π Internet access (via Wi-Fi or mobile network).
Instructions:
- On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
- Enter the login (email/phone) from Mi Account and password. If you don't remember your password, use the recovery function at account.xiaomi.com.
- Confirm your login via SMS or email (depending on your security settings).
- Follow the instructions on the screen to reset the lock password.
β οΈ Warning: If you've previously disabled sync with Mi Account or bought your phone hand-held, this method won't work.
Check the account binding in the settings (if the phone is unlocked)
Make sure you remember the username/password from your Mi Account.
Connect to Wi-Fi or mobile internet
Charge your phone to at least 30%
-->
2. Reset password via Recovery Mode (without loss of data)
Recovery mode allows you to reset the lock password, but does not guarantee the safety of data - it all depends on the version of the MIUI firmware. On new devices (for example, Xiaomi 13/14 or Redmi Note 12), this method often leads to a complete reset (wipe), and on older models (up to MIUI 12) can do without losses.
How to log in to Recovery:
- Turn off the phone (press the power button and select Turn off).
- Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
- From the Recovery menu, select the language (if you have an option), then go to Wipe & Reset.
- Select Wipe Lock Settings (Erase Lock Password on some firmware).
- Confirm the action and restart the device.
β οΈ Note: If you don't have Wipe Lock Settings in the Recovery menu, your firmware doesn't support partial password resetting, and you'll have to choose Wipe All Data, which will erase all files, photos and apps!
What happens if the Recovery Mode does not open?
3. Unlock via Fastboot (for advanced users)
Fastboot mode is a "service menu" of a smartphone that allows you to control firmware through a computer.
- π§ You have a PC with Xiaomi drivers installed and the Mi Flash Tool tool.
- π₯ You are ready to download the official firmware for your model.
- β οΈ You understand the risks (if you make a mistake, your phone can turn into a brick").
Step-by-step:
- Download the firmware for your model from MIUI Downloads (choose the Fastboot version).
- Unpack the archive in a folder on your computer.
- Turn off your phone and press Volume Down + Power to enter the Fastboot (a picture of a rabbit labeled Fastboot will appear).
- Connect your phone to your PC via USB.
- Launch the Mi Flash Tool, select the firmware folder and press Refresh β the program must detect the device.
- At the bottom, choose Clean All (full reset) or Save User Data (data retention, but not always works).
- Press Flash and wait for the process to end (5-10 minutes).
Once you reboot, the lock password will be reset, but all data (photos, messages, apps) will most likely be deleted. If you need to save files, try the ADB method first (described below).
π‘
Before you run your firmware through Fastboot, disable the antivirus on your PC β it can block MIUI files as βsuspicious.β
4.Use ADB to reset password (without data loss)
Tool. ADB (Android Debug Bridge allows you to control your smartphone through the command line of your computer, which only works if you have debugging on your phone beforehand. USB (USB If you haven't activated it before locking it, it won't work.
Instructions:
- Install ADB and Fastboot Tools on your computer.
- Connect your phone to your PC via USB.
- Open the command line (cmd) in the adb folder and type: adb devices If the device appears in the list, go further.
- Enter the commands in turn: adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
After rebooting, the lock password will be reset and all data (photos, messages, apps) will remain in place. If the commands do not work, try replacing rm with del (for some firmware).
π‘
ADB is the only way to reset a password without losing data, but it requires pre-setting the debugging over USB.
5. EDL mode (emergency firmware)
EDL (Emergency Download Mode) is the last chance to unlock if other methods have failed. It allows you to flash the phone at a low level, bypassing all locks.
- β οΈ High risk of βbrickingβ in case of error.
- π§ Special cable is required (EDL cable) or short circuit of contacts on the board.
- π₯ I need an official firmware in.mbn format.
How to log into EDL:
- Turn off the phone.
- Close the Test Point contacts on the motherboard (the instructions for each model are different β look for forums like 4PDA or XDA Developers).
- Connect. USB-cable to PC β the device is defined as Qualcomm HS-USB QDLoader 9008.
- Use the Mi Flash Tool for firmware (select Clean All).
β οΈ Attention: Incorrect actions in the mode EDL The bootloader can be damaged, and the phone will not turn on even in the service center, a method recommended only for experienced users or specialists.
Comparison of Unlocking Methods
| Method | PC required | Data retention | Difficulty | Suitable for |
|---|---|---|---|---|
| Mi Account | β No. | β Yes. | β Easy. | All models with an associated account |
| Recovery Mode | β No. | β οΈ Partially. | ββ Middle-Average | Models up to MIUI 12 |
| Fastboot | β Yes. | β No. | βββ Hardly. | All models with unlocked loader |
| ADB | β Yes. | β Yes. | βββ Hardly. | Only with USB debugging enabled |
| EDL | β Yes. | β No. | ββββ Very difficult. | Critical cases (for example, the bootloader is blocked) |
What do you do if nothing helps?
If all of these methods fail, there are two options:
- Contact the Xiaomi Service Center. π Find the official service on the website mi.com. π° The cost of unlocking: from 1000 to 3 000 rubles (depending on the model and the reason for blocking). β³ Timeline: 1-3 days.
UFi Box
Octoplus
- π§ Suitable for masters or users who often encounter locks.
- π» Requires soldering iron skills (to connect to Test Point).
- πΈ Boxing price: from 10 000 rubles.
β οΈ Warning: Avoid handicraft services that promise to unlock your phone in 5 minutes without losing data. Often, these wizards use illegal firmware or damage the bootloader, after which the device becomes unfit for official repair.