A forgotten password on a Xiaomi smartphone is a situation that one in five users encounter, according to service center statistics. Unlike the iPhone, where unlocking without an Apple ID is almost impossible, devices on MIUI offer several official and informal ways to bypass protection. However, not all methods are safe: some lead to data loss, others require technical skills, and still others can lock the phone permanently if you act at random.
In this article, we will discuss 6 working ways to remove passwords, from simple (via Mi Account) to complex (unlock the bootloader and firmware via Fastboot). Particular attention will be paid to models with a MediaTek chip (for example, Redmi Note 11 or POCO M4 Pro), where standard methods often do not work due to hardware limitations, and you will learn how to avoid complete data loss and what to do if the phone requires confirmation after a reset.
1 Unlocking through Mi Account (official method)
The most legal and safe method is to use a linked Mi Account, which works if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π Remember the username and password from Xiaomi account.
- βοΈ Synchronization is enabled in the settings (usually activated by default).
If the conditions are met, follow the instructions:
- On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
- Enter the email or phone number associated with the Mi Account.
- Confirm the entrance through SMS-code-letter.
- Create a new lock password.
β οΈ Note: If the phone is not connected to the network, this method will not work, and Xiaomi may also request additional verification (for example, a tied number for the phone). SMS), If the account has not been used for a long time.
π‘
If the button "Forgot your password?" does not appear, try to enter any password 5 times in a row - the system will offer alternative unlock options.
2. Recovery Mode reset (data loss)
Hard Reset is a radical method that removes all data from the device, including the password.
- π You donβt remember the data from your Mi Account.
- π΅ The phone is not connected to the internet.
- π± There are no important files on your device (or they are stored in the cloud).
Instructions for most Xiaomi/Redmi/POCO models:
- Turn off the phone.
- Press the Power Button + Volume up for 10-15 seconds at the same time until the Mi logo appears.
- In the Recovery menu, select Wipe Data β Wipe All Data (manage by volume buttons, confirm by power button).
- After resetting, restart the device (Reboot).
Get out. SIM-card and memory card (if any)
Charge your phone at least 50%
Make sure there are no important unsaved data on the device
Prepare data from Mi Account (required after reset)
-->
β οΈ Note: Newer models (Xiaomi 13, Redmi Note 12) may require data entry from the Mi Account that was previously tied after reset. If you don't remember them, the phone will turn into a brickΒ».
| Xiaomi model | Do you need a Mi Account after a reset? | Does the ADB bypass work? |
|---|---|---|
| Redmi Note 10/11 | Yes (if tied up) | Yes (at MIUI 12-14) |
| POCO X3/X4 | Yes. | Yes (requires unlocking the bootloader) |
| Xiaomi 12/13 | Yes. | No (chip level protection) |
| Redmi 9A/9C | No (on old firmware) | Yes. |
3. Unlock through ADB (for advanced users)
The method works if the phone is enabled debugging by USB (USB Debugging) and access to a computer. MIUI 12β14.
Steps:
- Connect your phone to your PC via USB.
- Open the command line (cmd) and enter:
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
rebootAfter the reboot, the password will be reset. If the su command does not work, you need to obtain root rights.
What if the ADB canβt see the device?
4. Fastboot bypass (for models with unlocked bootloader)
If the bootloader is unlocked, you can flash the device through the Fastboot by deleting the password files, a method that is suitable for the Redmi Note 8/9, POCO F1/F3 and other models with a Qualcomm chip.
Instructions:
- Download the official firmware for your model.
- Unpack the archive and find the file. flash_all_except_storage.bat.
- Transfer the phone to Fastboot mode (clip Power + Volume down).
- Connect to the PC and launch the file flash_all_except_storage.bat.
β οΈ Note: On models with MediaTek (e.g. Redmi) 10A) This method can result in permanent locking due to protection. SLA (Check compatibility before firmware!
Mi Account|Hard Reset|ADB|Fastboot|I've been to the service.|I haven't tried it yet.-->
5. Use of service codes (for older models)
On devices up to MIUI 10 (e.g., Redmi 4X, Mi A1), password reset service codes sometimes work:
- π Enter the dial number: ##7780### - reset settings (retained data).
- π Or: *2767*3855# β full reset (remove everything).
β οΈ Note: These codes do not work on new models and may cause Network unlock error. MIUI 11+!
6. Contact the Xiaomi Service Center
If none of the methods worked, the official service remains. Xiaomi can unlock the device if you have:
- π Check or guarantee card (proof of possession).
- π Passport holder.
- π§ Access to email linked to Mi Account.
Cost: from 1,500 to 5,000 rubles (depending on model and region), in some cases, the service may refuse if the device is listed on a blacklist (for example, after theft).
π‘
The official service is the only legal way to unlock for models with a MediaTek chip (such as the Redmi 10C or POCO M3), where software methods are often blocked at the hardware level.