How to Delete All Messages on Xiaomi: 7 Proven Ways

Deleting all messages on Xiaomi smartphones is a challenge that users face for a variety of reasons: from wanting to free up memory to having to sell a device without personal data. However, standard methods through the Messages app often do not allow a massive cleanup of history at a time. In this article, we will examine all possible ways - from built-in functions. MIUI beforehand ADB-commands and third-party utilities.

It is important to understand that โ€œmessagesโ€ may mean:

  • ๐Ÿ”” Notifications โ€“ Alert History from Applications;

Each type requires a different approach. For example, cleaning SMS through a system application will not affect notifications from Viber or Facebook Messenger. We will look at solutions for all cases, including hidden MIUI 14/15 features and bypassing manufacturer restrictions.

1. Delete SMS/MMS through the standard Messages app

The most obvious, but not always effective, way to use the built-in Messages application is to use the interface, which may vary depending on the version of MIUI, but the general logic is maintained:

  1. Open the Messages app.
  2. Tap it on three points (โ‹ฎ) top-right โ†’ Select Settings.
  3. Go to Message Management or Message Clearing.
  4. Select the option to Delete all messages or Mass Delete.

โš ๏ธ Note: In some versions MIUI (for example, MIUI 12.5 for Redmi Note 10) the mass removal option is hidden:

  • ๐Ÿ” Keep your finger on any message. โ†’ Put it all in the box at the top;
  • ๐Ÿ—‘๏ธ Click on the basket icon (confirmation may be required).

If the app doesnโ€™t allow you to delete messages in a packet, try an alternative path through Settings โ†’ Applications โ†’ Messages โ†’ Memory โ†’ Clear data. This will delete ALL message history without the possibility of recovery, including drafts and attachments.

๐Ÿ’ก

Before mass removal, export important items SMS to.xml file via the Messages application settingsยป โ†’ ยซImports/Exportsยป.

2.Resetting notifications and alert history

Notifications from apps (such as Instagram, Gmail or Mi Fit) are stored separately from SMS and are not deleted via the Messages app.

  1. Go to Settings โ†’ Notifications and Status bar.
  2. Select Notification History (enable it if disabled).
  3. Tap it on three points (โ‹ฎ) โ†’ Clear everything.

If you donโ€™t have notification history (as is the case with the Poco F3 or Xiaomi 12T), use an alternative method:

adb shell pm clear com.android.providers.telephony

This command will reset the system notification provider cache. ADB rights are required (see Section 5).

Type of dataWhere they're storedHow to remove
SMS/MMS/data/data/com.android.providers.telephony/databases/mmssms.dbThrough the โ€œMessagesโ€ or ADB app
Notifications/data/system/notification_policy.xmlThrough settings or resetting the Settings app
Messenger chatsFolders /data/data/com.whatsapp/, /data/data/org.telegram.messenger/Only through the apps themselves
What happens if you clear the Messages app data?
When resetting data (not cache!) to Settings โ†’ Annexes โ†’ Communications โ†’ Memory. โ†’ The data will be deleted: - The whole story SMS/MMS (including drafts); - Application settings (topics, alerts); - Linked accounts for RCS-Messages (if used) can't be recovered without a backup.

3. Mass removal of chats in messengers (WhatsApp, Telegram, etc.)

Messages in third-party messengers (WhatsApp, Telegram, Viber) are stored in their own databases and are not associated with system SMS.

WhatsApp

  • ๐Ÿ“ฑ Open the app. โ†’ three-point (โ‹ฎ) โ†’ Settings โ†’ chat โ†’ Chat history;
  • ๐Ÿ—‘๏ธ Select Clear all chats (delete messages but save media files);
  • ๐Ÿ”„ For complete removal: Settings โ†’ Memory. โ†’ Memory management โ†’ Clean up.

Telegram

  • โ˜๏ธ Press three lines (โ˜ฐ) โ†’ Settings โ†’ Data and memory โ†’ Clear the cache;
  • ๐Ÿงน To delete chats: hold your finger in the dialogue โ†’ Choose all โ†’ Delete;
  • ๐Ÿ”ฅ For a complete reset: Settings โ†’ Additionally. โ†’ Reset all settings (will not affect cloud chats).

โš ๏ธ Note: Telegram messages in secret chats are only deleted manually - they can not be cleaned en masse. WhatsApp backups on Google Drive will save the history even after deleting on the device.

๐Ÿ“Š What messenger do you use most often?
WhatsApp
Telegram
Viber
Facebook Messenger
Other

4.Use Safe Mode to remove blocked messages

If messages are not deleted due to MIUI malfunctions or viruses, try Safe Mode, which disables all third-party applications, sometimes bypassing the locks:

  1. Turn off your smartphone.
  2. Press the power button before the Xiaomi logo appears, then release and immediately press Volume down.
  3. Hold on until the Safe Mode sign appears in the lower left corner.
  4. In Safe Mode, try again to delete messages through the standard application.

If the problem is caused by a virus (e.g., adware that blocks access to SMS), in Safe Mode:

  • ๐Ÿ›ก๏ธ Remove suspicious apps through Settings โ†’ Annexes;
  • ๐Ÿ” Check your device with an antivirus (e.g. Malwarebytes);
  • ๐Ÿ”„ Restart your phone in normal mode.

Disable Wi-Fi and Mobile Data

Charge your phone at least 50%

Remember passwords from accounts (reentry may be required)

Prepare a list of applications to remove (if the cause is a virus)

