How to make a rollback to factory settings on Xiaomi: all ways to reset

Resetting Xiaomi’s smartphone to factory settings is a procedure that can be required in a variety of situations, from preparing the device for sale to fixing software failures. However, not all users know that there are three fundamentally different methods for performing this operation, each of which has its own nuances, advantages and risks. For example, resetting through the phone’s settings saves some system files, while hard rollback through Fastboot removes absolutely everything, including hidden partitions.

In this article, we will go through all the current reset methods for Xiaomi, Redmi and POCO devices (including the models of 2023-2026), explain how to avoid losing important data if you choose the wrong method, and reveal little-known subtleties – for example, why IMEI sometimes disappears after resetting through Recovery and how to fix it.

When do I need to reset to factory settings?

Many users resort to resetting as a β€œlast resort,” but there are actually clear signs when the procedure is warranted:

  • πŸ“± Hanging and lag: if the smartphone slows down even after cleaning the cache and removing unnecessary applications, the reset can return performance.
  • πŸ”„ Cyclical reboot: The device turns on, shows the Mi logo, then restarts – a classic symptom of system file corruption.
  • 🚫 Blocking MI-account: when buying a used phone with a previous owner’s account tied (only for unlocking through official channels!).
  • πŸ“¦ Preparing for sale: Complete removal of personal data, photos, passwords and application history.
  • πŸ”§ After an unsuccessful update: if the firmware "broken" functionality (for example, the camera or mobile network stopped working).

But there are also false reasons to reset, which are common on forums, such as the fact that a battery discharge in 2-3 hours is almost never associated with software errors, either battery wear or application background activity, in which cases resetting will not help, only erased data.

⚠️ Note: If your Xiaomi is locked through Find Device, a factory reset won’t remove the blockβ€”it will require the entry of the Mi Account associated with the device.

πŸ“Š Why do you want to lose your Xiaomi?
Remove the lags and brakes
Prepare for sale
Correct errors after updating
Remove viruses
Other

Method 1: Reset via the settings menu (soft reset)

The simplest and most secure method, which requires no additional tools, is suitable for most situations when the phone turns on and responds to touch, the main advantage is the ability to choose which data to save (for example, photos on a memory card).

The instructions are valid for all devices on MIUI 12-14 (including Redmi Note 12, Xiaomi 13, POCO F5):

  1. Open Settings β†’ About Phone β†’ Memory (or Settings β†’ Additional β†’ Restore and Reset on Older Versions).
  2. Select Reset (or Erase All Data).
  3. The system will then choose what to remove: πŸ“± All data – complete cleaning (recommended before sale). πŸ”„ Settings only – photos, videos and documents are saved.

PIN-code

Wait for the reboot (it will take 3-10 minutes).

Once completed, the smartphone will turn on with the initial setup, as after purchase: you will need to reconnect to Wi-Fi, log into your Mi Account (if it was tied), and restore data from the backup (if it was created).

Make sure battery power > 50% | Save important files to your PC or cloud | Remember Wi-Fi and account passwords | Untie your device from Google Pay (if used) | Sign out of your Mi Account (optional)

-->

⚠️ Note: If you use two-factor authentication in your Mi Account, you may need to confirm via a reset. SMS Make sure you have access to them or you risk losing access to the device!

Method 2: Recovery Mode (hard reset)

This is the method used when the smartphone is not turning on, getting stuck on the Mi logo, or the screen does not respond to touch. No special programs are needed to log into Recovery, only physical access to the phone buttons.

  • βš™οΈ On new models (Xiaomi) 12/13, Redmi Note 11/12) used MIUI Recovery with touch control.
  • ⌨️ On older devices (Redmi) 4X, Mi A1) β€” Classic menu with volume button control.
  • πŸ”’ If you have a boot password, you will need to enter it.

