How to Clean Xiaomi Phone Before Selling: Complete Reset Without Risk of Data Leakage

Selling a Xiaomi smartphone requires not just memory formatting, but completely erasing all personal data, ensuring that it cannot be recovered. Even after a standard reset via the settings menu, some files can remain in hidden memory areas, and Mi Account or Google accounts can lock the device for a new owner. In this article, we will discuss all the stages of preparing the phone for sale: from backup to checking for residual data.

Xiaomi smartphones are a feature of the MIUI ecosystem, where even after a reset, information about the previous owner can be stored in cloud services. For example, if you do not unplug your Mi Account, the new user will not be able to activate certain features (for example, Find Device or Mi Cloud), We will explain how to avoid such problems and make the reset 100% safe for your privacy.

Why conventional dumping is not enough: hidden risks

Many users are limited to choosing Resets from the phone menu, but this does not guarantee complete cleaning.

  • πŸ“ File fragments in unused memory space (can be restored by special programs).
  • πŸ”‘ Authorization tokens for some applications (for example, WhatsApp or Telegram can automatically log in to your account when you first connect to the network).
  • πŸ“‘ Wi-Fi Connected Network Data (including passwords unless Wi-Fi Direct is cleared).
  • πŸ“± A linked Mi Account that blocks access to functions MIUI new owner.

Moreover, some Xiaomi models (such as the Redmi Note 10 Pro or POCO X3 Pro) may still have a cache of system applications containing activity logs after a reset.

⚠️ Note: If you sell a phone with a damaged screen or a broken sensor, a standard reset via the menu is not possible, in which case you will need to use Recovery mode or connect to a PC via a PC. ADB. Details - in the section "Alternative methods of discharge».

πŸ“Š What Xiaomi smartphone are you selling?
Redmi Note (any)
POCO
Mi (flagship)
Black Shark
Other

Step 1: Backing up important data

Before cleaning, make sure to save all the files you need. Xiaomi has built-in backup tools, but they don't cover everything.

  1. Contacts and communications: πŸ“‡ Export contacts to.vcf file via Contacts β†’ Settings β†’ Imports/Exports. πŸ’¬ Keep the story. SMS using applications like SMS Backup & Restore (available on Google Play).
  2. Photos and videos: πŸ“Έ Move your media files to your PC or cloud (Google Photos, Mi Cloud). DCIM, Pictures and Downloads. 🎡 Copy music and documents manually – they are not included in the standard backup MIUI.

Applications and settings:

  • πŸ“± Use the settings. β†’ Additionally. β†’ Backup and reset β†’ Local backup to save settings MIUI.
  • πŸ”§ Separately export your app settings (for example, WhatsApp allows you to create backup chats in Google Drive).

Important: Check the hidden folders! /storage/emulated/0/MIUI You may have log files that contain your activity, and don't forget the files in the root directory (e.g., log files, notes_backup.json for Mi Notes notes).

Backup Contacts |Save Photos and Video |Export SMS |Copy Documents |Untie Accounts-->

Step 2: Account untiing and de-association

