The loss of important correspondence in the messenger WhatsApp is a stressful situation that many users face Android. The issue is especially acute when the message was accidentally deleted literally โtodayโ, and the automatic one had not yet been created or was damaged. The standard application recovery mechanism offers to return data only from cloud storage backup copy has not yet been created or has been damaged. The application's standard recovery mechanism offers to return data only from cloud storage Google Drive or local backup, but what to do if they are not there?
There are several workarounds that allow you to return the texts of deleted messages, even without an official backup file. The effectiveness of the methods depends on the version of the operating system, notification settings and whether the data has already been written to the system logs. In this article, we will analyze in detail working methods, from viewing notification history to manually copying database files. msgstore.db.
Using Android notification history
The easiest and most accessible way to recover the text of a message deleted within the last 24 hours is the notification log. Starting from version Android 11, the system has a built-in "Notification History" function, which saves all notifications, including the text of correspondence from WhatsApp, even if you deleted them from the chat.
You do not need third-party apps or root access to access this information. Just go to the system settings and activate the corresponding section if it was disabled. The text of the message is saved in the form in which it came to the lock screen or curtain.
- ๐ Go to
Settings โ Notifications โ Notification log(the path may differ depending on the shell). - ๐ Find it in the list icon WhatsApp and open today's history.
- ๐ฌ Copy the text of the message and manually paste it into the chat or notes.
It is important to understand that this method only works for text messages. Photos, voice notes and stickers cannot be restored through the notification log, since only text preview information is stored there.
Analysis of notification files (Android 10 and below)
On older versions of the operating system, which do not have a built-in log, notification text can be saved in special system files. If you Android 10 or lower, the system could create a file notification_history.log or a similar log in hidden directories.
To view this data you will need a file manager with access to system folders or a connection to a computer. However, without root access access to these directories is often closed to normal applications. In this case, you can try using special utilities for reading logs, if they were installed in advance.
โ ๏ธ Attention: Notification log files have a limited size. Once the limit is filled, the oldest entries are overwritten by new ones. Therefore, the chances of finding a message โfor todayโ are high, but looking for a message from a week ago is pointless here.
If you do not find the desired file using standard means, use applications from Google Play, such as Notification History Log, but they are only effective if they were installed to at the time the message was deleted. They do not restore data retrospectively.
Local WhatsApp database files
Messenger WhatsApp stores local copies of the message database on the internal storage of the device. They are usually created daily at 2:00 am. If you deleted a message during the day, and the night backup has not yet overwritten the current file, there is a chance to return the data by replacing the active database file.
Backup files are located along the path /sdcard/Android/media/com.whatsapp/WhatsApp/Databases (on new versions of Android) or /sdcard/WhatsApp/Databases (on old ones). The file name usually looks like msgstore-YYYY-MM-DD.1.db.crypt14, where the numbers indicate the encryption version.
โ๏ธ Preparing to replace the database
The recovery procedure is as follows: you need to rename the current file msgstore.db.cryptXX (adding the word .old to it), and rename the file for yesterday in msgstore.db.cryptXX, removing the date from the title. After this, you need to clear the application data WhatsApp and start it again.
1. Delete WhatsApp (without losing files in the Databases folder).2. Rename the file msgstore-2023-10-25.1.db.crypt14 to msgstore.db.crypt14.
3. Install WhatsApp and go through verification.
4. When prompted, click "Restore".
Working with cache and temporary files
Sometimes the message text may remain in the system cache or clipboard if you accidentally copied it before deleting it. Although this is an unlikely scenario, checking the clipboard takes seconds. Many modern smartphones have a clipboard manager that stores copy history.
It is also worth checking the folder .Statuses in the directory WhatsAppif the deleted message was a status that you managed to view. However, this method is not suitable for regular chats. A more promising option is to search for temporary files in the folder /data/data/com.whatsapp, but access there is only possible if you have root access.
Without superuser rights, intervention in system application directories is impossible for security reasons. Android. Attempts to gain access through ADB (Android Debug Bridge) without an unlocked bootloader will also be unsuccessful in reading private data of other applications.
What are root access and is it worth getting them?
root access give complete control over the system, allowing you to read any files. However, receiving them will void the device's warranty, may lead to the phone becoming bricked, and will make banking applications and Google Pay impossible to operate. For a one-time message recovery, this is too high a price.
Third-party data recovery apps
There are many utilities on the market that promise to recover deleted data without backup. apps like Dr.Fone, Tenorshare UltData or DiskDigger scan the internal memory in search of deleted entries. The principle of their operation is based on the fact that when deleted, the file is not physically erased immediately, but is only marked as free space.
The effectiveness of such apps directly depends on how actively you used the phone after deletion. If you continued to shoot videos, download files or install applications, the old data may have been overwritten by new ones, and then recovery will become impossible.
| app name | Root required | Data type | Efficiency |
|---|---|---|---|
| Dr.Fone | Desirable | Messages, media | Average |
| DiskDigger | Required | Photo, video | High (for media) |
| UltData | No (partially) | Whatsapp chats | Low without backup |
| Recuva (PC) | No (cards memory) | Files | Only for SD |
Most of these apps are paid and often offer only the scanning stage for free. Before purchasing a license, make sure that the app actually sees your deleted messages in preview mode.
If the message was deleted less than 5 minutes ago, immediately turn on In-Flight mode. This will stop any synchronization and writing of new data to the disk, increasing the chances of successful recovery by third-party software.
Prevention and setting up frequent backups
In order not to face the problem of data loss in the future, it is critical to set up automatic backups at a minimum interval. The standard setting WhatsApp offers a backup once a day, but this is not enough for active users.
You can manually create backups before important conversations or clearing chat. To do this, go to the chat settings and click the Backupbutton. This will create an up-to-date snapshot of the database in Google Drive and locally.
- ๐ Go to
Settings โ Chats โ Chat backup. - โฐ Change the frequency to "Daily" or perform it manually.
- โ๏ธ Make sure you select the correct Google account and have space in the cloud.
โ ๏ธ Attention: Frequent backups via mobile data can quickly use up your data. It is recommended to perform this operation only when connected to Wi-Fi network.
It is also worth considering using the "Chat Export" function for particularly important dialogues. This will allow you to save your correspondence as a text file, which you can send to yourself by email or save in a secure cloud storage independent from WhatsApp.
The only 100% reliable way to save correspondence is to regularly create backup copies. All recovery methods without backup are probabilistic and do not guarantee results.
The menu interface and file location may vary slightly depending on the model of your smartphone (Samsung, Xiaomi, Pixel) and shell version. Always check the official help materials of the device manufacturer if you cannot find the item you need in the settings.
Frequently asked questions (FAQ)
Can I recover messages if I deleted the WhatsApp application itself?
If you deleted the application, but did not erase the files in the folder Databases via the file manager, then when you reinstall and verify the number, WhatsApp will offer to restore data from a local file. If the folder has been cleared, recovery without a cloud backup is impossible.
Will restoring messages help if the other person used the "Disappearing Messages" function?
No. If disappearing messages were enabled in the chat, they are deleted from the server and devices automatically when the timer expires. In this case, the data is not saved even in local databases for later recovery.
Is it safe to give root access to data recovery apps?
Granting root access to third-party software carries security risks. Attackers can gain access to all your data, including passwords and banking information. Use such apps only from trusted developers and temporarily disable root access after the procedure.
How long are deleted messages stored in the phoneโs memory?
Physically, the data remains on the drive until this location is overwritten by new information. This may take from several hours to several days depending on the intensity of smartphone use. However, logically they become unavailable immediately after deletion.
Is it possible to restore a message that the interlocutor deleted (โDeleted for everyoneโ)?
With standard WhatsApp tools - no. However, if you had notification history or a third-party anti-delete app (such as WAMR) active, the message text may have remained in the notification history until it was deleted.