How to fully format your Xiaomi smartphone: 3 proven ways

Formatting a Xiaomi smartphone is a radical way to bring the device back to factory status by removing all user data, apps and settings.The procedure may be required when selling a phone, fixing system glitches, or if you forget the pattern lock.However, an improper reset can lead to the loss of important files or even the phone crashing.

In this article, we will discuss all the current ways of formatting Xiaomi โ€“ from a standard reset via menu to forced via Fastboot (for locked devices). 11, Poco M4 Pro, where the reset algorithm through Recovery is different from Qualcomm, you will also learn how to avoid the error "Can't mount". /data" What to do if the phone does not turn on after resetting.

Preparation for formatting: what to do before the dump

Before you start resetting, make sure you follow the critical steps. Without a backup, you will lose:

  • ๐Ÿ“ธ Photos and videos (including hidden folders) DCIM/Thumbnails)
  • ๐Ÿ“ฑ Contacts, SMS Call log (if not synced with Google)
  • ๐ŸŽฎ Game saves (even cloud-based ones may not recover)
  • ๐Ÿ“„ Documents in Download and Documents folders
  • ๐Ÿ”‘ Passwords from Wi-Fi and apps (unless you use Mi Account)

To back up on Xiaomi, go to Settings โ†’ About Phone โ†’ Backup. Alternatively, use Google Drive (Settings โ†’ Accounts โ†’ Google โ†’ Synchronization) or third-party utilities like Titanium Backup (requires root).

โš ๏ธ Note: On Redmi Note 10 Pro models and the newer Mi Account binding, the phone can be locked after a reset if you haven't untied your account in advance. โ†’ Xiaomi account โ†’ Devices.

Also prepare:

  • ๐Ÿ”‹ Battery charge of at least 50% (when reset via Recovery, the phone should not turn off).
  • ๐Ÿ“ก Stable Internet connection (to download firmware after reset, if required).
  • ๐Ÿ” Mi Account data (login and password) if the phone is linked to the account.

Backup of important data |

Unplug Mi Account (if you plan to sell your phone)|

Charge your phone to at least 50% |

Make sure you know the data from your Google account |

Get out. SIM-card and memory card (optional)-->

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

This method is suitable if the phone is turned on and you remember the unlock password. It preserves the integrity of system files and minimizes the risk of errors. The instructions are relevant for all Xiaomi models on MIUI 12/13/14 and HyperOS.

Steps:

  1. Open Settings (the gear icon on the main screen).
  2. Go to About Phone โ†’ Backup and Reset.
  3. Select Resetting โ†’ Erase all data.
  4. Enter the password from the lock screen (if requested).
  5. Confirm the action by clicking Reset (some models will need to enter) PIN-code SIM-map).

The process will take 5-15 minutes. The phone will reboot and suggest that you configure it as new. If after the reset, the error "There was an error in the reset", try alternative methods (see section 4).

๐Ÿ’ก

If after reset, the phone asks you to enter the old password and you do not remember it, it means that the device is tied to the Mi Account. Solution: log in under the same account or unlock through [the official Xiaomi service] (https://account.xiaomi.com/).

Method 2: Recovery Formatting (for locked phones)

If the phone is not turned on or locked with a pattern lock, use Recovery mode.This method works for all Xiaomi, but the algorithm differs depending on the processor:

Processor typeXiaomi modelsFeatures of discharge
Qualcomm (Snapdragon)Redmi Note 12 Pro+, Xiaomi 13T, Poco F5Reset via Wipe Data โ†’ Wipe All Data. Supports Fastboot.
MediaTek (Helio, Dimensity)Redmi Note 11, Poco M4 Pro, Xiaomi Civi 2Requires confirmation via Mi Account. There is no Fastboot option in Recovery.
Google Tensor (rarely)Xiaomi (models for Japan)It uses standard Recovery from Android.

Instructions for Qualcomm:

  1. Turn off the phone.
  2. Press the Power button + Volume up for 10 seconds until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data (use volume buttons for navigation, power for confirmation).
  4. Select Wipe All Data and confirm the action.
  5. Once you have finished, select Reboot โ†’ Reboot to System.

For MediaTek:

  1. Similarly, go to Recovery.
  2. Select Wipe Data, then Format Data.
  3. Enter the password from Mi Account (if the phone is tied).
  4. Confirm the formatting. It'll take up to 20 minutes.

โš ๏ธ Note: On some models (Redmi) 9A, Poco C31) After resetting via Recovery, an error "No" may appear. OS installed. This means that the system partition is damaged. Solution: Fastboot your phone (see section 5).

