Xiaomi is blocked: what to do if the smartphone is not unlocked

You picked up your Xiaomi, but instead of the usual screen you see the words "Device locked" or a request for a password that is not accepted? This situation is familiar to many owners of smartphones brand β€” lock can occur for various reasons: From trivial forgetfulness to system failures, the key is not to panic or try to hack into a device at random. In this article, we will examine all possible locking scenarios, PIN-code, pattern lock, FRP) and give step-by-step instructions for each case, including official methods and workarounds.

It is important to understand that Xiaomi uses several layers of protection, and the approach to unlock depends on the type of lock. For example, if you forget the password from your Mi Account, you will need to restore access via mail or SMS, whereas when you lock the screen, a reset via Fastboot can help. We will also explain how to avoid data loss (this is not possible in all cases!) and what to do if the smartphone requires confirmation after a reset (β€œThis device is locked”).

We warn you right away: some techniques require technical skills (ADB, Mi Flash Tool firmware), if you're not sure about your abilities, you'd better go to a service center, but most problems can be solved by following the instructions.

1. Determine the type of lock: Mi Account, PIN or FRP?

The first step is to understand what type of lock is activated on your Xiaomi, and the next algorithm depends on it.

  • πŸ”’ Screen locking (PIN/pattern lock/password: The screen displays a code entry field, with the words β€œTry again through” 30 seconds/1 A minute after the wrong attempts.
  • πŸ“± Mi Account (Xiaomi account): after a reboot or reset, a window appears with a requirement to enter the login and password from the account associated with the device.
  • πŸ”§ FRP (Factory Reset Protection: After resetting via Recovery, the smartphone requires you to enter the data of the Google account that was on it previously.
  • ⚠️ Hardware lock: the device does not turn on at all (black screen, flashing red indicator) - this may be the result of a failed firmware or chip damage.

If you see a message saying "This device is locked" or "Device is locked by Mi Cloud," that's 100% Mi Account lock, in which case it's officially impossible to get around the security without access to the linked mail or phone number. Other types of locks have workarounds.

πŸ“Š What type of lock your Xiaomi has?
Forgot the PIN/pattern lock
Blocked Mi Account
Requires Google after reset (FRP)
The device doesn't turn on at all.
I don't know, I need help.

Note: new Xiaomi models (13/14 series, Redmi Note 12/13) use enhanced HyperOS protection, which can lock the device even after a hardware reset.

2. unlock screen: PIN, pattern lock, password

If you forget the unlock code, but remember the data from Mi Account, the easiest way is to reset the password through your account.

  1. On the lock screen, enter the wrong code 5 times until the message β€œForgot your password?” appears.
  2. Click on this caption and select Restore via Mi Account.
  3. Enter the login and password from the account associated with the device.
  4. Follow the instructions to create a new PIN-code-key.

If you don't have access to the Mi Account, you'll have to do a hard reset. Note: this will delete all the data on the device!

β˜‘οΈ Preparing for resetting through Recovery

Done: 0 / 4

After the reset, the device may require data input from Mi Account (if it was linked) or Google (FRP).If you do not remember this data, read the following sections.

πŸ’‘

On some models (e.g. POCO F5), you need to press Volume Down + Power to enter Recovery. If the combination doesn't work, check the instructions for your model.

Unblocking Mi Account: Official and Unofficial Ways

The Mi Account lock is one of the hardest to get around. Xiaomi has specifically implemented this protection to make it harder to steal devices. If a smartphone requires login/password input after a reset, you have a few options:

Official method (if you remember the account data)

  • πŸ“§ Go to account.xiaomi.com and restore access via mail or SMS.
  • πŸ”‘ If two-factor authentication is enabled, use backup codes or confirmation via a trusted device.
  • πŸ“± After restoring access, enter data on a blocked smartphone.

Informal methods (if no data are available)

If you don't remember the Mi Account data, you can't officially unlock the device, but there are workarounds that work on some models:

  1. Through EDL-Mode (PC and cable required): connect your smartphone in Emergency Download Mode and run a special file to bypass locks. This method is suitable for older models (until 2020).
  2. Mi Unlock Tool: If the device has been unlocked before (Unlocked status in the developer settings), you can try re-unlocking the bootloader.
  3. Contacting the service center: some workshops have access to official unlocking tools (paid).
Risks of unofficially unlocking Mi Account
Informal methods can result in complete data loss, blocking IMEI or turning the device into a brick (not turned on at all), and after such an intervention, some functions (such as Mi Pay or air updates) may stop working.

On HyperOS models (2023-2026), Mi Account bypassing without official data is almost impossible. The manufacturer has tightened protection, and even firmware through Fastboot will not help.

4. Factory Reset Protection (FRP) bypasses Xiaomi

FRP-This lock works if you reset your smartphone through Recovery and it had a Google account attached, in which case, after you turn it on, the device will require you to enter the username and password from this account. If you don't remember them, try the following methods:

Method 1: Restoring access to Google

  • πŸ” Go to the Google Account Recovery page.
  • πŸ“± Enter the last known password or answer the control questions.
  • πŸ“§ If you have a backup email or phone number tied, use them to recover.

Method 2: Bypassing settings (for some models)

On some devices (e.g. Redmi 9/Note 9), you can bypass FRP through the configuration mode:

  1. On the Google account input screen, click on the text input field to make the keyboard appear.
  2. Press the keyboard settings icon (cogs) and select "Help" or "Help".
  3. Through the help menu, try going to the device settings and disable FRP.

πŸ’‘

On the new models (Xiaomi 13/14, POCO F5), bypassing FRP without Google account data is almost impossible due to enhanced security.

5. Hardware reset via Fastboot and Mi Flash Tool

If the software methods don't work, you'll have to use Fastboot to unlock the screen or bypass FRP, but you won't be able to block Mi Account.

  • πŸ–₯️ Windows computer;
  • πŸ”Œ Original. USB-cable;
  • πŸ› οΈ Used by Mi Flash Tool, ADB and Fastboot;
  • πŸ“ Firmware for your model (download only from the official website).

Step-by-step:

  1. Turn off your smartphone and press Volume Down + Power to log into the Fastboot.
  2. Connect the device to your PC and start the Mi Flash Tool.
  3. Select the downloaded firmware (.tgz format) and click Refresh – the program must determine the device.
  4. Press Flash and wait for the process to finish (5-10 minutes).

Once the firmware is in place, the device will look like new, but all the data will be deleted, and if you then request Mi Account, it means that the lock was at the account level, and you can only bypass it officially.

πŸ’‘

Before you run the firmware, check if the bootloader is unlocked (OEM Unlock in the developer settings). If not, first unlock it through the Mi Unlock Tool (it takes 7-15 days for new accounts to wait).

6 What to do if Xiaomi does not turn on at all

If the smartphone does not respond to the power button, does not charge or flashes a red indicator, the problem may be a hardware failure (damaged battery, power controller) or software damage (failed firmware).

Symptoms.Possible causeDecision
Not turned on, no reaction to chargingBattery discharged or power controller malfunctionedConnect to charging for 30+ minutes, try another RAM. If it doesn't work, bring it to the service.
Blinking red lightCritical discharge or firmware damageCharge 1-2 hours, then try logging into Fastboot (Loudness down + Power)
Vibrates when connected to charging, but does not turn onBootloader or system files are damagedFastboot via Fastboot (see Section 5)
It hangs on the Mi/Redmi/POCO logo.Failed update or resetReset via Recovery or flash the full firmware

If the smartphone is not showing signs of life even after a long charge, you may have reset NVRAM (loss of IMEI) or damage to the motherboard.

What is a brick?
This is a condition where the device is completely inoperable: it doesn't turn on, it doesn't detect the PC, it doesn't respond to buttons, most often it's due to interrupted firmware or damage to the bootloader. In 80% of cases, the brick has to be restored through the computer. EDL-The system is in place, but special equipment is required.

7.How to avoid blocking in the future

To avoid getting blocked again, follow these guidelines:

  • πŸ” Use password management (e.g. Google Password Manager or Google Password Manager) 1Password), so you don't forget the codes.
  • πŸ“± Link backup email and phone number to your device to restore your Mi Account.
  • πŸ”„ Regularly do backup data through Settings β†’ System system β†’ Backup.
  • 🚫 Do not install firmware from third-party developers unless you are sure of their security.
  • πŸ”§ Turn it off. FRP before reset: Settings β†’ Google accounts β†’ Delete the account.

On the new Xiaomi models (with HyperOS), the lock has become stricter, so it is especially important to:

  • Do not disable Find My Device in the security settings.
  • Don’t try to get around ADB or Fastboot without understanding the process.
  • Keep your Mi Account backup codes in a safe place.

πŸ’‘

Starting in 2023, Xiaomi will block the ability to flash through Fastboot on locked devices without account confirmation, which means that even a full reset will not help bypass Mi Account on new models.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
If you lock only at the screen level (PIN/pattern lock) and you remember the data from Mi Account β€” yes, through access restoration. In all other cases (FRP, Mi Account, reset), the data will be deleted.
How much does it cost to unlock in the service center?
Cost depends on the type of lock: Reset lock screen: 500-1500 β‚½; Circumvention FRP: 1000–2500 β‚½; Unlocking Mi Account: 2000–5000 β‚½ (On newer HyperOS models, unlocking the Mi Account may cost more or be impossible.
Can I unlock Xiaomi through IMEI?
No, IMEI is not used to unlock. It is only used to restore the network after a NVRAM reset. To unlock Mi Account or FRP, you need account data.
What if the network does not work after unlocking?
This means that the NVRAM (network memory) has been reset. You need to restore the IMEI through an engineering menu or firmware. Instructions: Install the MTK Engineering Mode (for MediaTek processors) or Qualcomm Tools (for Snapdragon). Enter the IMEI through the engineering menu (#4636#). Reboot the device. If it doesn't work, run the full firmware through Fastboot.
Does flashing help with custom firmware (like LineageOS)?
Partially. Castom firmware can bypass FRP or screen lock, but it won't help with Mi Account locking. In addition, installing it requires: Unlock the bootloader (OEM Unlock); Install TWRP Recovery; Have experience with ADB and Fastboot. On new models (Xiaomi 13/14), installing custom firmware can lead to account lock.