Forgetting the password from Xiaomiβs smartphone is a frustrating but fixable situation. Unlike the iPhone, where unlocking without an Apple ID often requires access to the service, Android devices (including Redmi, POCO and Mi) offer several alternative ways to restore access. The main thing is not to panic or try to find the code by brute force: after 5-10 failed attempts, the system can lock the device for 24 hours or completely erase all data.
In this article, we will discuss 5 official and semi-official methods of unlocking Xiaomi without a password, from a simple reset via Mi Account to complex manipulations with ADB and Fastboot. Each method is suitable for different scenarios: for example, if you have a Mi Account but no access to email, or if the phone is discharged and does not respond to charging, and we will warn about critical errors that can turn a smartphone into a βbrickβ β for example, the improper use of fastboot commands on a locked bootloader.
Important: Before you start, check to see if your Xiaomi is connected to the Internet via mobile network or Wi-Fi. Some methods (such as unlocking through Find Device) require an active connection. If the screen is completely locked, try connecting the phone to charge β sometimes when the battery level is low, the system suggests entering the device. PIN from SIM-card instead of the main password.
1 Unblocking through Mi Account (if an account is linked)
The safest and most recommended way for Xiaomi is to use a tied Mi Account, which works even if you forget your pattern lock or your mobile phone. PIN-code, but remember the username and password from the account. 10/11/12, POCO X3/X4/X5, Mi 11/12/13 others.
How does it work: After several failed attempts to enter a password, the system will suggest the option "Forgot your password?" Click on it and follow the instructions:
- π Enter the email or phone number associated with the Mi Account.
- π§ Get the confirmation code by SMS or by post (depending on the settings).
- π Enter the code in the appropriate field and create a new unlock password.
If the "Forgot Password?" button doesn't appear, try entering any password 5 times in a row - after that the system should offer a recovery option. Some firmware (for example, MIUI 14) may require an Internet connection.
β οΈ Warning: If you've previously disabled sync with Mi Account or reset your phone without logging out, this method won't work.
π‘
If you have two-factor authentication (2FA) enabled in Mi Account, prepare backup codes or access to an authenticator application (e.g. Google Authenticator) in advance.
2. Reset password via Find Device (remote unlock)
Find Device (similar to Appleβs Find iPhone) not only tracks Xiaomiβs location, but also remotely unlocks it, which works if:
- π± The phone is connected to the Internet (mobile network or Wi-Fi).
- π The device is tied to the Mi Account.
- π The βFind deviceβ function is enabled in the settings (Settings) β Mi Account β Find Device).
Instructions:
- Go to i.mi.com and log in.
- Select a blocked Xiaomi from the list of devices.
- Click βUnlock the deviceβ and confirm the action.
- Wait for the synchronization (can take up to 5 minutes).
Once successfully unlocked, the phone will restart and you can set a new password. If the device doesn't show up on the site, check if geolocation and internet are enabled on the smartphone.
3. Hard Reset (reset to factory settings)
Hard Reset is a radical method that erases all data from your phone, including your password, and is worth using if other methods have failed or you don't have a Mi Account tied, and the procedure varies depending on the model and version of MIUI.
The common algorithm for most Xiaomis is:
- Turn off the phone (press the power button for 10-15 seconds).
- Press the combination Volume up + Nutrition (on some models β Volume down + Nutrition).
- After the Mi logo appears, release the buttons β you will be taken to Recovery Mode.
- Use volume buttons for navigation and power button for selection.
- Select Wipe Data β Wipe All Data (on some firmwares β Factory Reset).
- Confirm the action and wait for the process to be completed.
Once reset, the phone will reboot to the box-like state, and you will need to reconfigure it, including the Mi Account binding.
β οΈ Note: On devices with a locked bootloader (Redmi and POCO After Hard Reset, you may need to enter your Mi Account login and password, even if you don't remember it.
βοΈ Preparation for Hard Reset
4. Unlock through ADB (for advanced users)
If you have USB debugging enabled (Settings β About Phone β MIUI β 7 times press to activate Developer Mode, then Settings β Additional β For Developers β USB debugging), you can delete the password file via ADB (Android Debug Bridge). This method does not erase data, but requires a PC and basic command line knowledge.
Step-by-step:
- Connect Xiaomi to your computer via USB-cable.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
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
rebootOnce you reboot, the password will be reset, and if the su command doesn't work, then there's no root on the phone, in which case the method won't work.
| Unlocking method | Mi Account required | Erase data | Difficulty |
|---|---|---|---|
| Through the Mi Account. | β Yes. | β No. | β |
| Find Device | β Yes. | β No. | β |
| Hard Reset | β No. | β Yes. | ββ |
| ADB | β No. | β No. | βββ |
| Fastboot | β No. | β Yes. | ββββ |
What if the ADB canβt see the device?
5. Unlock via Fastboot (for a locked bootloader)
If previous methods have failed and the bootloader on your Xiaomi is locked (which is typical for official firmware), you can try unlocking it through Fastboot. This method is suitable for models with Qualcomm processors (for example, Redmi Note 10 Pro, POCO F3). For MediaTek (for example, Redmi 9A), the process is more complicated and requires special tools like the SP Flash Tool.
You'll need:
- π₯οΈ Computer with Xiaomi and Mi Flash Tool drivers installed.
- π USB-cable (preferably original).
- π Firmware for your model (download from the official website).
Instructions:
- Turn off the phone and press Volume Down + Power to log into Fastboot Mode.
- Connect the device to the PC.
- Open the Mi Flash Tool, select the downloaded firmware and click Refresh.
- In the bottom menu, select βClean Allβ (this will erase all data!) and click βFlashβ.
- Wait for the process to be completed (5-10 minutes).
β οΈ Warning: Continuous interruption of the firmware process via Fastboot can cause the memory module (eMMC) to break, after which the phone will not turn on even in the service center!
π‘
If after firmware through Fastboot the phone is getting stuck on the Mi logo, try re-stitching it with the option βClean All and Lockβ (locks the bootloader, but restores performance).
6. Contact the Xiaomi Service Center
If none of these methods worked, or you are afraid to damage the phone by self-manipulation, contact the official service center Xiaomi.
- π± Devices with damaged screen (no password interface visible).
- π Phones with a blocked Mi Account after resetting.
- π οΈ Models who after a failed firmware appeared "brick" (does not turn on, does not respond to buttons).
The cost of unlocking the service varies from 1,000 to 5,000 rubles depending on the complexity, in some cases, confirmation of purchase (checks, box), especially if the device is warranty.
To find the nearest service center:
- Go to the Xiaomi Service website.
- Choose a country and a city.
- Check the reviews about the center (some informal services may offer "unlock" with the loss of IMEI).