How to Reset or Remove a pattern lock on Xiaomi Redmi: The Complete 2026 Guide

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).

πŸ“Š What Unlocking Method Have You Tried Before?
Mi Account
Reset via Recovery
Fastboot
I've been to the service.
Never blocked.

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:

  1. Turn off the phone with a long press of the power button.
  2. Press the Power Button + Volume combination up and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English or Chinese).
  4. 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:

  1. Turn off your phone and press the Power button + Volume down to log into Fastboot Mode.
  2. Connect the device to a PC. Android Bootloader Interface should appear in the Device Manager.
  3. Start the Mi Flash Tool, select the downloaded firmware and press Refresh β†’ Flash.
  4. 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?
If the utility does not recognize the device in Fastboot, try: 1. Install the driver manually through Device Manager (select "Install from disk" and specify the path to the folder with Mi Flash Tool). 2. Use another. USB-port (preferably) USB 2.0 on the back of the PC). 3. Disable driver signatures in Windows (via boot settings, key F7 4. Try another cable or computer.

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:

  1. USB debugging is activated in the developer settings.
  2. 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




reboot

After 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/.ChooseLockGeneric

This 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/conditionalityWhat do you need?Where to find it.
Check or sales contractConfirmation of possession of the deviceThe store where they bought the phone
Passport of the ownerIdentityPersonal documents
Phone box (with IMEI)Confirmation of originality of the deviceSave it when you buy it.
Data of the previous owner (if purchased by hand)To decouple the Mi AccountContact 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:

MethodData retentionDifficultyTools requiredSuitable 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.

FAQ: Frequent questions about unlocking Xiaomi Redmi

Can I delete the pattern lock without losing data?
Yes, but only if: The phone is tied to Mi Account and has Internet access. USB debugging (for ADB) was enabled earlier. In all other cases, the data will be erased.
What if after resetting via Recovery, the phone asks for an old Mi Account?
This is Factory Reset Protection (FRP) protection. To get around it: Enter the Mi Account that was tied to the phone before the reset. If the account is someone else's, contact the service center with proof of purchase. On new models (for example, the Redmi Note 12 Pro+), FRP may require confirmation even after the reset via Fastboot.
How do I know if my bootloader is unlocked on my Redmi?
Turn off your phone and log in to Fastboot Mode (power button + volume down). If the bottom of the screen says "Unlocked" - bootloader unlocked. If "Locked" - locked. On new Xiaomi models, unlocking bootloader requires binding to Mi Account and waiting 7-15 days (by Xiaomi rules).
Will flashing through TWRP help remove the pattern lock?
Yes, but only if: The phone is already installed. TWRP Recovery. You know how to work with custom firmware. TWRP (power-button + Volume up. Go to Advanced. β†’ File Manager. Delete the files: /data/system/gesture.key /data/system/locksettings.db Reboot the phone. ⚠️ Risk: Incorrect actions in TWRP This can lead to a loading cycle.
What to do if the phone is locked after a failed firmware?
Symptoms of "brick" after firmware: The phone does not turn on or hovers on the Mi logo. It does not respond to charging. The computer does not see the device in Fastboot or EDL. Solution: Try to log into EDL Mode (closing test points on the board or using Deep Flash Cable).