What happens if Recovery does not open?
If after the Power + Volume up clamps, the phone vibrates but does not load Recovery, this means that the recovery section is damaged. Solutions: 1. Try the Power + Volume down combination (on some models). 2. Connect the phone to the PC and use the command: adb reboot recovery 3. If nothing helps, you need to flash through Fastboot (section 5).

Method 3: Forced Fastboot Reset (for experienced)

This method is used if:

  • ๐Ÿ”„ The phone does not turn on or hovers on the Mi logo.
  • ๐Ÿ” Mi Account password is forgotten and Recovery requires authorization.
  • ๐Ÿ› ๏ธ You need to reflash your phone after a failed update.

The work will require:

  • ๐Ÿ’ป Computer with drivers installed ADB/Fastboot (Download from [official website](https://developer.android.com/studio/releases/platform-tools)).
  • ๐Ÿ”Œ USB-cable (preferably original).
  • ๐Ÿ“„ Firmware for your model (download from the [en.miui.com](https://en.miui.com/download.html)).

Steps:

  1. Turn off the phone.
  2. Press the Power button + Volume down for 10 seconds to enter the Fastboot (a screen with a rabbit and a Fastboot inscription).
  3. Connect your phone to your PC and open the command line in the folder with the platform-tools.
  4. Enter the command to check the connection: fastboot devices Must appear serial number of the device.
  5. Run reset: fastboot erase userdata fastboot erase cache fastboot reboot

If you don't turn on after these commands, you'll need a full flashing.

  1. Download the firmware for your model (for example, tissot_global_images_V12.5.1.0.RDLMIXM_20210913.0000.00_11.0_global_1234567890.tgz).
  2. Unblock it to a folder with platform-tools.
  3. Run the command: fastboot flash all (on some models, use fastboot flash boot.img, etc. for each partition instead of all).

๐Ÿ’ก

Fastboot resets only user data, not system files. If the phone is โ€œbrickedโ€ (not turned on at all), you need a complete flash flash all command.

5 Common errors after reset and their solutions

Even after successful formatting, problems can arise, and here are the most common ways to fix them:

Mistake.Reason.Decision
"This device is locked" (Mi Account)The phone is linked to a Xiaomi account.Sign in with the same account or contact [unblocking service](https://account.xiaomi.com/).
The phone will not turn on after resettingThe bootloader or system partition is damaged.Swipe your phone through Fastboot (Section 4).
"Can't mount /data" in RecoveryFile system error (often after an incorrect update)Run fastboot format:ext4 userdata in Fastboot.
Constant reboots (bootloop)Firmware conflict or damaged core modules.Install the stock firmware through the Mi Flash Tool.

If the phone is resetting, asks to enter the old PIN-code, although you have completed the full formatting, this means that:

  • ๐Ÿ”น Factory Reset Protection is available on the phone (FRP) Google.
  • ๐Ÿ”น You didnโ€™t untidy your Mi Account before resetting.

FRP solution:

  1. Connect your phone to Wi-Fi on the settings screen.
  2. Enter the details from the Google account that was linked to the phone before the reset.
  3. If you donโ€™t remember the data, use [Google Recovery Service](https://accounts.google.com/).

Reset via the settings menu |

Recovery (volume buttons)|

Fastboot (via PC) |

I haven't tried it yet.-->

6. How to avoid data loss during formatting

Even if you back up some data, you might lose some of it. Here's how to minimize the risks:

  • ๐Ÿ“ Local files: Transfer photos, videos and documents to your PC or cloud (Google Drive, Mi Cloud: /storage/emulated/0/MIUI/ /storage/emulated/0/Android/data/
  • ๐Ÿ“ฑ Contact and SMS: Export via Contacts (menu) โ†’ Contact management โ†’ Imports/Exports).
  • ๐ŸŽฎ Save games: Use built-in sync (e.g. in Genshin Impact or in the game). PUBG Mobile) or utility like Helium (requires root).
  • ๐Ÿ”‘ Wi-Fi Passwords: Save Network Listings through Settings โ†’ Wi-Fi (click on the network) โ†’ Share).

To automate backup on Xiaomi:

  1. Go to Settings โ†’ About Phone โ†’ Backup.
  2. Choose Local Backup or Cloud Backup (requires Mi Account).
  3. Specify data for copying (applications, settings, multimedia).
  4. Click Create a backup copy.

โš ๏ธ Attention: Backup copies MIUI They're not compatible between different versions of the firmware. MIUI 13 may not recover on MIUI 14. Before reset, check the software version in Settings โ†’ The phone. โ†’ Version. MIUI.

7. Formatting vs. flashing: which is better to choose

Many users confuse resetting and flashing, and let's look at the key differences:

CriteriaReset (formatting)Flip-flashing
What's removedUser data, applications, settingsEverything, including system files (replaced with new ones)
When to useWhen selling a phone, app malfunctions, forgotten passwordIf the system is damaged, "bricking", updating the version of MIUI
Risks.Minimum (if you do not interrupt the process)High (you can damage the bootloader if you choose the wrong firmware)
Implementation time5-20 minutes20-60 minutes (depending on firmware)

Reflashing is required in cases:

  • ๐ŸŒ Phone brakes heavily even after reset (maybe system memory is damaged).
  • ๐Ÿ”„ You need to update/downgrade the version. MIUI.
  • ๐Ÿ› ๏ธ After a failed update, "over the air" (OTA).
  • ๐Ÿ”“ To delete Mi Account without official unlocking (requires unlocking the bootloader).

If you decide to search the phone, follow this algorithm:

  1. Unlock the bootloader via [Xiaomi official website] (https://en.miui.com/unlock/) (can take up to 72 hours).
  2. Download the stock firmware for your model from [en.miui.com](https://en.miui.com/download.html).
  3. Use the Mi Flash Tool to run in Fastboot mode.

๐Ÿ’ก

If the phone is stable, but you want to clean it before selling it, just reset the settings menu, and you only need to flash it when there are critical crashes or to update the software.

8.Frequent Questions About Xiaomi Formatting

โ“ Can Xiaomi be formatted without losing data?
No. Any factory reset removes all user data from the /data partition. The only way to save files is to back up in advance. Exception: reset only settings (Settings โ†’ System โ†’ Additional โ†’ Settings Reset), but it doesn't delete apps and media files.
โ“ Why does the phone ask for an old password after resetting?
Two protections are available: Factory Reset Protection (FRP) Google requires data from the last account linked to it. Mi Account binding โ€” if the phone was locked through Find Device. Solution: enter data from Google or Mi Account that was on the phone before the reset. If you don't remember, contact [Xiaomi support service](https://support.xiaomi.com/).
โ“ How to reset Xiaomi if you forget your password and Recovery asks for Mi Account?
There are three options: Enter the data from the Mi Account that was tied to the phone. Use Fastboot for forced reset (section) 4). Contact the [Xiaomi Service Center](https://www.mi.com/global/service/) Proof of purchase for official unlocking. โš ๏ธ Caution: Attempts to circumvent the lock through informal methods (e.g., bypassing the lock, EDL) This can cause a complete loss of phone performance.
โ“ What to do if the phone does not turn on after reset?
Causes and solutions: ๐Ÿ”‹ Battery is dead โ€“ plug in charging for 30 minutes, then try turning on. ๐Ÿ› ๏ธ bootloader damaged โ€“ run your phone through Fastboot (section 4). ๐Ÿ”„ Incompatible firmware โ€“ download the correct version MIUI If the phone doesn't respond to the buttons, try clamping the power. + Volume up 20 seconds for forced reboot.
โ“ Can Xiaomi be formatted via a computer without Fastboot?
Yes, but with limitations: ๐Ÿ–ฅ๏ธ Through Mi. PC Suite (official utility) โ€“ allows you to reset, but requires an unlocked screen. ๐Ÿ”ง Through ADB (if debugging is on USB): The command is: adb shell recovery. --wipe_data For full control (for example, when a locked phone) Fastboot remains the only reliable way to do this.