How to unblock Xiaomi: The Complete Guide to Unblocking Your Phone

Forgot your Xiaomi password or bought a used phone with a locked screen? The situation is familiar to many: the device requires you to enter a pattern lock, PIN-Mi Account code or data, and you can't remember the combination. In this article, we'll look at all the working methods of unlocking, from official to engineering, with Redmi models in mind, POCO and flagship series Xiaomi 13/14.

It's important to understand that the methods differ depending on the type of lock (screen, Mi Account, FRP after reset) and the version of MIUI. For example, on devices with MIUI 14 and later, some loopholes are closed, and old methods like fastboot oem unlock may not work. We tested all the instructions on current firmware (2026) and indicated restrictions for each.

We warn you right away that without losing data, you can only unlock your phone 30 percent of the time, depending on your security settings. If you have encryption on your device or your Mi Account tied, you'll probably need to reset to factory settings. But even here, there are nuances β€” read on.

1 Unlocking through Mi Account (official method)

If your phone is linked to a Mi Account and you have access to an email/phone, this method will work 90% of the time.

  • πŸ”‘ Forgotten pattern lock or PIN-lock-screen
  • πŸ“± Phone asks to enter Mi Account data after restart
  • πŸ”„ Reset password without data loss (on some models)

Instructions:

  1. On the locked screen, tap Forgot your password? (or Forgot password?).
  2. Choose the method of recovery: via SMS (if the number is tied) or email.
  3. Enter the confirmation code received by mail/phone.
  4. Create a new password or pattern lock.

⚠️ Attention: On devices with MIUI 12+ After 5 failed attempts to enter a password, the system can block the unlock through Mi Account for 24 hours, in which case you will have to wait or use alternative methods.

πŸ“Š What kind of Xiaomi phone is you?
Redmi Note 12/13
POCO X5/F5
Xiaomi 13/14
Other

2. Reset via Recovery Mode (no password)

If the official method didn't work or the Mi Account wasn't tied, you'd have to hard reset through the recovery mode, which would delete all the data, but get back access to the phone.

  • πŸ“΅ Devices without a Mi Account
  • πŸ”§ Phones on. OEM Unlock (set up for developers)
  • πŸ“¦ Models older than 2020 (on new models may work) FRP-lockdown)

Step-by-step:

  1. Turn off the phone.
  2. Press the Power button + Volume up for 10 seconds until the Mi logo appears.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data (manage volume and power buttons).
  4. Confirm the action and wait for the completion (5-10 minutes).
  5. Restart the device via Reboot.

Turn off the phone from charging

Make sure the battery is at least 30% charged

Prepare a backup copy (if you have access to the PC)

Check the phone model (you may need to unlock the bootloader on new ones).

-->

⚠️ Attention: On devices with MIUI 13/14 After the reset, a request for data entry of the Mi Account, which was previously linked, may appear (FRP-If you do not remember the username / password, you will need to bypass through fastboot (see section). 4).

3. bypassing the pattern lock through ADB (without loss of data)

If the phone has USB debugging enabled and you have access to the computer, you can delete the password file via ADB. This method works only if two conditions are met:

  • πŸ–₯️ The PC has installed Xiaomi drivers and ADB Tools
  • πŸ”Œ The phone is connected to the PC in Transfer files mode (even on a locked screen)

Instructions for Windows:

adb shell


cd /data/system




rm gesture.key # for pattern lock




rm password.key # for PIN-code




rm locksettings.db




rm locksettings.db-wal




rm locksettings.db-shm




reboot

After restarting, the phone will unlock, but:

  • βœ… The data will remain intact.
  • ⚠️ The method doesn't work. MIUI 14 with encryption FBE (File-Based Encryption)
  • ❌ On new models (Xiaomi) 13T, Redmi Note 12 Pro+) You need to unlock the bootloader

πŸ’‘

If the adb device command doesn’t show your phone, try reinstalling drivers via the official Mi USB Driver or using the Mi PC Suite program.

4. Unlock bootloader and firmware (for advanced)

If the previous methods didn't work, you'll have to unlock the bootloader and flash it over fastboot.

  • πŸ”§ Requires technical skills (working with the command line)
  • ⏳ It takes 1-2 hours (including waiting for Xiaomi to unlock)
  • ⚠️ Cancellation of warranty (if the phone is warranty)

