A forgotten pattern lock, a mistyped password 10 times in a row, or a software failure after a firmware crash β the reasons for blocking Xiaomi can be different. But the result is the same: the phone turns into a brick that does not respond to touch, and the main mistake users make in this situation is trying to hack into the device through third-party programs or multiple reboots, which not only does not help, but can lead to complete loss of data or damage to system files.
In this article, 5 proven ways to unlock (including official and alternative) relevant to the 2018-2026 models: from Redmi Note 10 Pro to Xiaomi 14 Ultra. Each method is illustrated with screenshots and accompanied by warnings about risks. If your smartphone is locked after upgrading to MIUI 15, pay special attention to the section about Fastboot - there are nuances for new versions of firmware.
Spoiler: Xiaomi can only be unlocked 2 times out of 5 without data loss, but even if files are not saved, they can often be restored through the Mi Cloud (if sync was enabled).
1 Unlocking through Mi Account (official method)
If you had a Mi Account attached to your phone (even if you don't remember the password), this method will work 90% of the time. Condition: the device must have Internet access (Wi-Fi or mobile network). On models with MIUI 12 and later, the algorithm has changed a little bit, now you need to confirm via SMS or email.
Step-by-step:
- On the lock screen, tap Forgot password? (or Forgot password? on English firmware).
- Choose Restore through Mi Account.
- Enter the email or phone number associated with the account.
- Confirm the entrance through SMS-mail-code.
- Create a new unlock password.
β οΈ Note: If you donβt remember the Mi Account, donβt try to guess the password β after 5 wrong attempts, the account will be blocked for 24 hours).
What to do if you do not have access to the Internet?
- πΆ Connect your phone to another Wi-Fi network (even if the screen is locked, you can sometimes swipe down and turn on Wi-Fi via the notification panel).
- π Connect the charger - on some models (Redmi) 9A, Poco X3) When charging, mobile Internet is automatically turned on.
- π± Put it in. SIM-card with active tariff (if the phone supports 2) SIM, Try both slots).
How to get around Mi Account lock if your phone is not connected to the network?
2.Reset via Recovery Mode (Hard Reset)
This is the only way to unlock without a password from Mi Account, but it completely erases data from the phone, suitable for devices that disable Find My Device (otherwise, after reset, you will need to enter the data of the old account).
How to log in to Recovery Mode:
- π Turn off the phone (press the power button for 10 seconds).
- π§ Squeeze the power. + Increase the volume before the appearance of the Mi logo.
- π± Release the buttons when the recovery menu appears (in English or Chinese).
Further action:
- Select Wipe Data (or Chinese firmware) using volume buttons.
- Confirm the choice of the power button.
- Select Wipe All Data (full reset).
- After completion, press Reboot.
β οΈ Attention: On models with MIUI 14+ After Hard Reset, you may be asked to enter your previous Mi Account (even if you don't remember it (FRP). In this case, go to the Fastboot method.
βοΈ Preparation for Hard Reset
3. Restoring access to Mi Account
If you don't remember the password from your Xiaomi account, you can restore it through the official website. Importantly, this requires access to the email or phone number specified during registration. On models older than 2020 (for example, Redmi Note 8 Pro), additional confirmation via SMS may be required.
Instructions:
- Go to the Mi Account login page.
- Press Forgot Your Password?
- Enter your email or phone number.
- Choose the method of recovery: SMS or mail.
- Follow the instructions in the message.
What to do if you do not have access to email/phone?
- π§ Try to restore access to email (for example, through Google Account, if it is Gmail).
- π Contact the mobile operator to restore the number (if you have a phone number). SIM-missing).
- π οΈ If nothing helps, use Fastboot (Section 4), but be prepared to lose data.
β οΈ Attention: After you restore your account, wait 15-30 minutes before unlocking your phone. Xiaomi servers sometimes delay syncing, and trying to log in immediately after changing your password can lead to a new lock.
4. Unlock via Fastboot (for advanced users)
The Fastboot method is suitable if:
- π Phone locked after failed update.
- π± Hard Reset did not work because of the FRP.
- π§ You are ready for possible data loss.
What you need:
- π» Computer with Windows/macOS/Linux.
- π Original. USB-cable (poor cables may interrupt the connection).
- π₯ Platform Tools (from Google).
- π Firmware for your model (download from the official Xiaomi website).
Step-by-step:
- Turn off the phone.
- Press Power + Volume Down to Enter Fastboot Mode.
- Connect the phone to the PC.
- Open the command line in the folder with Platform Tools and type: fastboot devices (should display the serial number of the device).
- To unlock the bootloader, enter: fastboot oem unlock (new models may require binding to Mi Account).
- Swipe the stock firmware command: fastboot flash all [name file firmware.zip]
β οΈ Attention: On models with MIUI 13+ The fastboot oem unlock command may not work without first linking the account to the developer settings. If the phone does not unlock, try first logging into Mi Account through another device and linking it to the phone.
π‘
Before you run your Fastboot firmware, check the phone model with the fastboot getvar product command. Using firmware from another model can turn the device into a brick!
5. Alternative methods (for specific cases)
If the standard methods didnβt help, try these options:
A. Unlocking via ADB (if USB debugging is enabled)
- π§ Connect your phone to your PC and open the command line.
- Enter: adb shell rm /data/system/gesture.key (to delete the pattern lock) or adb shell rm /data/system/password.key (to delete the password).
- Reset the device.
B. Bypassing the lock through the engineering menu (for older models)
- Enter the dial keyboard: ##4636##
- Go to Testing. β Reset.
- Select Wipe App Data.
B. Contacting the service centre
- π’ If the phone is warranty, contact the official service Xiaomi.
- π° The cost of unlocking without warranty: 1,500β3,000 rubles (depending on the model).
- β³ Timeline: 1-3 days.
β οΈ Warning: Don't trust "masters" who promise to unlock a phone in 5 minutes through "secret software" -- often scammers who either steal data or permanently damage the device.
π‘
If the phone is locked after falling or getting water, DO NOT try to unlock it software. First check the motherboard at the service center!
Comparison of Unlocking Methods
| Method | Are the data stored? | You need a Mi Account? | Difficulty | Suitable for MIUI 14/15 |
|---|---|---|---|---|
| Through the Mi Account. | β Yes. | β Yes. | β | β Yes. |
| Hard Reset | β No. | β No (but may be required after resetting) | ββ | β οΈ Partially (risk) FRP) |
| Fastboot | β No. | β οΈ Sometimes. | βββ | β Yes. |
| ADB | β Yes. | β No. | ββββ | β No, only for MIUI 11 and older) |
| Service centre | β οΈ Depends on the master. | β No. | β | β Yes. |
Frequent Mistakes and How to Avoid Them
Error 1: Phone is not included in Recovery Mode
πΉ Reason: Faulty volume buttons or damaged software.
π§ Decision:
- Try to press the buttons with force (sometimes the contacts are oxidized).
- Use ADB to upgrade to Recovery: Adb Reboot Recovery
Error 2: After Hard Reset asks for old Mi Account
πΉ Reason: Factory Reset Protection is activated (FRP).
π§ Decision:
- Enter your old account details (if you remember).
- Use Fastboot to run the stock version of MIUI.
- Contact the service center with proof of purchase.
Error 3: Fastboot doesn't see the device
πΉ Reason: There are no drivers or faulty cables.
π§ Decision:
- Install Google USB Driver drivers.
- Try another one. USB-port (preferably) USB 2.0).
- Disable the antivirus (it can block adb).