How to completely reset Xiaomi: 5 working ways to reset to factory settings

Resetting Xiaomi to factory settings is a necessary procedure when selling a device, fixing software failures or preparing for firmware. However, not all users know that an incorrect reset can lead to Mi Account locking, data loss or even β€œbricking” a smartphone. In this article, we will analyze all the current ways of zeroing, from the standard menu to forced reset via Fastboot, and also explain how to avoid typical errors.

It is important to understand that the term β€œreset” in the context of Xiaomi implies two scenarios: soft reset (only user content is removed, the system remains intact) and hard reset (full formatting of the /data partition and returning to β€œclean” firmware). The choice of method depends on the goal: if you just need to clean the device before selling, the first option will suffice; if the smartphone slows down due to viruses or damaged system files, the second one will be required.

The article is updated for devices on MIUI 14/15 and HyperOS, but most methods work on older versions (for example, MIUI 12). For models with Qualcomm processors (Redmi Note 12 Pro+, Xiaomi 13T) and Mediatek (Poco X5, Redmi 12C) instructions are universal, but there are nuances with unlocking the bootloader - we will also consider them.

1.Reset preparation: what to do before zeroing

Before you reset Xiaomi, follow the steps to avoid losing important data or locking your device:

  • πŸ“± Create a backup. Use the built-in Backup app (Settings) β†’ The phone. β†’ Backups or third-party tools like Swift Backup (requires root).Please note: Mi Cloud backups don't save some application settings!
  • πŸ”’ Make sure that the Mi Account binding is disabled. If the smartphone is linked to a Xiaomi account, you will need to enter a login / password after the reset. β†’ Xiaomi account.
  • πŸ”‹ At least 50% charge: Interrupting the reset process due to battery discharge may damage system files.
  • πŸ“‘ Disable your Google Account (if you plan to sell your device) and remove the link to your account. FRP (Factory Reset Protection). Pathway: Settings β†’ Google accounts β†’ Delete the account.

If you forget your password or can’t remember your email, the device may require proof of ownership after reset β€” and without it, unlocking is only possible through the official Xiaomi service. In some regions (for example, in China), this procedure is paid and takes up to 7 days.

⚠️ Note: On devices with an unlocked bootloader, a reset via Recovery may result in a loss of TWRP If you use unofficial software, pre-create a backup of the boot partition via adb backup or OrangeFox Recovery.

πŸ“Š How often do you reset your smartphone to factory settings?
Once a year.
Just before the sale.
Never.
In case of serious failures

2. Method 1: Reset via the settings menu (the safest)

This method is suitable for most users, as it does not require additional tools and preserves the integrity of system files. POCO on MIUI/HyperOS:

  1. Open the Settings. β†’ The phone.
  2. Slip on Backup and Reset (in HyperOS, the path may be called Settings Reset).
  3. Select Resetting β†’ Erase all data.
  4. Enter. PIN-code or pattern lock (if installed).
  5. Confirm the action by clicking Reset Settings.

It takes 5 to 15 minutes depending on the model, and after you reboot, you'll see the screen of the initial setup, like after you buy it, and this method doesn't remove system updates, it's the version of MIUI/HyperOS that was installed at the time of the reset.

Make sure to disable Mi Account (if necessary)

Check the battery charge (>50%)

Create a backup copy of important data

Remember the password from the Google account (for FRP)

-->

If after reset, the smartphone requires you to enter Mi Account data, but you do not remember them, try to restore access through account.xiaomi.com. In case of failure, contact the section about unlocking.

3. Method 2: Hard Reset via Recovery Mode

This method is used when the smartphone is not turning on, getting stuck on the MI logo or not responding to touch.

  1. Press the Power + Volume button up for 10-15 seconds.
  2. After the Mi Recovery logo appears, release the buttons.
  3. Use volume buttons for navigation and power for selection.
  4. Select Wipe Data β†’ Wipe All Data β†’ Confirm.
  5. Once completed, go back to the main menu and select Reboot.

