Have you bought a used Xiaomi, taken a phone from a friend, or found traces of another user in your device? Other people's photos, messages, accounts, or even passwords are not just taking up space, but they are also putting your privacy at risk. In 2026, Xiaomi smartphones (including Redmi, POCO, and Black Shark models) store data in multiple layers of memory, from visible files to system caches to attached accounts. Simply deleting folders is not enough, you need a comprehensive cleanup.
In this article, we will discuss all the ways to delete someone elseβs data from Xiaomiβs memory, from a basic reset to deep formatting of the internal drive, focusing on hidden tracks (such as synchronized Mi Account data or backups in Google Drive) that remain even after a standard reset, and explain how to avoid common mistakes that can turn a device into a βbrickβ or remain tied to someone elseβs account.
1.Preparation: What to do before cleaning the memory
Before you start deleting data, be sure to follow these steps β they will save you from losing important information and problems with activating the device:
- π± Back up your data (if your phone is already yours but you are afraid of losing your personal files). β The phone. β Backup or third-party applications like Swift Backup (requires root).
- π Make sure the device is not blacklisted. IMEI IMEI.info β If your phone is listed as stolen, cleaning wonβt unlock it.
- π Untie all your accounts (if any). Go to Settings β Accounts and sync and delete Google, Mi Account, Facebook and other profiles.
- π Charge the phone at least 50%. Interrupting the reset process due to battery discharge can lead to loss of access to the system partition (reflashing through Fastboot will be required).
If you buy a phone with your hands, ask the seller to reset in your presence and make sure that the device is not tied to his Mi Account. Otherwise, after cleaning, you may be asked to enter someone else's password (especially relevant for Redmi Note 10/11 models and later).
β οΈ Note: If the phone has Find Device enabled, the reset will not automatically turn it off!
2. Method 1: Standard reset via settings (for beginners)
The simplest method is hard menu reset, which deletes all user data, but does not affect system files and firmware, which is suitable if the previous owner did not link the device to the Mi Account or has already untied it.
Instructions:
- Open Settings β About the phone β Reset settings.
- Select to erase all data (reset to factory).
- Enter. PIN-code or pattern lock (if installed).
- Confirm the action by clicking Delete Everything.
- Wait for the reboot (it will take 5-15 minutes).
After the reset, the phone will start as new, but some data may remain:
- π Files in a folder MIUI (for example, wallpaper or themes).
βοΈ What to check after resetting
β οΈ Attention: On Xiaomi models 12/13 redmi K50 If you reset, you may have a mistake, "This device is linked to an existing Mi Account," which means that the previous owner did not untie the account, and the solution is only to appeal to Xiaomi with proof of purchase.
Method 2: Deep Formatting with Recovery Mode
If a standard reset doesnβt help or you suspect that there are hidden partitions of data (such as from custom firmware like LineageOS), use Recovery Mode. This method completely overwrites the user partition (/data), but does not touch the system partition (/system).
How to start:
- Turn off the phone.
- Press the Power button + Volume up until the Mi logo appears.
- In the Recovery menu, select the language (if you have a choice).
- Go to Wipe Data β Wipe All Data.
- Confirm the action with the swipe or the Yes button.
- After cleaning, select Reboot.
Advantages of the method:
- β Deletes even encrypted data (if a password has been set).
- β Clears the application cache and temporary files.
- β Works on locked phones (unless you need a password to log in to Recovery).
Disadvantages:
- β Does not delete data from /sdcard (External memory or partition for media files).
- β Does not reset your Mi Account settings if your account has been linked.
What to do if Recovery Mode is blocked by a password?
4. Method 3: Complete Fastboot Firmware Fastboot (for experienced)
If previous methods didnβt work or you want to completely erase all traces (including system files), youβll need to flash through Fastboot.This is a good way to go for Xiaomi, Redmi and POCO models, but requires a PC and command line knowledge.
What you need:
- π» Computer with drivers installed ADB/Fastboot (You can download from the Android website).
- π Cable USB Type-C (original, undamaged).
- π Firmware for your model (download from the official website of Xiaomi or Xiaomi Firmware Updater).
Step-by-step:
- Unpack the firmware in a folder on the PC (should be a file) flash_all.bat or flash_all.sh).
- Turn off your phone and press the Power button + Volume down to log into the Fastboot.
- Connect your phone to your PC and launch the file flash_all.bat (Windows).
- Wait until the process is complete (the phone will reboot automatically).
Important: This method completely erases all data, including system data, and installs a clean firmware. Once you flash it, the phone will look like new, but:
- π You will need to re-link your Mi Account (if you have one).
- π± Possible loss of warranty (if the firmware is unofficial).
- β οΈ Risk of βbrickingβ when interrupting the process.
5. Method 4: Cleaning external memory (SD-maps and sections /sdcard)
Many users forget that external memory (including the built-in /sdcard partition) is not cleared in a standard reset.
- πΈ Photos and videos (in folders) DCIM, Pictures).
- π΅ Music and downloads (Download, Music folders).
- π Documents and backups (such as from WhatsApp or Titanium Backup).
- π App cache (folder) Android/data).
How to clean:
- Connect your phone to your PC in File Transfer (MTP) mode.
- Open the internal memory folder or SD-map.
- Delete all folders except system folders (MIUI, Android β you do not need to touch them).
- For complete cleaning, format the section: Settings β Storage β Cleanup β Format.
Note: If the Encrypted Storage feature is enabled on the phone, formatting may require the old password to be entered, in which case only a full reset via Recovery will help.
| Type of memory | What it keeps. | How to clean up |
|---|---|---|
| /data | Applications, settings, accounts | Reset via Settings or Recovery |
| /sdcard | Photos, videos, music, downloads | Manual cleaning or formatting |
| /system | Firmware, system files | Fastboot flashing through Fastboot |
| SD-map | User files | Formatting on PC or phone |
6. Removal of footprints in cloud services (Mi Cloud, Google Drive)
Even after cleaning the phone completely, the data can remain in the cloud.
- βοΈ Mi Cloud: photos, contacts, notes, backups.
- π¬ Social media: Facebook, VK, Telegram can store chats and media files.
How to delete:
- Untie your device from Mi Cloud: Go to account.xiaomi.com. In Devices, find your phone and delete it. Delete all backups in the Cloud β Backups.
- Clear Google Account: Go to myaccount.google.com. In Security β Your Devices, delete your phone. Check Google Photos, Google Drive and Contacts for other people's data.
If you don't know the password from someone else's Mi Account, the only way to untie it is to contact Xiaomi with a check to buy. Without proof of ownership, unlocking is impossible.
π‘
If the previous owner forgot to unplug the Mi Account, try contacting them and asking them to remove the device from their account, which will save you weeks waiting for a response from support.
7.A check for hidden tracks: what could have been left
Even after all the manipulations, Xiaomiβs memory may still be obscured.
- π Logs of the system: In the folder /data/log They're automatically cleared when they're reset, but if the phone was rooted, the logs could have been moved elsewhere.
- π‘ MAC-Wi-Fi addresses: The phone remembers the networks it connected to. Check Settings β Wi-Fi β Save networks.
- π± IMEI and serial number: They're tied to the device, but scammers sometimes fake them#.
- π Encryption Keys: If the phone has been encrypted, the remaining keys can be stored in the /data/misc. Completely removed only by re-flashing.
For a deep check, use the applications:
- DiskDig (scans deleted files).
If you find suspicious files, but are not sure of their security, do not open them - it is better to delete through Recovery or reflash the phone.
π‘
Even after a reset, some data (such as cloud backups or system application logs) can remain available to the previous owner, and only a combination of reset, format and unbundle accounts gives full confidence in cleaning.
8 Checklist: how to avoid problems when buying used Xiaomi
If you are buying a phone with your hands, be sure to follow these steps to avoid encountering someone elseβs data or locking them:
βοΈ Checking Xiaomi before buying
If the seller refuses to reset or demonstrate the operation of the phone, it is a reason to be wary.
- π¨ Linked to someone else's account.
- π§ Has hardware malfunctions (for example, does not work) GPS or NFC).
- π΅ Blacklisted by operators (stolen/lost).
Remember, a price below the market of 30% or more almost always means a problem with the phone, and it is better to pay over the price of a tested device than to spend time unlocking or repairing.