Introduction: Why you need a password when resetting Xiaomi
Resetting on Xiaomi smartphones is a procedure that returns the device to factory settings by removing all user data, apps and settings. However, many owners face an unexpected password request when trying to perform a hard reset through the Recovery menu. This is the unauthorized access protection built into MIUI firmware since version 8.
The standard password for resetting is not a universal code, but one tied to a Mi Account account or a previously installed pattern lock. If you forget it, the procedure becomes more complicated: the system can lock the device after 5 failed attempts. In this article, we will analyze all official and alternative methods of resetting, including bypassing the password through Fastboot, EDL-regime and service centres.
Importantly, the methods are different for models with Qualcomm processors (such as the Redmi Note 10 Pro) and Mediatek (such as the POCO M3).
Xiaomiβs Standard Passwords for Resetting: Myths and Reality
There are many "universal" codes on the Internet, such as 123456, 000000 or miui, but they do not work on modern devices. MIUI 12/13/14 firmware uses dynamic password binding to:
- π Mi Account β if the device is linked to an account;
- π± pattern lock - if the unlock pattern is installed;
- π PIN-code SIM β Some models (such as Xiaomi) 12T).
The only βstandardβ password is an empty string (just click βConfirmβ without entering), but it only works if:
- The device is not linked to the Mi Account.
- No pattern lock or PIN is installed;
- The firmware is not modified (no custom Recovery).
π‘
If you are buying a used Xiaomi, be sure to check if the previous Mi Account is untied. To do this, go to Settings β Xiaomi Account and try to log in under your login. If the system asks for a password from the old account, the device is blocked.
How to Reset Your Settings When You Know Your Password
If you remember the Mi Account password or the pattern lock, the procedure will take 5-10 minutes.
- Turn off the device with a long press of the power button.
- Click the combination: For most models: Volume up + Power; For POCO F3/F4: Volume down + Power; For Xiaomi Pad 5: Volume up + Volume down + Power.
Recovery
Wipe Data
Mi Account
Yes
After the reboot, the device will look like new.Caution: If you used File-Based Encryption, you may need an additional password to unlock the internal storage.
Make sure the battery is at least 50 times charged%|
Backup important data (photos, contacts) |
Remember the username and password from Mi Account|
Untie your device from your Google Account (in Settings β Accounts)
-->
Password bypass via Fastboot: step-by-step instructions
If you forgot your password, but unlocked on your device OEM Unlock (in Settings) β For developers, you can reset settings via Fastboot mode.This method works on 80% of Xiaomi models, except for devices with a Mediatek processor and a locked bootloader.
Requirements:
- π₯οΈ Computer with Windows/Linux and installed drivers ADB/Fastboot;
- π USB-cable (original, without damage);
- π± Unlocked OEM Unlock (if not, see the section on the EDL).
Instructions:
- Turn off the phone and press Volume Down + Power to log in to Fastboot.
- Connect the device to the PC and open the command line (cmd).
- Enter the command to check the connection: fastboot devices If the device is displayed β continue.
- Run reset: fastboot erase userdata fastboot erase cache fastboot reboot
What if the Fastboot canβt see the device?
Warning:
β οΈ On devices with MIUI 14 and a newer Fastboot reset could result in a lockdown FRP (Factory Reset Protection: After the reboot, the system will require you to enter data from the last Google account. If you do not remember them, you will need to bypass through the system. EDL service-centre.
Dumping through EDL-Mode: for advanced users
EDL (Emergency Download Mode) is a service mode that allows you to flash a device even with a locked bootloader.
- π Devices with lockdown OEM Unlock;
- π± Qualcomm Snapdragon models (e.g. Xiaomi) 11T Pro, Redmi K40);
- π« Phones after a failed update ("bricks").
Attention: Entry to the EDL requires:
- Special cable (EDL cable) or short circuit test points on the board;
- Mi Flash Tool and firmware for your model;
- An authorized Xiaomi account (for new devices)
Step-by-step:
- Download Fastboot ROM firmware for your model from en.miui.com.
- Install the Mi Flash Tool and unpack the firmware into a folder without Cyrillic characters.
- Transfer the phone to EDL: For Qualcomm: Press Volume Up + Loudness down + USB-cable; For Mediatek: use SP Flash Tool.
Mi Flash Tool
Refresh
COM-port
Flash
| Model | Processor type | Supported discharge method | Is authorization required? |
|---|---|---|---|
| Xiaomi 13 Pro | Qualcomm Snapdragon 8 Gen 2 | Fastboot, EDL | Yes (for EDL) |
| Redmi Note 12 | Qualcomm Snapdragon 4 Gen 1 | Fastboot, EDL | No. |
| POCO X5 Pro | Qualcomm Snapdragon 778G | Fastboot | No. |
| Redmi A2 | Mediatek Helio G36 | SP Flash Tool | No. |
:Through the Recovery menu |Through Fastboot |Through EDL|Through the service center |I haven't tried-->
What to do if nothing helps: service centers and alternatives
If all of these methods fail, there are three options:
- Official Xiaomi Service Center: π A check or box is required to confirm possession; π° Cost of discharge: 1,500β3,000 β½ (model-wise); β³ Time: 1-3 days.
- Informal workshops: π§ Use boxes (UFi Box, Octopus) to bypass FRP; π¨ Risk of damage to the device or loss of warranty; π΅ Price: 1,000-2,500 β½.
Self-repair
- π¨ Flashing through Test Point (requires rations);
- π Study of topics in forums 4PDA or XDA Developers;
- β οΈ High risk of turning a phone into a brick".
Tip: Before you go to the service, check if the warranty is valid. If the device is warranty, resetting it through informal methods will cancel it.
β οΈ On Xiaomi models 12S Ultra, Mix Fold 2 and new flagships use hardware binding IMEI Even after the reset, EDL The phone may remain locked, and in such cases, official service is the only way out.
How to avoid password problems in the future
To avoid being blocked the next time you reset, follow the simple rules:
- π Untie Mi Account before selling your phone: Settings β Xiaomi account β Get out;
- π Save backups of passwords in the manager (e.g. Bitwarden or Google Password Manager);
- π Regularly update the firmware in new versions MIUI Vulnerabilities that can bypass the blockage are eliminated;
If you often experiment with firmware, install TWRP Recovery. This custom recovery allows you to reset settings without a password, but requires an unlocked bootloader.
π‘
Even if you reset your settings via Fastboot or EDL, the Mi Account binding may still be there.Always check your account status in Settings β Xiaomi Account after the reset.