How to unlock Xiaomi phone if you forget your password: from Mi Account to Hard Reset

A forgotten password on Xiaomi is a situation that one in five users face, according to service center statistics. Unlike iPhone or Samsung, Redmi, POCO and Mi smartphones have unique lock mechanisms associated with Mi Account and MIUI proprietary firmware. The main problem is that even after a reset through the recovery, the phone may require you to enter the data of the old account is the protection against theft, which Xiaomi has implemented since 2018.

In this article, we will discuss all the working methods of unlocking, from official (via Find Device or Mi Cloud) to technical (ADB commands, Fastboot mode). Separately, we will focus on the nuances for new models (Xiaomi 13/14, Redmi Note 12), where the manufacturer has tightened security measures. Importantly, some methods will lead to complete data loss, so first check whether the phone is connected to Mi Account - this is a chance to restore access without reset.

1 Unlocking through Mi Account (official method)

If the phone is tied to a Mi Account, it is the fastest and safest way to unlock, even on newer models (Xiaomi 14, POCO F5), but requires access to the email or phone number specified when registering.

Algorithm of action:

  • 🌐 Go to account.xiaomi.com from a computer or other phone.
  • πŸ”‘ Enter the login (email/If you have forgotten your password, use the "Forgot your password?" function (you need to access your mail or email). SMS).
  • πŸ“± In the account menu, select Find Device (or Find Device in the Russian version).
  • πŸ”“ The map will show your phone. Click on it and select Unlock DeviceΒ»).

⚠️ Note: If two-factor authentication is enabled on the phone (2FA), You will need to enter the code SMS Or Google Authenticator, and without that, you can't unlock it, you'll have to use other methods.

πŸ“Š Your Xiaomi phone is tied to your Mi Account?
Yeah, and I remember the entry data.
Yeah, but I forgot my password.
No, not tied.
I don't know, I haven't.

2.Reset via Recovery Mode (no Mi Account)

If the Mi Account is not tied or you don’t remember the data, it’s resetting through the receptacles. This method will remove all data from the phone, including photos, contacts and apps. On Xiaomi models older than 2020 (Redmi Note 9, Mi 10 and later), after the reset, you may need to enter data from the old account – this is reset protection (FRP).

Instructions for entering Recovery Mode:

  1. Turn off the phone with a long press on the power button.
  2. Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (if you have an option), then go to Wipe Data β†’ Wipe All Data.
  4. Confirm the reset by selecting Confirm (some models will require manually entering Yes).

Turn off the phone from charging.

Make sure the battery is at least 30% charged.

Download a backup of your data (if your phone has previously synced to Mi Cloud)

Prepare data from Mi Account (if the phone is tied)

-->

⚠️ Attention: On Xiaomi models 12/13/14 Redmi Note 11/12 After the reset, you may receive a request to enter data from the previous Mi Account. If you do not remember them, the phone will turn into a β€œbrick” – you will need to contact the service center to unlock through the phone. EDL-regime (cost of 1 500 β‚½).

3. Unlock via Fastboot (for advanced users)

Fastboot mode allows you to reset your phone without logging in, but requires a connection to your computer and installing ADB/Fastboot drivers. The method is suitable for models where Recovery Mode is blocked (for example, after a failed update).

Step-by-step:

  1. Install Platform Tools on PC (includes fastboot and adb).
  2. Turn off your phone and press the Power button + Volume down to log into Fastboot Mode.
  3. Connect your phone to your computer through USB-cable (preferably original).
  4. Open the command line in the Platform Tools folder and type: fastboot devices If the phone is selected (its serial number will appear), continue. If not, install the drivers manually.
  5. For a full reset, type fastboot erase userdata fastboot erase cache fastboot reboot.

On Xiaomi models with a locked bootloader (Bootloader), the fastboot erase userdata command may not work – you will need to unlock Bootloader through the official Xiaomi website (the process takes up to 72 hours).

