How to delete Mi messages on Xiaomi: all ways to clean chats and SMS

Why users want to delete Mi messages and what kind of app

Mi Messages app (or Messages in global firmware) is a standard messenger from Xiaomi, which by default handles SMS, MMS and RCS-Messages on all brand devices, including Redmi, POCO And Black Shark, despite its user-friendly interface and integration with the ecosystem. MIUI, Many users face the need to clear their correspondence history โ€“ whether it is private messages, spam or system notifications.

Reasons for deletion range from simple memory release to a desire to keep privacy before selling a phone. For example, in MIUI 14, messages can take up to 500 MB when used actively, and some users note that the application does not always correctly sync with the Mi Cloud, which causes important data to be duplicated or lost. In addition, in recent versions of MIUI, an automatic archiving feature has appeared that can store deleted messages in a hidden partition - this makes it difficult to completely clean.

In this article, we will discuss all the current ways to delete messages, from manual cleaning to reset via ADB, and also explain how to avoid typical errors, such as accidentally removing important SMS from banks or services.

Method 1: Manually Delete Messages via Application

The simplest method is to clean up right in the Mi message interface, which is suitable for deleting individual chats or the entire story at a time.

  • ๐Ÿ“ฑ Open the Messages app (the envelope icon on the desktop).
  • ๐Ÿ” Press and hold your finger on the desired chat (or SMS), then select other messages if you want to delete several messages.
  • ๐Ÿ—‘๏ธ In the top menu, click on the basket (Delete) and confirm the action.
  • ๐Ÿงน For complete cleaning of all messages go to โ‹ฎ (three-point) โ†’ Settings โ†’ Clear all messages.

It is important to note that MIUI 13/14, after deleting the message, enters the basket (stored for 30 days), where it can be restored.

  1. Go to the Recycle Bin (the icon in the bottom menu of the application).
  2. Select messages or click Clear the basket.
  3. Confirm the action with a password / fingerprint if the protection is enabled.

๐Ÿ’ก

If you are using dualities SIM-maps, in the application settings you can choose, messages from which card to clean - it is useful if one of the SIM used only for work.

Method 2: Remove via phone settings (without opening the application)

If the Mi Message app doesnโ€™t open or you want to clear your cache and data completely (including settings), do so through system settings:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find Messages (or Messages) in the list and select it.
  3. Click Warehouse โ†’ Clear the data and Clear the cache.

โš ๏ธ Warning: This method removes all of the app's data, including notification settings, blacklists, and archived messages. Once cleaned, the app will return to factory settings, and you'll have to reconfigure it. RCS (if you use).

For Redmi Note 12 users and later: in some firmware, the Clear Data option may be hidden behind additional confirmation. If the button is inactive, click Reset Settings first (if available).

๐Ÿ“Š What version? MIUI You're using it?
MIUI 12 or older
MIUI 13
MIUI 14
I don't know.
other

Method 3: Using a file manager to delete a database

For power users, there is a method of deleting messages directly through the file system, which is useful if the Mi message application is unstable or you want to delete only certain files (for example, attachments).

Instructions:

  1. Install a file manager with access to root folders (such as Mi File Manager or Solid Explorer).
  2. Go to /data/data/com.android.mms/files/ or (for global firmware): /data/data/com.miui.mms/files/
  3. Delete files with the.db extension (e.g. mmsms.db) is a message database.
  4. Reboot the phone.

โš ๏ธ Attention: To access the folder /data/data/ You need root rights. Without them, you can't see these files. Incorrectly deleting system files can cause the Mi messaging application to crash!

If you donโ€™t have root, the alternative is to use ADB (see next section). Also remember that in MIUI 14, some messages can be stored encrypted, and deleting them through the file manager does not guarantee complete cleanup.

What happens if you delete mmsms.db?
The database contains the entire history of SMS/MMS. Once it is deleted, the application will create a new empty database, but not only messages, but also settings (for example, a signature to an SMS) may disappear.

Method 4: Remove via ADB (for advanced users)

If standard methods donโ€™t help (e.g. messages arenโ€™t deleted due to a crash), you can use Android Debug Bridge (ADB), which is a method that is suitable for cleaning data without root rights.

Step-by-step:

  1. Enable USB Debugging in the Developer Settings (Settings โ†’ About Phone โ†’ MIUI Version โ€“ Press 7 times, then return to Additional โ†’ For Developers).
  2. Connect your phone to your PC and execute the command: adb shell pm clear com.android.mms or (for global firmware): adb shell pm clear com.miui.mms
  3. Reset the device.