-->

5. Delete messages via ADB (for advanced users)

If standard methods don't work, you can use Android Debug Bridge (ADB), a low-level device management tool that is suitable for:

  • ๐Ÿ“ฑ Delete messages on locked phones (if debugging is enabled) USB);
  • ๐Ÿ”ง Cleaning system databases without resetting to factory settings;
  • ๐Ÿ› ๏ธ Correction of errors when MIUI prevents removal SMS.

Instructions:

  1. Turn on USB Debugging in Settings โ†’ About Phone โ†’ MIUI Version (stick 7 times) โ†’ Additional settings โ†’ For developers.
  2. Connect the phone to the PC and confirm the trusted device.
  3. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb devices


adb shell




su




rm /data/data/com.android.providers.telephony/databases/mmssms.db




reboot

โš ๏ธ Note: The Rm command permanently deletes the database file SMS. If you need a backup copy, first perform:

adb pull /data/data/com.android.providers.telephony/databases/mmssms.db

To remove notifications, use:

adb shell pm clear com.android.providers.telephony


adb shell pm clear com.miui.notification

๐Ÿ’ก

ADB-Teams can circumvent limitations MIUI, But you need root permissions to access your system folders, and without root, some files can be protected by SELinux.

Full reset of the phone (last option)

If no methods have worked, then you have to do a Hard Reset, which is a factory reset, and it will delete all the data, including:

  • ๐Ÿ“ฑ Communications (SMS, MMS, messenger-chat);
  • ๐Ÿ“ท Photos, videos and music;
  • ๐Ÿ”‘ Wi-Fi passwords and accounts;
  • ๐ŸŽฎ Installed applications and their data.

How to perform the reset:

  1. Make a backup of important data through Settings โ†’ About Phone โ†’ Backup.
  2. Go to Settings โ†’ Additional settings โ†’ Restore and reset โ†’ Reset settings.
  3. Choose to erase all data and confirm.

โš ๏ธ Note: Some models (Xiaomi 13 Pro, Redmi) K60) After reset, you may need to enter a password from the Mi Account account associated with the device. If you forget the password, restore it in advance at account.xiaomi.com.

Alternative Recovery Mode Resetting Method:

  1. Turn off the phone.
  2. Press Volume Up + Power before the Mi Recovery logo appears.
  3. Select Wipe Data โ†’ Wipe All Data โ†’ Confirm.
  4. After reset, select Reboot.

7. Recovery of accidentally deleted messages

If you delete important messages, you can try to restore them, and success depends on whether the data on the device has been overwritten:

Method 1: Through the Google Backup

  • ๐Ÿ”„ When you initially set up your phone after reset, select Restore from Google Backup;
  • ๐Ÿ“ฅ Make sure that the backup is SMS was included in the settings โ†’ Google โ†’ Backup;
  • โณ Recovery can take up to 24 hours.

Method 2: With the help of third-party utilities

Programs like Dr.Fone, EaseUS MobiSaver or GT Recovery scan the device's memory for deleted messages.

  1. Connect the phone to the PC;
  2. Start the program and select SMS recovery mode;
  3. Wait for the scan to be completed (may take several hours).
  4. Select the necessary messages and save them to a file.

โš ๏ธ Warning: The more you use your phone after deleting messages, the lower your chances of recovering them.

Can I recover messages after resetting to factory settings?
Theoretically, yes, but only if: 1. The device was not encrypted (default on MIUI 12+); 2. You use specialized software (e.g. Oxygen Forensic Detective) that works with physical memory; 3. Data was not overwritten with new information. In most cases, after Wipe Data recovery is impossible without professional equipment (e.g., Chip-Off).

FAQ: Frequent questions

Can I delete messages from just one contact?
Open the Messages app, find the dialog with the right contact, tap three dots (โ‹ฎ) โ†’ Delete the chat or Clear the history. MIUI You can select several messages manually (hold your finger on the message). โ†’ highlight the rest โ†’ remove).
Why do messages appear again after deleting?
This is due to cloud sync (e.g. Google Messages or Mi Cloud) to avoid reappearing: Turn off SMS sync in Settings โ†’ Accounts โ†’ Google โ†’ Sync; Delete messages from cloud storage (e.g. via messages.google.com); Clear the Messages app cache.
How to delete messages on a locked Xiaomi phone?
If the phone is locked (forgot the password), but enabled Debugging USB: Connect the device to the PC; Use ADB-commands (see section 5); If debugging is disabled, only Hard Reset is left over via Recovery Mode (data will be lost). โš ๏ธ On models with Mi Account after reset will require the entry of a tied account.
Are there any applications for automatic removal of old SMS?
Yeah, like: SMS Organizer (from Microsoft) โ€“ sorts and offers to delete old messages; Clean Master โ€“ has a cleanup function SMS Droid Optimizer โ€“ removes duplicates and spam. โš ๏ธ Careful: Some โ€œoptimizersโ€ contain advertising software. Only install from Google Play with high rankings.
Can I delete messages so that they cannot be restored?
For non-refundable removal: Use ADB-commands to rewrite the database (for example, sqlite3 /data/data/com.android.providers.telephony/databases/mmssms.db "VACUUM;"); After deleting, fill the phoneโ€™s memory with unnecessary files (such as videos) to overwrite free sectors; Use utilities like this to clean up completely. SD Maid (CorseFinder feature) on encrypted phones (default on the phone) MIUI 12+) Recovery is almost impossible without a password.