Xiaomi Redmi 9 is a popular model with 4 GB of RAM and 64/128 GB of memory, but sooner or later the owner is faced with the question: how to properly delete personal data before selling, transferring or troubleshooting. Simply deleting files through the Explorer is not enough - residual information can be recovered by special programs. This article covers everything from a standard reset through the menu to forced cleaning through Fastboot and deleting the associated Mi Account.
The Redmi 9 feature (codenamed lancelot) is that it has Mi Cloud Lock protection, which locks the phone after a reset, unless you unplug the account in advance, and we'll look at how to avoid this problem, and we'll look at alternative ways to prevent the phone from turning on or locked. All instructions are relevant for MIUI 12/13/14 firmware based on Android 10/11.
1. Preparation for data deletion: what to do before resetting
Before you start cleaning, take critical steps to ensure you donโt lose access to your phone or data.
First, untie your Xiaomi account from your device. If you don't, the phone will require you to enter a username/password from the previous owner (Mi Account Lock protection). Check the binding in Settings โ Xiaomi Account โ Account Management. Delete the device from the list on account.xiaomi.com in the Devices section.
Second, keep backup copies:
- ๐ฑ Contacts and Messages: Export through Settings โ Google โ Backup or Mi Mover application.
- ๐ท Photo/video: copy to PC via USB-cable (enable File Transfer mode in notification curtain).
- ๐ Wi-Fi passwords: write them down in advance โ after resetting the network you will have to configure again.
- ๐ฎ Game saves: Use cloud services like Google Play Games or Mi Cloud.
โ ๏ธ Note: If you sell a phone, deleting your Xiaomi account without uncoupling your device through a website will lock your phone after a reset, a common mistake that leads customers to return their gadgets.
Delete Xiaomi account from your device via settings | Untie your phone at account.xiaomi.com|Save IMEI (dial *#06#)|Copy files to PC/cloud |Write down passwords from Wi-Fi and apps-->
2. Standard reset via the settings menu
The easiest way is to use the built-in reset function, which is suitable if the phone turns on and you remember the pattern lock./PIN-code.
Instructions:
- Open Settings โ About Phone โ Backup and Reset.
- Select Resetting (on some firmware - Reset to factory).
- Remove all data and confirm the action.
- Wait for the reboot (it will take 3-5 minutes).
Once completed, the phone will start as new, with the screen of initial setup.
If the Reset option is not available (grey), then:
- ๐ Parental control is installed on the phone - you need to enter the administrator password.
- ๐ฑ The device is tied to corporate policy (for example, through Android Enterprise).
- ๐ง Debugging is on. USB with reset blocking (rarely, but occurs on custom firmwares).
๐ก
If the reset has been stuck on the Redmi logo for longer than 10 minutes, force the phone to restart by holding the power button for 15 seconds.
3. Reset via Recovery Mode (if the phone is not turned on)
When Redmi 9 doesnโt respond to clicks, is getting stuck or locked, Recovery will help.This method works even without a password, but does not delete Mi Account โ the phone will remain tied to your account.
Step-by-step:
- Turn off the phone (press the power button for 10 seconds).
- Press Volume Up + Power and hold for 10-15 seconds until the Mi logo appears.
- Release the buttons โ you will be taken to the Recovery menu (navigation โ volume buttons, choice โ power button).
- Select Wipe Data โ Wipe All Data and confirm.
- After cleaning, go back to the main menu and select Reboot โ Reboot to System.
If the menu is in Chinese, focus on the icons:
- ๐งน Wipe Data - erasing data.
- ๐ Reboot - reboot.
- ๐ฑ Connect with MiAssistant โ PC connection (no need).
โ ๏ธ Note: Some Redmi 9 firmware in Recovery does not have Wipe All Data. In this case, use Fastboot (section 4).
Yes, on Xiaomi|Yes, on another phone|No, but I know it |No and I don't plan-->
4. Forced clean-up via Fastboot (for experienced)
Fastboot is the most radical method, which deletes all data, including system files, and requires a connection to a PC.
- ๐ The phone is stuck in a reboot cycle (bootloop).
- ๐ Forgot the pattern lock and Recovery is blocked.
- ๐ฑ You need to reflash the device after a failed update.
What you need:
- ๐ฅ๏ธ Computer with Windows/Linux and installed drivers ADB/Fastboot.
- ๐ Cable USB (preferably original).
- ๐ฆ Firmware archive for Redmi 9 (download from official website).
Instructions:
- Turn off the phone and press Volume Down + Power to enter the Fastboot (a hare in a hat-eared hat will appear).
- Connect Redmi 9 to your PC and open the command line (Win + R โ cmd).
- Check the connection command: fastboot devices should appear serial number of the device.
- Run full erase: fastboot erase userdata fastboot erase cache fastboot format:ext4 userdata fastboot format:ext4 cache
- Reboot the phone: fastboot reboot
What if Fastboot canโt see the phone?
| Resetting method | PC required | Deleting the Mi Account | It works when you lock it. | Difficulty |
|---|---|---|---|---|
| Through settings | โ No. | โ No (to untie) | โ No. | โญ 1/5 |
| Recovery Mode | โ No. | โ No. | โ Yes. | โญ 2/5 |
| Fastboot | โ Yes. | โ No. | โ Yes. | โญ 4/5 |
| EDL (via MiFlash) | โ Yes. | โ Yes (with full firmware) | โ Yes. | โญ 5/5 |
5. Delete the Mi Account after the reset (if you forgot to untie)
If you reset Redmi 9 without deleting your Mi Account, your phone will require you to enter your login/password when you first set up.
Method 1: Through the official website (if you remember the account details):
- Go to account.xiaomi.com.
- Log in and remove Redmi 9 from the device list in Device Management.
- On your phone, link a new account or skip a step (if you sell).
Method 2: Through Support (if you donโt remember your password):
- On the page of entering the password on the phone tap Forgot the password?
- Select recovery via email/phone linked to your account.
- If access is lost, contact Xiaomi with a purchase check and IMEI (see *#06#).
โ ๏ธ Note: Mi Account unlock services are often fraudulent. Xiaomi does not provide official tools to bypass security โ the only legal way is to restore access to your account.
6.Deep Cleanup: How to Delete Data Without Recovery
A standard reset does not guarantee complete deletion of files โ you can restore them with programs like DiskDigger or Recuva.
Method 1: Repeated overwriting (for flash memory):
- After reset, fill the phoneโs memory with junk files (e.g., 4K video).
- Remove them and repeat the reset.
- Repeat 3-5 times, and this will reduce the chances of recovery to a minimum.
Method 2: Encryption + Reset (for power users):
- Enable encryption in Settings โ Security โ Phone Encryption.
- After the process is completed (it will take 1-2 hours), reset.
- Encryption makes data unreadable without a key that is erased when reset.
Method 3: Use ADB (requires debugging over USB):
- Connect your phone to your PC and enable USB Debugging in Settings โ About Phone โ MIUI version (tap 7 times according to version, then go back to Additional โ For Developers).
- In the command line, execute: adb shell su dd if=/dev/zero of=/dev/block/mmcblk0 Attention! This command will completely destroy all partitions, including system partitions. The phone will become a "brick" without firmware.
๐ก
For the sale of the phone is enough standard reset + detachment account Mi. Deep cleaning is necessary only when transferring confidential data (for example, corporate customers).
7. Frequent mistakes and how to avoid them
Error 1: โThe phone asks for the old password after resettingโ
- ๐น Reason: Mi Account not untied or Factory Reset Protection enabled (FRP) Google.
- ๐น Solution: Enter the details of an old Google account that was on the phone before the reset.
Error 2: โReset is stuck on 99% or the MI logoโ
- ๐น Reason: Userdata partition is damaged or there is not enough space for temporary files.
- ๐น Solution: Reset via Fastboot (Section 4) or connect your phone to charge and try again.
Error 3: "After reset, there is no network or sensors are not working"
- ๐น Reason: Flew the firmware of the modem module or damaged drivers.
- ๐น Solution: Sweat your phone with the official firmware through MiFlash (instructions on the Xiaomi website).
Error 4: โI canโt log in to Recovery or Fastbootโ
- ๐น Cause: Volume or power button is damaged.
- ๐น Solution: Use ADB Recovery: Adb Reboot Recovery or Fastboot: Adb Reboot Bootloader