How to wipe everything from Xiaomi phone: a complete reset to factory settings

Resetting Xiaomi to factory settings can be necessary in a variety of situations: before selling a device, after infection with viruses, critical system failures or just to free up space. However, an incorrect reset can lead to loss of important data, locking your Mi Account account or even β€œbricking” your phone. In this article, we will discuss all the working methods of deleting data from the standard menu to hidden functions of Fastboot and EDL, which work even on locked devices.

Xiaomi smartphones (including Redmi, POCO and Black Shark) feature binding to Mi Account and having a secure /data partition that is not always cleared in a standard reset. If you plan to sell a phone, be sure to check if the account is untied - otherwise the new owner will not be able to use the device. For models with a Qualcomm chip (such as Redmi Note 12 Pro +) and Mediatek (POCO M6 Pro), the procedures are different - we will specify the nuances for each case.

1. Standard reset via settings (without loss of account data)

The most secure method that works for most users: It retains its binding to the Mi Account, but deletes all user files, apps and settings. Works on all models, including the new Xiaomi 14 and Redmi Note 13.

To perform the discharge:

  • πŸ“± Open the Settings. β†’ The phone. β†’ Resetting settings.
  • πŸ”„ Select to erase all data (reset to factory).
  • πŸ”’ Enter a pattern lock or PIN-code (if installed).
  • βœ… Confirm the action by pressing Erase everything.

It takes 5-15 minutes, and when you restart it, the phone will suggest you set it up as new, and it's important that this method doesn't delete data from the microSD card, it needs to be formatted separately in the storage settings.

πŸ“Š Why you are dropping your Xiaomi phone?
I'm getting ready to sell.
I'm fixing lags and mistakes.
Remove viruses
Freeing up the memory
Another option

⚠️ Warning: If the phone has Find Device enabled, you'll need to reset your Mi Account password, and without it, your phone will turn into a brick. β†’ Google β†’ Security β†’ Find My Device.

2. Hard Reset via Recovery Mode (if the phone is not turned on)

If Xiaomi’s smartphone is stuck on the logo, does not respond to touches, or is locked with a pattern lock, hardware reset via recovery mode will help, which works even without access to the system, but requires physical access to the buttons.

Instructions for most models:

  1. Turn off the phone (press Power + Volume up for 10 seconds).
  2. Keep Power + Volume up until the Mi logo appears.
  3. In the Recovery menu, select the language (volume buttons) and confirm Power.
  4. Go to Wipe Data β†’ Wipe All Data and confirm the action.
  5. After completion, select Reboot.

On some devices (like POCO F5), the Recovery menu may look different. If there is no Wipe All Data option, look for Factory Reset or Erase Everything.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

3. Reset via Fastboot (for power users)

The method for cases when Recovery is unavailable or corrupted requires a computer with Xiaomi drivers installed and the Fastboot utility, suitable for unlocking the bootloader or recovering from a failed update.

Step-by-step:

  1. Download Google’s Platform Tools and unpack.
  2. Turn off the phone and press Volume Down + Power to log in to Fastboot.
  3. Connect your phone to your PC via USB.
  4. In the command line (on behalf of the administrator) do:
fastboot devices

If the device is determined, enter:

fastboot erase userdata


fastboot erase cache




fastboot reboot

On models with a locked bootloader (for example, Xiaomi 13T) before reset, you will need to unlock it through the official Mi Unlock Tool.

What if Fastboot doesn’t see the device?
Make sure that Qualcomm drivers are installed HS-USB QDLoader 9008 (for Qualcomm chips) or MediaTek Preloader. try another one USB-cable (original) and port USB 2.0 on a PC. If the phone is in mode EDL (black screen, you will need a special cable or testpoint.

4. Full formatting via Mi Flash Tool (for firmware)

This method erases all memory, including system partitions, and installs clean firmware, applies to serious crashes when the phone does not load even in Recovery, Suitable for models on Qualcomm (Redmi K60, Xiaomi 12 Pro, etc.).

Algorithm of action:

  • πŸ–₯️ Download the official firmware for your model (choose the Fastboot version).
  • πŸ”Œ Install the Mi Flash Tool.
  • πŸ“± Put your phone in Fastboot mode (Loudness down). + Nutrition).
  • πŸ”§ In Mi Flash Tool, select the downloaded firmware file (.tgz) and press Refresh.
  • βš™οΈ At the bottom, select Clean All (full formatting) and click Flash.

It'll take 10 to 20 minutes, and when it's done, it'll reboot in a factory state. IMEI, DRM-keys and eMMC data if the firmware is not correctly selected. Use only official files from Xiaomi website!

Resetting methodDeletes account dataPC requiredIt works on a locked phone.Implementation time
Reset via settings❌ No.❌ No.❌ No.5-15 minutes
Hard Reset (Recovery)❌ No.❌ No.βœ… Yes.10-20 minutes
Fastboot (teams)βœ… Yes.βœ… Yes.βœ… Yes.5-10 minutes
Mi Flash Toolβœ… Yes.βœ… Yes.βœ… Yes.15-30 minutes
EDL (Emergency mode)βœ… Yes.βœ… Yes.βœ… Yes.20-40 minutes

5. Discharge via EDL (for "bricks")