Step-by-step process:

  1. Apply for bootloader unlocking via Xiaomi’s official website (you will need a Mi Account and a linked phone number).
  2. Download the Mi Unlock Tool and connect your phone in fastboot mode (clamp Power + Volume down).
  3. In the program, press Unlock and wait for confirmation (can take up to 72 hours).
  4. Once unlocked, run your phone through the Mi Flash Tool using the official firmware for your model.

⚠️ Attention: On devices with MIUI 13+ after unlocking the bootloader, the kickback is triggered - you can not stitch old versions of the software. Use only current firmware from the site MIUI Download.

Model phoneAbility to unlock bootloaderWhether waiting is requiredRisk of FRP-blocking
Redmi Note 10/11Yes.72 hoursMedium.
POCO X3/X4Yes.24 hours.Low.
Xiaomi 12/13Yeah (with recoil)168 hoursHigh-pitched
Redmi 9A/9CYes.No.Absent.

5. FRP-blocking bypass after reset

FRP (Factory Reset Protection) is a factory reset protection that works if the phone was tied to a Mi Account. After resetting via Recovery, the device requires the previous owner to enter the username and password, and you can get around it in two ways:

Method 1: Fastboot (for older models)

fastboot oem frp-unlock


fastboot reboot

It works on devices up to MIUI 12, and the new firmware has locked the team.

Method 2: Using the Mi FRP Tool

  • πŸ–₯️ Download Mi. FRP Bypass Tool (such as GSMTool or Mrt Dongle).
  • πŸ“± Connect the phone in mode EDL (flash-fix).
  • πŸ”§ Follow the instructions of the removal program FRP.

⚠️ Attention: Bypass FRP device-wise MIUI 14 and Snapdragon 8 Gen 2 chipset (e.g. Xiaomi 13 Ultra) requires an authorized Xiaomi account for service centers. IMEI.

What happens if you get the wrong FRP?
On devices with MIUI 13+, incorrect FRP bypass can lead to: - IMEI blocking (the phone will stop catching the network). - Loss of access to encrypted data (photos, messages will become unreadable). - Activation of eFuse - a hardware fuse that will permanently lock the firmware through fastboot.

6. Alternative methods (for specific cases)

If the standard methods didn’t help, try these options:

πŸ“ž Unlocking by Call (for Older Versions) MIUI)

  1. On the locked screen, dial 112 (emergency call) and cancel the call immediately.
  2. In the emergency call menu, open Contacts β†’ Settings β†’ Users.
  3. Add a new user and restart the phone.

It runs MIUI 8-10, and the new versions are closed.

πŸ”Œ Unlocking through OTG-cable (for some Redmis)

  • Put it on the phone. OTG-mouse-cloth.
  • Right-click on the lock screen and select Settings.
  • Turn off the lock in the security menu.

The method works on Redmi 5A, Redmi 6 and some POCO models.

πŸ› οΈ Xiaomi Service Center

If nothing helps, contact the official service.

  • Check of purchase (if the phone is new)
  • Identity document
  • Mi Account details (if linked)

Cost of service: from 1000 to 3000 rubles depending on the model.

πŸ’‘

If the phone is bought by hand, check with the seller whether the account is tied to it Mi. Even after resetting through Recovery, you may need to enter the data of the previous owner.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if: USB debugging enabled and ADB accessed. Phone unencrypted (FBE disabled) Model older than 2021 (newer versions of MIUI often don't work), otherwise data will be deleted.
How long does it take to unlock the bootloader?
Timing depends on the model: Redmi/POCO: 24-72 hours, Xiaomi 12/13/14: up to 7 days (due to rollback). Old models (until 2020): unlock is instant.
What if the phone asks for an old Mi Account after a reset?
It's FRP-Lockdown. Solutions: Enter the previous owner's data (if the phone is bought by hand); bypass fastboot (on older models); contact the service center with the documents on the phone; MIUI 14 self-circumvention FRP It may lead to a blockage. IMEI.
Can I unlock Xiaomi through Find Device?
No. The only thing that you can do is, "Delete data remotely, lock the device, locate it, unlock it." It's not good for unlocking it.
Why does the bootloader not turn on after unlocking?
Possible causes: Misstitched version of MIUI (e.g. global instead of Chinese) triggered recoil (on new models); damaged firmware due to interrupted process; Solution: re-sweeten the phone through the Mi Flash Tool in clean all mode.