Wiping out data from Xiaomi Redmi is a process that seems simple only at first glance. A simple reset via the settings menu is often not enough: residual files can recover your photos, correspondence or passwords even after a factory reset. This is especially true for models with internal eMMC memory (such as the Redmi 9A or Redmi Note 10 Pro), where standard methods do not guarantee complete data deletion.
In this article, we will discuss 5 ways to erase information, from basic reset to low-level formatting via Fastboot. Letβs focus on the nuances for different versions of MIUI (12-14) and explain why some methods do not work on all models. If you sell a phone, give it away for repair or just want to get rid of personal data, here you will find the current instructions with the peculiarities of Xiaomi.
1. Preparation for data deletion: what to do before the reset
Before erasing data, follow the steps to avoid Xiaomi account issues or loss of important information:
- π Remove the Mi Account. If the phone is linked to the account, you'll need to enter your login/password after the reset. MIUI 13+ This can lock the device for 72 hours if you enter incorrectly.
- π± Move the data to another medium. Use Mi Mover (embedded application) or cloud services (Google Drive, Mi Cloud). DCIM, Downloads and WhatsApp often contain hidden backups.
- π Charge your phone to minimum. 50%. Interrupting the reset process due to battery discharge may cause partition damage /data, which will require a re-flash through EDL.
- π‘ Disable all accounts: Google, Facebook, Telegram. MIUI 14 This is done in Settings β Accounts. β Delete the account.
Pay special attention to data encryption. If encryption is enabled in Settings β Additional β Encryption and credentials, it will take up to 1-2 hours to reset (on Redmi Note 11 and later). On older models (for example, Redmi 5 Plus), encryption can cause a βNo Commandβ error when reset via Recovery.
β οΈ Note: If the phone was bought from hand and tied to someone else's Mi Account, a reset without junction will lock the device.
2. Method 1: Standard reset via the settings menu
The easiest method is to reset to factory settings via the MIUI interface. Suitable for most models, but does not guarantee complete data deletion (files can be restored with special programs).
Instructions for MIUI 12-14:
- Open Settings β About the phone β Reset settings.
- Select Erase All Data (on some models β Delete All Data and Reset Settings).
- Enter. PIN-code or pattern lock, if requested.
- Confirm the action by clicking Reset the phone.
The process will take 5 to 30 minutes depending on the model. On the Redmi Note 12 Pro+ with UFS 2.2, the reset is faster than on the Redmi 8A with eMMC 5.1. Once rebooted, the phone will be like new, but:
- π Data can be recovered by programs like Dr.Fone or EaseUS MobiSaver, especially photos and documents).
- π± There are traces of accounts in the cache /data/data/com.android.providers.settings.
- π If BitLocker To Go was enabled (on some firmware), additional formatting will be required.
β οΈ Attention: On models with MIUI 14 and Android 13 may be reset with a "This device is locked" error, which means that the phone is tied to the Mi Account even after the detachment).
βοΈ What to check before resetting through settings
Method 2: Recovery Mode Reset (for power users)
Recovery Mode is a recovery mode that allows you to reset your phone even if the system isn't booting.The method works on all Redmis, but the Recovery interface differs depending on the version:
- π± Stock Recovery (Chinese or global firmware) β menu in English/Chinese.
- π οΈ Custom recovery (TWRP, OrangeFox β Extended features including formatting /data.
How to log in to Recovery:
- Turn off the phone.
- Press the Power button + Volume up for 10-15 seconds.
- Select Wipe Data β Wipe All Data (or Factory Reset on older models) from the menu.
- Confirm the action and wait for the completion.
Advantages of the method:
- β It works even if the phone doesnβt turn on.
- β Deletes more data than resetting through settings (but not 100%).
Disadvantages:
- β On some models (Redmi) 6/6A) Recovery reset does not delete files from the folder /sdcard/MIUI/backup.
- β If custom Recovery is installed, improper actions can lead to a brick (breakdown) of the phone.
What happens if the Recovery does not open?
Method 3: Full formatting via Fastboot (for advanced)
Fastboot allows you to completely re-mark the memory, making it almost impossible to recover data. It's suitable for models with an unlocked bootloader. It requires a computer with drivers installed. ADB/Fastboot.
Step-by-step:
- Install Platform Tools from Google.
- Connect your phone to your PC in Fastboot mode (press Power + Volume down when the phone is off).
- Open the command line in the folder with fastboot and type:
fastboot devices(connection check)
fastboot erase userdata
fastboot erase cache
fastboot format:ext4 userdata
fastboot format:ext4 cacheFor models with MIUI 14 and Android 13+, add:
fastboot erase metadataOnce the commands are executed, the phone will automatically restart, which destroys all data without recovery, but has risks:
- π¨ If you interrupt the process, the phone may stop loading (hard brick).
- π§ On some models (Redmi) K50, Redmi Note 12 Pro+) You need an additional fastboot erase frp command to remove FRP-blocking (Google account).
π‘
Before formatting via Fastboot, check the phone model with the command fastboot getvar product.Some devices (such as the POCO F3, which is relabeled Redmi K40) require other commands to format.
5. Method 4: Low-level erasure via EDL Mode (extreme method)
EDL (Emergency Download Mode) is a processor-level flashing mode for a phone that allows you to completely rewrite memory, including service partitions, used in service centers, but also available to ordinary users.
Attention: the method requires:
- π Authorized Xiaomi Account (for new models).
- π» MiFlash and firmware for your model.
- π§ Qualcomm or Mediatek chips (depending on the phoneβs processor).
Instructions:
- Download the firmware for your model from the Xiaomi Firmware website.
- Install Qualcomm HS-USB QDLoader 9008 (for Snapdragon) or Mediatek Preloader drivers.
- Connect your phone in EDL mode (close the Test Point contacts or use the adb reboot edl command).
- In MiFlash, select firmware and press Flash.
Advantages:
- π₯ Guaranteed erases all data, including service sections that even Fastboot doesnβt touch.
- π οΈ Restores the phone after a major crash (for example, after a failed rooting).
Risks:
- π If you choose the wrong firmware, the phone will turn into a brick".
- π In the models with MIUI 14 and the Snapdragon processor 8 Gen 1/2 You need to log in via Mi Account, otherwise MiFlash will give you an error "SLA Auth Error".
β οΈ Note: After the firmware is through EDL phone may lose IMEI You can only restore them through the engineering menu (#4636##) or the service center.
Method 5: Physical destruction of data (for paranoids)
If you sell a phone with sensitive information (e.g., a Redmi worker with access to corporate data), even an EDL may not give a 100% guarantee.
- π¨ Memory soldering: On eMMC models (like the Redmi 7), you can physically replace the memory chip, but it's expensive and requires a soldering station.
- π₯ Repeatedly re-recorded. ADB or TWRP Fill in the memory with random data:
adb shell
su
dd if=/dev/urandom of=/dev/block/mmcblk0 bs=1Mβ οΈ This method destroys the phone - after it requires a complete flashing.
Alternative to Redmi with UFS-storage device (e.g. Redmi) K60):
- Use f2fs-tools for low-level formatting:
fastboot erase userdata
fastboot format:ext4 userdata
fastboot flash userdata empty.img(where empty.img β sectarian).
7. Comparison of methods: which one to choose?
The table below compares all methods in terms of efficiency, complexity and risks:
| Method | Efficiency | Difficulty | Risks. | Suitable for |
|---|---|---|---|---|
| Reset via settings | ββ (data retrieved) | β (simple) | Low. | Selling to friends, quick reset |
| Recovery Mode | βββ (better than the settings) | ββ (You need access to Recovery) | Medium (soft brick risk) | The phone is not turned on, but Recovery is working. |
| Fastboot | ββββ (full-format) | βββ (You need a PC and unlocked bootloader) | High (hard brick risk) | Before selling, if you need to erase everything |
| EDL Mode | βββββ (full-record) | ββββ (You need firmware and authorization) | Critical (brick risk) | Recovery after failures, complete erasure |
| Physical destruction | βββββ (data) | βββββ (needing equipment) | Critical (phone will break) | Confidential information, corporate telephones |
π‘
For most users, a combination of reset via settings + formatting via Fastboot is enough, which strikes a balance between security and simplicity.
8. Frequent mistakes and how to avoid them
When erasing data on Xiaomi Redmi, users often face problems, and here are the most common solutions:
- π "This device is locked after resetting β So the phone is tied to the Mi Account. Solution: reset via Fastboot with the fastboot erase frp team.
- π± phone is stuck on startup Redmi logo after reset β Most likely, the section was damaged. /system. Solution: Write your phone through MiFlash in mode EDL.
- π Fastboot doesn't see the device β Check the drivers and cable (require original) USB Type-C. On Windows, sometimes disabling driver signatures helps.
fastboot flash recovery recovery.img
fastboot reboot recoveryIf you are selling a phone, check:
- π Is the account Mi (Settings) untied β Xiaomi account β Get out).
- π Google Account Deleted (Settings) β Accounts. β Google β Delete the account).
- π Find My Device Settings Reset (Settings) β Google β Security β Find My Device β Shut down).
π‘
Before selling your phone, take a screenshot of the Settings menu β About the phone β A state where you can see that accounts are untied. This will protect you from accusations of blocking the device.