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.
- Go to the Recycle Bin (the icon in the bottom menu of the application).
- Select messages or click Clear the basket.
- 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:
- Go to Settings โ Applications โ Application Management.
- Find Messages (or Messages) in the list and select it.
- 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).
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:
- Install a file manager with access to root folders (such as Mi File Manager or Solid Explorer).
- Go to /data/data/com.android.mms/files/ or (for global firmware): /data/data/com.miui.mms/files/
- Delete files with the.db extension (e.g. mmsms.db) is a message database.
- 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?
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:
- Enable USB Debugging in the Developer Settings (Settings โ About Phone โ MIUI Version โ Press 7 times, then return to Additional โ For Developers).
- 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
- 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 mmsMethod 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:
- Go to Settings โ Xiaomi Account โ Mi Cloud โ Synchronization.
- Turn off sync for messages.
- Return to the Mi Message app and manually clear the data (see Method 1).
- 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 result | Note |
|---|---|---|
| Shutting down synchronization | Messages are not recovered from the cloud | Password confirmation required |
| Manual data cleanup | Only local messages are deleted | Does not affect backup copies |
| Remove from the web version of Mi Cloud | Cleaning on all synchronized devices | Available 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.