Selling a Xiaomi smartphone requires not only physical transfer of the device, but also complete deletion of personal data to avoid leakage. Even after a standard reset, the phone can still have file fragments, account histories or hidden copies of messages. In this article, we will analyze a step-by-step cleaning algorithm that ensures that the new owner will not be able to recover your data, from deleting your Mi Account to formatting internal memory.
We will focus on hidden traps that many forget: for example, Google or Xiaomi Cloud services tied to the device can continue to sync even after a reset, and consider how to check that the smartphone is really โcleanโ before transferring to the buyer โ this is critical for models with Find My Device or Mi Account in the status of โactivatedโ.
Why conventional dumping is not enough: hidden risks
Many users believe that choosing Reset before the factory settings on the Xiaomi menu completely erases all data. In practice, this is not the case: modern file systems (for example, F2FS or ext4, used in Xiaomi smartphones) do not overwrite data physically, but only mark it as โremoteโ.
- ๐ธ Photos and videos from the gallery, including those removed from the cart.
- ๐ฌ Communications from SMS, WhatsApp, Telegram (if the โnon-refundable deletionโ function was not enabledยป).
- ๐ Logs of geolocation and history of visited places (stored in the cache of Google Maps or Mi Location).
- ๐ Application cache with logins/passwords (for example, saved sessions in a browser or banking applications).
Moreover, if the device has enabled data encryption (File-Based Encryption, activated by default on new models), then after reset without removing the encryption keys, data recovery becomes even easier, so a simple reset is not enough, you need to combine several methods.
Step 1: Untie your Xiaomi account (Mi Account)
If you do not do this, the new owner will not be able to use the smartphone: after reset, the device will require you to enter a username and password from your account (Mi Cloud Activation Lock function), this applies to all models starting with the Redmi Note 5 and Mi 8.
Instructions:
- Open Settings โ Xiaomi account.
- Click on your profile and select Exit (if the account is not synced, you may need to enter a password).
- Return to Settings โ Xiaomi Account โ Delete your account.
- Confirm the deletion via SMS or password from the account.
โ๏ธ Checking the Mi Account detachment
โ ๏ธ Note: If you have forgotten the password from Mi Account, restore it on the official website before reset. After deleting the data, it will be impossible to restore access to the account through this device!
Step 2: Delete your Google account and other services
Google account is also linked to the device via Factory Reset Protection (FRP), and if you don't untie it, after the reset, the customer will see a request to enter a username and password from your Gmail.
- Go to Settings. โ Google accounts.
- Select your account and click Delete account (not โexitโ, namely deletion!).
- Confirm the action with a password from the device or a pattern lock.
Check out other services:
- ๐ฑ Samsung/Knox (If you used Samsung apps on Xiaomi โ rarely, but it happens).
- ๐ Banking applications (SberBank, Tinkoff, etc.) โ manually remove them through Settings โ Annexes.
- ๐ฎ Gaming accounts (e.g. Mi Game Center or Google Play Games).
๐ก
If you used Xiaomi to pay through Mi Pay, be sure to remove the associated cards in the Settings menu โ Mi Pay โ Card Management. Even after a reset, some data may remain in secure storage.
Step 3: Complete reset to factory settings
Now, to hardware reset, I think it's important that you do this step after you delete all your accounts, otherwise the device might be locked.
- Back up important data (contacts, photos, documents) to your PC or cloud.
- Go to Settings โ About the phone โ Reset settings.
- Choose to erase all data (not โsetting resetโ, namely, complete erasure!).
- If you have the option to clear your internal memory, activate it.
- Confirm the action with a password / pattern lock.
It takes 5-15 minutes, and when you reboot it's like a new device, with a customization welcome screen.
What to do if the smartphone is not reset?
Step 4: Formatting internal memory (optional)
For maximum security (for example, if the phone stored sensitive data), it is recommended to format the internal memory after reset, this will overwrite all sectors of the data, making recovery almost impossible.
Methods of formatting:
| Method | Instructions | Applicability |
|---|---|---|
| Through Recovery. | 1. Turn off the phone. 2. Press Power + Volume up to log into Recovery Mode. 3. Select Wipe Data โ Wipe All Data. 4. Confirm and wait for completion. | All Xiaomi models |
| Through Fastboot. | 1. Connect the phone to a PC with ADB/Fastboot installed. 2. Run the command: fastboot erase userdata fastboot erase cache 3. Reboot the device. | For advanced users |
| Through TWRP | 1. Install the custom TWRP Recovery. 2. From the menu, select Wipe โ Format Data. 3. Enter yes for confirmation. | Only for unlocked loaders |
โ ๏ธ Note: Formatting via Fastboot or TWRP This can lead to a loss of warranty if the device has not been officially unlocked. for most users, a reset via Recovery Mode is enough.
Step 5: Check the device before selling
After all the manipulations, you need to make sure that the smartphone is completely cleaned.
- ๐ Welcome screen: after turning on, the initial setting menu (language selection, Wi-Fi connection) should open).
- ๐ฑ No Accounts: C Settings โ Accounts should not be linked to Mi or Google accounts.
- ๐ Empty Storage: Open Files - Folders DCIM, Downloads, Pictures should be empty.
- ๐ No locks: Try creating a new Mi Account โ the device should not require the old password.
You can also use validation applications, such as Device ID (IMEI check) or AIDA64 (view device information). If old data is displayed in the Android โ Accounts section, the reset was incorrect and the procedure should be repeated.
๐ก
If you sell a smartphone with root rights or custom firmware, be sure to return the stock firmware and block the bootloader. Otherwise, the buyer may face problems when updating the software.
Frequent Mistakes and How to Avoid Them
Even experienced users sometimes miss important details.-5 Mistakes in cleaning Xiaomi before selling:
- Unremoved Mi Account: If you forget to untie it, the customer will not be able to use the phone, the solution is to restore access to the account and delete it before reset.
- Reset without deleting your Google account: This will result in FRP blocking. Always delete your account before resetting.
Another common problem is residual data in cloud services, for example, if you were using Xiaomi Cloud, photos could be synced automatically. Before selling, go to i.mi.com and manually delete backups for this device.