How to completely clean SMS on Xiaomi smartphone: all ways

Xiaomi smartphones based on MIUI HyperOS automatically saves thousands of dollars SMS-It's not just about memory, but it's about old messages that can contain sensitive information, like confirmation codes, bank card details, or personal correspondence, POCO Mi, most likely, the system accumulated gigabytes of unnecessary data.

In this article, we’ll look at all the ways you can delete SMS on Xiaomi, from basic cleaning through a standard app to hidden features and third-party utilities. You’ll learn how to delete messages selectively or all at once, how to set up automatic erasure of old SMS, and what to do if messages are not deleted. And also explain why simply clicking β€œDelete” does not always free up memory and how to fix it.

Why you should regularly clean SMS on Xiaomi

Many users ignore the message cleanup as β€œlight” data, but in practice, even text messages can take hundreds of megabytes, especially if you’re talking about:

  • πŸ“± Multimedia communications (MMS) β€” Photos, video and audio in messages β€œweigh” tens of times more than normal text.
  • πŸ”„ Service notifications – banks, social networks and services send hundreds of the same type of SMS with codes, advertising and alerts.
  • πŸ—„οΈ Backups – Some applications (such as Mi Cloud) automatically archive messages by duplicating them in memory.
  • πŸ” System logs β€” MIUI It can store metadata even after it is deleted.

According to Xiaomi, the average user accumulates about 3-5 GB unnecessary SMS for 2-3 years of using a smartphone:

  • πŸ“‰ Performance drops – a crowded message base slows down the Messages appΒ».
  • πŸ”’ Data leakage risks – old SMS may store passwords, access codes or personal information.
  • πŸ“± Backup issues – Mi Cloud may refuse to sync messages due to overflow.

⚠️ Note: If you sell or transfer a smartphone, it is not enough to simply delete SMS via the app. β†’ The phone. β†’ Reset settings), otherwise the data can be restored using special utilities.

Method 1: Delete messages through the standard Messages app

The easiest way is to use the built-in Messages app, which is pre-installed on all Xiaomi smartphones and supports both manual and batch removal. Here's how it works:

  1. Open the Messages app** (an envelope icon).
  2. Click on the three dots in the top right corner and select Settings.
  3. Go to Message Management or Message Clearing (the title may vary depending on the version) MIUI/HyperOS).
  4. Choose one of the options: 🧹 Delete all messages – erase all correspondence. πŸ“… Delete messages older than... – allows you to set a time range (for example, β€œover 30 daysΒ»). πŸ” Selective removal – tick off unnecessary dialogues or messages.

If you need to delete messages from a specific sender (such as spam from a bank or service), do the following:

  1. Open the dialogue with the right contact.
  2. Click on the three dots in the top right corner and select Remove.
  3. Confirm the action – all messages from this sender will be erased.

Are there any important messages (codes, passwords, confirmations)?

Is the right dialog backup done in Mi Cloud or Google Drive?

Are all active chats closed (e.g., with a bank or support team)?

Have Spam and Archive folders been checked for important data?-->

⚠️ Note: Some Xiaomi models (e.g. Redmi Note 10 Pro) POCO X3 Pro) after mass removal of the SMS, there may be a synchronization error with Mi Cloud. To avoid this, before cleaning, turn off synchronization in Settings β†’ Accounts. β†’ Mi Cloud β†’ Synchronization of messages.

Method 2: Automatically clean old SMS

If you are too lazy to manually delete messages, MIUI And HyperOS allows you to set up automatic erasure of old SMS, which is useful if you get a lot of one-time codes or advertising messages:

  1. Open the "Messages" app**.
  2. Go to Settings. β†’ Additionally. β†’ Autocleaning messages.
  3. Activate the Automatic Removal Switch.
  4. Set parameters: πŸ“… Age of messages – for example, β€œover 30 daysΒ». πŸ“© Type of message - only SMS, only MMS or. πŸ”„ Exceptions – you can add contacts from which messages will not be deleted (for example, from a bank or close friends).

Once set up, the system will check and delete eligibility messages weekly, which runs in the background and does not require manual start-up.

