The message βThis device is locked. Enter your password to startβ on Xiaomiβs screen can appear not only after unsuccessful attempts to enter a password, but also after resetting settings, updating the firmware or even accidentally pressing buttons, PIN-Mi Account code or password, donβt rush to bring your phone to the service center β in 80% of cases, the problem can be solved independently.
In this article, we will analyze all the current ways to unlock Xiaomi, Redmi smartphones, POCO and Black Shark without password, including methods with data storage and forced reset. MIUI 14/15 and chip-sized models Snapdragon/Mediatek. Important: Some methods require prior preparation (e.g., included) USB Debugging or tied Mi Account, so read carefully.
1 Unlocking through Mi Account (official method)
If your Xiaomi has a Mi Account attached (even if you donβt remember the password), this is the most secure way to unlock it, and works on all models, including the Redmi Note 12, POCO X5 and Mi 13, but requires an Internet connection.
Algorithm of action:
- π On the lock screen, click Forgot Password? (or Forgot Password). If this button is not available, go to the next method.
- π§ Enter an email or phone number linked to Mi Account, and it will receive a confirmation code.
- π If you do not remember the account details, restore access through the official Xiaomi website (you will need access to email or other information). SMS).
- π± Once the code is entered, the device unlocks, but it may need to be re-authorized in some applications (e.g. Google Play).
An important nuance: if the phone was enabled Find Device (device search), after unlocking through Mi Account, the reset protection (FRP) may work, in which case you will need to enter data from the last synchronized Google account.
β οΈ Attention: On devices with MIUI Global over 2021 after 5 failed password attempts Mi Account is blocked for 24 hours.Use browser recovery.
2.Reset via Recovery Mode (without data loss β only for some models)
If the Mi Account is not tied or you canβt restore access, the next step is to download to Recovery mode. On new smartphones (Redmi Note 13, POCO F5 and later), this method leads to a complete reset, but on older models (Mi 9, Redmi Note 8) you can sometimes bypass the lock without deleting files.
Instructions:
- Turn off the phone with a long press of the power button (10-15 seconds).
- Hold the combination: π§ For Snapdragon: Volume up + Nutrition π§ For Mediatek: Volume up + Loudness down + Nutrition
Recovery
Wipe Data
Wipe All Data
Factory Reset
Confirm the action and wait for the reboot.
What happens after the dump:
- π All data (photos, messages, applications) will be deleted.
- π Screen lock will be removed, but you may need to enter data from Mi Account or Google (FRP).
- π± On devices with MIUI 14+ After the reset, the latest version of the firmware will be automatically installed.
What to do if Recovery Mode does not open?
| Xiaomi model | Reset via Recovery | Do you need a Mi Account after a reset? |
|---|---|---|
| Redmi Note 10/11/12 | Deletes all data. | Yes, if the Find Device was enabled |
| POCO X3/X4/X5 | Deletes all data. | Yes, if you have a Google account attached |
| Mi 11/12/13 | Deletes all data. | Yes, I will. |
| Black Shark 4/5 | Deletes all data. | No (exception for game models) |
3. Unlock via Fastboot (for advanced users)
The method is suitable if:
- π§ The phone was on. OEM Unlock in the Developer Settings.
- π§ Access to PCs with installed drivers ADB/Fastboot.
- π§ Device not locked by Mi Account (otherwise you will need authorization).
Step-by-step:
- Install Platform Tools on your PC.
- Turn your phone into Fastboot mode: (a) Turn off the device. (b) Press Volume down + Power before the Fastboot logo appears.
- Connect your phone to your PC and execute commands: fastboot oem unlock fastboot flashing unlock (POCO F4, Redmi K50) You may need an additional command: fastboot flashing unlock_critical
- After unlocking the bootloader, the phone will automatically reset.
β οΈ Attention: Unlocking the bootloader via Fastboot results in complete deletion of data and may void the warranty. MIUI 13+ After this procedure, you will need to re-attach the Mi Account.
Install Platform Tools on PC| Download the driver for your Xiaomi |Enable USB debugging (if the phone is not already locked)|Read backup (if possible)| Charge the phone at least 50%-->
4. Bypassing the lock via ADB (if debugging is enabled)
If the phone has been activated before the lock. USB (USB Debugging, the chances of unlocking the device without losing data are increasing.The method works on Xiaomi with Android 9-13.
What will be required:
- π₯οΈ PC with installation ADB Tools.
- π USB-cable (preferably original).
- π± Charging the phone at least 30%.
Instructions:
- Connect your phone to your PC and open the command line in the folder with ADB.
- Check the connection command: adb devices If the device is displayed, go further.
- Delete the file with the password: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb shell rm /data/system/locksettings.db
- Reboot your phone: adb reboot
What to do if ADB does not see the device:
- π Try another one. USB-cable.
- π§ Install Xiaomi drivers USB Drivers manually.
- π Check if debugging is included in Settings β The phone. β Version. MIUI (Click on version 7 times, then return to Additional Settings β For developers).
π‘
If the lock is still locked after deleting the key files, try also to delete /data/system/locksettings.db-wal and /data/system/locksettings.db-shm. This helps on some MIUI 12.5 firmware.
5. Use of service codes (hidden functions)
Some Xiaomi models (mostly until 2020) have service codes to reset locks, which are not official and may not work on new devices, but itβs worth a try.
List of working codes:
- π ##7780## - soft reset (saves media files but removes apps and settings).
- π *2767*3855# β Full reset (removes everything, including firmware) Dangerous! Could lead to bricks".
- π ##3646633## - login to the engineering menu (on some models, you can reset your password through the computer). MTK Settings).
How to enter codes:
- Open the standard phone application.
- Enter the code as a phone number and press the call button.
- If the code works, follow the instructions on the screen.
β οΈ Attention: Codes *2767*3855# and ##3646633## Can permanently damage firmware on devices with Snapdragon 8 Gen 1/2 (for example, Xiaomi 12/13 Pro) Do not use them unless absolutely necessary!
6. Contact the Xiaomi Service Center
If none of these methods work, the last option is the official service, and Xiaomi has support centers in most major cities where it can unlock the device on paper.
What will be required:
- π Passport holder (or power of attorney if your phone is not yours).
- π Check or box from the phone (proof of purchase).
- π³ Payment for the service (from 1000 to 3 000 rubles depending on the model).
How long does it take to unlock:
| Type of lockdown | Unlocking time | Cost (roughly) |
|---|---|---|
| Forgotten PIN/pattern lock | 1-3 hours | 1 000β1 500 β½ |
| Blocking Mi Accounts | 1-2 days | 2 000β3 000 β½ |
| FRP (Google account) | 2-5 hours | 1 500β2 500 β½ |
Where to find the official Xiaomi service:
- π On the official website in the Service Locator section.
- π Using Google Maps or 2GIS on request βXiaomi Service CenterΒ».
- π Phone hotline: 8 800 775-66-99 (call-off).
π‘
Xiaomiβs official service centers never ask for a password from Mi Account or Google over the phone. If you get a call asking for such data, they are scammers!