Forgot your Xiaomi password or want to remove it so you don't enter the code every time? Redmi, POCO and Mi offer a number of ways to disable locks, from standard settings to radical measures like reset to factory settings. In this article, we'll look at all the current 2026 methods, including bypassing through Mi Account, using ADB and even unlocking without losing data.
It's important to understand that some methods require pre-preparedness (e.g., USB debugging enabled or a tied Mi Account). If you don't set them up in advance, only the options with a full reset will remain, and we will describe in detail each scenario, from the simplest to the most complex, so that you can choose the right one.
If the phone contains important information, try the non-reset methods first (sections 2β3) and then move on to radical measures (sections 4β5).
1. disable password through settings (if you know the current code)
The most obvious and safe way to do this is to remove the password directly from the settings menu, which works if:
- π You remember the current password, PIN graphical.
- π± The device is not locked after several failed attempts.
- π§ No hardware restrictions (e.g. corporate policy on the work phone).
Instructions for MIUI 14/15 (relevant to Xiaomi 13/14, Redmi Note 12/13, POCO F5/X5):
- Open the Settings app (cog icon).
- Go to Passwords and Security β Screen Lock.
- Enter the current password/PIN/pattern lock for confirmation.
- Select No (or Delete Password in older versions of MIUI).
- Confirm the action (it may be necessary to enter the password again).
On some models (such as Xiaomi 12T or Redmi K50), the path may be slightly different:
Settings β System and device β Additional β Lock and protect β Screen lockπ‘
If the "Delete Password" option is inactive, check if the Smart Lock feature (smart location or device unlocking) is enabled.
2 Unblocking through Mi Account (if an account is linked)
If you forgot your password but previously linked your device to your Mi Account, you can use Find Device, which works even when your screen is locked, but requires:
- π Internet access on your phone (via Wi-Fi or mobile network).
- π§ Access to email or phone number linked to Mi Account.
- π The device must be on and not discharged.
Step-by-step:
- On your computer or other phone, go to account.xiaomi.com.
- Sign in with the same account as on the locked device.
- Select the Find Device tab (or Find Device in English).
- The map will show your Xiaomi. Click on it and select Unblock.
- Confirm the action via SMS or email.
After that, the phone will unlock and you can go to the settings to remove the password (see section 1).
- π« The device is not tied to your account (check if you are using the same Mi Account).
- π Less than 24 hours have passed since the last time this method was unlocked.
- π΅ The phone is not connected to the Internet.
3. Password reset via Fastboot (for advanced users)
If the standard methods do not work, and debugging USB It was enabled before locking, and you can try resetting your password through Fastboot, USB-cable and basic knowledge of working with ADB/Fastboot.
Important: the method does not work on all models (for example, on Xiaomi 13 Pro with MIUI 14+ you may need to unlock the bootloader).
Install ADB and Fastboot on PC| Download firmware for your model | Connect your phone to your PC in Fastboot mode (clamp Power + Vol-)| Disable Windows signature drivers (if the OS swears) | Have a backup of data
-->
Instructions for MIUI 13/14/15:
- Download and install Platform Tools (includes fastboot and adb).
- Turn off the phone. Press Power + Volume down to enter the Fastboot.
- Connect the device to your PC and check the connection with the command: fastboot devices If the phone appears in the list, the connection is established.
- Enter a password reset command (not working on all models!): fastboot erase userdata fastboot erase locksettings
- Reboot the device: fastboot reboot
If you still request a password after rebooting, try an alternative method through ADB (if debugging was enabled):
adb shell
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootWhat if the Fastboot doesnβt recognize the device?
4. Full reset to factory settings (Hard Reset)
If other methods fail, the radical option is factory reset, which will delete all data (photos, contacts, messages, apps) but unlock the phone, and works on any Xiaomi model, including the Redmi 10/11, POCO X4, Mi 11 Lite.
There are two ways to do a hard reset:
- π Recovery Mode (Recovery Menu).
- π₯οΈ Through the Mi Flash Tool (requires PC and firmware).
Method 1: Recovery Mode
- Turn off the phone.
- Press Power + Volume Up for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select the language (volume buttons) and confirm Power.
- Go to Wipe Data β Wipe All Data.
- Confirm the reset (a password from Mi Account may be required if the device is tied!).
- After completion, select Reboot.
Method 2: Mi Flash Tool (if Recovery is blocked)
- Download the Mi Flash Tool and firmware for your model (e.g. fastboot-rom for Redmi Note 12).
- Unpack the firmware in a folder without Cyrillic symbols.
- Log in to Fastboot (see Section 3).
- In the Mi Flash Tool, specify the path to the firmware folder and press Refresh (the device should be displayed).
- Select Clean All and press Flash.
π‘
After Hard Reset, the phone will require data input from Mi Account, if previously tied! without them, you will not be able to activate the device (protection against theft).
Password circumvention without loss of data (alternative methods)
If you don't want to lose data, but the standard methods don't work, you can try informal solutions, which are suitable for older models (Redmi 4/5, Mi A1/A2) or devices with an unlocked bootloader.
Note: These methods may violate Xiaomiβs security policies and result in account or device locking.
Ways of circumvention:
- π§ Use of the TWRP: If you have custom recaps installed, you can delete files with a password (/data/system/locksettings.db).
- π± Exploitation for MIUI: Some vulnerabilities allow you to reset your password through ADB (for example MIUI 12 There was a bug with settings put).
- π Unlock Services: Paid services (e.g. DC-Unlocker) that remotely reset passwords IMEI.
Example of a command for MIUI 12 (worked on some devices):
adb shell settings put secure lock_screen_password_enabled 0
adb shell settings put secure lock_screen_lock_after_timeout 0How to check if the bootloader is unlocked?
6. Frequent mistakes and how to avoid them
When trying to remove a password, users often face typical problems, and here are the most common ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Mi Account Locked After Resetting | Phone linked to Mi Account, but data is incorrect | Restoring your account through Xiaomiβs website or contacting for support |
| Fastboot not recognized | No drivers or ADBs installed | Install Android SDK or Mi Flash Tool |
| The phone will not turn on after resetting | Interrupted firmware or incorrect version of MIUI | Repeat the firmware via Fastboot with the correct version of the software |
| This device is locked in Fastboot | bootloader locked | Unlock through the official Xiaomi tool (requires a wait of 7-30 days) |
Another common problem is that the phone asks for the old password after reset, which happens if:
- π You only reset your lock screen settings, not your account details.
- π± The device was encrypted (then you need to enter an old password to decrypt it).
In such cases, only a full reset via Fastboot (see section 4) or a call to a service center will help.
7. How to protect your phone after removing your password
If you have removed your password for convenience but want to keep at least minimal protection, consider alternative options:
- π Unlocking by fingerprint (configured in passwords and security) β Fingerprint).
- π€ Facial recognition (less safe but convenient).
- π Smart Lock β Automatically unlock in trusted locations (home, work) or when connected to a trusted device (e.g. Mi Band).
- π Encryption of the device (included in Settings) β Additionally. β Encryption and credentials).
If you still decide to leave your phone without a password, consider the risks:
β οΈ Warning: Without locking the screen, anyone with physical access to the device will be able to: Read your messages and emails; delete or copy files; reset settings and link the phone to their Mi Account. Use mobile bank or payment apps (unless they are separately protected).
The minimum recommendation is to set a pattern lock or short PIN (4-6 digits), which is easy to enter but difficult to pick up.