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:
- Open Settings (the gear icon on the main screen).
- Go to About Phone โ Backup and Reset.
- Select Resetting โ Erase all data.
- Enter the password from the lock screen (if requested).
- 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 type | Xiaomi models | Features of discharge |
|---|---|---|
| Qualcomm (Snapdragon) | Redmi Note 12 Pro+, Xiaomi 13T, Poco F5 | Reset via Wipe Data โ Wipe All Data. Supports Fastboot. |
| MediaTek (Helio, Dimensity) | Redmi Note 11, Poco M4 Pro, Xiaomi Civi 2 | Requires 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:
- Turn off the phone.
- Press the Power button + Volume up for 10 seconds until the Mi logo appears.
- In the Recovery menu, select Wipe Data (use volume buttons for navigation, power for confirmation).
- Select Wipe All Data and confirm the action.
- Once you have finished, select Reboot โ Reboot to System.
For MediaTek:
- Similarly, go to Recovery.
- Select Wipe Data, then Format Data.
- Enter the password from Mi Account (if the phone is tied).
- 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?
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:
- Turn off the phone.
- Press the Power button + Volume down for 10 seconds to enter the Fastboot (a screen with a rabbit and a Fastboot inscription).
- Connect your phone to your PC and open the command line in the folder with the platform-tools.
- Enter the command to check the connection: fastboot devices Must appear serial number of the device.
- 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.
- Download the firmware for your model (for example, tissot_global_images_V12.5.1.0.RDLMIXM_20210913.0000.00_11.0_global_1234567890.tgz).
- Unblock it to a folder with platform-tools.
- 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 resetting | The bootloader or system partition is damaged. | Swipe your phone through Fastboot (Section 4). |
| "Can't mount /data" in Recovery | File 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:
- Connect your phone to Wi-Fi on the settings screen.
- Enter the details from the Google account that was linked to the phone before the reset.
- 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:
- Go to Settings โ About Phone โ Backup.
- Choose Local Backup or Cloud Backup (requires Mi Account).
- Specify data for copying (applications, settings, multimedia).
- 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:
| Criteria | Reset (formatting) | Flip-flashing |
|---|---|---|
| What's removed | User data, applications, settings | Everything, including system files (replaced with new ones) |
| When to use | When selling a phone, app malfunctions, forgotten password | If 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 time | 5-20 minutes | 20-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:
- Unlock the bootloader via [Xiaomi official website] (https://en.miui.com/unlock/) (can take up to 72 hours).
- Download the stock firmware for your model from [en.miui.com](https://en.miui.com/download.html).
- 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.