Xiaomi phone is blocked – how to unlock without data loss?

Forgot your password, pattern lock, or PIN-Xiaomi code? Phone requires Mi Account after reset? Or screen doesn't respond to touch at all? Situations when Redmi smartphone, POCO Black Shark is blocked, dozens of them are blocked, each one needs its own solution. In this article, we will discuss all the current ways of unlocking (including bypassing). FRP Discharge via Fastboot, and how to minimize data loss.

Xiaomi users’ main problem is that they have double locks: first with a screen password, and then with a Mi Account request after reset. The manufacturer has increased protection in the latest versions of MIUI 14/15, so the old methods (like bypassing a bell) no longer work. But there is a way out – below you will find unique unlock schemes for 2026, including official and informal tools.

We warn you right away that some techniques require technical skills (ADB, Fastboot firmware), if you're not sure, you'd better go to a service center. But if you're willing to do it yourself, let's go!

1 Unlocking through Mi Account (official method)

If you remember the data from the Mi Account tied to your phone, this is the easiest way. Xiaomi lets you unlock your device through a website even if the screen is locked. Here's how it works:

  • 🌐 Go to account.xiaomi.com from your computer or other phone.
  • πŸ”‘ Sign in with the same account as on a locked device.
  • πŸ“± In the Devices section, find your smartphone and select Find the device.
  • πŸ”“ Click Unlock - a confirmation notification will arrive on the phone.

⚠️ Note: If the phone has two-factor authentication enabled, you will need to enter the code from SMS If you lose access to them, restore your account first through Xiaomi support.

This method works on all models, including the Redmi Note 12, POCO X5 and Xiaomi 13, but only if:

  • πŸ“Ά The phone is connected to the Internet (via Wi-Fi or mobile network).
  • πŸ”‹ Battery charge of more than 20% (otherwise unlocking may be interrupted).
  • πŸ”„ There was no custom recovery on the device (for example, TWRP).
πŸ“Š Your Xiaomi phone is tied to your Mi Account?
Yeah, I remember the login/password.
Yeah, but I don't remember the data.
No, not tied.
I don't know.

2. Recovery Mode reset (data loss)

If you don't remember the Mi Account data or the phone isn't connected to the network, you'll have a hard reset via the Recovery mode, which will delete all the data but unlock the device, and this is suitable for most Xiaomi, Redmi and POCO models (except for devices with the Bootloader locked).

To enter Recovery Mode:

  1. Turn off the phone (press the power button for 10 seconds).
  2. Press Volume Up + Power at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. In the recovery menu, select Wipe Data (use volume buttons for navigation and power button for confirmation).
  4. Confirm the reset by selecting Wipe All Data.
  5. Once completed, restart the phone (Reboot).

⚠️ Note: Newer models (Xiaomi 14, Redmi Note 13) may require you to reset your Mi Account, which was previously linked. If you don't remember them, move on to the next method.

Turn off the phone from charging

Make sure the battery is at least 30% charged

Prepare original USB-cable (in case of firmware)

Remember the phone model (in case of firmware search)-->

FRP (Factory Reset Protection) bypasses Xiaomi

FRP (Factory Reset Protection is a reset protection that works after Wipe Data on phones with a Wipe Data reset. MIUI. If you reset your settings and your phone now requires an old Mi Account you don’t remember, you’ll have to bypass it. FRP. The methods depend on the version MIUI:

MIUI versionBypass methodDifficultyIt works on models.
MIUI 12 and belowThrough TalkBack + ADBMediumRedmi Note 9, POCO X3
MIUI 13–14Firmware via Fastboot with FRP disablingTall.Xiaomi 11T, Redmi Note 11
MIUI 15 (2026)Official unlocker from Xiaomi (paid)Low.Xiaomi 14, POCO F5

To bypass FRP on MIUI 13/14 you will need:

  1. Download the official firmware for your model.
  2. Install ADB and Fastboot on your computer.
  3. Connect the phone in Fastboot mode (clamp Volume down + Power).
  4. Run the command: fastboot oem frp-unlock or flash modified boot.img (for advanced users).

⚠️ Attention: Starting with MIUI 14, Xiaomi blocks unofficial bypass methods FRP. If your model is released after 2023, you will most likely need an official unlocker (cost). ~$10–$30).

What happens if you don’t flash your phone correctly?
The wrong firmware can lead to a "brick" (completely inoperable) device, at best the phone will stop turning on, at worst the memory (eMMC) will be damaged, and only the service center will be able to restore it with a programmer. Always check the firmware compatibility with the phone model!

4.Unlock through ADB (for advanced)

If the phone has USB debugging enabled (even if the screen is locked), you can try unlocking it via ADB. This method works on MIUI 12-14, but requires pre-preparation.

