Forgotten password on Xiaomi smartphone is a situation that one in five users face. According to statistics from service centers, 37% The problem is complicated by the fact that the manufacturer uses two layers of protection: the lock password (PIN/A graphical key/fingerprint) and a password from a Mi Account that is linked to cloud services. If you can't unlock your phone, don't rush to carry it for repair. 90% In some cases, the problem can be solved independently.
In this article, we will analyze all the current ways to restore passwords for Xiaomi, Redmi and other devices. POCO, including models from 2023 to 2026 (Mi 14 series, Redmi Note 13, POCO X6 We will pay special attention to the nuances that are not covered in the standard instructions: what to do if it does not come. SMS It's a code that tells you how to get around the old password when you change your email in your Mi Account, and why Hard Reset can lock your phone forever. MIUI 14 and HyperOS.
1. Recovery of Mi Account password via email or phone
If you forget your Mi Account password (the one used to log into Mi Cloud, theme store and other Xiaomi services), the first step is to use the official recovery procedure.This method works even if the phone is locked, but you have access to your linked mail or phone number.
Go to the recovery page at: https://account.xiaomi.com/pass/forgetPassword
Step-by-step:
- π§ Enter the email or phone number associated with your account, and if you don't remember, try all the options you can (including backup addresses).
- π’ Select the confirmation method: SMS (If the number is tied or Email (if the mail is tied).
- π Enter the received code in the appropriate field. The code is valid for 5 minutes - if you did not have time, request a new one.
- π Create a new password (minimum 8 characters, with capital letters and numbers).
If a βToo many attemptsβ error occurs during the code entry phase, wait 24 hours or try to restore access from another one. IP-addresses (for example, via mobile Internet).
β οΈ Note: If the system requires you to enter the old password when you restore it, and you do not remember it, this means that the account is linked to another one. email/In this case, move on to the method. β3 (support).
2. unlock the Xiaomi screen without data loss (PIN/pattern lock)
If you forget the screen lock password (PIN-code, pattern lock or fingerprint, but remember the data from the Mi Account, you can unlock the device without resetting to factory settings. MIUI 12 and newer, including HyperOS.
Important: The method is only suitable if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network).
- π The device is synchronized with Mi Cloud.
- π Remember the username and password from the Mi-account.
Instructions:
- On the lock screen, click "Forgot Password?" (or "Forgot Password?" on English firmware).
- Enter the data from the Mi Account (email/phone + password).
- Confirm the unlock via SMS or email (the code will come to the linked number / mail).
- Set a new screen lock password.
If the "Forgot Password?" button is not available, then the "Find Device" function in the Mi Cloud settings is disabled on the device. β4 (Hard Reset).
βοΈ Preparation for screen unlocking
3. Access Restoration with Xiaomi Support
If standard methods donβt work (e.g., no access to a linked email or number), you can contact official Xiaomi support, which takes 1 to 7 days, but is guaranteed to restore access to your account without losing data.
What will be required:
- π Scans of identity documents (passport, driving license).
- π± IMEI Devices (can be found on the box or through the engineering menu: *#06#).
- π Purchase date and check (if saved).
- π Link to the Mi Community profile (if any).
How to apply:
- Go to the support page: https://www.mi.com/global/support.
- Select the "Account & Security" section" β "Forgot Mi Account Password".
- Fill out the form, attach scans of documents and send a request.
- Wait for an email response (usually within 24-48 hours).
Support may request additional information, such as:
- π The last 5 transactions made through Mi Pay (if the bank card is tied).
- π± Device models that were previously linked to an account.
- π Last used passwords (if you remember partially).
β οΈ Note: If an account was created through third-party services (such as Google or Facebook), recovery is possible only through them.
What to do if support is denied?
4. Hard Reset β when it is the only way out
Hard Reset is an extreme measure that is used when other methods have failed, which completely erases all data from the device, including photos, contacts and apps. However, it does not always work on modern Xiaomi smartphones due to the FRP (Factory Reset Protection) feature.
When to use Hard Reset:
- π You forgot the screen lock password and the data from the Mi Account.
- π± Phone does not connect to the Internet (no button "Forgot password?").
- π The device emits a "This device is locked" error after several failed password attempts.
How to make a Hard Reset:
- Turn off the phone.
- Press the buttons Power + Volume up at the same time (on some models - Power + Volume down).
- In the Recovery menu, select "Wipe Data" β "Wipe All Data".
- Confirm the action and wait for the reboot.
What to do if after resetting the phone requires you to enter the Mi-account data:
This means that the FRP protection worked.
- π Enter the data from the Mi Account that was tied to the phone before the reset.
- π οΈ If the account is not restored, you will need official unblocking through the service center (cost) ~1500β3000 β½).
| Xiaomi model | Combination of buttons for Recovery | Supports FRP? | Can we bypass FRP? |
|---|---|---|---|
| Redmi Note 12/13, POCO X5/X6 | Food + Volume up | Yes. | Only through an official account |
| Mi 11/12/13/14 | Food + Volume up | Yes. | Partially (PC and ADB required) |
| Redmi 10A, POCO M4 | Food + Volume Down | No. | Not required |
| Xiaomi Pad 6 | Food + Volume up (10 seconds) | Yes. | Only through the Mi Account. |
π‘
If the phone doesnβt turn on or hangs on the logo after Hard Reset, try flashing it through the Mi Flash Tool in Fastboot mode. Instructions and firmware can be found on the 4PDA or Xiaomi Community forum.
5. Password bypass through ADB (for advanced users)
If you're familiar with the command prompt, you can try removing a file with a lock password through ADB (Android Debug Bridge), which only works on firmware before MIUI 12.5 and requires USB debugging enabled. On newer versions (such as HyperOS), it's locked.
What you need:
- π₯οΈ A computer with installed Xiaomi drivers and ADB.
- π USB-cable (original).
- π§ Included debugging by USB (If not included, the method will not work).
Instructions:
- Connect the phone to the PC.
- Open the command line and type in: adb shell su rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksettings.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm reboot
- After rebooting, the screen lock password will be reset.
If the su command doesn't work, then the device doesn't have root rights, and then the method doesn't apply.
β οΈ Note: Delete system files through ADB can lead to unstable operation of the device. After unlocking, it is recommended to reset the settings through Settings β Additionally. β Resetting settings.
6. Frequent mistakes and how to avoid them
When you restore your password on Xiaomi, users often face typical problems, and letβs look at the most common ones and the ways to solve them.
Error 1: "Too many attempts. Try again later"
This error occurs when you enter the wrong password too often or request a recovery code.
- π Wait 24 hours and try again.
- π Change it. IP-address (e.g. through VPN mobile).
- π§ Try to restore access from another device.
Error 2: "This device is associated with a Mi Account"
This inscription appears after Hard Reset and indicates that the FRP protection has worked.
- π Enter the data from the Mi Account that was linked to the phone.
- π± If the account is not restored - contact the service center with documents on the phone.
Error 3: No SMS with recovery code
Most often it is due to the locking of the number by the operator or problems on the Xiaomi side.
- π΅ Check if the number is blocked for SMS (Sometimes the service providers block the service messages).
- π Try asking for the code by email instead of SMS.
- π Call Xiaomi Support and check if there are any malfunctions in the sending service SMS.
π‘
If you bought your phone with your hands, be sure to check if it is tied to someone else's Mi Account. Go to Settings β Xiaomi Account and look at the email. If the account is not yours, ask the seller to untie the device before buying!