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

The forgotten password on Xiaomi is a situation that thousands of users face every day. Unlike other brands, Redmi, POCO and Mi have a unique Mi Account security system that makes it difficult to access unauthorized devices. It is important to understand that the term โ€œpassword hackingโ€ in the context of modern smartphones often implies bypassing protection through official mechanisms, not criminal actions.

This article will help you understand the legal ways to restore access to your device without breaking the law, and we will look at the methods for different scenarios: when Mi Account is turned on, when the phone is tied to Google, and emergency options through Fastboot and Recovery Mode. All of these methods work on MIUI 14/15 firmware and are relevant for models from 2020 to 2026.

Why you canโ€™t โ€œhackโ€ your Xiaomi password in the classic way

Modern Xiaomi smartphones use layered protection that makes traditional hacking methods (password picking, engineering menu reset) impossible without data loss.

  • ๐Ÿ”’ Hardware encryption: Starting with MIUI 12, all user data (photos, messages, applications) are encrypted with a password. Resetting the security without a key leads to irreversible deletion of information.
  • ๐Ÿ›ก๏ธ Mi Account Lock: Even after resetting via Recovery, the phone will require entering a username/password from the Xiaomi account associated with the device.
  • ๐Ÿค– Protecting Google (FRP): On devices with Google services after reset, you will need to confirm the account used previously.

This means that any attempts to bypass security through third-party programs like Miracle Box or UMT Dongle will either fail or lead to a brick, which is the complete inoperability of the phone, and the only working methods are official, and we will discuss them in detail.

โš ๏ธ Note: Using unofficial firmware or tools to bypass protection will void warranty and may result in blocking IMEI. Xiaomi is actively fighting against such methods through server checks.

๐Ÿ“Š What kind of smartphone you Xiaomi?
Redmi Note 12/13
POCO X5/F5
Mi 11/12/13
Redmi 10/9
Another model

Method 1: Recovery with Mi Account (if the phone is tied)

The most reliable way to unlock is to use a Xiaomi account that works even if you forget your pattern lock or your account. PIN-code, but remember the information from the Mi Account.

Instructions:

  1. On the locked screen, tap Forgot Password? (or Forgot Password).
  2. Select the recovery option through Mi Account.
  3. Enter the email/phone attached to the device and the password.
  4. Confirm unlocking via SMS or email (depending on security settings).

If you have two-factor authentication enabled (2FA), you will need to enter code from the Mi Security or SMS app.

Make sure your phone is connected to the internet (Wi-Fi/mobile data)

Remember the email/phone used to register your Mi Account

Have access to mail or SMS for confirmation

Know the answers to the control questions (if you are configured)-->

Method 2: Unblocking through Google Account (FRP)

On Xiaomi devices with Google services (all models, except for the Chinese versions), after 5 unsuccessful attempts to enter a password, the button Forgot the pattern lock?. This allows you to reset protection through your Google account, but with nuances:

  • ๐Ÿ“ฑ It only works if your phone was tied to Google before being blocked.
  • ๐Ÿ”„ After reset, you will need to reconfigure the device (data will be deleted).
  • ๐Ÿ”— Does not work on devices without Google services (for example, Chinese firmware).

Step-by-step:

  1. On the lock screen, enter any password 5 times in a row.
  2. Repeat the attempt in 30 seconds and forget the pattern lock.
  3. Click on it and select recovery via Google.
  4. Enter the email and password from the account that was synced to the phone.
  5. Follow the instructions to create a new password.

โš ๏ธ Attention: Starting with MIUI 14, Xiaomi tightened policy FRP. If you were on the phone. PIN-A code or password, not a graphical key, this method may not work โ€“ you need a Mi Account.

Method 3: Recovery Mode (Data Loss)

If you don't remember the data from Mi Account and Google, the radical method is to reset it through Recovery Mode, which will delete all the data on the phone, including photos, contacts and apps, but unlock the device.

Instructions for most Xiaomi models:

  1. Turn off the phone.
  2. Press the Power + Volume buttons up for 10-15 seconds at the same time until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English).
  4. Go to Wipe Data โ†’ Wipe All Data.
  5. Confirm the action and wait for the process to be completed.
  6. Select Reboot to reboot.

Once reset, the phone will require input from the Mi Account that was previously tied, and if you donโ€™t remember it, youโ€™ll have to contact Xiaomi to unlock it (see section below).

What happens if the Recovery Mode does not open?
On some models (e.g., POCO F5 or Redmi Note 12 Pro+), the button combination may be different. Try: 1. Power + Volume up + Volume down (hold 20 seconds). 2. Connect the phone to your PC and use the adb reboot recovery command (requires USB debugging enabled). 3. For devices with an unlocked boot, use fastboot boot twrp.img (only for power users).

