Forgotten password on Xiaomi is a situation faced by one in five smartphone users of this brand. According to statistics of service centers, 68% of requests for locking devices are related to lost graphics keys or keys. PIN-Fortunately, the manufacturer has provided several formal and informal ways to restore access, from a simple reset via Mi Account to complex firmware manipulation.
In this article, we will discuss all the current methods of unlocking Xiaomi (including the Redmi, POCO and Black Shark models), their pros and cons, and give checklists for each option. Particular attention will be paid to the new restrictions in 2026 that Xiaomi introduced to protect user data from unauthorized access. If you are afraid of losing important files, at the end of this article you will find tips on saving data before reset.
1 Unlocking through Mi Account (official method)
The most secure and recommended method Xiaomi uses is a tied Mi Account, which works on all devices with MIUI 12 and later, but requires pre-association of the account to the phone. If you have never signed in to Mi Account on a locked device, this method will not work.
The procedure takes no more than 5 minutes and does not result in data loss.
- π On the lock screen, click Forgot Password? (or Forgot Password? on English firmware).
- π§ Enter the email or phone number associated with the Mi Account.
- π Confirm your identity through SMS-code.
- π± Create a new password or pattern lock.
β οΈ Note: If the device is enabled with Find Device, after 5 failed attempts to enter the password, the phone may lock for 24 hours.
This method is suitable for most modern models, including:
- Xiaomi 13/13 Pro/13 Ultra
- Redmi Note 12/12 Pro+/12T
- POCO F5/X5 Pro
- Black Shark 5/5 Pro
π‘
If you do not remember whether Mi Account is linked to a phone, try entering any email β the system will tell you whether there is an account with such an address.
2.Reset via Recovery Mode (Hard Reset)
Hard reset is a universal method that works even without a Mi Account attached, but has a critical drawback: all data on the phone will be permanently deleted.
- π There are no important files on the device (or they are synced to the cloud in advance).
- π± The phone is not tied to the Mi Account.
- π§ Other Unlocking Methods Have Not Worked.
Instructions for logging into Recovery Mode and resetting settings:
- Turn off the phone with a long press of the power button.
- Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
- From the Recovery menu, select Wipe Data (or Clear Data on Chinese firmware).
- Confirm the action by choosing Wipe All Data.
- After reset, select Reboot to reboot.
| Xiaomi model | Combination for Recovery | Features |
|---|---|---|
| Xiaomi 12/12T/12S | Volume up + Nutrition | Some firmware requires confirmation through Mi Account even after a reset. |
| Redmi Note 10/11 | Volume up + Nutrition | The Recovery menu may not have touch controls β use volume buttons to navigate. |
| POCO F3/F4 | Volume up + Nutrition | After reset, it may be necessary to reactivate via the Internet. |
| Black Shark 4/5 | Volume up + Volume down + Nutrition | Hold the buttons until the vibration occurs (about 20 seconds). |
β οΈ Attention: On devices with MIUI 14 and later after Hard Reset, you may need to enter data from your previous Mi Account, even if it wasn't tied in the first place. This is a theft protection measure introduced in 2023.
3. Unlock via Fastboot (for advanced users)
Fastboot is suitable for unlocking Xiaomi if:
- π§ You have access to a computer with drivers installed ADB and Fastboot.
- π± The phone's debugging on. USB (If not, the way won't work).
- π You are ready for possible data loss (depending on the selected teams).
Unlocking will require:
- Install Android SDK Platform-Tools on PC.
- Connect the phone to the computer in Fastboot mode (clamp Volume down + Power when the device is turned off).
- Open the command line in the folder with ADB and type:
fastboot oem unlock
fastboot flashing unlock
fastboot rebootIf the fastboot oem unlock command doesnβt work, try an alternative:
fastboot erase frp
fastboot rebootβ οΈ Note: On devices with locked bootloader (Xiaomi 13 Ultra, Redmi) K60 Pro and newer) these commands will not work without first unlocking the bootloader through the official Xiaomi website.
Install drivers ADB|Download Platform-Tools|Enable debugging on USB phone-on|Prepare original USB-cable|Backup of data (if possible)-->
4. Use of service codes (for older models)
Xiaomi devices before MIUI 10 (released before 2019) sometimes triggered service codes to reset passwords. Today, this method is extremely rare, but it can be tried on models like the Redmi 4X, Redmi Note 5 or Mi A1.
Try entering these codes in the dialer:
- π ##7780## - soft reset (saves media files).
- π *2767*3855# β full reset (remove everything).
- π ##3646633## - Engineering menu (sometimes allows you to reset the lock).
If you reboot your phone after you enter the code, but you still have the password, it doesn't work, and on new firmware, these codes are usually blocked by the manufacturer.
Why did the service codes stop working?
5. Contact the Xiaomi Service Center
If none of these methods work, the last option is to contact an authorized service center, which is the only legal way to unlock your phone without losing data, if:
- π You have a check or warranty card on the device.
- π You can confirm your identity (passport, SNILS).
- π± The phone is not on the blacklist (stolen/lost).
The cost of the service in official Xiaomi services varies from 1,000 to 3,000 rubles depending on the model, the average unlock period is 1-3 working days.
| Document | What do you need? | Can we do without him? |
|---|---|---|
| Passport | Confirmation of the identity of the owner | No. |
| Check of purchase | Proof of legal possession | Sometimes replaces the warranty card |
| Phone box. | IMEI and serial number verification | Yes (if the IMEI matches the check) |
| Mi Account | Additional proof of ownership | Yes (unless the phone is linked to your account) |
If you buy a phone with your hands, the chances of unlocking are minimal β Xiaomi service centers refuse in 90% of such cases due to the risk of working with stolen devices.
π‘
Official unlocking in the service is the only way to save data on the phone if the password is forgotten and the Mi Account is not tied.
6. Alternative methods (at your own risk)
There are dozens of magical ways to unlock Xiaomi online, from using apps like Dr.Fone to firmware via EDL Mode, which we donβt recommend for a few reasons:
- π¨ Brick Risk: Wrong firmware can turn a phone into a brick".
- π΅οΈ Data Leak: Many Unblockers Steal Logins/Passwords.
- πΈ Hidden payments: Free software often requires payment after a scan".
If you do decide to experiment, here is a brief overview of the methods:
| Method | Risks. | Chances of success |
|---|---|---|
| Firmware through EDL | Brick, loss of IMEI | 70% (requires an authorβs account) |
| Use of Dr.Fone | Data leak, viruses | 30% (not working on all models) |
| Bypassing ADB | Requires root rights | 50% (only for older MIUIs) |
β οΈ Note: Since 2023, Xiaomi has tightened protection against unauthorized unlocking. EDL Now they require an official permit from the manufacturer, which can only be obtained through the service center.
7.How to avoid blocking in the future
To avoid having a forgotten password, follow these guidelines:
- π Use password managers (such as Bitwarden or KeePass) to store PIN-code.
- π§ Link Mi Account and enable two-factor authentication.
- π Keep your important data synced regularly with Mi Cloud or Google Drive.
- π± Set up Smart Lock (unlock by Bluetooth device or location).
It's also useful to create emergency contact information on the lock screen.
- Go to Settings β Lock screen β Emergency information.
- Please provide an alternative phone number or email to contact.
- Save the changes.
This data will be displayed on the lock screen even without entering a password, which will help you get your phone back if you lose it.
π‘
V MIUI 14 the function "Reserve" appeared PIN-code" - an additional password to unlock, which can be configured in Settings β Security β Additional settings.