Step-by-step:

  1. Turn off the phone (if it freezes, press the power button for 10-15 seconds).
  2. Click the combination: For most models: Power button + Volume up. For POCO F1/F2: Power button + Volume down.
  3. Hold the buttons until the Mi logo appears, then let go.
  4. In the Recovery menu, select the language (if you have a choice: πŸ“± On Touch Models: Tap Wipe Data β†’ Wipe All Data. ⌨️ On the buttons: select Wipe Data with the volume button, confirm the power button.

Confirm the action (a password may be required).

Reboot β†’ Reboot to System

The process will take 5-15 minutes. If after the reboot the phone again hovers on the logo, this may indicate damage to the firmware - you will need to flash through Fastboot (see Method 3).

ParameterReset via settingsReset via RecoveryReset via Fastboot
PC required❌ No.❌ No.βœ… Yes.
Deletes the data completely⚠️ Partially (can be selected)βœ… Yes.βœ… Yes (including hidden sections)
It works on a locked phone.❌ No.βœ… Yes (unless you have a password for Recovery)βœ… Yes.
Restores the IMEIβœ… Yes.⚠️ Sometimes sheds❌ May be removed (backup required)
Difficulty⭐ Very simple.⭐⭐ Middle-Average⭐⭐⭐ Hardly.
What if the phone does not turn on after resetting via Recovery?
If the device does not load beyond the Mi logo after the reset procedure, this may mean: 1. Damage to the system partition - flashing through the Fastboot is required. 2. Error EFS-(i) Proprietary data, including IMEI). In this case, only recovery through the Mi Flash Tool with the Clean All and Lock tick (but this will delete all data irrevocably). 3. Hardware failure (for example, a memory chip dump) will help only the service center. Repeat the reset via Recovery, but choose Wipe & Reset instead of Wipe All Data. If it doesn't work, go to Method 3.

Method 3: Complete Fastboot reset (for power users)

This is the most radical method used in extreme cases:

  • πŸ”§ Phone does not respond to reset via Recovery.
  • πŸ“± You must delete all data without the possibility of recovery (for example, before selling with a guarantee of confidentiality).
  • πŸ”„ Refuse the device to another version MIUI.

This will require a computer with installed Xiaomi drivers and the Mi Flash Tool program.

Important: This method deletes all data, including IMEI, serial number and warranty data. If you don't back up the EFS partition, the phone could lose network! Backup instructions are in Xiaomi's official documentation (the Advanced section in the Mi Flash Tool).

Step-by-step:

  1. Download the Mi Flash Tool from Xiaomi’s official website.
  2. Install drivers for your model (e.g. Qualcomm HS-USB QDLoader 9008 for smartphones on Snapdragon).
  3. Turn off the phone and put it into Fastboot mode: Press the power button + volume down for 10 seconds.
  4. Connect the device to the PC through USB-cable (preferably original).
  5. In the Mi Flash Tool, select the downloaded firmware (.tgz format) and press Refresh – the program must determine the device.
  6. Select Cleanup Mode: Clean All deletes everything, including Mi. Clean All and Lock account details, the same thing, but blocks the bootloader (for security).

Flash

Once you flash it, the phone will turn on in a clean state, like after you buy it. If you used Clean All and Lock, the bootloader will be locked, which protects against accidental flashing in the future.

⚠️ Note: On some models (Xiaomi) 11T, Redmi K40) Once reset, the Fastboot may lose encryption, which means that the internal memory will be formatted as portable storage and will have to be reconfigured into Settings. β†’ Memory.

1.Use USB-cables (not all cables support data transmission).

2. disable driver signatures in Windows (via gpedit.msc).

3. Reinstall drivers manually through Device Manager (select Mi Flash in the list).

4. try another PC (sometimes drivers from other manufacturers conflict).

-->

What to do after resetting: setup and recovery of data

After a successful reset, you have to set up the device first.

  1. Wi-Fi connection: Without the internet, you can’t log in to your Mi Account or recover data.
  2. Log in to Xiaomi account (if it was tied before reset). If you forgot the password, restore it through the official website.
  3. Data recovery: πŸ“± From Mi Cloud: if synchronization was enabled. πŸ–₯️ From the computer: via Mi PC Suite or manually (copy files to internal memory). πŸ”„ From backup: if you did backup through Settings β†’ System system β†’ Backup.

IMEI verification

*#06#

Firmware update

Settings β†’ About the phone β†’ System update

MIUI

If you notice that there is no mobile network or sensors working after the reset, this may be due to:

  • πŸ“‘ Damage to the modem partition - will help flashing through Fastboot.
  • πŸ”§ Failure in settings APN β€” Check the parameters of the mobile Internet operator.
  • πŸ”‹ Hardware malfunction (for example, antenna plume) - diagnostics are required.