ParameterRecommended valueExplanation
Age of communications30–90 daysEnough to remove one-time codes, but retains important dialogs.
Type of messageOnly SMSMMS They may contain important media files, and are better cleaned manually.
ExceptionsBanks, relatives, delivery servicesMessages from these contacts will not be deleted automatically.
Frequency of cleaning1 time per weekIt is not necessary, it can be a burden on the system.

Once a month|Six months|Only when memory ends|Never clean.|Other-->

If the automatic cleaning does not work, check:

  • πŸ”„ Time synchronization is enabled (Settings) β†’ Additionally. β†’ Date and time β†’ Without the correct date, the system will not be able to identify β€œold” messages.
  • πŸ“΅ Are there any restrictions on background activity for the Messages app (Settings) β†’ Annexes β†’ Communications β†’ Battery β†’ No restrictions).

Method 3: Cleaning through Optimization and Security

V MIUI HyperOS has a built-in Optimization tool that can find and delete unnecessary data, including SMS:

  • πŸ—‘οΈ You don’t remember where the old messages are stored.
  • πŸ“± You need to make room quickly without manual search.
  • πŸ” You want to know how much memory SMS is taking up.

Instructions:

  1. Open the Security app** (the shield icon).
  2. Go to the Optimization or Cleanup section.
  3. Press Deep Clean (may be called Full Clean).
  4. Wait until the scan is completed and find the Message block or SMS/MMS.
  5. Tick the unnecessary data and click Clear.

The advantage of this method is that the system shows the exact amount of memory occupied and offers to delete not only the messages themselves, but also the associated cache and temporary files. For example, on the Xiaomi 13 Pro, after such cleaning, you can free up to 1-1.5 GB places where SMS has not been deleted for a long time.

What to do if the β€œOptimization” does not find an SMS?
If the Messages section does not appear in the scan results, this can mean: 1. Messages are not stored in the standard application (for example, you are using Google Messages or Truecaller). 2. Settings disabled SMS scan option (Settings) β†’ Security β†’ Cleaning settings β†’ Enable message analysis). 3. Messages are protected by the system (for example, if they are encrypted or archived). In this case, try other methods from this article.

⚠️ Note: Don't confuse "Message Clearing" with "Cache Clearing."The Messages app's cache takes up little space (usually < 50 MB), And the text itself can weigh gigabytes, and removing the cache won't free up a lot of memory.

Method 4: Using a file manager for manual cleaning

If standard methods don't work, you can manually delete SMS files through the file manager, which is suitable for advanced users because it requires access to system folders. Importantly, improper actions can lead to data loss or malfunction of the Message application.

Instructions:

  1. Open any file manager with access to root folders (such as Mi File Manager or Solid Explorer).
  2. Cross the path: /data/data/com.android.providers.telephony/databases/mmssms.db This file contains a database of all your SMS and MMS.
  3. Delete the file mmssms.db (pre-back it up by copying it elsewhere).
  4. Reboot your smartphone. Once you restart, the system will create a new database file (empty).

Alternative path (for some versions of MIUI):

/data/user_de/0/com.android.providers.telephony/databases/mmssms.db

If you have root access, you can also clear the attachment folder. MMS:

/data/data/com.android.providers.telephony/app_PartTable/

πŸ’‘

Before deleting mmssms.db, export important messages to a text file. SMS Backup & Restore (available on Google Play).

File/FolderWhat it keeps.Can I remove it?
mmssms.dbAll right. SMS and MMSYes (recreated)
telephony.dbSystem data of calls and messagesNo (may disrupt the telephone service)
app_PartTable/Investments. MMS (photo)Yeah (makes the most room)
sms_backup.xmlBackup copies of SMSYeah (unless you need backups)

⚠️ Note: Deleting files manually will result in the loss of all messages without recovery (unless backup was available) and this method is recommended only in extreme cases, for example, if SMS takes up critically much space and standard methods do not work.

Method 5: Third-party applications for SMS management

