Deleting data from a Xiaomi phone is a challenge that every user faces sooner or later: someone wants to sell or give a device, someone needs to free up space in memory, and some just want to start from scratch after a malfunction. But just formatting an internal drive is not enough: there are traces of accounts, app cache and even personal data in system partitions.
In this article, we will discuss all possible ways to delete data, from a standard reset via settings to deep cleaning through Fastboot and Recovery. Particular attention will be paid to deleting the associated Mi Account, which often blocks the device after a reset, as well as nuances for models with a new device. MIUI 14/15 And HyperOS. If you're planning to sell a phone, you'll find a checklist to prepare for the transfer of the new owner.
Importantly, the procedures are different for devices with unlocked and locked bootloader, and we will note the critical moments where an error can lead to a โbrickโ (complete inoperability) of a smartphone โ for example, when fastboot commands are used incorrectly.
1. Standard reset via MIUI settings
The easiest and safest way to do this is to use the built-in reset function in the settings menu, which is suitable if:
- ๐ฑ The phone is turned on and reacts to touch.
- ๐ Remember your password/pattern lock
- ๐ You need to delete only user data (photos, applications, settings)
To perform the discharge:
- Open Settings โ About Phone โ Reset (on MIUI 14+, the path may differ: Settings โ Additional โ Recovery and Reset).
- Select to erase all data (reset to factory).
- Confirm the action by entering the lock password.
- Wait for the reboot (it will take 5-15 minutes).
โ๏ธ What we check before resetting
โ ๏ธ Warning: After a reset, the phone may request data from the associated Mi Account (if Find Device was enabled). Without it, it will be impossible to unlock the device! If you are selling a phone, be sure to untie the account in advance (see section 4).
This method does not remove:
- ๐ System Updates (current version will remain) MIUI/HyperOS)
- ๐ก๏ธ Data in protected partitions (e.g. keys) DRM for Netflix in high resolution)
- ๐ฑ Firmware loader and radio module
2.Right reset via Recovery Mode
If the phone doesnโt turn on, freezes on the logo or doesnโt respond to touch, resetting through Recovery will help.This method works on all Xiaomi models, including the Redmi Note 12, POCO X5 The Mi 11, but it requires careful handling.
Instructions:
- Turn off the phone (press Power + Volume up for 10 seconds).
- Press Power + Volume up and hold until the Mi logo appears.
- In the Recovery menu, select the language (if there is such a item), then:
- Wait until it is finished (the screen will show the inscription Success).
- Choose Reboot. โ Reboot to System.
What happens if Recovery does not open?
โ ๏ธ Note: Some models (e.g. Redmi) 9A or POCO M3) Recovery may not have Wipe All Data, but instead, look for Factory Reset, which does the same thing, but saves some system settings.
Advantages of the method:
- โ It works without access to the system.
- โ Deletes even data that is not erased through settings
- โ Doesn't require a computer.
Disadvantages:
- โ Does not delete the Mi Account (you need to enter a login / password at the first setting)
- โ On older models (Redmi) 4X, Mi A1) It may not work properly due to damaged partitions.
3.Delete Mi Account before sale
One of the most common questions is, โHow do you delete your Mi Account from your Xiaomi phone so that the new owner can use it?โ If you just reset your settings, the device will require you to enter your previous account data when you first set up it is the Mi Cloud Lock.
To completely untie your account, do the following before resetting:
- Open the Settings. โ Accounts. โ Mi Account.
- Click on the icon. โ๏ธ (account settings) โ Delete the account.
- Enter the password and confirm the deletion.
- Turn off Find Device in the security settings.
If the phone is already dropped and asks for account details:
- ๐ Enter the username/password from your Mi Account, then delete it through the settings.
- ๐ง If you do not remember the data, restore the password on account.xiaomi.com.
- ๐ ๏ธ If your account is not yours (the phone is purchased used) โ contact the previous owner or use the official unlock service (paid).
๐ก
Save a screenshot of the account deletion confirmation (the page ticked "Account Deleted") to help prove to the new owner that the phone is not tied to the Mi Cloud.
โ ๏ธ Note: On HyperOS models (e.g. Xiaomi 14 or Redmi) K70) The process of deleting an account may be different, and in some cases, the system requires confirmation through SMS or email, even if the password is entered correctly.
4. Complete memory cleanup via Fastboot
For deep cleaning (for example, before sale or if the phone is infected with viruses), use the Fastboot mode, which deletes all data, including:
- ๐ User files and applications
- ๐ง System settings and cache
- ๐ Updates OTA (The phone will return to "clean" firmware)
You'll need:
- ๐ป Computer with installed Xiaomi drivers and fastboot utility (included in Google Platform Tools)
- ๐ Cable USB (preferably original)
- ๐ Charged phone (> 30%)
Step-by-step:
- Turn off the phone and press Power + Volume down to enter the Fastboot (screen with a hare in a hat-eared).
- Connect your phone to your computer and open the command prompt (cmd) in the folder with fastboot.
- Enter the command to check the connection: fastboot devices Must appear serial number of the device.
- Complete cleanup: fastboot erase userdata fastboot erase cache fastboot format:ext4 userdata fastboot format:ext4 cache
- Reboot the phone: fastboot reboot
๐ก
Teams. format:ext4 They completely recreate partitions, which ensures that even the data that is erased is deleted, which is important if you're selling a phone and you want to eliminate file recovery.
โ ๏ธ Note: On some models (e.g, POCO F5 Or the Redmi Note 12 Pro.+) Format commands may not work due to a blocked bootloader, in which case you first need to unlock the bootloader through the official Mi Unlock Tool (requires an account to be linked to the device 72 hours before unlocking).
5. Deletion of specific data: files, applications, cache
If you do not need a full reset, but you need to vacate space or delete individual data, use built-in tools. MIUI/HyperOS.
How to delete:
| Type of data | Path in settings | Features |
|---|---|---|
| Photo/video | gallery โ Select the files โ Delete or Files โ Categories โ Images | Deleted files go to the Recycle Bin (stored for 30 days) to clear it: Gallery โ Basket โ Clean up |
| Annexes | Settings โ Applications โ Remove | Some system applications (such as Mi Video) can only be disabled, but not removed. |
| Cash and trash. | Settings โ Memory. โ Cleaning or Safety โ Cleanup | Cleaner utility in MIUI It often finds up to 1-3 GB of unnecessary files. |
| Communications | Communications โ Settings โ Clear history | Removing. SMS/MMS, Not chatting on Messenger or WhatsApp. |
| Calls. | Phone. โ Journal โ โฎ โ Delete the story | Do not delete the recording of conversations (if recorded) |
For deep cleaning, use the following modes:
- ๐งน Settings โ Memory. โ Deep cleaning (scans the system cache)
- ๐ Security โ Virus scanning (deletes suspicious files)
- ๐๏ธ Files. โ Memory analysis (shows large, unnecessary files)
โ ๏ธ Note: When deleting data through Files or Gallery, they do not disappear from the device completely - they can be restored by special programs (for example, DiskDigger.
6. Features for different Xiaomi models
The process of deleting data may vary depending on the model, firmware version and region (global or Chinese).
Redmi Note 10/11/12:
- ๐ On these models, a reset via Recovery often leads to Mi Cloud Lock, even if the account has been untied.
- ๐ฑ V MIUI 13/14 path to reset: Settings โ Additionally. โ Recovery and discharge โ Erase all data.
POCO F/X/M:
- ๐ก๏ธ Nana POCO with HyperOS (for example, POCO X6 Pro) after reset, you may need to confirm through Google Account if Find My Device was enabled.
- ๐ง Recovery of these models does not have Russian language โ use English or Chinese.
Xiaomi 13/14 (flagship):
- ๐ On flagships with HyperOS, resetting through settings saves some data in a protected partition (for example, keys for Widevine). L1). A Fastboot is needed for complete cleaning.
- ๐ฑ Recovery menu has a Reset Network Settings item โ it resets only network settings (Wi-Fi, Bluetooth), without affecting personal data.
Older models (Redmi 4/5, Mi A1/A2):
- โ ๏ธ On Mi. A1/A2 (Recovery resets via Recovery can cause a No command error. In this case, only firmware via Fastboot will help.
- ๐ On the Redmi. 4X/5A after discharge, they often "fly off" IMEI. You can restore them through the engineering menu (##4636##) firmware.
7.What to do if the data is restored after deletion
Sometimes, after a reset, users notice that some files (photos, contacts) reappear on the phone.
- ๐ Automatic recovery from Mi Cloud or Google Drive backup.
- ๐ฑ Synchronization with the account (contacts, notes, calendar).
- ๐พ Incomplete formatting (for example, if the reset was made through settings, not Fastboot).
How to avoid data recovery:
- Before resetting, turn off synchronization: Settings โ Accounts. โ Synchronization โ Shut it down.
- Remove backups in Mi Cloud: Settings โ Mi Account โ Mi Cloud โ Backup copies โ Delete
- Use Fastboot for full formatting (Section 4).
- After reset, do not connect old accounts when you first set up.
If the data has already been recovered:
- ๐ Remove them manually (see section 5).
- ๐ Repeat the reset, but this time via Fastboot.
- ๐ก๏ธ Check your phone for viruses (some Trojans recover files from hidden folders).
8.Preparing Xiaomi phone for sale: checklist
If you're selling or transferring your phone to another person, it's not enough to just reset your settings. Here's a full checklist to avoid problems:
โ๏ธ Preparing Xiaomi for sale
Additional recommendations:
- ๐ฆ Save the box, documents and accessories (this increases the cost of the phone by 10-20%).
- ๐ Charge your phone to 50-80% so you can test it right away.
- ๐ฑ Reset the use counters (e.g. screen time): Settings โ Battery โ โฎ โ Resetting statistics
โ ๏ธ Warning: If you sell a phone with a faulty screen or battery, be sure to warn the buyer otherwise he may demand a refund under the Consumer Protection Act (Article 18).