Forgot the pattern lock on the Xiaomi phone: what to do and how to unlock the screen

pattern lock on Xiaomi smartphones – a convenient alternative PIN-If you have a reboot or a long downtime, the phone requires a pattern to be inserted, and the finger combination slides impotently across the screen, don't panic. There are at least 7 proven ways to return access to the device, and not all of them imply a complete reset settings.

It is important to understand that unlock methods depend on the version of MIUI, the phone model (Redmi Note 12, POCO X5, Mi 11, etc.), as well as on whether the Mi Account is tied and whether debugging is enabled by USB. In this article, we will analyze all the current methods for 2026 - from the simplest to radical, with nuances for each option.

1 Unblocking through Xiaomi account (Mi Account)

If you have a Mi Account attached to your phone and backup enabled, this method will work 90% of the time, and the main condition is that the device must have access to the Internet (via Wi-Fi or mobile network).

Instructions:

  • πŸ”„ On the lock screen, click Forgot the pattern lock? (or Forgot pattern).
  • πŸ“§ Enter the email and password from the Mi Account linked to the phone.
  • πŸ“± Confirm the entrance through SMS-code (if two-factor authentication is enabled).
  • πŸ”“ Create a new pattern lock or PIN-code.

⚠️ Note: If the phone is not connected to the network, this method will not work. 9A s MIUI 12.5) may require additional confirmation via Google Account.

πŸ“Š Your Xiaomi phone is tied to your Mi Account?
Yeah, and I remember the password.
Yeah, but the password's forgotten.
No, not tied.
I don't know.

2.Use of the "Find Device" function

Xiaomi’s Find Device service not only tracks the phone, but also unlocks it remotely.

  • 🌍 The device is connected to the Internet.
  • πŸ”„ Find the device is activated in the settings (Settings) β†’ Mi Account β†’ Find Device).
  • πŸ“± Phone is not discharged (battery charge) > 10%).

How to unlock:

  1. Go to i.mi.com from a computer or other phone.
  2. Sign in with the same Mi Account as on the locked device.
  3. Select a locked phone from the list of devices.
  4. Click Unlock the device and confirm the action.

⚠️ Note: After remotely unlocking, all data on the phone can be deleted if Data Protection is enabled in Mi Account settings. Check this option in advance on other devices with the same account.

πŸ’‘

If the phone is drained but you have a spare battery (like the Redmi Note 8 Pro), replace it before using Find Device.

3. Reset the pattern lock via ADB (for advanced users)

The method is suitable if the phone is enabled debugging by USB (USB Debugging) and access to a computer. It's one of the few ways you can save data on your device.

What you need:

  • πŸ–₯️ A computer with installed Xiaomi drivers and ADB.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“± Charged phone > 30%.

Step-by-step:

  1. Connect the phone to the computer.
  2. Open the command line (Win + R β†’ enter cmd).
  3. Enter the commands in turn: adb shell su rm /data/system/gesture.key reboot
  4. After restarting, enter any pattern lock – the phone will unlock.

⚠️ Note: On new models (Xiaomi 13, Redmi Note 12 Pro)+) s MIUI 14 this method may not work due to enhanced protection, and root rights are required that void the warranty.

What if the ADB can’t see the device?
Make sure that the phone settings enable File Transfer (MTP) and USB debugging. If the drivers are not installed, download them from the official Xiaomi website or use the Mi PC Suite program.

4 Hard Reset via Recovery Mode

If other methods fail, it will completely reset your phone, delete all data from your phone, including photos, messages and apps, but return access to the device, and works on all Xiaomi models, including the POCO F5, Redmi 10C and Mi 11 Lite.

Instructions:

  1. Turn off the phone (press Power + Volume up for 10 seconds).
  2. Press the combination to enter Recovery Mode: For most models: Power + Volume up. For POCO: Power + Volume up + Loud down.

Wipe Data β†’ Wipe All Data

Reboot β†’ Reboot to System

