How to wipe data on Xiaomi: a full reset via Recovery, Fastboot and MIUI

Resetting your Wipe data on Xiaomi smartphones is a radical but sometimes necessary way to get your device back on track. The procedure removes all user data, apps and settings, bringing the system back out of the box. However, many users confuse wipe data with factory reset, don't understand the difference between a MIUI and Recovery reset, or are afraid to accidentally lock the phone. This article will take you through everything from preparation to reset to recovering data after it.

Important: wipe data is not equivalent to formatting internal memory. It only erases the /data partition (where applications and settings are stored), but does not affect files in DCIM, Downloads or MIUI folders. However, on some models (for example, Xiaomi 12T Pro or Redmi Note 11 Pro+), reset can also delete media files - this depends on the version of MIUI and the type of encryption. We will tell you how to check what data will be erased specifically on your device.

What is the difference between factory reset and hard reset?

The terms are often used synonymously, but technically they refer to different processes:

  • ๐Ÿ”„ Wipe data โ€“ partition cleaning /data (Applications, settings, accounts. Run through Recovery or Fastboot.
  • โš™๏ธ Factory reset โ€“ reset via settings MIUI (menu settings โ†’ The phone. โ†’ Resetting settings. Often includes wipe data + Additional activities (for example, cleaning the cache).
  • ๐Ÿ”จ Hard reset is a forced reboot with a cleanup, usually through a combination of buttons. On Xiaomi, it is most often the entrance to Recovery Mode.

The key difference is that wipe data is a low-level operation that works even if the system is not booting. Factory reset requires a working MIUI. For example, if your Poco X5 Pro is stuck on the logo or has gone to the bootloop, only wipe data via Recovery or Fastboot will help.

Another nuance: on devices with an unlocked bootloader, a reset can lead to re-locking if you do not use special commands, which we will discuss in the section about Fastboot.

๐Ÿ“Š Why You Need a Reset on Xiaomi?
The device is braking or glitching
I want to sell/give my phone away.
Forgot a pattern lock or password
After a failed update MIUI
Other

When do you really need to wipe data on Xiaomi?

Resetting is not a panacea, and often problems are solved with less radical methods, and here are specific cases where wipe data is justified:

  • ๐Ÿข The phone has become unbearably slow despite clearing the cache and turning off background processes. 9A After a year of use, the application is opened 10-15 seconds.
  • ๐Ÿ”„ After updating MIUI Critical bugs have appeared: constant reboots, system application errors (com.android.phone or miui.home).
  • ๐Ÿ”’ Forgot your password, pattern lock, or PIN-code, and unlocking via Mi Account is not possible (no linked number/mail).
  • ๐Ÿ“ฑ The device goes to bootloop (cyclic reboot) or hangs on the logo MI/POCO.
  • ๐Ÿฆ  Suspicion of a virus or malware that is not removed by antivirus software (e.g. Malwarebytes or Dr.Web finds threats but cannot remove them).

And here's when the dumping won't help:

  • ๐Ÿ”‹ Fast battery discharge (calibration or battery replacement required).
  • ๐Ÿ“ถ Network problems (not catching) 4G/5G, weak Wi-Fi โ€“ more often the fault of the communication module or antenna.
  • ๐ŸŽง The speakers / microphone are not working - hardware breakdown.

โš ๏ธ Warning: If you reset your phone before selling, make sure you turn off Mi Cloud and delete your Xiaomi account via Settings โ†’ Accounts. โ†’ Mi Account โ†’ Delete your account or the new owner won't be able to log in!

Preparing for resetting: what to save and how not to lose data

Even if you do wipe data through Recovery, some of the data can be saved.

  1. Copy media files (photos, videos, music) to a PC or cloud. MTP-Mode (plug your phone into your computer as a flash drive) or apps like Xiaomi File Manager.
  2. Export contacts to.vcf via Contacts โ†’ Settings โ†’ Import/Export.
  3. Save SMS with SMS Backup & Restore (available on Google Play).
  4. Write down the IMEI (type *#06# in the dialer) if the network goes missing after the reset.

What can't be saved:

  • ๐ŸŽฎ Game savers (unless they are tied to Google Play Games or Mi Account).
  • ๐Ÿ“ Application settings (for example, filters in Instagram or bookmarks in the browser).
  • ๐Ÿ” Wi-Fi passwords (unless youโ€™ve synced with Google).

Backed up photos and videos |

Copy contacts and SMS|

Recorded IMEI phone |

Disabled Mi Account (if I reset before selling)|

Charged the phone at least 50%-->

On devices with MIUI 14+, there is a built-in backup feature: Settings โ†’ About Phone โ†’ Backup and Reset โ†’ Local Backup. However, it does not save all data, but only:

Type of dataIt's still there?Note
Contactsโœ… Yes.Only if they are synced with Mi Account or Google
SMS/MMSโœ… Yes.Only through third-party applications
Photo/videoโŒ No.You need to copy it manually.
Wi-Fi settingsโœ… Yes.If synchronization with Google is enabled
Installed annexesโœ… Partially.The list of applications will be preserved, but not their data

Method 1: Wipe data via Recovery Mode (for all Xiaomi models)

Itโ€™s a versatile method that works even if the phone isnโ€™t switched on or locked, and itโ€™s suitable for all Xiaomi, Redmi and POCO devices, including the new 2023-2026 models (Xiaomi 14, Redmi Note 13 Pro+, etc.).

Steps to Enter Recovery Mode:

  1. Turn off the phone (press the power button and select Turn off).
  2. Press the button combination: For most models: Volume up + Power. For older devices (Redmi 4X, Mi A1): Volume up + Volume down + Power.

MI

Recovery

In Recovery, the volume buttons (up/down for navigation, power for selection) can be controlled. On new devices (MIUI 13/14), the menu can be touch-sensitive.

Next, select:

  1. Wipe Data (or Wipe & Reset on some firmware)
  2. Wipe All Data (complete cleaning)
  3. Confirm the action (usually you need to enter yes or click Confirm).
  4. Once completed, select Reboot or Reboot to System.

Instructions:

  1. Turn off your phone and turn it into Fastboot: Press Volume Down + Power for 10 seconds. The screen will show a rabbit in a fastboot mode.

cmd

platform-tools

fastboot devices

The serial number of the device must be displayed.

fastboot erase userdata


fastboot erase cache




fastboot reboot

On devices with a locked bootloader after erase commands, you may need to enter data from Mi Account when you first download. If you do not remember the password, use the official unlock tool from Xiaomi (Mi Unlock Tool).

๐Ÿ’ก

If the phone doesn't turn on after you reset via Fastboot, try flashing the stock firmware with the Mi Flash Tool, which can be downloaded on the official MIUI Downloads website.

Method 3: Reset via MIUI (factory reset) settings

The easiest way, but it only works if the phone turns on and you remember the unlock password. Suitable for MIUI 12/13/14 and all current models (Xiaomi 13T, Redmi Note 12, POCO X5, etc.).

Step-by-step:

  1. Open Settings โ†’ About the phone โ†’ Reset settings.
  2. Select Delete all data (or Delete all data on some firmware).
  3. Enter a password/pattern lock if the system requests it.
  4. Confirm the action by clicking Delete Data.
  5. Wait for the completion (usually takes 2-5 minutes) and the reboot.

Some devices (Xiaomi Pad 6, Redmi K60) have a Network Reset option โ€” it only removes Wi-Fi, Bluetooth and mobile network settings without affecting personal data.

โš ๏ธ Note: If the phone has enabled Find Device (Find Device in Mi Cloud), after the reset, you may need to confirm through the previously associated account. โ†’ Mi Account โ†’ Find Device.

What to do after wipe data: the first setup and recovery

Once reset, the phone will start as new.

  1. Choose a language and region (we recommend Russia or Global to avoid problems with Google services).
  2. Connect to Wi-Fi (if not) SIM-map).
  3. Skip signing in to Mi Account if you donโ€™t plan to use the Xiaomi cloud.
  4. Restore data from a backup (if you did a backup via MIUI or Google).

๐Ÿ’ก

Once you wipe data on Xiaomi with the unlocked bootloader, root access may disappear, and to return it, you will have to re-flash Magisk or another superuser manager.

Common Mistakes and How to Avoid Them

Even experienced users sometimes make mistakes when resetting.

Mistake.Effects of consequencesHow to avoid
Low battery reset (<20%)The phone may shut down during the process, which will result in soft-brick (the system does not boot).Charge your phone to at least 50% or connect to a charger before resetting.
Use of unofficial firmware before wipeAfter reset, the phone may not boot (no OS installed error).Make sure that the phone has a stock firmware installed for your model.
Forgot to untie Mi AccountAfter the reset, the phone will require you to enter the account data that was previously linked.Untie your account in Settings โ†’ Mi Account โ†’ Delete your account before resetting.
Interruption of the discharge processDamage to system files, cyclic reboot (bootloop).Do not press any buttons or turn off power until the process is complete.

If the phone doesnโ€™t turn on after reset or gives an error, try:

  1. Repeat wipe data through Recovery.
  2. Swipe stock firmware through Mi Flash Tool (instructions on the official website).
  3. Contact the service center if the problem is hardware (for example, damaged memory eMMC).

FAQ: Frequent questions about wipe data on Xiaomi

Can I wipe data without losing photos and videos?
On most Xiaomi devices, resetting via Recovery or Fastboot does not affect the DCIM and Pictures folders where media files are stored. However, on models with FBE encryption (File-Based Encryption, used in MIUI 12+), all data on internal memory becomes unavailable after the reset. To check if your phone is encrypted, go to Settings โ†’ Additional โ†’ Privacy โ†’ Encrypted. If it says โ€œEncryptedโ€, copy the files to your PC before the reset.
Why does your phone need to use the old password after you wipe data?
This means that the phone has Factory Reset Protection (FRP) enabled, which is Mi Account reset protection. To remove the password request: Enter the Mi Account that was tied to the phone before the reset. If you don't remember the password, restore it through the recovery page. If the account is not yours (for example, the phone is bought with hands), contact the previous owner or contact Xiaomi with proof of purchase. On some firmware (MIUI Global), you can bypass FRP via Fastboot, but this requires unlocking the bootloader.
How long does it take to wipe data on Xiaomi?
Time depends on the model and the amount of internal memory: 32-64 GB: 2-5 minutes. 128-256 GB: 5-10 minutes. 512 GB and higher: up to 15 minutes. If the process lasts more than 20 minutes, do not interrupt it - wait for the completion or discharge of the battery. On some devices (Xiaomi Mi 11 Ultra, Black Shark 5), the reset can take up to 30 minutes due to the large amount of memory and encryption.
Can I cancel the wipe data after the process has started?
No, you can't cancel the reset after confirmation. A process interruption (e.g., battery extraction or forced reboot) can result in: /data partition damage (the phone will load into Recovery with a No command error); loss of access to internal memory (the system won't see the files, although they're physically left on the disk); Soft-brick (the phone turns on but doesn't boot the system); if the reset freezes, wait for battery drain or connect the phone to charge and leave it for a few hours. In 90% of cases, the system will complete the process.
How to make a wipe data on Xiaomi with a damaged screen?
If the screen does not respond to touch, but the image is visible, connect the phone to the PC and use it. ADB-Teams: Enable Debugging by USB (If it's not on, it won't work. Connect the phone to your computer and type in: adb shell recovery. --wipe_data If debugging is not enabled, only the Fastboot method (see section above) or the service is accessed. For devices with a fully broken screen (no image), the only option is Fastboot or EDL-Mode (requires an authorized Xiaomi account and a special cable).