How to unlock Xiaomi phone if you forget your password: all working ways

Forgotten password on Xiaomi smartphone is a situation that every fifth user faces. According to statistics of service centers, 18% of calls are related to locking the device due to loss. PIN-Fortunately, the manufacturer has provided several formal and informal ways to unlock, but each of them has its own nuances and risks.

In this article, we will discuss all the current methods of unlocking Xiaomi phones (including Redmi models, POCO, Black Shark, from the safest of all, through a tied Mi Account, to radical measures like a Fastboot reset or a flashing experience. 2023โ€“2026 years MIUI 14/15, Where the process may differ from the old instructions.

We warn you right away that some methods will lead to complete data loss, and the wrong actions can turn the phone into a brick.

1 Unlocking through Mi Account (official method)

The most reliable and recommended method for Xiaomi is to use a tied Mi Account, which works on all models, including the latest Xiaomi 14, Redmi Note 13 and POCO F6, if:

  • ๐Ÿ“ฑ The phone is connected to the Internet (Wi-Fi or mobile network).
  • ๐Ÿ”‘ You remember the username and password from Mi Account that was tied to the device.
  • ๐Ÿ”„ Find Device has been activated in the settings.

Instructions:

  1. On the lock screen, click Forgot Password? (or Forgot Password? on English firmware).
  2. Select the option to Sign in via Mi Account.
  3. Enter the email or phone number associated with the account and the password.
  4. Confirm your login via SMS or email (if two-factor authentication is enabled).
  5. Follow the system instructions for resetting the lock password.

โš ๏ธ Note: If you have previously disabled Find Device or have not linked an account, this will not work. SMS Even with the right password, it is a security measure against hacking.

๐Ÿ’ก

If you do not remember the password from Mi Account, restore it to the official website account.xiaomi.com via the attached email or phone. Do not use third-party services to "hack" the account - this is fraud!

2. Reset password via Recovery Mode (with loss of data)

If the Mi Account is not tied or you donโ€™t remember the login details, the next option is to reset your settings via Recovery Mode.This method removes all data from your phone (photos, contacts, messages, apps), but keeps the device working. Suitable for most Xiaomi models, except those that include the Mi Cloud Lock feature (more on this below).

Step-by-step:

  1. Turn off the phone with a long press of the power button.
  2. Press the button combination to enter Recovery: ๐Ÿ“ฑ For most models: Power button + Loudness up. ๐ŸŽฎ For Black Shark: The Power Button + Loudness up + Loudness down.

Recovery

Wipe Data โ†’ Wipe All Data

โ†’

Confirm the action and wait for the reset to be completed.

Reboot โ†’ Reboot to System

โš ๏ธ Note: Some models (e.g. Xiaomi) 13T or Redmi K60) And when you reset, you might have a request for Mi Account data that you had previously tied up, called Mi Cloud Lock, which is anti-theft protection, and if you don't remember your account information, your phone will remain locked!

What is Mi Cloud Lock?
This is a security feature that activates when you reset your settings through Recovery if your phone was tied to Mi Account. After the reset, the system requires you to enter the account details that was tied to the device last. If you bought the phone from your hands and the previous owner did not untie your account, you can only unlock the device through it or through the official Xiaomi service.

3. Unlock via Fastboot (for advanced users)

The method via Fastboot is suitable if:

  • ๐Ÿ”ง You have access to a computer with Xiaomi drivers installed.
  • ๐Ÿ“ฅ You can download the official firmware for your model.
  • ๐Ÿ› ๏ธ You are prepared for possible data loss (in some cases, it can be saved).

This method will require:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/Linux/macOS.
  • ๐Ÿ”Œ USB-cable (preferably original).li>
  • ๐Ÿ“ฆ Firmware archive (.tgz or.zip) for your model (you can download it on the official website).
  • ๐Ÿ› ๏ธ Mi Flash Tool (for Windows) or fastboot in Android SDK.

Instructions:

  1. Turn off the phone and press the Power button + Volume down to log into the Fastboot.
  2. Connect the phone to the computer.
  3. Launch the Mi Flash Tool, select the downloaded firmware and press Refresh (your device should be displayed).
  4. Select Clean All mode (full reset) or Save User Data mode (save data, but doesnโ€™t work on all models).
  5. Press Flash and wait for the process to complete (5-10 minutes).

โš ๏ธ Warning: Incorrect firmware or interrupted process can lead to a breeze (complete failure) of the phone. If you are not sure of your actions, it is better to contact the service center.

๐Ÿ“Š What kind of unlocking method have you tried?
Through the Mi Account.
Reset to Recovery
Fastboot/EDL
I've been to the service.
I haven't tried it yet.

4.Using EDL mode (for power users)

