You reset your Xiaomi smartphone, but instead of a clean system, the phone requires you to enter a password from your previous account? This is a situation that many brand users are familiar with β especially after buying a used device or trying to repair yourself. The reason is because of the Mi Account protection, which binds the device to your account even after a hard reset.
In this article, we will discuss all the current ways to bypass locks, from official (through account recovery) to technical (Fastboot and EDL mode). Importantly, the methods vary in complexity and risk - some can lead to complete data loss or "brick" of the device if done incorrectly. We will describe each step in detail so that you can choose the best option for your model Redmi, POCO or Mi.
Why Xiaomi asks for a password after resetting settings
Xiaomi has implemented a system of linking devices to the Mi Account as a measure against theft. After resetting via Recovery or Settings β Resetting the phone checks:
- π Was the "Find Device" function previously activated (enables locking when resetting).
- π± Is the device linked to your Mi Account (even if you didnβt create it, the previous owner could have done so).
- π Was the reset made through an authorized service center (in which case the lock is automatically removed).
If at least one of the conditions is met, the system requests a password from Mi Account or the user. PIN-The code/pattern lock that was installed before the reset, and on new models (for example, Xiaomi 13 or Redmi Note 12), the lock can be combined with Google protection. FRP β Double locking that makes it difficult to unlock.
It is worth noting that on Qualcomm processor devices (most Redmi and POCO), blocking is technically easier than on MediaTek chip models (such as the Redmi 10A or POCO C50), which often require EDL mode and authorized tools.
Method 1: Restore access to Mi Account (official method)
If you own the phone but you have forgotten your Mi Account password, the first thing you should do is try to restore access. This is the safest way to do it, which requires no technical skills and retains a warranty.
Instructions:
- Go to the recovery page: account.xiaomi.com/pass/retrievePassword.
- Enter the linked email or phone number.
- Select the confirmation method: π§ Code on email (if mail is available). π± SMS number-bound. π Backup code (if retained).
Create a new password and log in to your phone.
βοΈ What to do if no recovery code is received
β οΈ Note: If the account was created by the previous owner, you will not be able to restore access - you will need his participation (for example, send you a confirmation code.
On some models (e.g. Xiaomi Mi 11 or Redmi K50) after the account is restored, you may need to additionally link the device via Settings β Mi Account β Find the device. If this step is missed, the lock will return after the next reset.
Method 2: Bypassing Fastboot (for advanced users)
Fastboot mode allows you to flash the device around locking, but requires an unlocked bootloader. If the bootloader is locked, this method will not work - you will need to first unlock it through the Mi Unlock Tool (which is impossible without authorization in the Mi Account).
π§ Essential tools:
- π₯οΈ Windows computer 10/11.
- π Cable USB (preferably original).
- π¦ Archive with official firmware for your model.
- π οΈ The Mi Flash Tool.
Step-by-step:
- Turn off your phone and press the Power button + Volume down to log into the Fastboot.
- Connect the device to your PC and check Detection in the Mi Flash Tool.
- Select the downloaded firmware (.tgz format) and press Refresh.
- At the bottom, select the Clean All option and click Flash.
What to do if the Mi Flash Tool is a "Cannot receive hello packet" error
β οΈ Note: Fastboot firmware erases all data, including photos and apps. on MediaTek models (e.g. Redmi) 9A) This method may not work β you will need a regime EDL.
| Xiaomi model | Support for Fastboot | Requires unlocking bootloader | Risk of a brick |
|---|---|---|---|
| Redmi Note 10 Pro | β Yes. | β Yes. | Medium. |
| POCO X3 Pro | β Yes. | β Yes. | Low. |
| Xiaomi Mi 11 Lite | β Yes. | β Yes. | High (due to section A/B) |
| Redmi 9C (MediaTek) | β No. | β No. | EDL required |
Method 3: Unlock via EDL (for MediaTek and complex cases)
EDL (Emergency Download Mode) is a firmware emergency mode that bypasses all locks, including Mi Account. It works even on locked downloaders, but requires:
- π§ Authorized firmware account (e.g., through Xiaomi Authorized Service Tool).
- π» Special software: Mi Flash Pro or QFil (for Qualcomm).
- π TestPoint (closing contacts on the board) for forced entry into the EDL on some models.
β οΈ Attention: Use EDL without official access (for example, through "gray" firmware) can lead to:
- π« Block IMEI (phone will lose contact).
- π Cyclical reboot (bootloop).
- π‘οΈ Xiaomi account block (if unofficial tools are used).
If you are not sure about your skills, it is better to contact the service center. The cost of unlocking through EDL in Russia and the CIS is 1000-3,000 rubles depending on the model.
π‘
Before you run through EDL, be sure to check the Hardware ID version of your device. A mismatch between firmware and hardware will result in a blink. You can find the ID through the fastboot getvar all command (look for the hwid string).
Method 4: Bypassing the Xiaomi Service Center (Warranty Method)
If your device is warranty or you are willing to pay for an official unlock, contact the Xiaomi service center.
- π Guaranteed removal of lock without risk of blink.
- π Preserving the warranty (if the device is not unlocked earlier).
- π§ Recovery capability IMEI and serial number.
π Documents for service:
- π Passport of the owner (if the phone is guaranteed).
- π Check or warranty card (if available).
- π± The device itself (preferably with a box).
The cost of the service varies:
- π Free β if the lock is service (for example, after updating the software).
- π° 500-1500 rubles β unlocking Mi Account without warranty.
- π° 2000β5000 rubles β complex firmware with restoration IMEI.
π‘
The official service is the only legal way to unlock if the phone is tied to someone elseβs Mi Account, and this can lead to a permanent locking of the device in the Xiaomi database.
Method 5: Alternative methods (for older models)
On Xiaomi devices older than 2018 (e.g. Redmi 4X, Mi A1), security holes sometimes go off to get around the lock without firmware.
πΉ Method 1: Bypassing an emergency call
- On the lock screen, press Emergency Call.
- Enter #4636## (test menu opens).
- Return to the home screen via the Back button β sometimes this will unlock access to settings.
πΉ Method 2: Discharge through ADB (requires on-set debugging USB)
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1This command simulates the completion of the initial setup, but only works if the ADB was activated before locking.
β οΈ Note: These methods have stopped working on most modern devices (starting with the use of the MIUI Their use may result in increased blocking or in the activation of Google's security. FRP.
Method 6: Buying an unlock code (risky option)
There are services on the Internet that sell Mi Account unlock codes (for example, through sites like UnlockJunky or DoctorSIM), the code costs from 5 to 30 dollars depending on the model.
π How it works:
- You specify the IMEI of the phone and the model.
- The service generates an unlock code (sometimes you need to wait up to 24 hours).
- The code is entered on the lock screen or via Fastboot.
β οΈ Risks of this method:
- π³ Fraud β Many websites take prepayments and disappear.
- π The code may not work (especially on newer models). MIUI 14).
- π‘οΈ Xiaomi account may be blocked for using βgrayβ methods.
π‘ Tip: Before buying the code, check the reviews on the service on the forums (for example, 4PDA or XDA). Never pay in advance β use guaranteed transactions (e.g. via PayPal with buyer protection).
Frequent Mistakes and How to Avoid Them
When trying to unlock Xiaomi, users often face typical problems, and here are the most common ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't unlock the Mi Unlock Tool | Account not tied to device or 72 hours waiting time not completed | Link your account in your phone settings and wait 3 days |
| Invalid image format in Fastboot | Incorrect firmware format (need.tgz) | Download the firmware from the official Xiaomi website |
| The phone is not defined in the Mi Flash Tool. | There is no driver or faulty cable | Install drivers manually through Device Manager |
| After the firmware, the phone does not turn on. | Incompatible firmware version or interrupted process | Repeat the firmware in EDL mode with the correct version |
π§ Useful Lifehack: If the phone asks for a password from Google after unlocking (FRP), Try entering the account that was last linked, and if you don't remember, use Google's access restoration.