Forgetting a graphical password on a Xiaomi smartphone is a bad situation, but not a hopeless one. MIUI (12, 13, 14) offer several ways to restore access, but their effectiveness depends on the preliminary settings: whether the Mi Account is linked, whether debugging is enabled. USB, is there a backup PIN-If you've never configured additional authentication methods, unlocking may require resetting to factory settings, which means losing all unsaved data.
In this article, we will discuss all the current methods of unlocking Xiaomi, Redmi and POCO, including official solutions from the manufacturer and alternative approaches for power users. We will pay special attention to the nuances: what to do if you do not remember the data from Mi Account, how to bypass the lock without a computer, and why some methods stop working after system updates. Importantly, not all methods are universal β their performance depends on the phone model and the firmware version.
β οΈ Note: If the phone has enabled data encryption (Settings) β Additionally. β Encryption, resetting via Recovery or Fastboot will lead to irreversible file loss, in which case it is impossible to restore access without a password - you will need to flash it with a complete memory cleanup.
1 Unlocking through Mi Account (official method)
The most reliable and recommended method Xiaomi uses is a tied account Mi Account, which works on all devices with MIUI 9 and newer, but requires two conditions:
- The phone must be connected to the Internet (Wi-Fi or mobile network).
- You should remember the username (email/phone) and password from the Mi Account.
If the conditions are met, follow the following steps:
- On the lock screen, enter any graphic password 5 times in a row - the message "Forgot the password?" will appear.
- Click on the Unblock button via Mi Account (or similar label).
- Enter your email/phone and account password. If two-factor authentication is enabled, confirm your login via SMS or Mi Security.
- After successful authorization, the system will prompt you to create a new pattern lock or PIN-code.
β οΈ Note: On some models (for example, Redmi Note 10 Pro with the MIUI 13) after 5 failed attempts, a lock timer (30 seconds to 24 hours) appears, in which case wait for the specified time or restart the phone, holding the power button for 10-15 seconds.
If you don't remember the Mi Account, try to restore access through the official website, note that you will need to access the linked email or phone number to restore the account, and if you don't restore the account, go to alternative methods.
2. Reset graphical password via Find Device (remote)
Find Device not only tracks your smartphoneβs location, but also remotely resets your lock password if your phone is connected to the Internet, which works even if you donβt remember your Mi Account data but have access to another device (PC, tablet, second phone).
Instructions:
- Go to Find Device and log in with the same Mi Account as on the locked phone.
- In the list of devices, select your Xiaomi/Redmi/POCO.
- Click on the Unlock Device option (or Erase Device if the interface is in English).
- Confirm the action via SMS or email.
- Wait for the phone to restart β after that, the graphic password will be reset.
Limitations of the method:
- π The phone must be connected to the network (Wi-Fi/mobile).
- π± Find Device must be activated in settings (Settings) β Mi Account β Find Device).
- β οΈ On some firmware (for example, MIUI 14 for global version) Remote unlock option may not be available.
π‘
If Find Device is disabled but your phone is connected to your home Wi-Fi, try restarting your router, sometimes helping your phone wake up and connect to the network to receive an unlock command.
3. Unlock via Recovery Mode (reset to factory settings)
If previous methods didn't work, the radical way is hard reset through Recovery Mode, which will remove all data from your phone, including photos, messages and installed apps, and only use it if:
- There is no data on the phone (or it is synced to the cloud).
- You are ready to reset the device.
- Other ways to unlock are not available.
Step-by-step:
- Turn off the phone, holding the power button for 10-15 seconds.
- Press the button combination to enter Recovery: For most models: Volume up + Power. For POCO F3/F4: Volume down + Power. For Redmi Note 8/9: Volume up + Volume down + Power.
Recovery
Wipe Data
Wipe All Data
Confirm
Reboot
β οΈ Warning: On phones with encrypted storage (an option is enabled when you set a password), a reset via Recovery can lead to a βbrickβ β the device will require a password even after reset.
βοΈ Preparing for resetting through Recovery
4. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- The phone was enabled debugging via USB (Settings β About Phone β MIUI version β 7 taps β Additional β For developers β Debugging by USB).
- You have a computer with ADB/Fastboot drivers installed and a USB Type-C cable.
- You are ready for possible data loss (depending on the team).
Instructions for Windows:
- Install Platform Tools (includes fastboot and adb).
- Connect the phone to the PC, holding Volume Down + Power (to log in to Fastboot).
- Open the command line in the folder with the platform-tools and execute: fastboot devices If the device is determined, continue. If not, install the Xiaomi USB Driver drivers.
- To reset your password, type in: fastboot erase frp or (for older models): fastboot erase userdata
- Reboot the phone: fastboot reboot
Important:
- π οΈ Fastboot erase userdata and fastboot erase frp commands delete all data.
- π§ On some models (e.g. Xiaomi) 12T) It requires unlocking the bootloader (fastboot oem unlock), which will lead to a complete reset.
- π If the phone is making a remote: unknown command error, then the firmware is not supporting this command β try another method.
What if fastboot doesnβt see the device?
5. Alternative methods (without loss of data)
If you don't want to lose data, try these methods, and their effectiveness depends on the model and version of MIUI.
Method 1: Use of Emergency Call (Emergency Call)
- π On the lock screen, press the emergency call.
- π’ Enter #4636### and it will open the test menu.
- π§ Go to Usage Statistics β Click on the Settings icon (cogs) β reset the password.
It runs on MIUI 10-12, and is blocked on the newer versions of the test menu.
Method 2: Connecting a mouse via OTG
- π±οΈ Connect. USB-mouse to phone OTG-adapter.
- π On the lock screen, click the mouse on the password field. β Select Forgot the password?.
- π§ Enter the data from Mi Account (if the phone is connected to the Internet).
Suitable for models with OTG support: Redmi Note 11, POCO X3 Pro, etc.
Method 3: Delete gesture.key file via ADB
If USB debugging was enabled before blocking, you can delete the file with the password:
- Connect your phone to your PC and open the command line in the platform-tools folder.
- Enter adb shell rm /data/system/gesture.key
- Reboot your phone: adb reboot
After the reboot, the password will be reset, but this method only works on MIUI 8-11.
6.Table of methods compatibility with Xiaomi models
Not all unlocking methods work on all devices, and the table below shows the latest compatibility data (based on MIUI 13/14):
| Model phone | Mi Account | Find Device | Recovery Mode | Fastboot | ADB (gesture.key) |
|---|---|---|---|---|---|
| Xiaomi 13/13 Pro | β | β | β (data-lost) | β (requires unlocking BL) | β |
| Redmi Note 12 Pro+ | β | β | β | β | β |
| POCO F4/F5 | β | β οΈ (sometimes it doesn't work) | β | β | β |
| Redmi 10A/10C | β | β | β | β οΈ (may require an unlock) | β |
| Xiaomi Mi 11 Lite | β | β | β | β | β οΈ (work MIUI 12) |
β οΈ Note: On phones with firmware for China (e.g. Xiaomi) CN ROM) Mi Account and Find Device may not work due to regional restrictions, leaving only Recovery or Fastboot.
7 What should I do if nothing helps?
If all of these methods fail, there are two options:
Option 1: Contact the Xiaomi Service Center
- π Find the nearest authorized service center.
- π Bring a check or a box from your phone (to confirm ownership).
- π³ Unblocking service is paid (from 1000 to 3000 rubles depending on the model).
Option 2: Flashing through EDL (Emergency mode)
It's an extreme method, requiring special equipment (EDL cable or Deep Flash Cable) and knowledge, suitable for phones with a "brick" after a failed reset. Not recommended for beginners!
- π§ You will need Mi Flash Tool and firmware for your model.
- π» The risk of damaging your phone if you do the wrong thing.
- π₯ All data will be erased without recovery.
π‘
If your phone is locked after you buy it from your hands, check it for reference to your previous Mi Account via https://www.mi.com/global/verify/. If your device is blacklisted (stolen/lost), it is officially impossible to unlock it.