Forgot the password from Mi Account or bought a used Xiaomi smartphone with a tied account? Locking the device through Mi Cloud is one of the most reliable protection systems, but also one of the most problematic for users. Even after resetting, the phone can remain locked, requiring the username and password of the previous owner. In this article, we will analyze all official and informal ways of unlocking, including the use of the unlock code that can be obtained through Xiaomi support.
It's important to understand that Mi Account's bypassing methods are constantly changing. What worked in 2022 may not be useful in 2026 because of security updates. We've gathered up-to-date data for June 2026, including nuances for devices on MIUI 14/15 and new models (Xiaomi 14, Redmi Note 13, POCO F6). If your phone is locked after a firmware or reset, here's the solution.
Why is Xiaomi blocking the device with Mi Account?
Xiaomiβs Mi Cloud Lock (or FRP) system was introduced to combat smartphone theft, and the device is automatically linked to an account when:
- πΉ first-induction of a new phone;
- πΉ Adding a Mi Account in the settings;
- πΉ activation of the function Find the device;
- πΉ reset to factory settings (if the account was previously linked).
Once reset, the phone requires you to enter the Mi Account, which was the last one on it. If you donβt know the password (for example, you bought a phone with your hands), you can only unlock it through the official unlock code or alternative methods. Xiaomi does not provide βmaster codesβ or universal passwords β each code is generated individually for the IMEI of the device.
β οΈ Warning: Buying an unlock code from third parties (AliExpress, forums, Telegram) is fraught with fraud. The official code can only be obtained through Xiaomi support or authorized service centers. Using pirated codes can lead to complete blocking. IMEI.
Official way: Getting an unlock code through Xiaomi support
This is the only legal method that is guaranteed to work on any Xiaomi, Redmi or POCO device, which takes 3 to 14 days and requires proof of ownership.
Step 1: Preparation of documents
You'll need:
- π Check or purchase invoice (if the phone is new);
- π Contract of sale (if purchased from hand);
- π Box with IMEI (must coincide with IMEI phone);
- π Passport (for proof of identity).
Step 2: Appeal for support
Go to the official Mi Account website, select Help β Unlock Device. Fill out the form by specifying:
- π± Phone model (e.g. Xiaomi 13 Ultra);
- π’ IMEI (You can find it in *#06# or on the box);
- π§ E-mail for communication.
Step 3. Waiting for code
Xiaomi support checks documents manually, and if all is well, you will be sent a unique unlock code (usually 16-20 characters) and instructions for its use, which is valid once and only for the specified IMEI.
How to enter the unlock code on a locked Xiaomi phone
Once the code is received, you just have to apply it. MIUI:
For MIUI 12-15 (new devices):
- Turn on your phone and wait for the Mi Account lock screen.
- Click Forgot Password? or Unblock through the code.
- Enter the resulting code in the Unlock Code field.
- Confirm unlocking and the phone will restart.
For older versions (MIUI 10β11):
- πΉ Connect your phone to Wi-Fi (if required).
- πΉ On the lock screen tap on Additional settings.
- πΉ Select Unlock through the code and enter it.
If after entering the code, the phone asks for a password again - check the correctness of the input (the registry is important!) or contact support again.
Internet connection (Wi-Fi/mobile data)| IMEI matching code | Correct register of characters | Battery charge > 50%-->
Alternative methods to unlock Mi Account (without code)
If the official code is not available (e.g., no documents), you can try to bypass the lock. These methods do not guarantee 100% results and can lead to data loss or a "brick" of the device. Use them at your own risk!
Method 1. Fastboot reset (for older models)
It works on devices up to Xiaomi Mi 9/Redmi Note 8 on MIUI 10β11:
- Turn off the phone.
- Press Power + Volume Down to log in to Fastboot.
- Connect to the PC and execute the command: fastboot oem clean_frp
- Reset the device.
Method 2. Bypassing EDL-Regime (requires an authorized account)
For new models (Xiaomi) 12/13/14, Redmi Note 11/12/13) need an authorized EDL-Account (can be purchased from trusted vendors:
- πΉ Put the phone in mode. EDL (via testpoint or adb reboot edl).
- πΉ Use the Mi Flash Tool to run the persist partition.
- πΉ Delete the FRP files manually.
β οΈ Attention: Use EDL Without authorization, the bootloader can permanently lock on new devices (Xiaomi 14, Redmi Note 13 Pro).+) This method only works with official permission from Xiaomi.
Method 3: Programs for circumventing FRP
There are some software like Mi Account Bypass Tool or FRP Hijacker, but they are:
- π« Often contain viruses;
- π« They only work on older versions. MIUI;
- π« Could lead to a blockage. IMEI.
List of models on which FRP circumvention is possible without code
What to do if the unlock code does not work?
Sometimes even the official code doesn't work.
| Problem. | Possible cause | Decision |
|---|---|---|
| Code doesn't fit. | Error in IMEI or model | Check the data in the support request |
| Phone asks for password after code | Incomplete FRP reset | Repeat the code entry or make a complete reset. |
| The code was used earlier | Single-use code | Request a new code in support |
| Network input error | Regional lockdown | Use a VPN (such as Hong Kong) |
If the code doesnβt work, contact Xiaomi support again with a screenshot of the error, and 80 percent of the time, the problem is solved by issuing a new code.
π‘
Before contacting the support, check if yours is blocked. IP address - some regions (e.g. Russia) may have restrictions on unlocking. VPN with servers in Hong Kong or Singapore.
How to avoid blocking your Mi Account in the future?
To avoid the problem again:
- π Untie your account before selling your phone: Settings β Mi Account β Delete the account.
- π Keep your purchase documents (especially when buying from hand).
- π Update. MIUI β New versions fix vulnerabilities to bypass FRP.
- π Use a backup email to restore your password.
If you buy a used Xiaomi phone, be sure to check the lock status through the service IMEI.info or the official website of Xiaomi. Device with active lock Mi Cloud can not be unlocked legally without the documents of the previous owner.
FAQ: Frequent questions about unlocking Mi Account
Can I unlock Mi Account without code and without data loss?
How much does the official unlock code cost?
Does unlocking through Xiaomi service centers in Russia work?
Can I unlock Mi Account on a phone with a broken screen?
What happens if you enter the unlock code 10 times in a row incorrectly?
π‘
The only legal and secure way to unlock is the official code from Xiaomi, and alternative methods can lead to loss of warranty, blocking IMEI or βbrickingβ the device.