Note: In HyperOS, the Recovery menu may look different – instead of Wipe Data, look for Factory Reset. On some models (for example, Xiaomi 12 Pro), you need to enter a password from Mi Account to confirm the reset, even if the device is not tied to the account!

ModelCombination for RecoveryFeatures
Redmi Note 10/11/12Food + Volume upMIUI 13+ may require a Wi-Fi connection to confirm the reset.
POCO F3/F4/F5Food + Volume upIn Recovery, the Connect with MiAssistant option is available for unlocking via PC.
Xiaomi 13/14 UltraPower + Volume up (hold 20+ seconds)On some firmware, the reset is blocked without connecting to the Mi Account.
Redmi A1/A2Food + Volume up + Volume downBudget models may not have full-fledged Recovery, just Fastboot.

⚠️ Attention: On devices with a blocked bootloader, a reset via Recovery can lead to the activation of an antirollback - protection against rollback on the old firmware. MIUI version cannot be downgraded, you will need firmware through Fastboot with official software.

Method 3: Reset via Fastboot (for power users)

This method is used when:

  • πŸ”§ The smartphone does not load even in Recovery.
  • πŸ“± You need to reset the device with the Mi Account locked (illegally, but it is possible on older models).
  • πŸ”„ You need to run a clean version. MIUI/HyperOS slack-top.

To reset via Fastboot, you will need a computer with ADB/Fastboot drivers installed and the official firmware for your model.

  1. Download the firmware for your model from en.miui.com (select the Fastboot version, not Recovery).
  2. Unpack the archive in a folder on the disk C:\ (for example, C:\miui_fastboot).
  3. Connect the off smartphone to the PC, holding Power + Volume down (Fastboot mode).
  4. Open the command line in the firmware folder and execute: fastboot -w fastboot flash all Command -w clears the data partition, and flash all reflashes all partitions.
  5. Upon completion, type in fastboot reboot

On models with a Mediatek processor (e.g. Redmi 10C or POCO M5), instead of fastboot flash all, use the command fastboot flash system.img, as full firmware can cause a FAILED error (remote: 'Not allowed in Lock State').

What if the Fastboot can’t see the device?
If the fastboot device command doesn’t show your smartphone: 1. Check your USB connection (try another cable/port). 2. Install Mi Flash Tool drivers from the official website. 3. Disable the driver signature in Windows (to do this, type in the command line on behalf of the administrator: bcdedit/set testsigning on and restart the PC). 4. Some models (Redmi 9A, POCO M3) require you to unlock OEM Unlock in Settings β†’ For developers (before the device stops turning on!).

5. Method 4: Reset via Mi Account (remotely)

If you lose your smartphone or it's locked, but you have access to your Mi Account, you can reset remotely, and this only works when your device is actively connected to the Internet (via mobile or Wi-Fi).

  1. Go to i.mi.com and log in.
  2. In the Devices section, select the desired smartphone.
  3. Press Find the device. β†’ Erase the data.
  4. Confirm the action via SMS or email.

Remote reset has limitations:

  • ⏳ The process can take up to 24 hours (depending on the speed of the device connection).
  • πŸ“΅ If the smartphone is turned off or without the Internet, the command will be executed at the first connection.
  • πŸ” After the reset, you will need to re-authorize in the Mi Account.

On HyperOS models (such as Xiaomi 14 or Redmi K70), the remote reset may not work due to enhanced data protection, leaving only a call to the service center with a confirmation of purchase.

6 Unlocking after reset: what to do if you require Mi Account

