Deleted messages on Android often become a source of panic: an important chat in WhatsApp, SMS from the bank or correspondence in Telegram disappeared after a careless click. Many users are sure that the smartphone has a universal "trash", like on a computer, where all deleted files go. However, the reality is more complicated: the mechanism for storing deleted messages depends on the type of messenger, the version of Android and even the phone manufacturer.
For example, standard ones in pure Android do not have a trash bin - they are deleted immediately from the database SMS/MMS in pure Android they do not have a recycle bin - they are deleted immediately from the database /data/data/com.android.providers.telephony/databases/mmssms.db. But messengers like Viber or Signal can temporarily save messages in their cloud backups. Let's take a look at where exactly to look for the "trash" for different types of messages, how to recover data and why sometimes this is impossible.
Spoiler: there is no universal trash can for all messages on Android. But there are ways to get back what was lost - from checking messenger folders to using specialized utilities. Below are step-by-step guide taking into account the features of popular applications and OS versions.
1. Standard SMS/MMS: why there is no recycle bin and how to restore
Unlike photos or documents, standard SMS and MMS on Android do not end up in temporary storage after deletion. The reason lies in the architecture of the system: messages are stored in the database mmssms.db, where the entry is simply marked as deleted, and physical disk space is freed later (when optimizing the database). This means that the chances of recovery depend on two factors:
- ๐ Time since deletion: the faster you start acting, the higher the likelihood of success. After rebooting or clearing the cache, the chances go to zero.
- ๐ฑ Phone manufacturer: Samsung, Xiaomi and Huawei can add their own backup mechanisms (for example,
Samsung CloudorMi Cloud).
To try to recover SMS without root access:
- Install a data recovery application, for example DiskDigger or GT Recovery (available in Google Play).
- Select partition
Messages (SMS)in the scan menu. - Wait for the analysis to complete (may take up to 30 minutes).
- View the messages found and save the ones you need in a separate file.
โ ๏ธ Attention: Recovery applications require access to the storage and may download suspicious modules Before installation, check reviews and ratings. c Google Play โsome utilities contain adware.
If you have a phone Samsung with an account Samsung Account, check the section Settings โ Accounts and archiving โ Samsung Cloud โ Recover data. Backups may be stored there. SMS for the last 30 days.
2. Recycle bin in messengers: WhatsApp, Telegram, Viber
Unlike standard SMS, popular messengers often implement their own storage mechanisms. deleted messages. However, their work is very different:
WhatsApp:
- ๐๏ธ There is no trash bin, but there is a function
Chat archiving(do not confuse with deleting!) Archived chats remain in the phone's memory and are not synchronized with the cloud. - โ๏ธ Backups are created automatically in Google Drive (if enabled in the settings). You can restore messages only when you reinstall the application.
Telegram:
- ๐๏ธ There is a basket (
Settings โ Advanced โ Trash), but it only stores those deleted by you messages in personal chats (not in groups!). days. - ๐ Secret chats do not have a basket - messages are deleted forever immediately after clicking.
Viber:
- ๐ Local Trash stores deleted messages for 7 days (path:
Settings โ Account โ Trash). - ๐ Cloud backup available only for premium users.
| Messenger | Cart availability | Retention period | Recovery from the cloud |
|---|---|---|---|
| โ No | โ | โ Yes (Google Drive) | |
| Telegram | โ Yes (personal chats only) | 5 days | โ Yes (Telegram Cloud) |
| Viber | โ Yes | 7 days | โ ๏ธ Only for Premium |
| Signal | โ No | โ | โ No |
3. Where are deleted messages physically stored on Android?
If we talk about low-level storage, the path to the data depends on the type of messages:
Standard SMS/MMS:
- ๐ Database:
/data/data/com.android.providers.telephony/databases/mmssms.db(required root access for access). - ๐ Viewing tools: SQLite Browser or Root Explorer.
Messengers:
- ๐ WhatsApp:
/sdcard/WhatsApp/Databases/msgstore.db.crypt14(encrypted). - ๐ Telegram:
/data/data/org.telegram.messenger/files(not available without root). - ๐ Viber:
/sdcard/Viber/Media(media files only).
Critical detail: even if you find the database files, decrypting them often requires keys that are stored in the application's memory. After deleting the messenger or resetting the phone, recovery becomes difficult. impossible.
โ ๏ธ Attention: Direct editing of system databases (for example, mmssms.db) without backup can lead to the loss of everyone messages. If you are not sure of the actions, use specialized utilities.
4. How to recover messages without root access?
If your phone does not have superuser rights (root), recovery options are limited, but there are working methods:
Method 1: Google Drive backups (for WhatsApp)
- Delete and reinstall WhatsApp.
- When you first launch the application, it will offer to restore chats from Google Drive.
- Confirm the restoration (the same phone number and Google account are required).
Method 2: Local backups (for Telegram)
- ๐ Telegram automatically creates local copies in
/Telegram/Telegram Data. - ๐ To restore, just reinstall the application and log into your account - chats will be downloaded from the cloud.
Method 3: Recovery applications
- ๐ ๏ธ Dr.Fone, Tenorshare UltData or EaseUS MobiSaver scan the phone's memory for deleted data.
- โ ๏ธ Efficiency depends on the phone model: on Samsung Galaxy the chances are higher than on Google Pixel due to the characteristics of the file system.
Turn off Wi-Fi and mobile data (so as not to overwrite data)
Charge the phone to at least 50%
Install a recovery application from an official source
Create a backup copy of current data (if possible)-->
5. Root access: how to find and restore messages manually
If your phone has root access, the chances of recovery increase significantly. However, the process requires caution:
Step 1: Gain access to the system ones. folders
- ๐ Use Root Explorer or FX File Explorer with root mode enabled.
- ๐ Go to
/data/data/com.android.providers.telephony/databases/.
Step 2: Export the SMS database
- ๐ Copy the file
mmssms.dbto your computer. - ๐ ๏ธ Open it in DB Browser for SQLite.
- ๐ In the table
smslook for the lines whereaddressโ sender's number, andbodyโ message text.
Step 3: Recovery via ADB (for advanced)
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db
adb shell sqlite3 mmssms.db "SELECT * FROM sms WHERE address='PHONE_NUMBER';"
โ ๏ธ Attention: Incorrect ADB commands can lead to losing everyone data on the phone. If you do not understand the syntax, use graphical utilities like Android Data Recovery.
What to do if the mmssms.db database is damaged?
If when opening mmssms.db you see the error "file is not a database", try:
1. Restore the file from a backup copy (if it is in /data/data/com.android.providers.telephony/databases-journal/).
2. Use the utility SQLite Database Recovery Tool to restore the structure.
3. Contact a specialist - independent intervention can aggravate the problem.
6. Why restore some messages impossible?
Even with root access and specialized tools not all messages can be returned. Here are the main reasons:
Reason 1: Overwriting data
- ๐ฑ Android uses journaled file system (ext4 or f2fs), where deleted data is quickly overwritten by new files.
- ๐ Every installation of an application, taking a photo or updating the OS reduces the chances of recovery.
Reason 2: Messenger encryption data-i="191">โ๏ธ Cloud backups (for example, in
- ๐ WhatsApp, Signal And Telegram (secret chats) use end-to-end encryption. Even if you find the database file, it is useless without the decryption key.
- โ๏ธ Cloud backups (for example, in Google Drive) are also encrypted and linked to the account.
Reason 3: Clearing the cache
- ๐งน Applications like Clean Master or built-in optimizers (
Mi Optimizeron Xiaomi) can physically remove "garbage", including message remnants. - ๐ On phones with a small amount of memory (for example Redmi 9A with 32 GB), cleaning occurs automatically when there is not enough memory places.
If the message was deleted more than a month ago, and the phone was actively used, the chances of recovery are close to zero. In this case, all that remains is to check the cloud backups (if they were enabled in advance).
7. Prevention: how to avoid losing messages in the future?
The best way not to lose important messages is set up backup in advance. Here are proven methods:
For SMS/MMS:
- โ๏ธ Use applications like SMS Backup & Restore (saves in Google Drive or by email).
- ๐ง Set up automatic forwarding of important SMS to email via IFTTT or Tasker.
For instant messengers:
- ๐ In WhatsApp: enable daily backup in Settings โ Chat โ Backup history
Settings โ Chat โ Backup. - ๐ B Telegram: Export important chats manually (
Chat settings โ Export history). - ๐ B Signal: configure
Backup with PIN code(but remember that it is not encrypted!).
Universal tips:
- ๐ฒ Regularly (once a month) make a complete backup of your phone via
adb backupor Titanium Backup (root required). - ๐ซ Avoid "cleaners" like CCleaner โ they often delete temporary files that could help in recovery.
โ ๏ธ Attention: On phones with a Android 12+ file system (for example, F2FS (For example, Samsung Galaxy S22) standard recovery methods may not work due to the nature of data storage. In this case, only the cloud will help. backup.
FAQ: Frequently asked questions about the message recycle bin on Android
Is it possible to restore messages deleted a year ago?
No, if during this time the phone has been actively used, the data on the flash memory is overwritten with new ones. files, and cloud backups (for example, in Google Drive) store messages for a limited time (usually up to 1 year). The exception is if you made local backups and saved them on external storage.
Where to look for the trash can in Samsung Messages?
In the standard application Samsung Messages there is no trash can, but there is a function Archiving. Archived messages are stored in the phoneโs memory and are accessible through the menu โฎ โ Archive. To restore deleted SMS, use Samsung Smart Switch (if synchronization with Samsung Cloud).
Do apps like Dr.Fone help 100%?
No, the effectiveness depends on the phone model, Android version and the time that has passed since deletion. On phones with Mediatek (For example, Redmi Note) the chances are higher than Snapdragon due to the features of memory control. On average, apps recover 30โ70% of deleted messages.
Is it possible to recover messages from a secret Telegram chat?
No. Secret chats in Telegram use end-to-end encryption and are not synchronized with the cloud. Once deleted, messages disappear forever - even developers cannot restore them. The only way to save the data is to take screenshots or export the chat. to removal.
What to do if the phone is not rooted and the messages are very important?
Contact a service center that specializes in data recovery (for example, Cellebrite or Oxygen ForensicsThey use professional equipment to read memory directly. The cost of the service is from. 5,000 rubles, but the chances of success are higher than with independent actions.