How to unlock Xiaomi phone: removing all types of locks

A forgotten password, a locked Mi Account or a suddenly activated bootloader are the issues that one in five Xiaomi smartphone owners face. Unlike other brands, Xiaomi phones have three layers of protection, each requiring a different approach. In this article, we will look at all possible lock scenarios, from a simple graphical key to complex firmware constraints, and provide current unlocking methods for 2020-2026 models.

It is important to understand that some locks (such as binding to Mi Account) may require official confirmation from Xiaomi, while others (pattern lock or a mapping key) may require official confirmation from Xiaomi. PIN-code is often solved through a service menu, and we will not offer questionable โ€œcircumventionsโ€ with data loss, only proven ways that will either save your files or honestly warn you about the need for a reset. If you find yourself in a situation where the phone turned into a โ€œbrickโ€ after a failed firmware, here too you will find a solution.

1. Screen unlocking: PIN-code, pattern lock, fingerprint

The most common problem is screen-level locking. If you forget the combination, you have 3 official ways to reclaim access without resorting to drastic measures. PIN-code (if it was configured:

  • ๐Ÿ”‘ Enter the wrong pattern lock or PIN 5 times in a row.
  • ๐Ÿ“Œ On the screen will appear the button โ€œForgot the password?โ€ โ€“ click it.
  • ๐Ÿ”ข Enter backup. PIN (This is usually the last combination you used to unlock).

If the backup code has not been configured, try unlocking the device through Mi Account, which only works when you have an active Internet connection (Wi-Fi or mobile network) and an associated account:

  1. On the lock screen, tap โ€œForgot your password?โ€.
  2. Select โ€œUnblock with Mi Accountโ€.
  3. Enter the username and password from your Xiaomi account.
  4. Confirm the unlock via SMS or email.

๐Ÿ’ก

If the phone is not connected to the network, bring it to the router with a password known to you - the device can automatically connect to the saved network.

If both methods fail, it will be hard to reset via Recovery, which will delete all data from the phone but return access. Instructions for most Xiaomi models (including Redmi Note 12, POCO X5, Mi 11):

Turn off phone |Lock up Volume + Power to vibration |Select language (English/whale) |Go to Wipe Data โ†’ Wipe All Data |Confirm Reset (Confirm) |Reboot device (Reboot)

-->

โš ๏ธ Note: Some models (e.g. Xiaomi 13 Pro) may require data entry from the Mi Account that was tied before the lockdown.If you do not remember the username / password, immediately go to the section about unlocking the account.

2 Unlocking Mi Account: What to do if your phone requires an old account

The Mi Account lock is one of the hardest to get around, and it's activated in three cases:

  • ๐Ÿ”„ After resetting settings (if the phone was tied to the account).
  • ๐Ÿ“ฑ When buying a used device, if the previous owner did not untie his profile.
  • ๐Ÿ”’ When you try to flash your phone through Fastboot without authorization.

The official solution is to restore access to Xiaomiโ€™s account, if you remember the email or phone number linked to your profile:

  1. Go to account.xiaomi.com.
  2. Click on โ€œForgot your password?โ€ and enter your email/phone.
  3. Confirm the recovery via SMS or code letter.
  4. Set a new password and unlock the phone.

If the account belongs to the previous owner, try contacting him. If you buy a phone from hand and have no contacts, there are two options:

MethodDifficultyLoss of dataTime.
Official request to XiaomiMediumNo.3-4 days
Bypassing EDL (Authorized Service)Tall.Yes.1-2 hours
Firmware via Fastboot (requires an unlocked bootloader)Tall.Yes.30-60 minutes

For an official request to Xiaomi, prepare:

  • ๐Ÿ“„ Check or contract of sale (proof of possession).
  • ๐Ÿ“ฆ Phone box (serial number must match).
  • ๐Ÿ“ธ Photo Photo IMEI (sticker).

Send a request via the feedback form on the Xiaomi website or contact an authorized service center, 80% of the time the lock is removed within a week.

I bought a used locker.|Forgot my password from my account.|After resetting the settings|Gift with a tied account|Another option-->

3. Unlocking the bootloader (Bootloader)

If you see the word "This device is locked" when you try to flash your phone through Fastboot, it means that the bootloader is locked. This is Xiaomi's standard security measure that prevents custom firmware installation.

  1. Get permission from Xiaomi through the official website.
  2. Connect your phone to your PC and use the Mi Unlock Tool.

Step-by-step:

  1. Download the Mi Unlock Tool (Windows only).
  2. Sign in to the program under the same Mi Account as on your phone.
  3. Transfer the phone to Fastboot mode: Administrator rights: adb reboot bootloader Or manually: turn off the phone โ†’ pinch Volume down + Power.
  4. Connect your phone to your PC through USB-cable (original!).
  5. In Mi Unlock Tool, press Unlock, and it takes 1-3 minutes.

Important nuances:

  • ๐Ÿ”— Mi Account must be linked to the phone for at least 7 days before unlocking.
  • ๐Ÿ“ฑ The phone should have an official firmware installed. MIUI (Custom assemblies are not supported).
  • โณ After unlocking, you will have to wait 168 hours (7 days) before re-locking/unlocking.
What happens if you break the unlocking of the bootloader?
Interrupting the process (e.g., disabling) USB-cable) can lead to a complete loss of the phone ("brick"). In this case, you will need firmware through the mode EDL, This is something that is only possible in service centers with Xiaomi authorization. K50) After a failed unlock requires replacement of the motherboard.

โš ๏ธ Attention: Unlocking the bootloader resets all data on the phone, including photos, contacts and installed apps. pre-backup through Settings โ†’ Additionally. โ†’ Backup.

4. Unlock through EDL mode (for advanced users)

