The forgotten pattern lock on Xiaomi Redmi is one of the most common problems users face. According to service centers, up to 15% of calls are due to a locking of the screen due to a loss of a password or pattern, the situation is complicated by the fact that Xiaomi smartphones use enhanced security measures: after 5 failed attempts, the system can lock the device for 30 seconds, and after 20 attempts, it can even require the input of data from the Mi Account.
In this article, weβll look at all the current ways to unlock Redmi (including the Redmi Note 12/13, Redmi 10/11, POCO X5, and others), from the simplest to the most technically complex. Itβs important to understand that some methods lead to a complete data reset, so if thereβs no backup on the phone, the chances of saving files are minimal. Letβs start with the safest options and gradually move on to radical measures.
1 Unlocking through Mi Account (official method)
If your Xiaomi Redmi is tied to a Mi Account, it is the most reliable and legal way to get access back, and works on all models, including the Redmi Note 9 Pro, Redmi A2 and new devices from 2023 to 2026, the main condition is that the phone must be connected to the Internet (via Wi-Fi or mobile network).
Step-by-step:
- π On the lock screen, enter any pattern lock 5 times in a row until the message βForgot your password?β or βUnlock via Mi Accountβ appears".
- π§ Enter your Mi Account email and password, and if you don't remember the data, restore access through account.xiaomi.com.
- π± After successful authorization, the system will prompt you to create a new pattern lock or PIN-Follow the clues on the screen.
β οΈ Note: If you bought the phone with your hands and the previous owner did not untie his Mi Account, this method will not work. In this case, you will need to contact the Xiaomi service center with proof of purchase (check, contract).
2. Reset the pattern lock via Recovery Mode (with loss of data)
If Mi Account is not tied or you don't remember your account data, the next step is hard resetting through Recovery Mode, which removes all data from your phone, including photos, contacts, and installed apps, and only use it if your device doesn't have important information or there's a backup.
How to Sign In to Recovery Mode on Xiaomi Redmi:
- Turn off the phone with a long press of the power button.
- Press the Power Button + Volume combination up and hold for 10-15 seconds until the Mi logo appears.
- From the Recovery menu, select the language (usually English or Chinese).
- Go to Wipe Data β Wipe All Data and confirm the action.
Once rebooted, the phone will be like new β without a pattern lock, but without your data. On Redmi Note 10/11 and later, additional confirmation via Mi Account may be required even after reset (Factory Reset Protection).
Turn off the phone.
Press the power button + volume up
Wait for the Recovery Menu to arrive
Select the Wipe Data option
Confirm the reset (usually with a power button)
-->
3. Unlock via Fastboot (for advanced users)
The Fastboot method is suitable for those who are ready to work with a computer and the Mi Flash Tool. It allows you to reflash the phone, bypassing the screen lock, but requires an unlocked bootloader (if it was unlocked earlier). On new Xiaomi models (released after 2022), the bootloader is blocked by default, and it is impossible to unlock it without authorization in the Mi Account.
What you need:
- π» Windows computer 10/11 and installed Xiaomi drivers.
- π USB-cable (preferably original).
- π¦ Mi Flash Tool and firmware for your model (download from xiaomifirmwareupdater.com).
Instructions:
- Turn off your phone and press the Power button + Volume down to log into Fastboot Mode.
- Connect the device to a PC. Android Bootloader Interface should appear in the Device Manager.
- Start the Mi Flash Tool, select the downloaded firmware and press Refresh β Flash.
- Wait for the process to finish (5-10 minutes) and the phone will reboot automatically.
β οΈ Attention: Continuous power is critical! If your phone goes off during Fastboot USB If you run out, it can cause a device to fail completely, charge your phone to at least 50% before starting.
What to do if the Mi Flash Tool can't see your phone?
4.Use ADB (only if USB debugging is enabled)
If your Xiaomi Redmi has previously been enabled debugging USB (USB Debugging, you can delete the pattern lock through the command ADB. This method does not result in data loss, but only works if two conditions are met:
- USB debugging is activated in the developer settings.
- The phone is connected to a computer that has ADB Tools installed.
Step-by-step action:
adb shell
su
rm /data/system/gesture.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootAfter the reboot, the pattern lock will be reset. If the commands don't work, try the alternative:
adb shell am start -n com.android.settings/.ChooseLockGenericThis will open a lock change menu where you can set a new PIN or pattern.
1. Is USB debugging enabled (Settings β About Phone β MIUI version β tap 7 times, then go back to Additional β For Developers).
2. Have you confirmed the debugging permission on the phone screen (appears when you first connect).
3. Have the latest versions been installed ADB (refresh through SDK Platform Tools).-->
5. Contact the Xiaomi Service Center
If all of these methods did not work, the last option is to contact an authorized Xiaomi service center.
- π Phone tied to someone else's Mi Account (hand-held purchase).
- π± The device is locked after a failed firmware.
- β οΈ The message appears on the screen: βThis device is locked).
What will be required to unlock:
| Document/conditionality | What do you need? | Where to find it. |
|---|---|---|
| Check or sales contract | Confirmation of possession of the device | The store where they bought the phone |
| Passport of the owner | Identity | Personal documents |
| Phone box (with IMEI) | Confirmation of originality of the device | Save it when you buy it. |
| Data of the previous owner (if purchased by hand) | To decouple the Mi Account | Contact the seller |
The cost of unlocking the service varies from 500 to 2000 rubles depending on the model and complexity. New devices (for example, Redmi Note 13 Pro+) may be higher due to enhanced protection. The average run time is 1-3 days.
π‘
The official service is the only legal way to unlock a phone from someone elseβs Mi Account. Self-attempts to bypass (through cloud services or hacking) can lead to the complete loss of the device or lock the IMEI.
6. Alternative methods (with caution)
You can find suggestions on the Internet for "delete the pattern lock in 5 minutes" through various programs or online services, most of which either do not work or are fraudulent.
High-risk methods:
- π Passage EDL Mode (emergency boot mode) requires special equipment (Qualcomm) HS-USB QDLoader 9008) and firmware. Suitable for models on Qualcomm processors (for example, Redmi Note). 9S, POCO X3). Risk: If you make a mistake, the phone turns into a brick".
- π Online services like miaccount.unlock.com or xiaomi-tool.com often require payment for βunlockingβ but in fact simply steal account data.
- π± Flip-through TWRP. If the phone has custom recapvery installed, you can manually delete key files (/data/system/gesture.key). Risk: firmware incompatibility can lead to a load cycle.
β οΈ Attention: Use of informal methods (especially through EDL) It may lead to a blockage. IMEI or activate anti-Rollback protection on new Xiaomi models, in which case the phone will become unusable even after firmware is installed.
Comparison of Unlocking Methods
To choose the best method, we evaluate each method according to the key criteria:
| Method | Data retention | Difficulty | Tools required | Suitable for new models (2023β2026) |
|---|---|---|---|---|
| Mi Account | β Yes. | β (simple) | Internet access | β Yes. |
| Recovery Mode | β No (full reset) | ββ (middle-of-the-road) | Phone buttons | β Yes. |
| Fastboot | β No. | βββ (difficult) | PC, Mi Flash Tool, firmware | β οΈ Partially (you need an unlocked bootloader) |
| ADB | β Yes. | βββ (difficult) | PC, USB-cable, debugging enabled | β Yes. |
| Service centre | β οΈ Depends on the reason for the blockage | β (user-only) | Phone IDs. | β Yes. |
For most users, the best course of action is Mi Account β Recovery Mode β Service Center. Fastboot and ADB methods are recommended only for those who have experience with firmware.