Forgot the pattern lock, PIN-Xiaomi's code or password and you can't unlock your phone now? The situation is familiar to many -- especially if the device has been idle for weeks or you've rarely used complex code. 2026 There are several ways to get back access to your smartphone without going to the service center, but the main thing is not to panic and not try to find a password at random (after the first time). 5-10 Failed attempts are activated by the protection MIUI, The phone can be locked forever).
In this article, we will discuss all the current unlock methods for Xiaomi, Redmi and POCO devices, from official (via Mi Account) to technical (via Fastboot or ADB). Separately, we will focus on the nuances for new models (for example, Xiaomi 14 or Redmi Note 13 Pro+), where the manufacturer has tightened security measures. All instructions are tested on MIUI 14/15 firmware and are relevant for phones released after 2020.
Warning: some methods require pre-preparedness (e.g., a tied Mi Account or USB debugging enabled). If you have never set these settings, go straight to the hard reset section, but be prepared to lose data. For the rest, we have file-saving solutions.
Method 1: Unlocking with Mi Account (official method)
The easiest and safest way to use a linked Mi Account is to use a linked Mi Account.
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π You remember the username and password from Mi Account (or you can restore them through the email/SMS).
- π The device previously activated the function Find Device).
If all conditions are met, follow the instructions:
- On the lock screen, tap Forgot password? (or Forgot password? on English firmware).
- Enter the email or phone number associated with the Mi Account.
- Confirm the entrance through SMS-account code.
- Follow the system prompts to create a new lock password.
β οΈ Attention: On Xiaomi models 12T, Redmi K50 and newer, after unlocking through Mi Account, additional verification may be required SMS If you don't confirm it within 24 hours, the phone will lock again.
Method 2: Delete password through ADB (for advanced users)
The method is suitable if the phone was previously enabled debugging USB (USB Debugging) and you can plug it into a computer. It's one of the few ways to save data on a device, but it requires minimal command line knowledge.
You'll need:
- π₯οΈ Computer with installed Xiaomi drivers (you can download on the official website).
- π USB-cable (preferably original).
- π¦ Utility. ADB (is part of Android SDK Platform-Tools).
Step-by-step:
- Connect the phone to your PC and open the command line (Win + R β enter cmd).
- Check the device connection command: Adb devices If the phone appears in the list β move on to the next step.
- Delete the password file: adb shell rm /data/system/gesture.key adb shell rm /data/system/password.key adb shell rm /data/system/locksettings.db adb shell rm /data/system/locksettings.db-wal adb shell rm /data/system/locksettings.db-shm
- Reboot the device: adb reboot
After the reboot, the password will be reset, but fingerprints and facial data (if any) will have to be reset.
Install Xiaomi drivers on PC|Download Android SDK Platform-Tools|Enable debugging on USB on the phone (if you have access)|Prepare original USB-cable-->
Method 3: Reset password via Fastboot (without data loss on some models)
If USB debugging wasnβt enabled, but you have access to Fastboot mode, you can try bypassing the lock with special commands.This method works on most Xiaomi devices until 2022 (for example, Redmi Note 9 Pro, Mi 10T). For new models (Xiaomi 13, Redmi Note 12), the chances are lower due to the enhanced bootloader protection.
Algorithm of action:
- Turn off your phone and press the Power button + Volume down to log into the Fastboot.
- Connect the device to the PC and check its availability with the command: fastboot devices
- Enter the command to unlock: fastboot oem unlock Attention! On some models, this will result in a reset of all data!
- If the command doesnβt work, try an alternative: fastboot erase frp (this will delete the Google accountβs binding, but doesnβt always reset the password).
β οΈ Note: On devices with locked bootloader (Xiaomi) 12S Ultra, POCO F5) These commands may not work, and then you only have to reset hard (see next section).
What if fastboot doesnβt see the device?
Method 4: Hard Reset β When nothing helps
If previous methods have failed or you have never set up Mi Account/USB debugging, you only have to reset your settings completely, and it will remove all data from your phone, including photos, messages and installed apps. Use this method as a last resort!
Instructions for Xiaomi/Redmi/POCO:
- Turn off the phone.
- Press the Power Button + Volume combination up for 10-15 seconds until the Mi logo and Recovery menu appear.
- Use the volume buttons for navigation and the power button to select the Wipe Data (or Clear Data) item.
- Confirm the reset by choosing Yes.
- Once completed, select Reboot to reboot.
β οΈ Note: On new models (Xiaomi 13 Pro, Redmi Note 12 Pro)+) After reset, you may need to enter data from the associated Mi Account. If you do not remember the username / password, the phone will turn into a brickΒ»!
| Model phone | The probability of a successful reset without a Mi Account | Loss of data |
|---|---|---|
| Redmi Note 8/9/10 | 90% | Yes. |
| Mi 10/11 | 70% | Yes. |
| POCO X3/X4 | 80% | Yes. |
| Xiaomi 12/13/14 | 30% (Mi Account required) | Yes. |
Method 5: Unlocking through the Mi Cloud (if the phone is online)
If your Xiaomi is connected to the Internet and you have access to the Mi Cloud, you can try resetting your password remotely, which works even if your phone is physically located elsewhere (for example, forgotten at home or stolen).
Step-by-step:
- Go to i.mi.com and log in.
- In Find Device, select a locked phone.
- Click Delete Data (Erase Data).
- Confirm the action via SMS or email.
After that, the phone will be reset to factory settings and the password removed, and the downside is that all the data is lost and the device needs to be reconfigured.
π‘
If you often forget passwords, set up a backup in Mi Cloud. Go to Settings β Xiaomi Account β Mi Cloud β Backup and enable automatic synchronization of contacts, photos and notes. This will help you quickly recover data after a reset.
Method 6: Contact Xiaomi Service Center
If all independent attempts to unlock failed, you just need to contact the official service center.
- π Phones with locked bootloader (Xiaomi 13 Ultra, Redmi) K60 Pro).
- π± Devices that cannot verify Mi Account (for example, if an old phone number is tied).
- πΎ Situations when you need to save critical data (photos, documents).
What you need to unlock in the service:
- π Checks or phone box (to confirm possession).
- π Passport (for conclusion of a contract for the provision of services).
- π³ Payment (the cost of unlocking - from 1,500 to 5 000 rubles depending on the model).
β οΈ Note: Unofficial services may offer "unblocking through" EDLΒ» (emergency loading mode), but it is risky: this method often leads to loss of IMEI Xiaomi's official centers use legal ways without harming the phone.
Method 7: How to Avoid a Blockage in the Future
To avoid having to deal with a forgotten password, follow these tips:
- π Use biometric unlocking (fingerprint or facial recognition) as a backup option.
- π Write passwords to a trusted manager (such as Bitwarden or KeePass).
- π Regularly update the firmware in new versions MIUI Access restoration functions are added.
- π± Link Mi Account to your current email and phone number.
Itβs also helpful to set up a Smart Lock on Android: this tool will automatically unlock your phone in safe places (like at home or work).
- Go to Settings β Passwords and Security β Smart Lock.
- Enter the current password.
- Add Reliable Seats or Bluetooth Devices (such as smartwatches).
π‘
The most reliable way to avoid blocking is a combination of biometrics (fingerprint). + person) + PIN-code + You can still access your account, even if you forget your password, through your account or fingerprint.