Regime. EDL (Emergency Download Mode is a firmware emergency mode that allows you to reflash your phone even when there is a major crash, and it is used when the Fastboot is unavailable or unhelpful. EDL New Xiaomi models (released after 2021) require an authorized account or special cable (EDL cable).

How it works:

  1. The phone is transferred to EDL mode through a combination of buttons or short circuit of contacts on the board (disassembly is required).
  2. The computer runs the Mi Flash Tool or QFil utility (for Qualcomm processors).
  3. Official or custom firmware is requested.

โš ๏ธ Note: On models with a MediaTek processor (e.g. Redmi Note 12, POCO M6) entrance EDL It can be locked at the hardware level, and you'll need soldering equipment or help from a service center.

Processor modelEntry into EDL is possibleIs authorization required?
Qualcomm Snapdragon (8 Gen 2, 778G, etc.)Yes.Yes (for new models)
MediaTek Dimensity (9000, 1080, etc.)Limited.Yeah (often requires disassembly)
Qualcomm 4xx series (budget models)Yes.No (on old firmware)

๐Ÿ’ก

EDL mode is the most powerful unlocking tool, but also the riskiest. Without experience, it's best not to use it yourself, especially on newer models with unauthorized firmware protection.

5. Bypassing the lock via ADB (if debugging is enabled)

If the phone has previously been debugged USB (USB Debugging, you can try unlocking it through ADB (Android Debug Bridge: This method wonโ€™t work unless debugging has been activated in advance!

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with installed ADB and Xiaomi drivers.
  • ๐Ÿ”Œ USB-cable.
  • ๐Ÿ“ฑ Phone with debugging enabled and resolution for this computer.

Instructions:

adb shell


su




rm /data/system/gesture.key # for pattern lock




rm /data/system/password.key # for PIN/password




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

After the reset, the password should be reset, and if not, repeat the process or try alternative commands:

adb shell am start -n com.android.settings/.ChooseLockGeneric

โš ๏ธ Attention: MIUI 14/15 This method may not work due to enhanced security, and after resetting the password, you may have problems with the Mi Account (re-authorization will be required).

6. Contact the Xiaomi Service Center

If all of these methods did not help or you are afraid of taking risks, the most reliable option is to contact the official Xiaomi service center.

  • ๐Ÿ”’ Phones with Mi Cloud Lock (requires original owner confirmation).
  • ๐Ÿ“ฑ Models with damaged firmware or hardware locks.
  • ๐Ÿ’ผ Corporate devices with additional protection.

What you need to unlock in the service:

  • ๐Ÿ“„ Documents confirming the purchase (check, warranty card).
  • ๐Ÿ”‘ Data from Mi Account if the phone was tied.
  • ๐Ÿ’ณ Payment for the service (on average from 1000 to 3 000 rubles depending on the complexity of the service).

โš ๏ธ Warning: Unofficial services may offer โ€œunlockโ€ by bypassing Mi Account for a low price. Often this is a scam: after such an unlock, the phone may lose access to Xiaomiโ€™s branded services (cloud, updates, theme store).

Check for a check or guarantee card|Make sure your phone is at least 50 times charged%|Write it down. IMEI (box-and-battery)|Prepare your Mi Account information (if you remember)|Backup important data (if the phone is partially working)-->

7.How to avoid blocking in the future

To avoid the problem of forgotten passwords again, follow these tips:

  • ๐Ÿ” Use biometric unlocking (fingerprint or facial recognition) in addition to the password.

It's also useful to know:

  • ๐Ÿ”„ Nana MIUI 14/15 The function of emergency reset password through SMS (if the phone number is attached).
  • ๐Ÿ“ฑ In some models (for example, Xiaomi 13 Ultra) you can configure temporary access for friends / relatives without disclosing the main password.

โš ๏ธ Warning: Never disable Mi Account on your phone if you plan to sell or transfer it to another person.This could result in the device being locked for a new owner!

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if: ๐Ÿ”‘ You remember the data from Mi Account and the Find Device function is active. ๐Ÿ–ฅ๏ธ The phone's debugging on. USB and you can use it ADB. In all other cases (reset via Recovery, Fastboot, EDL) data will be lost.
What to do if you ask for an old Mi Account after a reset?
This is Mi Cloud Lock, anti-theft. Solutions: Enter your original account (if your phone is yours but you forgot your password, restore it on Xiaomi's website), and contact the service center with your phone's documents. If the phone is purchased from hand โ€“ contact the previous owner and ask to untie the account. โš ๏ธ Self-Bypassing Mi Cloud Lock Could Lead to Lock IMEI!
Does unlocking work by calling an emergency number?
No, this method has not worked on MIUI since version 9. It used to be possible to get into settings through an emergency call, but Xiaomi has closed this vulnerability.
Can I unlock Xiaomi through a computer without firmware?
Yes, but only if: ๐Ÿ–ฅ๏ธ The phone's debugging on. USB. ๐Ÿ”ง You can use it. ADB (Undebugging is possible only by complete flashing (see sections 3 and 4).
How much does it cost to unlock Xiaomi?
Cost depends on the model and the reason for the lock: Type of lock (โ‚ฝ) Password reset (without Mi Cloud Lock) 800โ€“1 500 Mi Cloud Lock bypass (with documents) 1,500โ€“3,000 Recovery after a failed firmware 2000โ€“5,000 โš ๏ธ In unofficial services, the price may be lower, but the risk of losing the warranty or functionality of the phone is higher.