Xiaomi account login error: 7 ways to remove the lock (including the one that is not included) ADB)

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 codeReason.Decision
10008Xiaomi server is not availableWait 1-2 hours or use it VPN (section)
20003Wrong passwordPassword reset via email/telephone 2)
20015Account blocked due to suspicious activityUnblocking through account.xiaomi.com (Section 4)
20030Failure 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.

πŸ“Š How often do you encounter Mi-account errors?
First time.
Regularly (once a month)
Only after the updates
Never.

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:

  1. Download the app VPN (For example, ProtonVPN or Windscribe).
  2. Connect to a server in one of these regions.
  3. 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:

  1. Go to Settings. β†’ Wi-Fi (or mobile data).
  2. Click on your network. β†’ Β«Change the networkΒ» β†’ Β«AdditionallyΒ» β†’ Β«Settings IPΒ».
  3. Select "Static" and enter: DNS 1: 8.8.8.8 DNS 2: 8.8.4.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

  1. Go to account.xiaomi.com from a computer or other phone.
  2. Enter yours. email/If your account is blocked, you'll see a notification.
  3. 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?
If you ignore the 20015 error, after 72 hours, your account may be permanently blocked, in which case it will be impossible to restore it, you will have to create a new one and lose all the associated data (cloud, Mi Store purchases, smart home device settings).

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)

  1. Ask the seller to log into your Mi Account at account.xiaomi.com.
  2. Go to the Devices section and remove your phone from the list.
  3. 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:

  1. Turn off the phone and press Volume Down + Power to log into fastboot.
  2. Connect the device to the computer.
  3. Open the command prompt (cmd) and check the connection: fastboot devices should show your phone’s serial number.
  4. 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).
  5. 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)

  1. Download the correct version MIUI firmware.
  2. Rename the file to update.zip and transfer it to the root of the phone’s memory.
  3. Turn off the phone and press Volume Up + Power to enter Recovery.
  4. 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
ModelThe Last Stable Version (2026)Recommended for rollback
Xiaomi 13/13 ProMIUI 15.0.4MIUI 14.0.12
Redmi Note 12MIUI 15.0.3MIUI 14.0.8
POCO F5MIUI 15.0.2MIUI 14.0.6

FAQ: Answers to Frequent Questions

πŸ”Ή Can I log in to a Mi Account without a password if my phone is tied?
Yes, if you have two-factor authentication enabled (2FA) or a phone number is attached. On the login page, click "Forgot your password?" and select recovery through SMS. If 2FA configured via Google Authenticator, but you lost access to the app, try using backup codes (they could be saved when you set up).
πŸ”Ή Why does the reset to factory settings ask for an old account?
It's FRP-Factory Reset Protection, which is activated if you have a Mi Account set up on your phone, so you either need to enter your old account or reset it. FRP It's a fastboot, fastboot erase frp, on new models (MIUI 13+) This method may not work – official unlocking will be required.
πŸ”Ή How to log in if your email and phone are not tied?
If you don't remember the attached contacts, try: Check all your email inboxes for Xiaomi emails (including spam); remember which phone might have been tied (even the old number); contact Xiaomi with a purchase check; they can help restore access; if nothing helps, you will have to create a new account, but all data (cloud, settings) will be lost.
πŸ”Ή What to do if you write at the entrance β€œThe device is not supportedΒ»?
This error occurs if: You try to log in to an account on an unofficial firmware (e.g. LineageOS).The device is not certified (bought from a "grey" store). MIUI too old, for example, MIUI 10 on new models) Solution: Return the official firmware via fastboot or upgrade MIUI last-minute.
πŸ”Ή Can I bypass the blocking of Mi-account through the engineering menu?
No, the engineering menu (#4636###) won't help reset the Mi Account.The only working methods: Official unlock through the previous owner.Reset FRP via fastboot (not all models) Flashing through EDL (All other "secret codes" and "loopholes" are frauds!