One of the most critical steps is to delete all accounts, otherwise the new owner will not be able to use the phone to the fullest.

  • πŸ“Œ Mi Account (Main Xiaomi Account): Go to Settings β†’ Xiaomi account β†’ After exiting, be sure to remove the device from the list of trusted on account.xiaomi.com.
  • πŸ” Google Account: Remove to Settings β†’ Accounts. β†’ Google β†’ Delete your account if your phone is secure. FRP (Factory Reset Protection, after reset, you will need to enter the data of the last Google account – be sure to remember them or turn them off. FRP.
  • πŸ’³ Payment systems: remove tied cards in Google Pay, Mi Pay and banking applications.
  • πŸ” Prints and Face. ID: clean up in Settings β†’ Passwords and security β†’ Fingerprints/faces.

Feature for models with MIUI 14+: If you used the Mi Cloud Sync feature, the data can automatically recover after resetting when you connect to the Internet. To avoid this, turn off sync in the Xiaomi account settings before reset.

⚠️ Note: On some firmware (for example, MIUI Global Stable 13.0.4) After deleting the Mi Account, the phone will require confirmation via the SMS Make sure you have access to the linked number/mail or you will not be able to reset!

Type of accountWhere to removeConsequences of failure to remove
Mi AccountSettings β†’ Xiaomi accountBlocking Mi Cloud, Find Device, Settings Limits
Google AccountSettings β†’ Accounts β†’ GooglePost-Reset Data Requirement (FRP Lock)
Social mediaIn the settings of each application (Facebook, VK, etc.)Automatic login at the first start of the application
Banking applicationsIn the application security menu (for example, SberBank Online)Risk of access to financial data

Step 3: Completely reset your settings through the menu

The most reliable way to clean is through the phone's menu, hard reset. Instructions for MIUI 12/13/14:

  1. Open Settings β†’ About Phone β†’ System Update (on some models, the path may differ: Settings β†’ Additional β†’ Backup and Reset).
  2. Select Resetting (or Resetting to Factory).
  3. Check to clear internal memory (this will delete all files, including music, photos and documents).
  4. Confirm the action with a password or pattern lock (if installed).
  5. Wait until the process is complete (the phone will reboot several times).

The time of reset depends on the model:

  • πŸ“± Redmi 9/10 series: ~5–7 minute.
  • πŸ“± POCO F3/X3: ~8–10 minutes (due to the larger memory capacity).
  • πŸ“± Mi 11/12 series: before 15 minutes (due to data encryption).

⚠️ Warning: If the phone is stuck in the reset phase (more than 30 minutes without progress), don't force it to turn it off! This could damage the firmware. Instead: Wait another 10-15 minutes. If there's no change, press the Power Button. + Volume up for 10-15 seconds to reboot in Recovery Mode. From the recovery menu, select Wipe Data (manage volume buttons, confirm - power button).

πŸ’‘

If after resetting the phone requires you to enter a password from an old Google account (FRP Lock), and you do not remember it - use the official unlock tool from Xiaomi: en.miui.com/unlock.

Step 4: Additional Cleaning with Recovery Mode

For maximum certainty of deletion, it is recommended to reset through Recovery Mode. This is especially true if:

  • πŸ”„ You sell your phone after long-term use (more than 2 years).
  • πŸ“± A custom firmware was installed on the device.
  • πŸ”’ You suspect the presence of malware.

Instructions for entering Recovery:

  1. Turn off the phone.
  2. Press the Power button + Volume up (on some models – Volume up + Volume down + Power).
  3. After the Mi logo appears, release the buttons – you will be taken to the recovery menu.
  4. Use the volume buttons for navigation and the power button for confirmation.
  5. Select Wipe Data β†’ Wipe All Data (complete cleanup).
  6. Confirm the action and wait for the completion.

How is a Recovery Reset Different from a Standard Recovery Reset?

  • 🧹 Deletes all partitions, including cache and application data.
  • πŸ”§ Resets the bootloader settings (useful if the phone has been unlocked).
  • πŸ›‘οΈ Eliminates possible firmware errors that may have remained after a normal reset.
What to do if Recovery Mode is not available?
If the phone doesn't load into recovery mode (for example, due to a damaged firmware), try: Connect the device to your PC and use the Mi Flash Tool for full flashing. ADB (Android Debug Bridge for forced reset.Command: adb shell recovery --wipe_data Contact Xiaomi Service Center for Help in Unblocking.

Step 5: Checking your phone after a reset

After cleaning, don't hand the phone over to the customer right away!

  • πŸ” No Accounts: Go to Settings β†’ Accounts – there should not be a Mi Account or Google linked.
  • πŸ“‚ Empty Memory: Check Downloads folders, DCIM, Pictures – they should be empty.
  • πŸ”§ Reset: Make sure language, region, and other settings are reset to factory settings (usually English and China/India as the default region).
  • πŸ“Ά No Wi-Fi Networks: In Settings β†’ Wi-Fi should not be saved networks.

Residual Data Test: Install any file recovery application (like DiskDigger) and scan the memory. If it finds your old photos or documents, the reset is incorrect and you need to repeat the procedure through Recovery Mode.

πŸ’‘

If you are selling an eSIM-enabled phone (such as the Xiaomi 13 Pro), be sure to delete the eSIM profile in the operator’s settings or through the SIM Manager app.

Alternative cleaning methods (if the phone is not turned on)

If your phone’s screen is damaged or it doesn’t respond to commands, use one of these methods:

  • πŸ–₯️ Reset via PC with Mi Flash Tool: Download Mi Flash Tool from Xiaomi's official website. Install Qualcomm or MediaTek drivers (depending on the phone's processor). Connect your phone in Fastboot mode (press Power). + Volume down. In the program, select the Clean All option and flash the stock firmware.

ADB

adb shell


su




rm -rf /data/*




rm -rf /sdcard/*




reboot recovery

This command removes all data from internal memory and reboots the phone to Recovery.

Contact the service center:

Xiaomi

Important for MIUI EU/Global ROM models: If the phone was reflashed to an unofficial version of MIUI, it may be necessary to re-install the firmware after the reset, in which case it is better to return the stock firmware through the Mi Flash Tool to avoid problems with the new owner.

What to do with accessories and packaging

Before handing over the phone to the buyer, prepare:

  • πŸ“¦ Box and documents: If saved, hand them over with your phone - this will increase its value.
  • ⚑ Charger and cable: Check the performance (especially important for models with Quick Charge).
  • 🎧 Headphones and case: If they are in good condition, you can sell with your phone.
  • πŸ“„ Warranty card: If the warranty is still valid, transfer it to the new owner (preliminary check if it is not tied to your data).

Also check on account.xiaomi.com in the Devices section – your phone should not be displayed there.

πŸ”Ή Can you sell Xiaomi with an unlocked bootloader?
🚨 Unlocked bootloader: Allows you to install unofficial firmware, which can lead to a loss of warranty for the new owner. Increases the risk of installing malware. Certain features (e.g. Mi Pay or Widevine) L1 for Netflix HD) If you unlock the bootloader, return the stock firmware and lock it back through the Mi Unlock Tool.
πŸ”Ή How to Reset Xiaomi When You Forgot Your pattern lock?
There is. 3 How to: Using Mi Account: On the lock screen, click Forgot your password? and log in to your Mi Account to unlock. Through Recovery Mode: Go to Recovery Mode (as described above) and select Wipe Data. Connect your phone to your PC, install the Mi Flash Tool, and run the stock firmware with the Clean All option. ⚠️ If you do not remember the Mi Account data, you can only restore access through the official website with confirmation of the account. email/SMS.
πŸ”Ή Should I inform the customer about the replacement of the battery?
βœ… Yes, it is ethical and beneficial! If the battery is replaced: Tell the customer about it - it will avoid claims in the future. Show a check or warranty for a new battery (if any). Specify in the ad the percentage of battery wear (can be checked through ##4636### in the dialer or the AccuBattery app). This will increase trust and sell the phone more expensive.