EDL (Emergency Download Mode) is a โ€œemergencyโ€ firmware mode that is used when the phone is not switched on or locked at the bootloader level.

  • ๐Ÿ–ฅ๏ธ Computer with Windows and Qualcomm drivers.
  • ๐Ÿ”Œ Original. USB-cable (better from the set).
  • ๐Ÿ“„ Firmware for your model (for example, fastboot-ROM from the Xiaomi Firmware Updater website).

Instructions:

  1. Turn off the phone.
  2. Hold the Loud up. + Loud down and plug in. USB-The screen must remain black.
  3. Install Qualcomm HS-USB QDLoader 9008 drivers (can be found on 4PDA forums).
  4. Run a firmware utility (such as Mi Flash Tool) and select the firmware file.tgz.
  5. Press Flash and wait until the process is completed (10-20 minutes).

This method deletes all the data and resets the settings to factory settings, and only use it if other methods have failed.

๐Ÿ’ก

Firmware via EDL is the only way to bring back a phone that doesnโ€™t respond to the power button or is stuck on the Mi logo.

5 Unlocking after a failed update (brick)

If the phone stopped turning on after updating MIUI or installing custom firmware, most likely there was a software breeze.

  • ๐Ÿ”„ Hanging on the Mi or Redmi logo.
  • ๐Ÿ“ต Black screen when switched on.
  • โšก Quick shutdown after the screensaver appears.

The solutions depend on the type of brik:

Type of brickReason.Recovery method
Soft-brickMisfitting MIUI updateFirmware via Fastboot or Recovery
BootloopModule conflict in firmwareResetting via Recovery or Firmware
Hard-brickDamage to the loaderFirmware via EDL (requires authorization)

For soft-brick (the phone is turned on but not loaded further than the logo):

  1. Press Volume Up + Power to Enter Recovery.
  2. Select "Wipe Dataยป โ†’ ยซWipe All Dataยป.
  3. Reboot the phone.

If that doesnโ€™t work, run your phone through Fastboot:

fastboot flash boot boot.img


fastboot flash system system.img




fastboot reboot

6 Unlocking through service centers: when you can not cope with yourself

If all of these methods have failed, you have to go to the service.

  • ๐Ÿ”’ Phones with Mi Account lock if you donโ€™t have access to your account.
  • ๐Ÿ”ง Hardware breakdowns (for example, damaged connector) USB, Which is why it is impossible to pass through EDL).
  • ๐Ÿ“ฑ Devices with damaged memory (NAND), which are not defined by the PC.

The cost of unlocking in services:

  • ๐Ÿ’ฐ Resetting the pattern lock/PIN: 500โ€“1500 โ‚ฝ.
  • ๐Ÿ’ฐ Unlocking Mi Account: 1500โ€“3000 โ‚ฝ (model).
  • ๐Ÿ’ฐ Firmware through EDL: 2000โ€“5000 โ‚ฝ (Requires authorization from Xiaomi).

Before contacting the service:

  • ๐Ÿ“‹ Check if they have an authorization from Xiaomi to work with EDL.
  • ๐Ÿ” Check reviews โ€“ some โ€œservicesโ€ just refashion the phone without solving the lock problem.
  • ๐Ÿ“„ Bring a check or a box from your phone (may be required to prove possession).

โš ๏ธ Warning: Avoid "handicraft" craftsmen who offer to unlock Mi Account in 5 minutes through "secret methods" most often this is a scam, after which the phone can finally fail.

7. How to avoid future blockages

To avoid getting blocked again, follow the simple rules:

  • ๐Ÿ” Use password management (such as Google Password Manager or KeePass) to store PIN-codes and graphic keys.
  • ๐Ÿ“ฑ Make backups regularly through Settings โ†’ System system โ†’ Backup.
  • ๐Ÿ”„ Do not install custom firmware unless you are sure of its compatibility with your model.
  • ๐Ÿ”— When buying a used phone, check whether the Mi Account is untied (ask the previous owner to show the unlocked reset to factory settings).

If you often experiment with firmware, unlock the bootloader before the phone locks, eliminating the need to wait 7 days for emergency unlocking.

๐Ÿ’ก

Even if you donโ€™t plan on installing custom firmware, an unlocked bootloader makes it easier to recover your phone after crashes.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only in two cases: If you remember the backup PIN-If the phone is locked through Mi Account, but you remember the username/password from the account. In all other cases (reset via Recovery, firmware through the account). Fastboot/EDL) data will be deleted.
How long does it take to unlock the bootloader?
The procedure itself through the Mi Unlock Tool takes 1-3 minutes, but there are nuances: Mi Account should be tied to the phone for at least 7 days. After unlocking, you can not block the bootloader back for 168 hours (7 days).
What if Xiaomi doesnโ€™t turn on and respond to buttons?
This is a hard-brick sign. Try: Connect your phone to charge for 30 to 60 minutes (sometimes helps with a battery running out); Hold Volume Up + Volume Down + Power for 10 to 15 seconds (forced reboot); If nothing helps, flash through the EDL at the service center.
Can I unlock my Mi Account without a check?
Officially, no. Xiaomi requires proof of ownership (check, box, IMEI photo). Unofficially, some services offer a bypass through EDL, but: This violates Xiaomi's policy and can lead to IMEI blocking. The cost of such a bypass often exceeds the market price of the phone. It is better to look for the previous owner or buy a phone with documentation.
Why does the phone not turn on after unlocking the bootloader?
Probable causes: ๐Ÿ”Œ Not original. USB-cable (use a cable from the set). ๐Ÿ–ฅ๏ธ Mi Unlock Tool (download the latest from the official website). ๐Ÿ“ฑ Damaged firmware (try flashing your phone through Fastboot after unlocking).