The forgotten pattern lock on Xiaomi's smartphone is a situation that even experienced users face. PIN-It's harder to remember code, especially if you change it regularly or use complex combinations. Fortunately, the manufacturer has provided several ways to restore access, from official (via Mi Account) to technical (via Fastboot or Recovery).
Itβs important to understand that not all methods guarantee data security. For example, resetting through Recovery almost always leads to the deletion of user files, while unlocking through Mi Account in some cases allows you to do without losses. In this article, we will discuss all the current ways to remove the pattern lock for Xiaomi in 2026, including nuances for models with Qualcomm and Mediatek processors, as well as phones based on MIUI 14/15.
1 Unlocking through Mi Account (official method)
The easiest and safest way to use a linked Mi Account is to use a linked Mi Account.
- π The phone is connected to the Internet (Wi-Fi or mobile network).
- π± Remember the username and password from Mi Account.
- π The "Find the device" function was activated in the settings.
If the conditions are met, after 5 failed attempts to enter the key, the system will offer the option "Forgot the pattern lock?".
- Enter your email/phone and password from your Mi Account.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Create a new pattern lock or PIN-code.
β οΈ Note: Some models (e.g. Redmi Note 12 Pro)+ Xiaomi 13T) You may need to reboot your account after you unlock it, and if your phone isn't connected to the network, it won't work, so go to alternatives.
2. Reset the pattern lock via Find Device (remotely)
If your phone is lost or you don't have physical access to it, but Find Device is enabled, you can reset the lock remotely.
- Go to i.mi.com and log in.
- Select the locked device in the list.
- Click on Delete Data (this will result in a complete reset!).
- Confirm the action via SMS or email.
β οΈ Note: This method removes all data from your phone, including photos, contacts and apps, and only use it if other methods are not available or the device is stolen.
After the reset, the phone will reboot to the βout of the boxβ state, and you will have to go through the initial setup and restore the data from the backup (if it was created).
π‘
Before using Find Device, check if your phone is connected to another Wi-Fi network, and sometimes the reset does not go away because there is no internet on the device.
3. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π§ You have access to a computer with drivers installed ADB/Fastboot.
- π± The phone has unlocked the bootloader (Bootloader).
- π You are ready for potential data loss (depending on the model).
Instructions for phones on Qualcomm (e.g. Poco X5 Pro, Redmi K60):
- Turn off the phone and press Volume Down + Power to log into the Fastboot.
- Connect the device to the PC and open the command line.
- Enter the command to check the connection: fastboot devices If the device is determined, continue.
- To reset the pattern lock, use: fastboot erase frp or (for older models): fastboot erase gesture.key
- Reboot the phone: fastboot reboot
For phones on Mediatek (for example, Redmi 10A, Poco M5), the process is more complicated - you will need firmware through the SP Flash Tool with a mark only on the userdata partition. Without experience, it is better not to take risks and contact the service center.
What if the fastboot canβt see the device?
4. Recovery Mode (Universal Method)
If other methods fail, itβs hard to reset through Recovery, which deletes all data but is guaranteed to unlock the phone, and is suitable for all Xiaomi models, including Redmi, Poco and Black Shark.
Step-by-step:
βοΈ Preparing for resetting through Recovery
- In the Recovery menu, select "Wipe Data" β "Wipe All Data".
- Confirm the action (usually you need to enter "Yes" or press the power button).
- After reset, select "Reboot" β "Reboot to System".
β οΈ Note: Some models (e.g. Xiaomi) 12S Ultra) may require re-assignment of Mi Account after reset. If you do not remember your account details, your phone will remain locked!
| Xiaomi model | Bootloader status | Is the data preserved? | Is a Mi Account Required After a Reset? |
|---|---|---|---|
| Redmi Note 11 Pro+ | Blocked. | β No. | β Yes. |
| Poco F4 GT | Unlocked. | β No. | β No. |
| Xiaomi 13 Lite | Blocked. | β No. | β Yes, if he was tied up) |
| Redmi 10C | Blocked. | β No. | β No, nah. MIUI 12 and below) |
5. Alternative methods (for specific cases)
If the standard methods didnβt help, try these options:
- π Calling a locked phone: Call from another device to a locked Xiaomi, take the call and quickly go to settings (sometimes works on older versions) MIUI).
- π ADB-commands (if debugging is enabled): If debugging has been activated previously USB, Connect your phone to your PC and type in: Adb shell rm /data/system/gesture.key Then restart the device.
- π οΈ Service center: If the phone is warranty, contact the official Xiaomi service. to unlock you will need a check or a box with a security IMEI.
β οΈ Note: The method of calling only works on the MIUI 8-10. On the new versions (12+) This bug has been fixed. Also, don't use questionable software to hack into a pattern lock, because it often contains viruses or corrupts firmware.
π‘
The most reliable methods are Mi Account and Fastboot. Recovery is guaranteed to work, but it will delete all the data. Alternative methods (call, ADB) are only suitable for specific cases.
6.How to avoid blocking in the future
To avoid the problem of a forgotten pattern lock, follow these tips:
- π Use the backup. PIN-code (can be specified when creating a pattern lock).
- βοΈ Regularly back up through Settings β The phone. β Backup.
- π Write the key in a secure location (for example, in the Mi Password Manager password manager).
- π Enable synchronization of contacts and photos with Mi Cloud.
We also recommend turning off automatic deletion of data after 10 failed entry attempts (this can be done in security settings).If you often forget passwords, consider using a fingerprint scanner or facial recognition as your primary method of unlocking.