How to unlock Xiaomi phone if you forget your password: official and alternative methods

A forgotten password on a Xiaomi smartphone is a situation that one in five users encounter, according to service center statistics. Unlike other brands, Mi, Redmi and POCO phones have a unique security system tied to a Mi Account account, which makes unlocking difficult, but also opens up additional opportunities for access recovery.

In this article, we will look at all the current ways of unlocking, from official (via a linked account) to technical (Fastboot and EDL mode). It is important to understand that not all methods are equally safe. For example, resetting through Recovery will delete all data, and using informal tools can lead to the blocking of IMEI (unique device ID) by Xiaomi. We will describe the risks of each option in detail and give recommendations for minimizing them.

If you're looking for a way to get around data loss, you can go straight to the Mi Account recovery section, and if you bought your phone from your hands and the previous owner didn't untie your account, you'll need more radical measures, which we'll talk about as well.

1 Unlocking through Mi Account – the official way without data loss

The most reliable and recommended method Xiaomi uses is a tied Mi Account, which works if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network)
  • πŸ”‘ You remember the login and password from the account that was linked to the device
  • πŸ“§ The mail or phone number associated with the account receives a confirmation code.

Instructions:

  1. On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
  2. Enter the email or phone number associated with the Mi Account.
  3. Confirm the entry via SMS or a letter with a code.
  4. Follow the system instructions for resetting the lock password.

β˜‘οΈ What to check before unlocking with Mi Account

Done: 0 / 4

⚠️ Note: If you bought a phone with your hands and the previous owner didn't untie your account, this method won't work. In this case, contact Xiaomi support with proof of purchase (check, contract.

Advantages of the method:

  • βœ… All data is stored on the phone.
  • βœ… Does not require technical skills
  • βœ… Officially Approved by Xiaomi

2.Reset via Recovery Mode – fast, but with loss of data

If Mi Account is lost and the phone needs to be unlocked urgently, you can use Recovery Mode, which removes all data from the device, including photos, contacts and apps, but returns access to the system.

Instructions for most Xiaomi models (including Redmi Note 12, POCO X5, Mi 11):

  1. Turn off the phone with a long press of the power button.
  2. Press the combination Volume up + Power button and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data (or Clear Data) with the volume buttons, confirm the choice with the power button.
  4. After reset, select Reboot to reboot.
What if Recovery Mode asks for a password?
Some models (such as the Xiaomi 13 Pro) even require a password to be entered in Recovery mode, in which case try connecting the phone to a PC and using the Fastboot method (described below).
Xiaomi modelCombination for entering RecoveryFeatures
Redmi Note 10/11/12Volume up + NutritionMenu in English, support for sensory control
POCO F3/F4/F5Volume up + NutritionYou can request a password in Recovery
Xiaomi 12/13/14Volume up + NutritionRequires confirmation via Mi Account after reset
Redmi 9/9A/9CVolume up + NutritionMenu in Chinese (you need to navigate by icons)

⚠️ Note: On new models (Xiaomi) 13T, Redmi Note 12 Pro+) After resetting via Recovery, you may need to enter data from the Mi Account that was previously tied. If you don't know this data, the phone will turn into a "brick" (inoperable device).

πŸ“Š What Unlocking Method Have You Tried?
Mi Account
Recovery Mode
Fastboot
EDL
I haven't tried it yet.

3. Unlocking via Fastboot – for advanced users

Fastboot mode allows you to interact with your phone through your computer, bypassing the locking of the screen.

  • πŸ”§ You can work with the command line.
  • πŸ’» You have a PC with Xiaomi drivers installed
  • πŸ“± The phone is determined by the computer in Fastboot mode

Step-by-step:

  1. Install Android Platform Tools (includes fastboot and adb).
  2. Turn off the phone and press Volume Down + Power to log into the Fastboot.
  3. Connect your phone to your PC through USB-cable.
  4. Open the command prompt (cmd) in the folder with the platform-tools and execute the command: fastboot oem unlock If the command does not work, try: fastboot flashing unlock
  5. Follow the instructions on your phone screen (confirmation via Mi Account may be required).

⚠️ Note: On models with a locked loader (Xiaomi) 12S Ultra, Redmi K50) The fastboot oem unlock command will not work without first unlocking the bootloader through the official Mi Unlock app.This process takes up to 720 hours (30 days) of waiting!

πŸ’‘

Before using Fastboot, check if your phone is recognized by the fastboot device command. If the list is empty, install Xiaomi USB Driver drivers.

4. EDL (Emergency Download Mode) - last resort

