A forgotten password or graphical key on a Xiaomi smartphone is a situation that one in five users encounter. According to service center statistics, 63% of blocking requests are related to loss of access to Mi Account or incorrect input. PIN-Fortunately, you can unlock your phone yourself without contacting the master and often without losing data.
In this article, we will discuss all the current ways to unblock for Xiaomi, Redmi and POCO devices, including the models of 2020-2026. Importantly, the methods differ depending on the version of MIUI (12-14), the type of lock (PIN, pattern lock, fingerprint) and attachment to the Mi Account. For example, on Xiaomi 13 Pro with MIUI 14, the reset via Recovery works differently than on the Redmi Note 10 with MIUI 12.5.
Before you start, check:
- π Battery level (minimum 30%) β when discharged during the procedure, the phone can turn into a βbrickΒ»)
- π‘ Availability of stable Wi-Fi or mobile Internet (you will need to log in to Mi Account)
- π» Access to a computer (for methods with Fastboot or ADB)
If the phone is locked after you bought it from your hands and you don't know the previous owner's details, you can immediately go to the hard reset section. Otherwise, try the ways in order: from the simplest to the radical.
Method 1: Unblocking with Mi Account (if an account is linked)
This is the most secure method, if you remember the username and password from Mi Account. It works on all Xiaomi, Redmi and POCO models with MIUI 9 and later, including the latest versions of MIUI 14.
Algorithm of action:
- On the lock screen, enter the wrong password / key 5 times in a row, and the message will appear: "Try again in 30 seconds."
- Under the input field will appear button Forgot the password? β click on it.
- Select the option to Log in Mi Account and enter your details (email or phone number + password).
- If two-factor authentication is enabled, confirm the login via SMS or email.
- After successful authorization, the system will prompt you to create a new password or disable the lock.
What to do if the confirmation code does not arrive? Check the Spam folder in the mail or request a resending SMS. If the problem persists, try logging in to your account via the web version of Mi Account from another device and make sure that your phone number/email is confirmed.
β οΈ Warning: If the phone was bought from hand and tied to someone else's Mi Account, this method will not work, in which case you will need a hard reset with the deletion of all data.
Method 2: Delete password via ADB (if USB debugging is enabled)
This method is suitable if the phone previously had USB debugging enabled (Settings β About Phone β MIUI version, then 7 times press the MIUI version to activate the developer mode). The method works on MIUI 10β14, but requires a computer with Xiaomi drivers installed and the ADB tool.
Step-by-step:
- Connect your phone to your computer through the original USB-cable (important!).
- Open the command prompt (Win + R β enter cmd) and execute commands in order: adb devices If the device appears in the list, continue. If not, install the drivers from here.
- Enter password deletion commands: 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 the reboot, the phone unlocks, but the fingerprint and face settings may reset.
Challenges and solutions:
- π« ADB not recognized β Install Android SDK Platform-Tools.
- π Permission denied β So, debugging is on. USB not included in advance.
- π Phone doesn't reboot. β Perform a forced reboot (Power) + Vol Up for 10 seconds).
Make sure that USB debugging is enabled before the lock
Download and unpack ADB Tools on your computer
Connect your phone to the original cable
Check that the phone is determined by the team `adb devices`-->
Method 3: Unlocking via Fastboot (without data loss)
The Fastboot method is suitable for bootloader devices, which is relevant for most Xiaomi models, except for the new flagships (Xiaomi 14, 13 Ultra), where the bootloader is locked by default, and the advantage of the method is to save user data (photos, messages, applications).
Instructions:
- Turn off your phone. Press Power + Vol Down before the Fastboot logo appears.
- Connect your phone to your computer and open the command line in the ADB folder.
- Check the connection: fastboot devices
- Enter the command to delete the password: fastboot erase userdata Attention! This command only removes the lock settings, but does not touch user files.
- Reboot the phone: fastboot reboot
On Xiaomi 12T, Redmi K50 and later, you may need to re-assign to Mi Account after this procedure. If the phone requests an old password, perform a hard reset.
| Model phone | Supports Fastboot? | Do you need to unlock the bootloader? | Are the data stored? |
|---|---|---|---|
| Xiaomi Mi 11/11T/11 Lite | β Yes. | β Not (unless it was manually locked) | β Yes. |
| Redmi Note 10/11 Pro | β Yes. | β No. | β Yes. |
| POCO F3/F4 | β Yes. | β Yes (on some firmware) | β Yes. |
| Xiaomi 13/13 Pro | β οΈ Partially. | β Yes. | β No (reset required) |
| Redmi 9A/9C | β Yes. | β No. | β Yes. |
What is an unlocked bootloader?
Method 4: Recovery Mode (with data loss)
If previous methods failed, it would be hard to reset through Recovery, which would delete all data on the phone, including photos, contacts and apps, but would unlock the device, and it works on all models, including the Xiaomi 14, Redmi Note 12 and POCO X5.
How to reset:
- Turn off your phone. Press Power + Vol Up for 10-15 seconds until the Recovery menu appears.
- Use volume buttons for navigation and Power to select. Choose a language (usually English or ).
- Go to Wipe Data β Wipe All Data (some models call it Factory Reset).
- Confirm the action and wait for the completion (it will take 2-5 minutes).
- Select Reboot to System to restart.
Important: After the reset, the phone may require you to enter data from the Mi Account that was previously linked. If you do not remember the username / password, contact Xiaomi Support to restore access.
β οΈ Attention: On models with MIUI 13/14 and a Snapdragon chip 8 Gen 1/2 (for example, Xiaomi 12S Ultra, Redmi K60) After the reset, the protection may be activated. FRP (Factory Reset Protection: This will require input from the last synchronized Google account.
π‘
Before resetting via Recovery, remove SIM-card and memory card (if any) this will speed up the process and reduce the risk of data corruption on external media.
Method 5: Hardware reset (if nothing helps)
If the phone doesnβt respond to buttons, doesnβt go to Recovery, or is locked after a failed firmware, then the hardware reset through Test Point is left, a method that requires disassembling the device and is only suitable for power users or service centers.
How it works:
- π§ On the motherboard of the phone there are special contacts (Test Point), the closure of which puts the device in mode. EDL (Emergency Download Mode).
- π» In this mode, you can flash a clean version through your computer and the Mi Flash Tool program. MIUI.
- β οΈ Risks: Mistakes can put your phone out of action (damage the board or capacitive screen).
For which models is this method relevant?
- π± Xiaomi Mi 9/9T/10 β points are located under the battery.
- π± Redmi Note 8/9 Pro β contacts near the charging connector.
- π± POCO X3/F3 β Removal of the back cover is required.
If you are not sure about your skills, you should contact the service center. The cost of hardware reset in official Xiaomi centers is 1,500-3,000 rubles (2026).
π‘
Hardware reset is a last resort, only use it if the phone is not fully responding or locked at the bootloader level (for example, after a failed firmware update).
What to do after unlocking?
After successfully removing the lock, follow a few important steps to avoid problems in the future:
Set up a new password:
- π Use a combination of letters, numbers and symbols (example: X!a0mi*2026).
- π² Enable biometric authorization (fingerprint or face scan) in Settings β Password and security.
- π Write your password to a secure location (for example, in Google Keep or a notebook).
2. Mi Account binding:
- π§ If the account was not tied β do it immediately in Settings β Mi Account.
- π Enable two-factor authentication (SMS + email).
- π± Add a backup phone number for recovery.
Data recovery:
- βοΈ If the cloud backup was enabled (Settings) β The phone. β Backup, restore data from Mi Cloud.
- πΎ For manual recovery, use programs like Dr.Fone or Tenorshare. 4uKey (cost-effectively).
Safety check:
- π‘οΈ Install an antivirus (such as Avast) and scan the system.
- π Update. MIUI Up to the latest version in Settings β Updating the system.