Forgot the pattern lock on Xiaomi Redmi Note 12 or tired of entering PIN-code every time you unlock it POCO X5 Pro? Disabling the password on devices with MIUI β This is a procedure with nuances that depend on the firmware version, the smartphone model, and even the type of security installed. In this article, we will analyze all the current methods: from standard deletion through settings to bypassing the lock when you lose data to log in.
It is important to understand that the manufacturer deliberately complicates the process of disabling the password without verifying identity, this is due to the protection of user data - according to Xiaomi's policy, resetting the lock without verification can lead to loss of access to associated accounts (for example, Mi Account or Google), so some methods will require additional actions, such as confirmation by SMS or via a computer.
If you're looking for a way to get around a stolen phone, we're going to warn you that this is a violation of the law, and this is a guide for device owners who have lost access to their own device.
1. disable password through settings (if you know the current code)
The easiest and safest way is to delete the password directly from the settings menu, which is suitable if you remember the current PIN, pattern lock or password. The instructions are universal for all Xiaomi, Redmi and POCO models on MIUI 12-14:
- Unlock your phone in the standard way (enter a PIN, draw a pattern lock, or use a fingerprint).
- Go to Settings. β Passwords and security.
- Select the option Lock the screen.
- Enter the current password for confirmation.
- Click No (or Delete Password in older versions of MIUI).
- Confirm the action by pressing Ready.
After that, the screen lock will be completely disabled, and note that if the phone has the Smart Lock feature on, you will also have to turn it off separately in the same menu.
βοΈ Preparation for password deactivation
β οΈ Note: On some models (e.g. Xiaomi 13 Ultra) after disabling the password, the system may require re-entering Mi Account data to verify identity. If you do not remember the associated email or phone number, this method will not work.
2. Delete password through Mi Account (if you forgot the code)
If you don't remember the unlock password, but your phone is tied to your Mi Account, you can reset the lock through Xiaomi's website, which only works if you meet three conditions:
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π The device is synchronized with Mi Account.
- π§ You have access to an email or phone number linked to your account.
Step-by-step:
- On your computer or other phone, go to account.xiaomi.com and log in.
- From the account menu, select Device Management (or Find Device in English).
- Find a locked smartphone in the list and click Unlock the device.
- Confirm the action via SMS or email (the code will come to the linked number / mail).
- Wait for notification of a successful reset (can take up to 5 minutes).
After that, the phone will automatically unlock, but all the data on it will be erased (except the files on the memory card), which actually resets to factory settings, so take care of backing up important data in advance.
What to do if your Mi Account is not tied?
3. Reset password through Recovery Mode (hard reset)
If previous methods didnβt work, you can do hard reset, which is a full reset through Restore mode, which removes all data from your phone, including apps, photos and settings, but is guaranteed to remove lockdown, and is suitable for most Xiaomi, Redmi and POCO models released after 2018.
Instructions for entering Recovery Mode:
- Turn off the phone (press the power button and select Turn off).
- Press the button combination: For most models: Volume up + Power. For POCO F3/F4: Volume down + Power. For Xiaomi 12T/13 series: Volume up + Volume down + Power.
Hold the buttons until the Mi logo appears (usually 10-15 seconds).
Release the buttons when the Recovery menu appears (English or Chinese).
Please follow the Recovery version:
| Type Recovery | Action | Effects of consequences |
|---|---|---|
| Stock (MIUI) | Select Wipe Data (use volume buttons for navigation, power for confirmation). Confirm Wipe All Data. After reset, select Reboot. | Deletes all data, including password, and the phone will look like new. |
| TWRP (castomic) | Select Wipe β Format Data. Enter yes to confirm. Reboot through Reboot System. | It saves files on a memory card, but erases internal memory. |
| Fastboot Mode | You need a PC connection and a fastboot erase userdata command. | Complete reset with the deletion of all data. |
β οΈ Note: Some models (e.g. Redmi Note 10 Pro) may require Mi Account data entry after resetting via Recovery if Factory Reset Protection was previously enabled!
4. Unlock via Fastboot and ADB (for advanced)
If the standard methods did not help, and the phone is not tied to Mi Account, you can try to delete the password via Fastboot or ADB. These methods require a computer, USB-Cable and basic command line knowledge are suitable for bootloader models).
First, check if the bootloader is unlocked:
- Turn off the phone and press Volume Down + Power to log into Fastboot Mode.
- Connect your phone to your PC via USB.
- Open the command line (Windows) or terminal (macOS/Linux) and type: fastboot oem device-info
- If the answer is Device unlocked: true, the bootloader is unlocked. If false, you will need official unlocking via Xiaomi (can take up to 72 hours).
To delete the password via Fastboot:
- Download and install Android SDK Platform Tools.
- In the command line, run fastboot erase userdata fastboot erase locksettings.
- Reboot the phone: fastboot reboot
For the ADB method (if USB debugging is enabled):
- Connect the phone to your PC and allow debugging (if requested).
- Enter the commands: adb shell rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksetting.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm
- Reboot the device: reboot
π‘
If the phone is stuck on the Mi logo after the commands, reset via Recovery (see Section 3).
5. Password bypass through Xiaomi service centers
If all self-unblocking attempts fail, you should contact the official Xiaomi service center, which is the only legal way to circumvent the security without losing data if:
- π You have documents confirming the purchase (check, warranty card).
- π The phone is tied to Mi Account, but you don't remember the login details.
- π± The device is under warranty (in this case, the reset may be free of charge).
The procedure in the service center takes from 1 to 3 days and includes:
- Verification of the originality of the device by IMEI.
- Reset the lock through special software (available only to Xiaomi partners).
- Restoration of factory settings (if required).
The cost of the service varies from 1 000 before 3 000 Official centers are available in all major cities - you can find the nearest one on the website. mi.com/ru/service.
β οΈ Warning: Don't trust "private craftsmen" who promise to unlock your phone in 5 minutes without documents. Often such services involve installing custom firmware, which deprives of warranty and can lead to unstable operation of the device.
6. Frequent mistakes and how to avoid them
When trying to disable a password on Xiaomi, users often face typical problems, and here are the most common ones and ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| "Failure to reset the settings." | The phone is not tied to Mi Account, but Factory Reset Protection is enabled. | Use the method via Fastboot or contact the service center. |
| "Team Not Found" at ADB | There are no drivers installed or USB debugging enabled. | Install the Android SDK and check the developerβs settings. |
| Phone is not included in Recovery | Wrong combination of buttons or battery drained. | Charge your phone at least 30% and try again with the right combination (see Section 3). |
| "The device is locked by the administrator" | It's on the phone. MDM-profile (corporate governance). | Contact the device administrator or reset via Fastboot. |
Another common mistake is to lose data after a reset, to minimize the risks:
- π² Regularly back up through Settings β System system β Backup.
- π Sync your contacts and photos with your Google Account or Mi Cloud.
- πΎ Use a memory card to store important files (not affected by resetting).
π‘
If your phone is locked after a failed MIUI update, try flashing it over Fastboot with the official firmware, and you can download it from miuidownload.com.