Deleting SMS on Xiaomi, Redmi or POCO smartphones seems like a simple task β until you encounter nuances. Some messages are deleted easily, others are stuck in memory, and some disappear completely without recovery. In this article, we will discuss all the ways to clean SMS β from standard functions to hidden MIUI capabilities, and also explain how to avoid losing important data and why sometimes messages are βreturnedβ after deleting.
Feature of firmware MIUI It is integrated with Xiaomi cloud services and can synchronize SMS So, this means that a deleted message can stay in a backup or on a company's servers, and we analyzed 5 methods of deleting it, from manual cleaning to use. ADB-teams - and collected them in one guide with explanations for beginners and experienced users.
Why SMS is taking up memory on Xiaomi and when to delete them
Messages in MIUI are stored in the mmsms.db database, which grows over time. Even if you don't save media from MMS, the structure of messages (time stamps, contacts, delivery statuses) takes up space, and according to our tests, 10,000 SMS can weigh up to 50-70 MB, which is comparable to a small application.
Signs that it is time to clean up the SMS:
- π The smartphone began to βslow downβ when opening the application Messages.
- π When searching for contacts or text messages there are delays.
- π± In the Settings section β Memory shows growth of occupied space in category "OthersΒ».
- π¨ A βmemory is fullβ notification appears when you try to save a new contact or file.
It is important to note that MIUI stores all incoming and outgoing SMS, including system (from banks, operators, services), which are often duplicated and accumulated over the years, for example, notifications from Sberbank or Tele2 can take up to 30% of the total volume of SMS.
Method 1: Standard removal through the Messages app
The most obvious method is to use the built-in Messages app (an envelope icon), which is suitable for selectively deleting or cleaning all correspondence with a particular contact.
- Open the Messages app.
- Press and hold your finger on the message you want (or several if you want to delete the group).
- In the upper panel will appear the icon of the basket β tap it.
- Confirm the action in the dialog window.
For complete cleaning of correspondence with the contact:
- Open a dialogue with the right subscriber.
- Slip on the three dots in the upper right corner β Delete the chat.
- Choose Remove for me (if sync with Mi Cloud is disabled) or Remove everywhere (if enabled).
βοΈ Preparation for mass removal SMS
β οΈ Note: If you have Mi Account sync enabled, deleted messages will disappear from all devices associated with that account. To avoid this, pre-disable sync in Settings β Xiaomi account β Mi Cloud β Synchronization β Communications.
Method 2: Mass removal through application settings
If you want to delete all SMS at once or filter them by type (e.g., MMS only or system notifications), use the built-in MIUI tools:
- Open Messages β triple dot in the upper right corner β Settings.
- Select Message Clearing.
- Specify criteria: π Over 30 days / Over 6 months / All. π Only MMS (If you need to free up space from media files). π·οΈ Spam or System (notifications from banks, services).
Clean up
This method does not remove messages from backups created through Mi Cloud or third-party applications (e.g. SMS Backup & Restore).If you have previously done a backup, deleted SMS can be βreturnedβ when you restore.
π‘
Before mass deletion, export important SMS to a.xml file via the SMS Backup & Restore app (available on Google Play).
Method 3: Delete via File Manager (for power users)
If standard methods do not work (e.g. messages are βhungβ and are not deleted via the interface), you can manually clean the database mmssms.db. This method requires root rights or the use of ADB.
π Instructions for users with root rights:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Go to: /data/data/com.android.providers.telephony/databases/mmssms.db
- Delete the mmssms.db file (or its backup, mmssms.db-journal).
- Reset the device.
β οΈ Note: Deleting this file will result in the total loss of all SMS, It will be impossible to restore them without a backup, and after the reboot, the system will create a new empty database, but there may be errors in the Message application (solved by resetting its settings).
π§ Alternative without root: Use it ADB to clean the application cache Messages:
adb shell pm clear com.android.mmsThis command will reset the app settings and delete all SMS, but will not affect other data on the device.
Method 4: Automatic cleaning with MIUI Optimization
MIUI has a built-in optimization tool that can automatically remove old SMS. This feature is available on most Xiaomi, Redmi and POCO devices with the MIUI firmware version 12 and above.
How to set up automatic cleaning:
- Go to Settings β Applications β Cleaning.
- Choose Deep Cleanup.
- Slip on Messages in the list of applications.
- Activate the AutoClean option and specify the period (e.g., Delete Messages older than 6 months).
- Press Confirm.
- Using third-party applications: Install Backup & Restore or DroidKit SMS (requires root for deep scanning) Run a scan of internal memory, select the desired messages and restore them.
Through ADB (for advanced users):
adb pull /data/data/com.android.providers.telephony/databases/mmssms.dbCopy the file on your PC and open it with SQLite Browser to retrieve messages.
β οΈ Note: When recovering via Mi Cloud, all current SMS The device will be replaced by the ones stored in the cloud, which means that messages received after the last backup may disappear.
What to do if the recovery is not working?
How to prevent unnecessary SMS in the future
To avoid having to clean your messages regularly, set up MIUI to automatically manage your SMS:
- π Turn off the save. MMS: Go to Messages. β Settings β Additional and deactivate the option Automatic Save MMS. This will prevent unnecessary media files from being downloaded.
- π« Block Spam: In the same section, turn on the Spam Filter and blacklist the mailing numbers (e.g. 900 for Sberbank if you donβt use their notifications).
- π Set up automatic backup: Use SMS Backup & Restore for monthly export of important messages to Google Drive.This will allow you to clear memory without the risk of data loss.
- π Archive old messages: Manually transfer important dialogues to text files or PDF (For example, through the export function SMS Backup & Restore).
π‘ Useful tip: If you often receive similar notifications (for example, from banks or services), set up filters in the Messages app:
- Open the message β triple point β details.
- Select Notifications β Disable notifications for this contact.
- Activate the option to Automatically delete after 30 days.
π‘
Regularly cleaning SMS not only frees up memory, but also speeds up the system, the optimal frequency is once every 3-6 months, or when you reach 5,000+ messages.