Xiaomi modelCombination for RecoveryFeatures
Redmi Note 10/11/12Food + Volume upThe menu is in Chinese/English. Choose Wipe Data for reset.
POCO X3/X4/X5Food + Volume upSome versions require confirmation via Mi Account even after resetting.
Mi 11/12/13Power + Volume up (hold 15+ seconds)MIUI 14+ firmware may require a Wi-Fi connection to reset.
Redmi 9/9A/9CFood + Volume up + Volume downOlder models can have a simplified Recovery menu without checking your account.

Method 4: Official Unlocking Through Xiaomi Support

If you don't remember the details from Mi Account and can't reset your phone through Recovery, the only legal way is to contact Xiaomi's support team.The process can take anywhere from days to a week, but is guaranteed to unlock the device.

What will be required:

  • ๐Ÿ“„ Check or box IMEI telephone (proof of possession).
  • ๐Ÿ“‹ Passport or other identity document.
  • ๐Ÿ“ง Access to the email specified when registering Mi Account.

How to make a request:

  1. Go to account.xiaomi.com.
  2. Select Unlock Device or Unlock Device.
  3. Fill out the form by specifying the IMEI of the phone (you can find out through the *#06# set on another device).
  4. Attach scans of documents and send a request.

In Russia and the CIS, unblocking through support is usually free if there is proof of purchase, and in Europe, a fee (10-30 euros) may be charged.

๐Ÿ’ก

If you bought your phone by hand, ask the previous owner to unplug Mi Account through the Mi Cloud settings โ†’ Remove the device.

Method 5: Unlocking via Fastboot (for power users)

This method is only suitable for devices with an unlocked bootloader. If you previously unlocked it through the official Mi Unlock Tool, you can try flashing custom Recovery (such as TWRP) and reset your password without losing data.

โš ๏ธ Warning: Mistakes in Fastboot can lead to a hard brick. Use this method only if you understand the risks.

Step-by-step:

  1. Install ADB and Fastboot on PC.
  2. Connect your phone to your computer in Fastboot mode (clip Power + Volume down).
  3. Check the connection command: fastboot devices must display the serial number of the device.
  4. Scroll down custom Recovery (e.g. TWRP for your model): fastboot flash recovery twrp.img fastboot boot twrp.img
  5. In TWRP, go to Advanced โ†’ File Manager and delete files: /data/system/gesture.key /data/system/password.key /data/system/locksettings.db
  6. Reboot the phone.

This method does not work on all models and versions of MIUI. Since MIUI 13, Xiaomi has implemented additional protection that blocks the change of system files even through TWRP.

๐Ÿ’ก

Unlocking via Fastboot is only possible if the bootloader has been officially unlocked before the phone locks, a technique that often fails on new devices (2023-2026) due to enhanced security.

What NOT to do when trying to unlock

There are dozens of โ€œadviceโ€ on the Internet to circumvent Xiaomiโ€™s security, most of which are either outdated or dangerous.

  • ๐Ÿšซ Use programs like Miracle Box, UMT Dongle or SP Flash Tools without understanding the process. They can damage firmware or block the firmware. IMEI.
  • ๐Ÿšซ Trying to flash a third-party firmware onto a locked phone will lead to a brick).
  • ๐Ÿšซ Enter random passwords more than 10 times, and on newer models, this activates anti-theft protection, and the phone locks up for 24 to 48 hours.
  • ๐Ÿšซ Buying โ€œunblocksโ€ from third parties is often a scam, and real services cost more than official support.

If you find a โ€œmagicโ€ manual that promises to unlock in 5 minutes without losing data, itโ€™s either a hoax or a method for legacy models (before 2018).Since MIUI 12, Xiaomi has closed most of the vulnerabilities that allowed you to bypass protection.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if you remember data from Mi Account or Google, in which case use the official password recovery? on the lock screen. All other methods (reset via Recovery, Fastboot) will lead to deletion of data.
The phone requires an old password after resetting through Recovery.
This means that the device has FRP (Factory Reset Protection) activated. You need to enter data from the Google account that was linked to the phone before the reset. If you don't remember it, try to restore access through accounts.google.com.
I bought Xiaomi with my hands and it's locked. How do I unlock it?
Contact the previous owner and ask them: Untie the device from your Mi Account via Settings โ†’ Mi Account โ†’ Delete the device. If this is not possible, provide checks/purchase documents and contact Xiaomi for forced unlock. Without proof of purchase, you will not be able to legally unlock the phone.
Are there any programs to crack Xiaomiโ€™s password?
No. Software like iMyFone LockWiper or Dr.Fone can only work on very old models (before 2019) or on devices without a Mi Account attached, and on modern smartphones, they will either not help or turn the phone into a brick.
Can I unlock Xiaomi through a service center?
Yes, but only if you have the documents to prove the purchase. Xiaomi's official service centers do not circumvent the protection - they send a request to the head office, and unlocking can take up to 7 days. The cost of the service varies from 1,000 to 3,000 rubles depending on the model.