Steps:

  1. Connect your phone to your computer via USB.
  2. Open the command line in the folder with ADB and execute: Adb devices If the device is determined, go further.
  3. Delete the file with the password: adb shell rm /data/system/gesture.key or PIN-code: adb shell rm /data/system/password.key
  4. Reboot your phone: adb reboot

If the password resets after the reboot, but the phone requires Mi Account, then FRP has worked, and you need to use the methods from the previous section.

1. Install Xiaomi USB Drivers drivers.

2. switch USB connection mode to File Transfer (if the phone responds even slightly).

3. Use another USB-cable (preferably original).-->

5 Unlocking through Xiaomi Service Center

If all self-unlock attempts fail, the official service remains. Xiaomi provides an unlock service for a fee (from $10 to $50 depending on the model).

  • πŸ“„ Prepare a check or confirmation of purchase (if the phone is guaranteed).
  • πŸ†” Provide a passport (to confirm possession).
  • πŸ“± Bring your phone to the service center (list on the official website).

⚠️ Warning: Unofficial services may offer unlocking cheaper, but risks are high:

  • πŸ”§ Using uncertified firmware (can break modules) NFC or 5G).
  • πŸ•΅οΈ Data Leakage (if the phone is unlocked through a connection to their PC).
  • 🚫 Loss of warranty (if the case was opened or the firmware was changed).

The official service guarantees the safety of data (if unlocking is possible without resetting) and does not violate the warranty.

6 Unlocking through the engineering menu (hidden codes)

On some Xiaomi models (mostly older, up to MIUI 12) you can bypass the lock via the engineering menu.

  1. Enter the code on the locked screen: ##3646633## or ##4636###
  2. If the menu is open, go to Connectivity β†’ USB and turn on ADB.
  3. Connect your phone to your PC and use the commands in Section 4 (unlock through ADB).

⚠️ Note: On new models (Xiaomi) 13/14, Redmi Note 12) These codes are disabled, and entering them can lead to a hard reset or lock Bootloader.

πŸ’‘

Hidden engineering codes only work on old firmware, and on MIUI 13 and later, using them can make the problem worse!

7.Preventing future blocking

To avoid getting blocked again, watch out for these points:

  • πŸ” Use biometric unlocking (fingerprint or face) as a backup option.
  • πŸ“ Write passwords to a trusted manager (e.g. Bitwarden or Google Password Manager).
  • πŸ”„ Regularly backup your device via Mi Cloud or Google Drive.
  • πŸ”§ Don't turn off the debugging. USB, if you work with them often ADB.
  • πŸ“± Link your phone to your Mi Account, but save the data for recovery.

If you often forget passwords, set up Smart Lock in your security settings, which automatically unlocks your phone in trusted places (such as at home or work).

It's also useful to know:

  • πŸ”‹ On Xiaomi phones with MIUI 14+ Emergency function SOS β€” 5 presses on the power button will cause an emergency call and unlock the screen for 5 seconds (you can have time to open the settings).
  • πŸ“‘ If the phone is locked due to frequent input of the wrong password, wait 30 minutes – the system will unlock the attempts to enter.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if: You remember the data from Mi Account (unlock through the site). The phone is debugging over USB (unlock through ADB). You have a backup in Mi Cloud or Google Account (restore data after unlocking). In all other cases (recovery reset, FRP bypass), the data will be lost.
The phone locked after the firmware.
If the phone stopped turning on after running through Fastboot or TWRP, there was likely an error when installing boot.img or vendor.img. Try: Swipe the phone with original firmware through Mi Flash Tool (select the Clean All option). If the phone is not determined by the PC, use testpoint (you need to disassemble the device and close contacts on the board).
How to unlock Xiaomi if you forget your Mi Account?
If you don’t remember the Mi Account data, but the phone is tied to it, the options are: Restore the account through the recovery form (you need access to an email or phone). Contact Xiaomi with proof of purchase (check, box, IMEI). Go around FRP via Fastboot (for models up to 2023) Pay for official unlock at the service center. ⚠️ Don’t buy a Mi Account in the markets – it’s a scam and your phone can be locked again.
Why does Xiaomi ask for an old Mi Account after a reset?
This is FRP (Factory Reset Protection) protection. It is activated if: The phone was tied to Mi Account. You reset via Recovery or Fastboot. The phone ran on MIUI 12 and later. You can only circumvent FRP through official tools or firmware (see section 3).
Can I unlock Xiaomi through my Google Account?
No. Unlike pure Android phones, Xiaomi devices use their own security system, the Mi Account. Even if you're logged in to Google Account on your phone, it won't help bypass screen locking or FRP. Except that very old models (Redmi 4X, Mi A1) could reset your password through Google Find My Device, but now this method doesn't work.