You are trying to log in to a Mi Account on a Xiaomi, Redmi or smartphone POCO, But the system persists in making the error, "Incorrect login or password," "Server unavailable," or "Device locked," a problem that millions of users are familiar with -- according to Xiaomi statistics, every 5th support request is due to authorization errors. From banal forgotten password to hardware failures after firmware.
In this article, we will analyze all possible scenarios β from simple (reset password via email) to complex (unlock via fastboot or fastboot). ADB). Important: Some techniques require technical skills, so we have noted their level of complexity (π’ lungy, π‘ middle-class, π΄ If your case is not typical, at the end of the article there is FAQ answering rare questions, including post-reset problems to factory settings.
Warning: if the device was purchased from hand and tied to someone else's account, officially unlock it can only be through the previous owner or service center Xiaomi with a check of purchase. EDL) Can result in loss of warranty or device brik.
1. Typical Mi-account login errors and their causes
Before you try to βcureβ a problem, you need to understand its root, and authorization errors in Xiaomi are divided into 3 categories:
- π Server failures: problems on the Xiaomi side (e.g. scheduled maintenance or DDoS attack) are usually accompanied by a message "Server temporarily unavailable" (error 10008).
- π User errors: incorrect login / password, blocked account due to suspicious activity, two-factor authentication (2FA). Error codes: 20003, 20005, 20015.
- π± Hardware/software problems: damaged firmware, failure in the security module (tee), conflict after the update MIUI. Manifested as "Device locked" (error 20030).
How do you determine your case? Read the error text carefully on the screen.
- π§ Mention of email or telephone β Problem with the data for entry (section 2).
- βοΈ Error code (10008, 20030, etc.) β see the table below.
- π Message: This device is linked to another accountΒ» β Section 5 (unlocking after discharge).
| Error code | Reason. | Decision |
|---|---|---|
| 10008 | Xiaomi server is not available | Wait 1-2 hours or use it VPN (section) |
| 20003 | Wrong password | Password reset via email/telephone 2) |
| 20015 | Account blocked due to suspicious activity | Unblocking through account.xiaomi.com (Section 4) |
| 20030 | Failure of the safety module (tee) | Flashing through fastboot (section 6) |
π‘ Advice: If an error occurs after the update MIUI, Try to revert to the previous version through Recovery.
2. Resetting the Mi Account password: step-by-step instructions π’
If you forget your password or you get a 20003 error, try the standard recovery procedure first. It works 80% of the time and doesn't require technical skills.
Linked email or phone
Access to the post office/SMS
Stable Internet connection
Battery charge > 20%
-->
Step 1. Go to the recovery page: account.xiaomi.com/pass/forgetPassword.
Step 2: Enter a linked email or phone (with country code, for example, +7 for Russia. Click "Send the codeΒ».
Step 3: Check the mail or SMS β You'll get a 6-digit code. Enter it on the website.
Step 4: Create a new password (minimum 8 characters, with letter and number) Confirm the change.
β οΈ Note: If you donβt remember the attached email/It's going to be harder to get back to your phone:
- π§ Check all your inboxes (including spam) for emails from no-reply@xiaomi.com.
- π± Try all the phone numbers that could be tied.
- π If nothing helps, contact Xiaomi support via support.xiaomi.com (you need a check for a purchase!).
πΉ What to do if the code does not arrive?
- πΆ Check your internet connection (itβs better to use mobile data than Wi-Fi).
- π Wait. 5β10 minutes, sometimes SMS/email come late.
- π Try asking for the code again (the "Send Again" button will appear in 60 seconds).
π‘
If you are using two-factor authentication (2FA), If you have lost access to the Google Authenticator app, try to restore backup codes from the email that was specified when you set up the app. 2FA.
3. Server Error (10008): How to Bypass Lock π‘
Error 10008 ("Server is temporarily unavailable") usually occurs due to problems on the Xiaomi side.
- π§ Planned maintenance (most often at night Beijing time).
- π‘οΈ DDoS attack or server overload (for example, after a new firmware release).
- π Regional restrictions (if you are in a country where Xiaomi services are blocked).
Decision 1: Wait and try again
In most cases, the 10008 error disappears after 1-3 hours. Check the status of Xiaomi servers on the Downdetector website.
Decision 2. Use VPN
If the problem is related to regional restrictions, please contact the VPN server-side:
- π¨π³ China (best option, but can be slow).
- ππ° Hong Kong πΈπ¬ Singapore (alternative).
- π·πΊ Russia (if you are in a country with a blockage, for example, in Ukraine or Belarus).
πΉ How to set up VPN Xiaomi:
- Download the app VPN (For example, ProtonVPN or Windscribe).
- Connect to a server in one of these regions.
- Restart your phone and try to log in again.
Decision 3: Replace DNS
Sometimes, the 10008 error is due to a lock. DNS-ISPs. Try using public services. DNS:
- Go to Settings. β Wi-Fi (or mobile data).
- Click on your network. β Β«Change the networkΒ» β Β«AdditionallyΒ» β Β«Settings IPΒ».
- Select "Static" and enter: DNS 1: 8.8.8.8 DNS 2: 8.8.4.4
- Save the settings and restart the phone.
β οΈ Note: If you use a corporate network or public Wi-Fi (such as in a cafe), they may block access to Xiaomi servers.
4. Unblocking an account after suspicious activity (20015) π‘
Error 20015 ("Account blocked") appears if Xiaomi's system has detected:
- π Login from a new device or an unfamiliar location.
- π Repeated unsuccessful attempts to enter a password.
- π± Use of informal firmware or root rights.
Step 1 Unblocking through the website
- Go to account.xiaomi.com from a computer or other phone.
- Enter yours. email/If your account is blocked, you'll see a notification.
- Click Unblock and follow the instructions (confirmation may be required by SMS/email).
Step 2 If the unlocking does not work
- π§ Check the email from Xiaomi with the subject of βSuspicious activityβ and it may contain a link to unlock it.
- π Contact support via chattal (purchase check needed!).
- π Wait 24 hours β sometimes the lock is automatically removed.
Step 3: If your account is blocked due to root rights
If you were rooting or installing custom firmware, Xiaomi could have blocked your account for violating the rules.
- π Return the official firmware via fastboot (instructions in section 6).
- π Write in support with an explanation that you returned the stock firmware.
What happens if you ignore the lock?
5.The device is tied to another account: how to unlock π΄
This problem arises if:
- π± You bought it. Xiaomi/Redmi/POCO The previous owner did not untie the device.
- π You reset to factory settings, but forgot to log out of your Mi Account.
- βοΈ The firmware has failed and the system requires authorization.
Official method (requires previous owner)
- Ask the seller to log into your Mi Account at account.xiaomi.com.
- Go to the Devices section and remove your phone from the list.
- Restart the device β the lock should disappear.
Unofficial ways (at your own risk!)
If you cannot contact the previous owner, you can try:
- π§ Passage ADB (work MIUI beforehand 12.5): adb shell am start -n com.xiaomi.account/com.xiaomi.account.ui.VerifyAccountActivity After this command, a window may appear to enter a new account.
- π± Reset via fastboot (delete all data!): fastboot erase frp This command deletes FRP-Factory Reset Protection, but does not work on all models.
β οΈ Warning: Unofficial methods can lead to loss of warranty or device brilliance. If the phone is warranty, it is better to contact the Xiaomi service center with a check of purchase.
πΉ What to do if nothing helps?
If the device is locked at the level EDL (Emergency mode, it can be unlocked only through:
- π Official Service Center (requires a check).
- π» Specialized services (such as UnlockBoot), but it is paid and risky.
π‘
If the phone was purchased by hand, always check if it is untied from the previous owner's Mi Account. β Xiaomi account β Devices and make sure your phone is not listed in someone elseβs account.
6. Unlocking via fastboot: for advanced users π΄
If the login error is associated with firmware damage (for example, after a failed update), flashing through fastboot can help.
What you need:
- π₯οΈ Computer with Windows/Linux.
- π Cable USB (preferably original).
- π¦ Firmware for your model (download from xiaomifirmwareupdater.com).
- π οΈ Quickboot and Adb (part of Android) SDK).
Step-by-step:
- Turn off the phone and press Volume Down + Power to log into fastboot.
- Connect the device to the computer.
- Open the command prompt (cmd) and check the connection: fastboot devices should show your phoneβs serial number.
- Unpack the firmware in the folder and execute the command: fastboot flash all (or fastboot flash all) -w, if you need to clear the data).
- Wait for completion (5-10 minutes) and restart your phone: fastboot reboot
πΉ If the firmware doesn't help, try it:
- π Install an older version MIUI (For example, if the error occurred after the update).
- π οΈ Use the Mi Flash Tool (official utility from Xiaomi).
β οΈ Warning: The wrong firmware can turn your phone into a brick. Always check the device model (fastboot getvar product) and download the firmware for it!
7. Firmware rollback: if the error occurred after the update π‘
Mi Account login errors sometimes occur after updating MIUI. This is due to bugs in new firmware versions, in which case a rollback to the previous stable version will help.
Method 1. Recovery (without data loss)
- Download the correct version MIUI firmware.
- Rename the file to update.zip and transfer it to the root of the phoneβs memory.
- Turn off the phone and press Volume Up + Power to enter Recovery.
- Select βInstall update.zipβ and confirm the installation.
Method 2: Recoil via fastboot (with loss of data)
If Recovery doesnβt work, use the method in Section 6, but download the older firmware.
πΉ How to find out which version MIUI before the update?
If the phone is still on, go to Settings β The phone. β Version. MIUI. If not, look at the fastboot:
fastboot getvar version-bootloader| Model | The Last Stable Version (2026) | Recommended for rollback |
|---|---|---|
| Xiaomi 13/13 Pro | MIUI 15.0.4 | MIUI 14.0.12 |
| Redmi Note 12 | MIUI 15.0.3 | MIUI 14.0.8 |
| POCO F5 | MIUI 15.0.2 | MIUI 14.0.6 |