Forgot the password from Xiaomi and can not unlock the phone? the situation is familiar to many: the smartphone asks to enter PIN-And you can't remember a code or a pattern lock, or you can't remember it, or you've bought it with your hands locked, and fortunately, resetting to factory settings through recovery mode or special tools will help you get access back. MIUI 14/15, Some may cause data loss or even βbrickingβ of the device.
In this article, we will discuss 5 working ways to reset Xiaomi, Redmi and POCO without a password β from the standard Hard Reset via Recovery Mode to advanced methods using Fastboot and Mi Flash Tool. Particular attention will be paid to bypassing the Mi Account lock (if the phone is linked to a Xiaomi account) and saving data where possible. All instructions are relevant for 2026 and tested on models from Redmi Note 10 to Xiaomi 14 Ultra.
β οΈ Warning: Factory reset removes all data from internal memory (photos, contacts, messages) if encryption is enabled on the phone (default in new versions) MIUI), It will be almost impossible to recover files after a reset, even with professional tools like Dr.Fone or Tenorshare. 4uKey. Before starting the procedure, make sure you have a backup of important data (e.g., in Google Drive or Mi Cloud).
1. Standard Recovery Mode reset (works on 90% of models)
The most versatile way to reset Xiaomi without a password is to use Recovery Mode, which is suitable for most devices, including Redmi 9/10/11, POCO X3/X4/X5, Mi 11/12/13 and others. The main condition is that the phone must be installed stock Recovery (not custom, for example, TWRP).
How to log in to Recovery Mode:
- π Turn off the phone (press the power button for 10 seconds if it is frozen).
- π§ Press the power button at the same time. + Loud up and hold for 5-10 seconds until the Mi logo appears.
- π± The screen will display the Recovery menu (in English or Chinese).
Follow the instructions:
- Use volume buttons for navigation and power button to select the item.
- Select Wipe Data β Wipe All Data (or Factory Reset in older versions).
- Confirm the action by choosing Confirm.
- After the process is complete, select Reboot β Reboot to System.
β οΈ Note: If after resetting the phone requires you to enter Mi Account data (even if you did not tie it), then Factory Reset Protection is activated on the device (FRP). This will require additional traversal β see section 4.
Turn off your phone (not "reboot"!)
Press the correct button combination (power + volume up)
Wait for the Recovery menu to appear (donβt release the buttons before the time)
Do not interrupt the reset process (may take 5-15 minutes)
-->
2. reset via Fastboot (if Recovery is blocked or not working)
If the standard Recovery Mode is not available (for example, the phone gives an error "This" MIUI version cannot be installed on this device"), you can use Fastboot mode. This method requires connecting the phone to the computer and installing drivers. ADB/Fastboot, It works even on locked devices.
Step-by-step:
- Install Platform Tools on PC (includes fastboot and adb).
- Turn off your phone and press the Power button + Volume down to enter the Fastboot Mode (a rabbit in a hat will appear).
- Connect the device to the computer through USB-cable (preferably original).
- Open the command prompt (cmd) in the folder with Platform Tools and type:
fastboot devices(Your phone serial number should be displayed. If not, check the driver.)
fastboot erase userdata
fastboot erase cache
fastboot rebootπΉ What do these teams do:
- π§Ή erase userdata β deletes all user data (including password).
- ποΈ erase cache β clears the cache (optional, but recommended).
- π Reboot β Reboots the phone.
β οΈ Note: Some models (e.g. Xiaomi) 12T or POCO F4) The fastboot erase userdata may not work due to anti-Rollback protection, in which case you will need a complete flashing through the Mi Flash Tool (see section 5).
π‘
If the fastboot command is not recognized, add the path to Platform Tools to Windows environment variables or use the full file path (e.g., C:\platform-tools\fastboot.exe).
Password bypass through Mi Account (if the phone is linked to the account)
If you reset your phone and ask for a username and password from Mi Account, you have Factory Reset Protection (FRP) activated, a standard security feature on all Xiaomi released after 2018, and you can get around it in several ways:
Method 1: Restore access to your Mi Account
- π§ Go to the Mi Account website and try to recover your password via email or phone.
- π If you remember your email but not your password, use the Forgot Password function?".
- π± If the phone is linked to another account (e.g., bought with your hands), ask the seller to untie the device via Settings. β Mi Account β Delete the account.
Method 2: Bypassing FRP through test mode (for MIUI 12β14)
This method works on most Redmi and POCO models with MIUI 12-14.
- On the Mi Account Enter screen, click "Add Account".
- Enter any email (e.g. test@gmail.com) and any password.
- After the authorization error, the βHelpβ button will appear β click it.
- Select "Forgot the password?" β The system will redirect you to the browser.
- In your browser, type in the address https://unlock.frp.by (or any other site to bypass FRP) and follow the instructions.
πΉ Alternative: You can download the site instead APK-circumvention FRP (for example, FRP Bypass APK) and install it through the browser.
Why Xiaomi is blocking the phone after a reset?
4. Reset via service codes (works on older models)
Some Xiaomi devices (mostly released before 2019) can reset without password using service codes, a method that does not require a computer and works directly from the phoneβs interface, but is not suitable for all models.
Try the following codes:
- π ##7780## - soft reset (removes settings but saves data).
- π *2767*3855# β Full reset (removes everything, including firmware) Dangerous! IMEI.
- π§ ##4636## β "Testing" β "Clear the data" (works on some Redmis) 4/5).
β οΈ Attention: Code *2767*3855# level-over EFS-section where data is stored IMEI and network settings. On new models (Redmi Note) 10 This code is guaranteed to convert the phone into a βbrickβ β use it only as a last resort!
| Xiaomi model | Does #7780###work? | Does *2767*3855# work? | Risk of losing IMEI |
|---|---|---|---|
| Redmi 4/4A/4X | β Yes. | β Yes. | Medium. |
| Redmi 5/5A/5 Plus | β Yes. | β οΈ Partially. | High-pitched |
| Redmi Note 7/8 | β No. | β No (brick) | critical |
| POCO F1/F2 | β No. | β No. | critical |
| Xiaomi Mi 9/10/11 | β No. | β No. | critical |
Reset via Recovery Mode
Used Fastboot.
Bypassed Mi Account
Tried service codes.
None of the above.
-->
5. Complete flashing through the Mi Flash Tool (for power users)
If all previous methods failed, the last option is to completely flash the phone through the official Mi Flash Tool, which is guaranteed to delete the password and all data, but requires:
- π₯οΈ Windows computer (7/10/11).
- π Original. USB-cable (better from the set).
- π₯ Firmware for your model (download from the official website).
- π§ Installed Qualcomm or Mediatek drivers (depending on the processor).
Step-by-step:
- Download and install the Mi Flash Tool.
- Unpack the firmware archive (.tgz or.zip format) into a folder without Cyrillic characters.
- Turn off your phone and log in to Fastboot Mode (Power + Volume Down).
- Connect the device to your PC and start the Mi Flash Tool.
- Click Select and point the way to the firmware folder.
- At the bottom, select the βClean Allβ mode and click Flash.
- Wait for the process to complete (5-10 minutes) and restart the phone.
β οΈ Warning: Flashing through the Mi Flash Tool resets all partitions, including modem and EFS. If you choose the wrong firmware (for example, for another model or region), the phone may be able to use the same software:
- π΅ Stop catching the net (loss) IMEI).
- π΄ Obsess over the Mi logo (bootloop").
- π§± Turn into a brick (not included at all).
πΉ How to avoid problems:
- π Download the firmware exactly for your model (check in Settings). β The phone. β Model).
- π Choose a version for your region (Global, China, EEA).
- π Do not interrupt the firmware process (even if it is stuck at 99%).
π‘
The Mi Flash Tool is the only way to unlock Xiaomi if you have forgotten your password and your Mi Account is tied to your device, but it requires strict adherence to instructions and is only suitable for experienced users.
6. Alternative methods: ADB and third-party tools
If you don't want to risk firmware or you don't have access to a computer, you can try alternative methods. They're less reliable, but sometimes they work.
Method 1: Delete password through ADB (if debugging is enabled)
If the phone has previously been activated debugging over USB (Settings β For developers β Debugging over USB), you can delete the password through ADB commands:
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πΉ Note: New versions MIUI (13+) This method only works if the phone is not encrypted.
Method 2: Using programs to bypass passwords
There are specialized tools for unlocking Xiaomi without a password:
- π οΈ Tenorshare 4uKey For Android β a paid program, supports bypassing FRP and PIN-code.
- π Dr.Fone β Screen Unlock β works with graphical keys and passwords.
- π± iMyFone LockWiper β Deletes all types of locks, including fingerprints.
β οΈ Risks: These programs often require payment ($30β50) and may contain malicious code. Check reviews on independent resources (e.g., before using, XDA Developers).
Method 3: Contacting a Service Center
If nothing helps, contact the official Xiaomi service center.
- π Check or warranty card (proof of purchase).
- π Passport (for proof of identity).
- π° Payment for the service (from 1000 to 3000 rubles, depending on the model).
πΉ Pros: Guaranteed result without risk of damaging the phone.
πΈ Cons: Long wait (from 3 days) and possible failure if the device is not warranty.