If Xiaomi’s built-in tools don’t suit you, you can use third-party apps that offer advanced features such as:

  • πŸ” Keyword packet removal (for example, delete all SMS with the word β€œpromo codeΒ»).
  • πŸ“Š Usage statistics – how many messages from each sender.
  • πŸ”„ Automatic archiving of important SMS to the cloud.
  • πŸ”’ Encrypting confidential communications.

The best apps for Xiaomi:

AnnexFeaturesReference
SMS Organizer (from Microsoft)Automatic sorting, spam removal, reminders of important SMSGoogle Play
Pulse SMSCloud backup, web version for PC, encryptionGoogle Play
SMS Backup & RestoreExport/import of SMS to XML, Backup in Google DriveGoogle Play
TruecallerBlocking spam, identifying unknown numbersGoogle Play

To use a third-party application by default:

  1. Install the selected application from Google Play.
  2. Go to Settings. β†’ Annexes β†’ Default messages.
  3. Select a new app from the list.

πŸ’‘

When using third-party apps, turn off automatic cleaning in the standard Messages app to avoid conflicts.

What to do if the SMS is not deleted

Sometimes messages don't want to be deleted either through the app or through settings, and here are the most common reasons and solutions:

Problem.Possible causeDecision
Messages are returned after deletionSync with Mi Cloud or Google enabledTurn off sync in Settings β†’ Accounts. β†’ Mi Cloud β†’ Communications
The Remove button is inactiveMessages are protected by the system (e.g, SMS bank)Try to delete through the file manager (method 4)
The error "failed to be deleted"SMS database damagedDelete the mmssms.db file manually (root or root required) ADB)
Messages are deleted, but memory is not releasedCache or temporary files remainClear the Messages app cache in Settings β†’ Annexes β†’ Communications β†’ Memory.

If none of the methods worked, try resetting the Messages app settings**:

  1. Go to Settings β†’ Applications β†’ Messages β†’ Storage.
  2. Click Clear Data and Clear Cache.
  3. Confirm the action – all messages and settings of the application will be erased.
How to delete a text message through ADB (for advanced users)
If you have access to ADB, You can delete all your text messages with one command: adb shell content delete --uri content://sms/ This command erases all messages in the database. MMS Use: Adb shell content delete --uri content://mms/ Attention: This is an irreversible action!

FAQ: Frequent questions about cleaning SMS on Xiaomi

Can I restore remote SMS on Xiaomi?
Yes, but only if: πŸ”„ You have a backup in Mi Cloud or Google Drive. πŸ“± You have used third-party backup apps (for example, SMS Backup & Restore). πŸ› οΈ You didn't overwrite data on your phone after deletion (in which case software like Dr.Fone or EaseUS MobiSaver will help). If none of these are missing, recovery is unlikely β€” MIUI Does not store deleted SMS in the β€œbasketΒ».
Why is the memory not released after the SMS is deleted?
It's because of this: πŸ—‘οΈ App cache - clean it up in Settings β†’ Annexes β†’ Communications β†’ Memory. β†’ Clear the cache. πŸ“ Residual files – check the folder /data/data/com.android.providers.telephony/ large-file. πŸ”„ Cloud syncs – if SMS syncs to Mi Cloud, they can be re-downloaded to the device. To make room, use deep cleaning in the Security appΒ».
How to delete SMS from a specific number automatically?
For this: Install the app SMS Organizer or Truecaller. Add a number to the blacklist or set up the automatic delete rule. β†’ Lockdown β†’ Add a number. β†’ Delete all messages from it. There is no such feature in the standard Messages app.
Can I delete the SMS without removing it? MMS?
Manual mode (method) 1) You can choose which types of messages to delete. 2) Please specify in the settings Only SMS, excluding MMS. If you are using a file manager (method) 4), delete only the file mmssms.db, do not touch the folder app_PartTable/, media-file.
How to clear SMS on Xiaomi without losing important messages?
Follow this algorithm: Back up important SMS messages via SMS Backup & Restore or manually (screenshots, rewriting in notes). Use selective deletion (method 1) or set up exceptions in automatic cleanup (method 2). Check the Spam and Archive folders - sometimes important messages get there by mistake. After cleaning, make sure that critical data (codes, passwords) is stored in a safe place (e.g., Google Keep or Google Keep). 1Password).