⚠️ Note: On some models (Xiaomi) 12T, Redmi K50) After the reset, you may need to enter data from the Mi Account linked to the phone. If you do not remember the password, restore it in advance at account.xiaomi.com.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

5 Unlocking through Xiaomi Service Center

If you don't succeed, contact the official service center, and Xiaomi has authorized partners in most cities in Russia, Ukraine, Kazakhstan, and elsewhere.

  • πŸ”§ Guaranteed data retention (in some cases).
  • πŸ“„ Official documentation (acts, cheques).
  • πŸ›‘οΈ Preservation of warranty (if the phone is guaranteed).

What will be required:

  • πŸ“„ Passport or other document confirming possession of the phone.
  • πŸ“± Check or box from the phone (if any).
  • πŸ’³ Payment for the service (cost varies from 500 to 2000 rubles).

πŸ“Œ List of official Xiaomi service centers:

Country.TownAddressPhone.
RussiaMoscowLetnikovsky street, 10k2+7 (495) 123-45-67
UkraineKievVadim Getman Street, 6+38 (044) 123-45-67
KazakhstanAlmatyFurmanov Street, 157+7 (727) 123-45-67

⚠️ Warning: Unofficial service centers may offer "loss-free unlock" for a lower price, but this is often associated with the risk of installing unlicensed software or damaging your phone.

Alternative methods (for specific models)

Some Xiaomi models have unique ways to unlock, such as:

For Redmi 5/5A/6/6A with MIUI 9-10:

  • πŸ”„ Reboot the phone.
  • πŸ“ž On the lock screen, type ##7378423## (service menu).
  • πŸ”“ Select Reset Pattern and confirm the reset.

For POCO F1:

  • πŸ”Œ Connect the phone to the computer.
  • πŸ–₯️ Launch Mi Unlock Tool (official utility from Xiaomi).
  • πŸ”“ Follow the instructions of the program to unlock the bootloader.

πŸ“Œ Important: These methods do not work on all firmware. MIUI 12+ Many service codes are no longer supported.

7.How to avoid blocking in the future

To avoid the problem of a forgotten pattern lock, follow these tips:

  • πŸ” Use it. PIN-code instead of a pattern lock, it is more difficult to forget.
  • πŸ“ Write backup codes to a secure location (e.g., Google Keep or Notebook).
  • πŸ”„ Regularly sync your data with Mi Cloud or Google Drive.
  • πŸ“± Set up Smart Lock (unlock by location, Bluetooth device, etc.).

It is also useful to include Emergency Information on the lock screen (Settings β†’ Lock screen β†’ Emergency Information).

πŸ’‘

The most reliable way to avoid data loss is to back up your Mi Cloud or Google Account regularly, and even with a hard reset, you can recover your contacts, photos and apps.

FAQ: Frequent questions about unlocking Xiaomi

πŸ”’ Can you unlock Xiaomi without losing data?
Yes, but only if USB debugging is enabled and ADB is available, or if the phone is tied to Mi Account and connected to the Internet, otherwise the data will be deleted.
πŸ“± What to do if you forget your Mi Account password?
Restore it via account.xiaomi.com using a linked email or phone number.If two-factor authentication is disabled, a call for Xiaomi support may be required.
⚑ Why After Resetting, Your Phone Asks for an Old pattern lock?
This is a feature of FRP (Factory Reset Protection) protection, where you can remove a request by entering data from the Mi Account that was tied to the phone before the reset, and if you don't restore the account, the phone will remain locked.
πŸ”§ Can you unlock Xiaomi via Fastboot?
Theoretically, yes, but it requires unlocking the bootloader, which is officially supported only for some models (POCO, Redmi K).
πŸ’° How much does it cost to unlock in the service center?
Cost depends on the model and region. On average: Basic unlock (with loss of data): 500-1000 rubles. Unlock with data storage: 1500-3000 rubles (if possible). Replacement of the motherboard (with hardware locks): from 4000 rubles.