This command will completely reset the Mi app messages, including:

  • ๐Ÿ“ค All right. SMS/MMS/RCS-message.
  • โš™๏ธ Notification and Topic settings.
  • ๐Ÿ“ Archival and draft messages.

USB | Installed ADB drivers on PC | Phone connected in file transfer mode | Backup of important messages-->

For users of POCO F5 and other HyperOS models, the path to the package may be different in new firmware. To find out the exact application ID, use the command:

adb shell pm list packages | grep mms

Method 5: Automatic cleaning through Mi Cloud (synchronization)

If you use Mi Cloud for backup, you can clear messages via a web interface or sync settings, which is convenient if you need to delete messages on multiple devices at the same time.

How it works:

  1. Go to Settings โ†’ Xiaomi Account โ†’ Mi Cloud โ†’ Synchronization.
  2. Turn off sync for messages.
  3. Return to the Mi Message app and manually clear the data (see Method 1).
  4. Turn on sync back โ€“ now there will only be new messages in the cloud.

Important: If you donโ€™t turn off sync before clearing, deleted messages can be restored the next time you update your data from the cloud, and note that Mi Cloud has a limited history (usually last 3 months).

Action.The resultNote
Shutting down synchronizationMessages are not recovered from the cloudPassword confirmation required
Manual data cleanupOnly local messages are deletedDoes not affect backup copies
Remove from the web version of Mi CloudCleaning on all synchronized devicesAvailable at i.mi.com

What to do if messages are not deleted

Sometimes users find that messages don't disappear after cleaning, and here are the typical reasons and solutions:

  • ๐Ÿ”„ Cache not cleared: After deleting, restart your phone or manually clean the app cache (Settings) โ†’ Annexes โ†’ Communications โ†’ Kesh).
  • โ˜๏ธ Sync with Mi Cloud: Disable cloud sync before cleaning (see Method 5).
  • ๐Ÿ“ Hidden backups: B MIUI 14 There is an automatic backup function in the messages /MIUI/Backup/AllBackup. Delete the folder manually.
  • ๐Ÿ› ๏ธ Database failure: If messages are duplicated or not deleted, try resetting the app through ADB (Method 4).

For Xiaomi 13/14 models with HyperOS: If the problem persists, check for updates to the Mi message app in the Mi App Store. In newer versions, the cleaning bug bugs are often patched.

๐Ÿ’ก

If messages return after deletion, first disable all backup sources (Mi Cloud, Google Drive, local backups), and then repeat the cleanup.

FAQ: Frequent questions about deleting Mi messages

Can deleted messages be restored?
Yes, if: Messages are still in the cart (stored for 30 days), backups are made in Mi Cloud or through third-party applications (e.g. SMS Backup & Restore). Use root, you can try to restore the database from /data/data/com.android.mms/databases. Without a backup, recovery is unlikely, since MIUI does not store deleted SMS in the system partition.
Why do you keep messages after the factory reset?
In a soft reset (via Settings โ†’ Reset), some data, including SMS, can be saved if: Sync with Mi Cloud (messages are restored automatically) is used to encrypt the device, in which case the data can remain in the encrypted partition. Solution: before reset, disable the cloud and perform a hard reset via Fastboot (fastboot erase userdata).
How to delete messages from only one SIM-map?
In Mi messages, you can filter messages over SIM: Open the app and click on the chat avatar. Select Filter โ†’ SIM1/SIM2. Hold messages with the desired SIM and delete them. MIUI 14 also has the option of Settings โ†’ Dual SIM โ†’ Message Management, where you can configure individual folders for each card.
Is it safe to use third-party applications to clean SMS?
Third-party cleaners (such as Clean Master) can delete messages, but: โœ… They often only clean the cache, not the database itself. โŒ Data Leakage Risk โ€“ Some Apps Request Access SMS publicity. โš ๏ธ They may conflict with MIUI Optimizer, which leads to lags. Recommendation: use only proven tools (e.g, SD Maid) and always check the permissions before installation.
How to prevent applications from sending SMS without my knowledge?
Some apps (banks, instant messengers) can send SMS in the background. To limit this: Go to Settings โ†’ Applications โ†’ Permissions โ†’ SMS. Disable access for unnecessary applications. For banking applications (e.g. SberBank Online), leave permission, but enable Sending Confirmation in their settings. MIUI 14 also has a Privacy Protection feature that blocks automatic SMS from unknown sources.