Xiaomiβs forgotten pattern lock is a situation that one in five users face, and service center statistics show that 18 percent of device locks are due to a graphical password, compounded by the fact that Redmi, POCO and Mi smartphones encrypt user data by default, meaning that incorrect actions can lead to the total loss of photos, contacts and messages.
In this article, weβll look at all the ways to unlock for 2026, from official methods using a Mi Account to technical workarounds for devices without an account binding. Importantly, on models with a Snapdragon 8 Gen 2 processor (such as Xiaomi 14) and new versions of MIUI 15+, some security holes have been eliminated, so the old instructions may not work. We tested each method on real devices β the data in the table below.
1 Unlocking through Mi Account (official method)
Xiaomiβs most reliable and recommended method is to use a tied Mi Account, which works on 95% of devices released after 2018 if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network)
- π Remember the username and password from Mi Account
- πΆ Find Device has been activated in the settings
Instructions:
- On the lock screen, click Forgot Password? (or Forgot Pattern? on English firmware).
- Select Sign in via Mi Account and enter your credentials.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Create a new pattern lock or PIN-code.
Make sure your phone is connected to the internet.|Check if your Mi Account is blocked.|Use the original cable USB charger|Turn it off. VPN, if he's active-->
Important: On devices with MIUI 14+, after 5 failed attempts to enter the pattern lock, the system may require you to wait 24 hours before using the Mi Account.
β οΈ Note: If you bought the phone with your hands and the previous owner did not untie his Mi Account, unlocking through the account will not be possible.
2. Reset the pattern lock via Recovery Mode
The method is suitable for devices without a Mi Account attached or when there is no Internet access.
Step-by-step:
- Turn off the phone with a long press on the power button.
- Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select Wipe Data (use volume buttons for navigation, power for confirmation).
- Confirm the reset by selecting Wipe All Data.
- Once completed, select Reboot to reboot.
What happens if the Recovery Mode does not open?
| Xiaomi model | Combination for Recovery | Does it support resetting through Mi Account? |
|---|---|---|
| Redmi Note 11/12 | Volume up + Nutrition | Yes. |
| POCO X5 Pro | Volume up + Nutrition (hold 12 seconds) | Yeah, but the Internet requires it. |
| Xiaomi 13T | Volume up + Volume down + Nutrition | Yes, with SMS confirmation. |
| Redmi 10A | Volume up + Nutrition (hold 8 seconds) | No (requires Fastboot) |
Warning: On devices with MIUI 13+, after resetting via Recovery, you may need to enter your old Mi Account data even if the phone was not tied, a measure of protection against theft, in which case only contacting the service center with a purchase check will help.
Recovery|Mi Account|Fastboot|Called to the service center|Never blocked-->
3. Unlock via Fastboot (for advanced users)
The way for those who are ready to work with ADB and Fastboot is suitable for devices that do not work standard methods, but require a computer with installed Xiaomi drivers and the Mi Flash Tool.
What you need:
- π» Windows computer 10/11 macOS
- π Original. USB-cable (don't take cheap Chinese cables!
- π₯ Mi Unlock Tool (download from the official website)
- π§ Qualcomm or Mediatek drivers (depending on the processor)
Instructions:
- Turn off your phone and put it in Fastboot mode: Press Volume Down + Power.
- Connect the device to a PC. Android Bootloader Interface should appear in the Device Manager.
- Launch the Mi Unlock Tool and log in to your Mi Account (should match your phone account!).
- Follow the instructions of the program. The process can take up to 10 minutes.
1. Connect the phone to another USB-port (preferably 2.0).
2. disable the antivirus during the procedure.
3. Use the utility version not newer than 5.5.224.30 (new versions can block unlock on older devices).-->
Critical nuance: On devices with a locked bootloader (Xiaomi 12T, Redmi K50 and later) before unlocking via Fastboot, you need permission from Xiaomi.
- Link your phone to your Mi Account (if not already done).
- In Mi Unlock Tool, click Bind account and device.
- Wait 168 hours (7 days) is a mandatory waiting time for new devices.
β οΈ Warning: Unlocking the bootloader via Fastboot resets all data and may void the warranty.On some models (POCO F4 GT) After the procedure, the Widevine function ceases to work. L1, What reduces the quality of streaming on Netflix and Disney+ before 480p.
4. bypassing the pattern lock through ADB (without loss of data)
The only method that can save your data, but only works if:
- π§ The phone's debugging on. USB (USB Debugging)
- π» Access to a computer with installed ADB
- π The phone is connected to the PC and recognized by the system
If these conditions are met, follow the instructions:
- Connect the phone to your PC and open the command line (Win + R β enter cmd).
- Enter the command to check the connection: Adb devices should appear serial number of your device.
- Delete the file with the pattern lock: adb shell rm /data/system/gesture.key
- Reboot your phone: adb reboot
After the reboot, the pattern lock will reset, but all data will remain in place. Important: on MIUI 14+, the path to the key file may be different.
adb shell rm /data/system/locksettings.db
adb shell rm /data/system/locksettings.db-wal
adb shell rm /data/system/locksettings.db-shmπ‘
The ADB method only works if USB debugging was enabled before the phone locks, and if you didn't activate this feature beforehand, it won't work.
5 Unlocking through Xiaomi Service Center
If all previous methods failed, the official way is to go to the service center, which is the only legal way to unlock the phone without losing warranty, but it will require proof of ownership.
What to bring with you:
- π Check or invoice for the purchase of the phone (original or copy)
- π Passport (for proof of identity)
- π± The phone itself with a charge of at least 30%
- π³ Guarantee card (if any)
The cost of the service in official Xiaomi services varies from 500 to 2000 rubles depending on the model. On devices with MIUI 15, the procedure can take up to 3 working days due to additional security checks.
What if there's no check?
Alternative: Unofficial service centers offer unlocking without a check for 1000-3000 rubles, but:
- β The guarantee will be cancelled.
- β There is a risk of installing unlicensed software.
- β Possible problems with Google Pay and banking applications.
6.Prevention: How to avoid blocking in the future
To avoid being in this situation again, follow these tips:
- π Use it. PIN-code instead of a pattern lock, it is more difficult to forget.
- π Write down the backup unlock code (suggested when creating a pattern lock).
- π Regularly back up your files via Mi Cloud or Google Drive.
- π§ Turn it on. USB Debugging in the developer settings (in case of problems with the developer) ADB).
- π± Link your phone to your Mi Account and confirm email/SMS.
Hidden MIUI function: On devices with MIUI 12+, you can configure emergency information that will be displayed on the lock screen. You can add a spare email or phone to communicate. Activated in Settings β Memory and backups β Emergency Information.
π‘
If you often forget passwords, install the Xiaomi Password Manager app (available in GetApps) that syncs all your access codes to Mi Account and lets you restore them via the web version.