Are you trying to free up space on your smartphone, but SMS are not deleted either through the standard application or through third-party managers? This problem occurs on devices Samsung, Xiaomi, Huawei and other brands - regardless of the Android version. The reasons may lie in system failures, damaged databases, or manufacturer restrictions. In this article we will analyze all possible solutions: from simple to technically complex.

It is important to understand that some messages (for example, transactional ones from banks) may be blocked by the system as โ€œimportantโ€ and require special deletion methods. We will also consider cases when SMS visually disappear, but take up space is in the device memory. Let's start with diagnostics and move on to specific actions.

Reasons why SMS are not deleted on Android

The problem is usually associated with one of four technical reasons:

  • ๐Ÿ“ฑ The Messages application crashed โ€”the application's cache or data is damaged, which blocks operations with the SMS database.
  • ๐Ÿ—„๏ธ Damage to the system database โ€”file mmssms.db (or similar) contains errors due to which the system does not โ€œseeโ€ the deletion command.
  • ๐Ÿ”’ Manufacturer restrictions โ€”some brands (for example, Samsung s Knox) block the deletion of service messages.
  • ๐Ÿฆ  Malware โ€”viruses can replace deletion commands or block access to the SMS database.

Most often, the problem occurs after updating Android or installing custom firmware. On devices with MIUI (from Xiaomi), a bug is often encountered when messages are deleted only after a reboot. On Samsung Galaxy s One UI protection may be triggered Knoxif messages are marked as "confidential".

โš ๏ธ Attention: If you use two-factor authentication via SMS, do not delete messages from services (for example Google, VKontakte) manually - this may block access to accounts. First, unlink the number in the security settings.
๐Ÿ“Š Which brand did you have a problem with?
Samsung
Xiaomi
Huawei
Google Pixel
Another brand
Not I know

Method 1: Restart and clear the cache of the Messages application

Start with the simplest method - Force reboot and clear the cache. This helps in 40% of cases when the problem is caused by a temporary glitch.

  1. Close the Messages application through the recent applications menu (swipe up).
  2. Restart the phone: hold the power button and select Reboot.
  3. After turning on, go to Settings โ†’ Applications โ†’ Messages โ†’ Memory.
  4. Press Clear cachethen Clear data (this will delete all SMS, but restore functionality).

If, after clearing the data, the messages are gone, but the memory is not freed, the problem is system base. Proceed to the next method.

โ˜‘๏ธ Preparing to clear the cache

Done: 0 / 4

Method 2: Using third-party SMS managers

Standard applications often limit functionality. Third-party managers (for example, Textra SMS, Pulse SMS or QKSMS) can bypass system locks. Install one of them via Google Play:

  • ๐Ÿ“ฒ Open the application and provide access to SMS.
  • ๐Ÿ” Find problematic messages (they may appear as โ€œprotectedโ€ or โ€œsystemโ€).
  • ๐Ÿ—‘๏ธ Highlight them and select Delete permanently (not "archive").

If messages are still not deleted, try disable the standard application:

  1. Go to Settings โ†’ Applications โ†’ Messages โ†’ Disable.
  2. Use only a third-party manager for operations with SMS.
โš ๏ธ Attention: On some firmware (for example, ColorOS from Oppo/Realme), disabling the standard "Messages" application may lead to malfunctions SIM cards. Before proceeding, check the reviews about the compatibility of your model.

Method 3: Manually clearing the database via ADB

If the previous methods did not work, you will have to work with system database via Android Debug Bridge (ADB). This method requires connecting your phone to a PC and basic knowledge of the command line.

Download ADB Tools and follow the steps:

adb shell

su

cd /data/data/com.android.providers.telephony/databases

sqlite3 mmssms.db

DELETE FROM sms WHERE _id=[ID_MESSAGES];

.exit

exit

To find out ID_MESSAGES, first run the command:

SELECT _id, address, body FROM sms;

This will display a list of all SMS messages with their ID. Copy the ones you need and use them in the command DELETE.

What to do if ADB does not see the device?

1. Enable USB debugging in Settings โ†’ For developers (activated by clicking on "Build number" 7 times in "About phone").

2. Install drivers for your model from the manufacturer's official website.

3. Try another USB cable (preferably the original one).

4. Restart your phone and PC.

ADB command Description
adb devices Checking the device connection
adb shell pm clear com.android.providers.telephony Resetting all SMS and telephony data (carefully!)
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db Downloading the SMS database for manual editing

Method 4: Resetting the settings of the "Telephony" application