EDL (Emergency Boot) is a hidden mode that allows you to flash the phone at a low level, bypassing all locks, and is used by service centers, but has the maximum risks:

  • 🚨 Total data loss is possible
  • πŸ”„ Maybe wipe off. IMEI (The phone will be unsuitable for calls)
  • πŸ›‘οΈ Xiaomi may block the device for using unofficial tools

How to log into EDL:

  1. Turn off the phone.
  2. Hold the Loud up. + Loudness down + Power (on some models you need to first clamping the volume, then connect) USB-cable).
  3. The screen will stay black, which is fine. Check if the device in Device Manager is identified as a Qualcomm HS-USB QDLoader 9008.

For firmware in EDL mode, you will need:

  • πŸ–₯️ Special software: Mi Flash Tool or QFil
  • πŸ“„ Official firmware for your model (you can download on Xiaomi Firmware Updater)
  • πŸ”Œ Cable USB Data support (not all cables are suitable!)

πŸ’‘

EDL mode should only be used if other methods have failed, and the wrong actions can turn the phone into a brick without the possibility of recovery.

5. Alternative methods: bypassing the lock without resetting

If you don't want to lose data, you can try alternative methods. They don't work on all MIUI models and versions, but they sometimes help:

Method 1: Calling a locked phone

  • πŸ“ž Call the locked phone from another device.
  • πŸ“ž Take the call, then quickly go to Settings. β†’ Password and security and reset the pattern lock.
  • ⚠️ It only works on older versions. MIUI (12).

Method 2: Use the "Find the Device" function

  • 🌍 Go to i.mi.com and log in to your Mi Account.
  • πŸ“ Select a locked phone in the list of devices.
  • πŸ”’ Click Block, then set a new password.

Method 3: Connecting the mouse via OTG

  • πŸ–±οΈ Connect. USB-mouse to phone OTG-adapter.
  • πŸ” With the cursor, try β€œstretching” the notification curtain and accessing the settings.
  • ⚠️ New models (MIUI 14+) This method is blocked.

6. What should I do if nothing helps?

If all of these methods fail, you have three options:

  1. Official SCs have access to special tools for unlocking, but will require documents confirming the purchase.The cost of the service: from 1,500 to 5 000 rubles, depending on the model.
  2. There are services on the Internet (for example, DC-Unlocker) that sell unlock codes for $5-20. Risk: 30% chance of getting a non-working code or running into scammers.

⚠️ Warning: Avoid "masters" who offer to unlock your phone in 5 minutes with a warranty, most often using illegal methods that lead to locking. IMEI. Check reviews and demand a check!

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if you remember the username and password from the Mi Account attached to the phone, in which case use the official method of recovery through Forgotten password? on the lock screen. All other methods (except alternatives that do not always work) will lead to deletion of data.
What if after resetting via Recovery, the phone asks for an old Mi Account?
This means that Factory Reset Protection (FRP) is activated on the phone. You need to: Enter the data from the Mi Account that was tied before the reset. If you don't know this data, contact Xiaomi Support with proof of purchase. If the phone is bought from hand, try contacting the previous owner. Without this data, unlocking the phone is almost impossible - this is a measure of protection against theft.
Can I unlock Xiaomi through ADB?
In theory, yes, but in practice, Xiaomi is blocking access to the Internet. ADB in the locking mode of the screen starting from MIUI 10. If your phone is debugging on USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 Once tapped to unlock the developer options, you can try the commands: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key Adb reboot, however, on newer models (MIUI 13+) This method doesn't work.
How much does it cost to unlock in the service center?
Cost depends on the model and the reason for the lock: Type of lock (β‚½) Forgotten Password (with Mi Account access) Free 5-10 minutes Recovery (without Mi Account) 500-1 500 30 minutes Unlocked EDL (loss IMEI) 2,000–4,000 1–3 days Delete the tied Mi Account (without a check) 3,000–10,000 7–14 days Official Xiaomi service centers charge a fixed fee (from 1,500) β‚½), While informal workshops may request more, but without guarantees.
Can you unlock Xiaomi if it’s tied to someone else’s Mi Account?
Technically, but legally, only through Xiaomi. Options: Official way: Contact support with a check to buy. Xiaomi can help if the phone is not blacklisted (not stolen). Unofficial way: Use paid services like DC-Unlocker or Mi Account Removal, but the risk of blocking IMEI is high. Extreme case: Swipe the phone through EDL, but this can make it unusable for calls. Buy Xiaomi phones only from official sellers or check whether Mi Account is untied before buying!