If Xiaomi requests Mi Account data after zeroing out, but you don’t remember them, there are several ways to solve it:

  • πŸ”‘ Access Restoration. Go to account.xiaomi.com and use the Forgot Password feature?. You will need access to your linked email or phone number.
  • πŸ“„ Official unlock. Contact Xiaomi Service Center with a check to buy. In some countries (for example, in Russia), the procedure is free, in China - paid (~$10–30).
  • πŸ› οΈ Passage EDL (On models with a Qualcomm processor, you can flash the device in mode. EDL (Emergency Download Mode) with the Mi Flash Tool and official firmware, which violates the warranty and may result in blocking IMEI!

For devices purchased in China, unlocking Mi Account often requires confirmation via WeChat or a Chinese phone number, and if you don’t have access to them, the only legal option is to contact the service with the original box and check.

πŸ’‘

If you buy Xiaomi with your hands, always check the status of Mi Account through Settings β†’ Xiaomi Account β†’ Device Status. If it says Device is tied, ask the seller to untie it before the deal!

7 Frequent errors in resetting and how to avoid them

Even experienced users face problems when Xiaomi is zeroed out, and here are the most common mistakes and solutions:

Mistake.Reason.Decision
This device is locked in FastbootBlocked bootloader (bootloader)Unlock through Mi Unlock Tool (requires a wait of 7-15 days).
Smartphone got stuck on logo after resetDamage to system files or incompatible firmwareSwitch official software through Fastboot or Recovery.
Can't verify update in RecoveryA damaged firmware file or an incorrect versionDownload the firmware again from the official website and check the checksum (MD5).
After reset, there is no network (IMEI invalid)Damage to the modem partition or unofficial firmwareRestore IMEI through QCN-file (Qualcomm device required) or contact the service.

If photos or contacts are missing after reset, check:

  • πŸ“ folder MIUI/Backup/AllBackup internal memory – sometimes backups are saved automatically.
  • ☁️ Mi Cloud (if synchronization was enabled).
  • πŸ“§ Gmail (contacts could be synced to a Google account).

πŸ’‘

If the smartphone after reset does not turn on or shows an error No command, do not try to flash it yourself without experience.

FAQ: Answers to Frequent Questions

Can you reset Xiaomi without losing data?
No, a full reset always deletes user data (photos, apps, settings). However, you can: Back up through Settings β†’ Backup, copy important files to your PC or cloud manually, use applications like Titanium Backup. If the goal is to fix crashes without losing data, try Cache Cleanup in Recovery first.
How to reset Xiaomi if you forget the pattern lock?
There are three options: Mi Account: Enter the wrong key 5 times β†’ will appear button Forgot the password? β†’ log in via Mi Account. Through Recovery: Reset via Wipe Data (data will be lost). Through Fastboot: Sweep the device with cleaning the data partition (see section 4). On new models (Xiaomi 13/14, Redmi Note 12) after 5 wrong attempts, it can take 24 hours to wait.
Why does Xiaomi ask for an old Wi-Fi password after a reset?
This is a feature of MIUI/HyperOS: after reset, the system stores the settings of some networks (for example, saved Wi-Fi hotspots) in encrypted form. If you do not remember the password: Connect to another network (mobile Internet or other Wi-Fi). Reset network settings through Settings β†’ Wi-Fi β†’ Additional β†’ Reset network settings. If the smartphone asks for a password from the old network on the first turn on, skip the Wi-Fi connection step (click Skip).
Can you reset Xiaomi through a computer without a Fastboot?
Yes, with the official Mi PC Suite: Download Mi PC Suite from pcsuite.mi.com. Connect your smartphone to your PC via USB (enable USB Debugging in Developer Settings). In the utility, select Backup and Reset β†’ Factory Reset. This method only works if the device is turned on and not locked.
How do I know if my bootloader is unlocked on my Xiaomi?
There are two ways: Enable Developer Mode (7 times tap the MIUI version in Settings β†’ About Phone), then check the status in Settings β†’ For Developers β†’ bootloader Locking Status. Connect the device to your PC and execute the command: adb reboot bootloader fastboot oem device-info If the response has a Device unlocked: true, the bootloader is unlocked.