Resetting Xiaomi to factory settings is a radical but sometimes necessary step, helping to fix software failures, prepare the device for sale or remove traces of the previous owner. However, not all users know that an incorrect reset can lock the phone or erase important data without recovery. In this article, we will discuss all the current ways β from the standard menu to the Fastboot mode β and also tell you how to prepare for the procedure and what you can not do.
Xiaomi regularly updates the MIUI interface, so instructions from old manuals may not work. We tested all methods on the latest firmware versions (including MIUI 14/15 and HyperOS) and took into account the features of popular models β from Redmi Note 12 to Xiaomi 14 Pro. If your smartphone is stuck on the logo, does not respond to touch or requires unlocking after buying from hand β here you will find a solution.
When do I need to reset to factory settings?
Resetting is not a panacea, but in some cases it is the only way out.
- π± The phone is severely slowing down, apps spontaneously close, and cleaning the cache does not help.
- π You bought Xiaomi with your hands and want to delete the previous ownerβs data (including the tied Mi Account).
- π After updating MIUI Critical bugs (for example, camera or Wi-Fi is not working).
- π¦ Preparing the device for sale or transfer to another person.
- π¨ Phone locked due to too many failed password attempts.
- π οΈ Errors caused by manual changes to system files (e.g., after rooting) must be fixed).
However, resetting will not help if the problem is related to:
- π Physical breakdown of the battery or motherboard.
- π‘ Hardware defects of the communication module (for example, Wi-Fi antennas or Bluetooth).
- π§ Getting liquid under the screen or on the board.
β οΈ Note: If you are resetting your phone due to viruses, first try scanning it through Security in Settings.Some malware (like Triada or FakeApp) can survive reset if it is embedded in system partitions.
Preparation for resetting: what to do in advance?
Before reset, be sure to follow these steps, otherwise you risk losing important data or locking your device:
- Backup. Use the built-in Backup in Settings β About Phone or Third Party Services (Google Drive, Mi Cloud). It is especially important to save:
Mi Account
Mi Cloud Activation Lock
Charge the battery at least 50%.
"briku"
Remove the memory card and the SIM.
Xiaomi
If you reset a phone with a Mi Account tied, but donβt remember the password, first untie the device through account.xiaomi.com (Devices β Delete section), otherwise, after the reset, the phone will require the entry of credentials of the previous owner.
Make a backup copy|Check the battery charge (>50%)|Make sure you have access to your Mi Account|Extract SIM and SD-map|Remember the password from the lock screen-->
Method 1: Reset via the settings menu (the safest)
This is a standard method that works on all Xiaomi models with MIUI or HyperOS. Suitable if the phone turns on and responds to touch.
- Open Settings (the gear icon on the main screen).
- Go to About Phone (in HyperOS β About Device).
- Slip on Backup and Reset (or Reset in new versions).
- Select Resetting β Erase all data.
- If requested, enter PIN-code, pattern lock or password from the lock screen.
- Confirm the action by clicking Delete Data (or Delete Everything).
The phone will reboot and start the cleaning process. It can take 5 to 20 minutes -- don't interrupt it! -- when you're done, you'll see the screen of the initial setup, just like after you've bought it.
β οΈ Note: Some models (e.g. Redmi) 9A POCO X3) After a reset, you may still be linked to your Mi Account, and if you sell a phone, use the Recovery method (described below).
| Xiaomi model | Time to reset | Is a Mi Account Required After a Reset? |
|---|---|---|
| Xiaomi 13/13 Pro | 10-15 minutes | Yeah, if he was tied up. |
| Redmi Note 12 Pro+ | 8-12 minutes | Yes. |
| Poco F5 | 7-10 minutes | No (if the lock is disabled) |
| Redmi 10A | 5-8 minutes | Yes. |
π‘
Resetting through the settings menu is the safest way, but it doesnβt always remove the binding to the Mi Account. Use Recovery for full βcleanup.β
Method 2: Reset via Recovery Mode (if the phone is not turned on)
If Xiaomi is stuck on the logo, does not respond to touches or is blocked, Recovery mode will help, which works even without access to the main system.
- Turn off your phone. If it doesn't respond, press the power button for 10 to 15 seconds.
- Press the button combination to enter Recovery: For most models: Volume up + Power. For Redmi Note 8/9 and Poco X2: Volume up + Volume down + Power.
Hold the buttons until the Mi logo and menu appear in English/Chinese.
Recovery
Wipe Data
Wipe All Data
Clear All Data
Confirm
Reboot
Reboot to System
If you request a password in Recovery, it means that the Mi Account lock was enabled on the phone, in which case you will need to enter the account information that was associated with the device.
What to do if you recover in Chinese?
β οΈ Note: Some models (e.g. Xiaomi Mi 11 or Redmi) K40) After resetting via Recovery, an error may appear "This device is locked" which means that the phone is tied to Mi Account, and you will need to enter a login / password to unlock it.
Method 3: Fastboot Reset (for power users)
The method via Fastboot is suitable if:
- π§ The phone doesnβt even load in Recovery.
- π You need to bypass the Mi Account lock (only for unlocked bootloader!).
- π οΈ Refuse the device after a failed update.
This method will require a computer with installed Xiaomi drivers and the Mi Flash Tool or Fastboot commands.
- Download Mi Phone Manager from Xiaomiβs official website or use the universal ADB/Fastboot drivers.
- Upload the phone to Fastboot mode: Turn off the device. Press Volume down + Power before the screensaver with a rabbit in a hat-eared.
Connect your phone to your PC
Open the command line.
fastboot devicesIf the device is determined (its serial number will appear), run the command to reset:
fastboot erase userdata
fastboot erase cache
fastboot rebootFor a complete reset (including system partitions), use:
fastboot erase system
fastboot erase data
fastboot erase cache
fastboot rebootImportant: The last command will remove the firmware and the phone won't boot! It's only used before flashing through the Mi Flash Tool.
1. Reconnect. USB-cable.
2. disable driver signatures in Windows (via Run β bcdedit /set nointegritychecks on).
3. Use a data-enabled cable (not all charging cables are suitable for Fastboot).-->
Method 4: Reset via Mi Account (remotely)
If your phone is lost or stolen and you want to erase it, you can use the Remote Reset feature via Mi Cloud.
- Go to i.mi.com and log in with your Xiaomi account.
- In the Devices section, select the desired phone.
- Press Find the device. β Erase the data.
- Confirm the action via SMS or email.
β οΈ Note: After a remote reset, the phone will be locked through Mi Account Activation Lock. You can only unlock it by entering the username and password from the account that was tied to the reset.
Frequent Mistakes and How to Avoid Them
Even when following instructions, users face problems, and consider the most common errors and their solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| "This device is locked" after resetting | Phone tied to Mi Account | Enter the username/password from the previous ownerβs account or contact Xiaomi in support |
| phone is stuck on startup Mi Logo after reset | Cleaning process interrupted or firmware damaged | Repeat reset via Recovery or reflash the device via Fastboot |
| "Can't mount /data" in Recovery | Userdata section damaged | Run fastboot format:ext4 userdata via PC |
| No touch after resetting. | Sensor driver failure | Update your firmware via Recovery or Fastboot |
If the phone requires a password from an old Google account (not Mi Account!) after resetting, it means that FRP (Factory Reset Protection) protection has been enabled to bypass it:
- Connect your phone to Wi-Fi on the settings screen.
- Go back and enter any email/password 5 times until the Forgot Password button appears.
- Follow the instructions to reset your Google password (access to the mail that was tied will be required).
π‘
If the phone after reset asks for a password from Mi Account, and you do not know it β officially unlock the device can only be through Xiaomi support (you will need checks or a box).