Forgot the pattern lock, PIN-Xiaomi code or password? smartphone screen locked and data access urgent? This situation is familiar to many owners of Redmi devices, POCO Or Mi, especially after a long break in use or a password change, and fortunately, there are several formal and informal unlock methods that work even without a factory reset.
In this article, we will discuss all the current ways to unlock the screen on Xiaomi (including the models of 2020-2026), their pros and cons, and give checklists for each method. Importantly, some solutions require preliminary preparation (for example, binding a Mi Account account), so if you read this in advance, bookmark the article!
Warning: not all methods guarantee data security, and if the phone is encrypted (Settings β Additional β Encrypting), then when reset via Recovery or Fastboot, files may become inaccessible, but about everything in order.
1 Unlocking through Mi Account (official method)
The most reliable and recommended method Xiaomi uses is a tied Mi Account, which works if:
- π± Device connected to the Internet (Wi-Fi or mobile network).
- π Mi Account was tied before being blocked.
- π Find Device mode is not activated (remote lock).
To unlock Xiaomi through Mi Account:
- On the lock screen, click Forgot Password? (or Forgot Password?).
- Select Sign in via Mi Account.
- Enter the login (email or phone number) and password from the account.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
β οΈ Note: If you have not previously confirmed your Mi Account through SMS/email, In this case, try to log in via the browser on another device (account.xiaomi.com) and confirm personal data.
π‘
If you don't remember the Mi Account password, restore it through the official website, and you will need access to the attached email or phone number.
2.Reset via Recovery Mode (without data loss on some models)
The method is suitable for Xiaomi devices on MIUI 12-14, which implements the reset data saving function. However, this does not work on all models - check the compatibility list below.
How to start Recovery Mode:
- Turn off the phone (press Power + Volume up for 10 seconds).
- Hold Power + Volume up until the Mi logo appears.
- From the Recovery menu, select the language (English / Chinese), then Wipe Data β Wipe All Data.
- Confirm the action and wait for the reboot.
β οΈ Note: On Redmi Note models 10/11/12, POCO X3/X4 And a new reset via Recovery can result in deletion of all data if encryption is enabled. Before the procedure, check if the Recovery menu says Data may be erased.
List of Xiaomi models that support reset without data loss
| Xiaomi model | Is the data preserved? | Is a Mi Account required? |
|---|---|---|
| Redmi Note 9 Pro | Yes (on MIUI 12.5+) | No. |
| POCO X3 NFC | Partially (photo/video retained) | No. |
| Mi 11 Ultra | Yes (with decryption disabled) | Yes (for confirmation) |
| Redmi 10 | No (full reset) | No. |
3. Unlock via Fastboot (for advanced users)
If previous methods didnβt work, you can try unlocking Xiaomi via Fastboot mode, USB-cables and installed drivers ADB/Fastboot. Suitable for models with unlocked bootloader (bootloader).
Step-by-step:
- Download and install Googleβs Platform Tools.
- Connect your phone to your PC in Fastboot mode (clip Power + Volume down).
- Open the command line in the folder with fastboot and type: fastboot oem unlock If the bootloader is blocked, first unlock it through the official Xiaomi website (it will take 7-30 days to wait).
- Once the bootloader is unlocked, reset: fastboot erase userdata fastboot erase cache fastboot reboot
β οΈ Warning: Unlocking the bootloader deletes all data on the device, including photos, messages and apps.This method can also lead to a loss of warranty if the phone is new.
4.Use of the "Find Device" function (remote unlock)
If you have Find Device enabled on your phone, you can try unlocking it remotely.
- Go to i.mi.com and log in to your Mi Account.
- Select the locked device in the list.
- Press Unlock Device (Unlock Device).
- Confirm the action via SMS or email.
β οΈ Note: The function only works if:
- πΆ The phone is connected to the Internet (Wi-Fi or mobile network).
- π Battery level above 15%.
- π Find Device option activated before blocking.
On Xiaomi models from 2023 to 2026 (e.g., Redmi Note 12, POCO F5), remote unlocking may require confirmation via a second trusted device (e.g., a tablet or other smartphone on the same Mi Account).
5. Bypassing the lock via ADB (if USB debugging is enabled)
If the phone pre-enabled debugging via USB (Settings β About Phone β MIUI β 7 times tap β Additional β For developers β USB debugging), you can try to bypass the lock through ADB.
Instructions:
- Connect your phone to your PC and open the command line in the adb folder.
- Enter the commands in turn: adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
- After the reboot, the screen lock will be reset.
β οΈ Note: This method only works on MIUI Up to version 12 (MIUI 13+) Lock files are stored in encrypted form, and their deletion can lead to data loss or a cyclical reboot of the device.
βοΈ Preparation for unblocking through ADB
6 Unlocking through Xiaomi Service Center
If none of these methods work, you have to contact the official Xiaomi service center, which is the most reliable, but also the longest way.
- π Document confirming the purchase (check, warranty card).
- π Passport of the holder (to confirm the identity).
- π Charger (if the phone is discharged).
The cost of unlocking the service varies from 500 to 2000 rubles depending on the model and region, and in some cases (for example, if you are a thief), you may need a police statement.
β οΈ Warning: Unofficial services often offer "unlock in 5 minutes" via a PC connection:
- π οΈ Damage the firmware (turn the phone into a brick").
- π Install malware.
- π΅ Disrupt the communication module (IMEI).
π‘
Xiaomiβs official service is the only legal way to unlock without the risk of losing warranty or data (unless the phone is encrypted).
7. Alternative methods (for older models)
Xiaomi devices from 2016-2019 (e.g. Redmi 4X, Mi A1, Mi 5) sometimes run βholesβ in the security of MIUI, allowing you to bypass the lock without reset.
Method 1: Emergency call
- On the lock screen, press Emergency Call.
- Enter ##4636## (test menu).
- Go to Usage statistics β Settings β Reset password.
Method 2: Reset via Google Account (Android 5-7 only)
- On the lock screen, enter the wrong password 5 times.
- Will you get a password button? β Sign in via Google.
- Enter the Google account that was linked to the phone.
β οΈ Note: These methods do not work for MIUI 10+ The new models (Redmi Note 8 and later) may result in the blocking of Mi Account due to suspicious activity.