1. camera operation (sometimes the driver settings are reset).

2. Fingerprint and Face ID (resetting may be required).

3. Sound in speakers (some models are reset) EQ-setting).

-->

Frequent Mistakes and How to Avoid Them

Even experienced users sometimes make mistakes when resetting Xiaomi, and here are the most common ones and ways to prevent them:

Mistake.Reason.How to fix it
The phone will not turn on after resettingDamage to the boot partition or firmware.Fastboot with the clean all checkmark.
Requires a password from your old Mi AccountThe device is linked to another account (after purchasing a used one).Contact the previous owner or support Xiaomi with proof of purchase.
No mobile network (IMEI reset)The EFS section is removed when reset via Fastboot.Restore the IMEI through the Engineering Menu (#4636##) or Service Center.
Touch ID/Face Unlock is not working.Sensor data dropped.Re-register the fingerprint/face in the security settings.
Permanent resets after resetConflict of firmware and loader versions.Switch the latest stable version of MIUI through the Mi Flash Tool.

One of the most insidious mistakes is that you lose your Google account data after you reset it, and if you have FRP (Factory Reset Protection) enabled on your device, you'll need to reset your phone, and you'll need to enter your login and password from the last Google account you connected to, which is a theft protection measure, and you can't legally get around it, and the only way out is to remember the data or restore access through Google's recovery page.

How to get around FRP on Xiaomi (for legitimate owners only!)
Note: This method is only for owners who have forgotten their account details.Use to bypass security on stolen devices is punishable by law. 1. Connect your phone to Wi-Fi on the welcome screen. 2. Go back and select an emergency call). 3. Dial it ##4636## β€” The engineering menu will open. 4. Go to Usage Statistics β†’ Back β†’ Google App. 5. In Google Settings, disable Automatic updates and delete app data. 6. Return to the welcome screen – the Google account request should disappear. Note: On new versions MIUI 13/14 This method may not work, and then you'll need to run a Fastboot firmware that's offline. FRP (But it'll delete all the data).

FAQ: Answers to Frequent Questions

Can I reset if I forget the pattern lock?
Yes, but the method depends on the model: Xiaomi with MIUI 12-14: 5 times enter the wrong key, then click Forgot the password? and log in through the Mi Account. On older models: reset via Recovery (see Method 2), but this will delete all data. If the Mi Account is not tied, you will have to sew through Fastboot.
Will the warranty work after a Fastboot reset?
Yes, the warranty is maintained if: You used official firmware from Xiaomi, did not unlock the bootloader by unofficial methods, did not damage the seals on the device. However, if after the reset there are problems (for example, the camera does not work), the service center can refuse warranty repairs, citing β€œincorrect firmware.” To avoid this, only stitch stable versions of MIUI through the Mi Flash Tool.
How to Reset Xiaomi if it Doesn’t React to the Buttons
If the phone is completely dead (no button response, no charge), try: Connect to charge for 30 to 60 minutes - sometimes the battery is discharged to zero. Press Power button + Volume up + Volume down for 20 to 30 seconds (emergency reboot). If it doesn't work, contact the service center. Possible reasons: failure of the power button. Damage to the motherboard. Short circuit of the battery. Reset through software methods in this case is impossible - repair is required.
Can I return the data after resetting?
Depending on the reset method: Reset via settings: data can be recovered using programs like Dr.Fone or EaseUS MobiSaver, but only if the internal memory has not been overwritten. Recovery/Fastboot reset: recovery is almost impossible, since the data is deleted at a low level. The best protection is backup before reset. Use Mi Cloud or local backup through Settings β†’ System β†’ Backup.
Why did the phone become slower after the reset?
This may be due to: Background optimization: after resetting MIUI, the first 24-48 hours index files and optimize performance. Outdated firmware: check for updates in Settings β†’ About phone. Overheating: if the reset was done on a discharged battery, it could damage the power controller. Wrong firmware: if you were flashed through Fastboot, make sure the MIUI version is suitable for your model. Solution: wait for optimization to complete, update the firmware and check the battery temperature in Settings β†’ Battery.