Emergency Download Mode (EDL) is the last chance to bring back a phone that doesn't respond to buttons, doesn't load in a Fastboot, or has a damaged firmware, used by service centers, but also available to home users with a dedicated cable or testpoint.

For EDL entry:

  • πŸ”Œ Connect your phone to a PC with a clamped button combination (depending on the model). For example, for Redmi Note 10 - Volume up + downward + Nutrition.
  • πŸ–₯️ In Device Manager should appear Qualcomm device HS-USB QDLoader 9008.
  • πŸ”§ Use the Mi Flash Tool or QFil to firmware the full image (firehose).

Warning: the wrong firmware in EDL can finally kill your phone. If you're not sure, contact the service center. For models on Mediatek (POCO X5, Redmi 10A), instead of EDL, BROM mode is used, which requires SP Flash Tool.

πŸ’‘

Before you run through EDL, check the phone model with the fastboot getvar product command in Fastboot mode. A mismatch between the firmware and the model will result in an SLA Auth error (on the new Qualcomm chips).

6. data deletion without reset (selective cleaning)

If the goal is to make room, you don't have to erase everything. Xiaomi has deep cleaning tools built in.

  • 🧹 Settings β†’ Warehouse β†’ Cleaning – removes cache, temporary files and debris.
  • πŸ“‚ Files. β†’ Categories β†’ Large files – shows files size >100MB.
  • 🎡 Settings β†’ Annexes β†’ Application Management – Size Sorting to Remove Unnecessary Programs.
  • πŸ” Security β†’ Scanning – Finds duplicate photos and videos.

For complete cleaning of the cache of Google services (can free up to 1-3 GB):

  1. Go to Settings β†’ Applications β†’ All applications.
  2. Find Google Play Services and click Storage β†’ Clear cache.
  3. Repeat to Google Play Store and Google Play Services.

πŸ’‘

Selective cleaning is safer than a complete reset, but it doesn't delete system files and settings. It's not enough to sell a phone -- it requires a factory reset.

7.What to do after resetting: setup and recovery

After a successful reset, Xiaomi's phone will launch as new.

  • πŸ”‘ When you first turn on, do not connect to Wi-Fi if you plan to sell your phone - otherwise, the binding to the Mi Account will be activated.
  • ☁️ If the reset was for yourself, restore the data from the backup (Settings) β†’ Additionally. β†’ Recovery and discharge).
  • πŸ”’ Update the firmware to the latest version (Settings) β†’ The phone. β†’ Updating the system).
  • πŸ›‘οΈ Enable Find Device and Google Find My Device for theft protection.

New models (Xiaomi 14 Ultra, Redmi Note 13 Pro)+) After reset, re-activation may be required DRM-camera keys and Widevine L1 (for Netflix HD). For that:

  1. Connect to the Internet.
  2. Launch the camera and wait for the activation message.
  3. Install Google TV and check the resolution in Settings β†’ Apps β†’ Google Play Movies.

⚠️ Warning: If the phone requires the old Mi Account password after reset and you don't remember it, don't enter it at random. After 5 failed attempts, the device will lock for 72 hours. In this case, only official unlocking through the Xiaomi website will help (proof of ownership will be required).

FAQ: Frequent questions about Xiaomi reset

Can I reset Xiaomi without a password from Mi Account?
Not if the phone has Find Device enabled. After reset, you need to enter the password from the associated account. The only exceptions are: the phone is officially purchased and never linked to the account. You unlocked the bootloader through the Mi Unlock Tool before reset. The device is older than 2018 (some models have weaker protection). In all other cases, without a password, the phone will become a brick.
How to reset Xiaomi if you forget the pattern lock?
There are 3 options: Through Mi Account: on the lock screen, click Forgot the password? and log in to Xiaomi. Hard Reset: reset via Recovery (data will be lost). Fastboot: if you know the commands, delete gesture.key or password.key via adb shell. On Android 12+ models (such as Xiaomi 13), resetting the key through ADB may not work due to enhanced protection.
Will the headset or smartwatch reset after the phone is reset?
No, the phone reset does not affect the connected devices Mi Band, Xiaomi Watch or Redmi Buds. However: Associating gadgets to the account Mi Account will remain. the sync settings (for example, notifications) will have to be adjusted again. Mi Band may need to re-pair through the application Zepp Life.
Why did the phone become slower after the reset?
Possible reasons: Unofficial or outdated firmware installed. Animations and background processes enabled (check Settings β†’ Special Options β†’ Remove Animations). The phone automatically restored apps from Google backup. New models (Xiaomi 14) can run MIUI Optimization β€” disable it in the developer settings. Solution: reset again, but don't restore data from the backup right away. Check the speed on a clean system.
Can I return the data after resetting?
Theoretically yes, but with reservations: πŸ“ Memory card files: If the microSD is not formatted, data can be recovered via Recuva or DiskDigger. πŸ“± Internal memory: Recovery is almost impossible after Wipe Data (data overwritten). ☁️ Cloud Backups: Check Google Drive (Settings) β†’ Google β†’ Backups or Mi Clouds: Professional recovery requires Chip-Off (direct memory chip reading), which is expensive and not always possible on newer models with encryption. FBE.