What if Fastboot can’t see the phone?
If the fastboot device team doesn’t show your Xiaomi, try: 1. Reinstall drivers via the Mi Flash Tool. 2. Use another one. USB-The original cable (preferably the original one). 3. Try another one. USB-port (preferably) USB 2.0 on the back of the PC). 4. On some models (POCO X3, Redmi 9 to be included OEM Unlock in developer settings before blocking – if not done, unlocking via Fastboot is impossible.

4.Use of ADB (if USB-debugging was included)

If you have been on the block before USB-debugging in the developer settings, you can try to delete the file with a password through ADB. This method only works when connected to a previously authorized computer.

Instructions:

  1. Connect your phone to your PC via USB (File Transfer or MTP mode must be enabled).
  2. Open the command line in the folder with Platform Tools and type: adb devices If the phone appears in the list, type: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb shell rm /data/system/locksettings.db adb reboot

⚠️ Attention: MIUI 12/13/14 This method is unstable, and once you reboot, the phone can request the password again, and then only a full reset via Recovery or Fastboot will help.

5. Contact the service center (if nothing helps)

If all of the above methods did not work, you can contact the official Xiaomi service center.

  • πŸ”’ Phone requires data from previous Mi Account after reset (FRP-lockdown).
  • πŸ› οΈ Bootloader is blocked and Fastboot unlocking is impossible.
  • πŸ“± Model with EDL-regime (Xiaomi) 12T, Redmi K50), where special equipment is required.

The cost of unlocking in the service:

Type of lockdownAverage price (β‚½)Timeline
FRP reset (Mi Account)1 200–2 5001-3 hours
Unlocking Bootloader1 500–3 0001-2 days
Recovery through EDL2 000–4 5002-5 days
Replacement of the motherboard (with hardware lock)5 000–15 0003-7 days

πŸ’‘

Before going to the service, check whether your phone is not guaranteed. If so, unlocking can be free (if you have a check and a passport).

6.How to avoid blocking in the future

To avoid the problem of forgotten passwords again, follow the following simple rules:

  • πŸ” Use a fingerprint or facial recognition as an additional way to unlock.
  • πŸ“§ Link your phone to your Mi Account and sync your data regularly with Mi Cloud.
  • πŸ“ Write your password to a secure location (e.g. Google Keep or Google Keep). 1Password).
  • πŸ”„ Turn it on. OEM Unlock in Developer Settings (Settings) β†’ The phone. β†’ Version. MIUI β€” Press 7 times, then return to the Additional Settings β†’ For developers).

πŸ’‘

Even if you don’t plan to unlock through Fastboot, the OEM Unlock enabled will make it easier to recover your phone in the event of a crash.

Xiaomi

13/14

Mi Account

MIUI

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if: The phone is tied to Mi Account, and you remember the login details. USB-debugging, and the phone is authorized on the computer (method with ADB). In all other cases, the data will be deleted.
What if the phone asks for an old Mi Account after a reset?
It's FRP-Factory Reset Protection Solutions: Enter data from your old account (if you remember). Contact the service center to reset via EDL-If you bought your phone from hand, try contacting the previous owner to untether.
Does unlocking work through services like "Mi Account Unlock"?
No, most of these services are fraud. Xiaomi does not provide official tools to bypass FRP or Mi Account without owner data. Using informal methods can lead to: loss of warranty, phone failure (for example, if you incorrect firmware through EDL), identity theft (if you enter a username / password on suspicious sites).
How to unlock Xiaomi if you forget the pattern lock?
The pattern lock is reset by the same methods as PIN/Password: Mi Account (Find Device section) Recovery Mode (full reset) ADB, if debugging was enabled. MIUI 14 after 5 Failed attempts to enter the pattern lock phone will offer unlocking through PIN-code (if previously installed).
Can I unlock Xiaomi without a computer?
Yes, but only if: The phone is tied to Mi Account (unlocked via Find Device). You remember data from a Google account (some models can reset the password via Smart Lock).