If the database is seriously damaged, it will help reset application settings, which is responsible for SMS. This will delete all messages, but restore functionality:

  1. Go to Settings โ†’ Applications โ†’ Show all applications (โ‹ฎ) โ†’ Show system ones.
  2. Find Telephony storage (or Telephony Provider).
  3. Click Storage โ†’ Clear data.
  4. Reboot telephone.

After this procedure, all SMS and call logs will be deleted, but the function of sending/receiving messages will be restored. This method is 90% effective for devices with stock Android (for example, Google Pixel or Motorola).

๐Ÿ’ก

Before resetting, export SMS through the app SMS Backup & Restore - it saves messages to a file .xmlwhich can then be imported back.

Method 5: Checking for viruses and malware

Some viruses block the deletion of SMS to hide traces of their activities (for example, intercepting codes from bank messages) Carry out a deep scan:

  • ๐Ÿ›ก๏ธ Install Malwarebytes or Kaspersky Mobile.
  • ๐Ÿ” Run a full scan (including system files).
  • ๐Ÿ—‘๏ธ Remove detected threats and restart the phone.
  • ๐Ÿ”„ Try deleting the SMS again.

Pay special attention to applications with rights SMS_RECEIVE i SMS_READ. You can check them in Settings โ†’ Applications โ†’ Permissions โ†’ SMS. Unknown applications with such rights are a potential threat.

Method 6: Updating or rolling back the firmware

If the problem appeared after updating Android, a bug in the new firmware version may be to blame. Solutions:

  • ๐Ÿ”„ Roll back to the previous version (if backup is available via TWRP or official tools. manufacturer).
  • ๐Ÿ†• Update the firmware to the latest version - sometimes bugs are fixed in the next patches.
  • ๐Ÿ“ฑ Install custom firmware (for example, LineageOS), if the warranty is not is important.

For devices Samsung you can use Odin for flashing, for Xiaomi โ€” Mi Flash ToolBefore the procedure, make a backup via adb backup or TWRP.

โš ๏ธ Attention: Flashing resets all data and may lead to loss of IMEI on some models. Before the procedure, check the compatibility of the firmware with your model on the forums XDA Developers or 4PDA.
๐Ÿ’ก

If SMS are not deleted only from a specific number (for example, a bank), the problem may be in service messages protected at the operator level. In this case, only contacting the support of the mobile operator will help.

Method 7: Contacting the operator or service center

If none of the methods worked, the problem may be at the level SIM cards or operator network settings. Support contacts:

Operator Support phone Chat/website
MTS 0890 (free) mts.ru
Beeline 0611 beeline.ru
MegaFon 0500 megafon.ru
Tele2 611 tele2.ru

At the service center you can:

  • ๐Ÿ”ง Reflash the phone while saving the data (if possible).
  • ๐Ÿ“ฑ Replace the SIM card (sometimes the problem is a damaged chip).
  • ๐Ÿ› ๏ธ Diagnose hardware faults (for example, damage to the memory module).

If your phone is under warranty, do not try to flash it yourself - this will void the warranty.

FAQ: Frequently asked questions about non-deletable SMS

Is it possible to recover SMS after resetting the Messages application data?

Yes, but only if you have backup Use applications like SMS Backup & Restore or check if backup is enabled in Settings โ†’ Google โ†’ Backup. Without a backup, recovery is unlikely.

Why is the memory not freed after deleting an SMS?

This happens because "junk" records in the database. Even after a message is deleted, its metadata may remain. Try clearing the cache or using the ADB command sqlite3 mmssms.db VACUUM; to optimize the database.

How to delete SMS from the bank if they are protected?

Bank messages are often marked as "important". To delete them:

  1. Open the message and copy the necessary information (codes, details).
  2. In the settings of the "Messages" application, disable the "Secure messages" option (if available).
  3. Use ADB or a third-party manager to force deletion.

If this doesnโ€™t work, contact the bank with a request to disable sending SMS notifications.

Can undeleted SMS be a sign of phone hacking?

Yes, if:

  • Messages appear on their own (for example, from short numbers).
  • You cannot delete SMS from a specific number.
  • The phone began to slow down or overheat.

Check for viruses and change passwords for important accounts.

What to do if, after all the manipulations, SMS are still not deleted?

There are two options left:

  1. Reset to factory settings (will delete everything, including SMS).
  2. Replacing the phone - if the problem is hardware (for example, the memory chip is damaged).

Before resetting, export contacts and important data.