The situation when an important dialogue in the messenger suddenly disappears causes panic among many users. It is especially unpleasant when correspondence disappears on the initiative of the interlocutor who decided to use the โ€œDelete for everyoneโ€ function. At first glance, it seems that the information is lost irretrievably, and it is impossible to return it.

However, the operating system Android and the architecture itself WhatsApp provide mechanisms for local data storage that can save the situation. Restoring messages after being deleted by your interlocutor is a technically complex, but often feasible task that requires an understanding of how the messenger synchronizes data with your device.

In this article we will analyze in detail all the available methods: from using system notification logs to forcing a database rollback to a previous date. You will learn what settings should have been enabled in advance and what to do if backup was not activated on time.

The principle of how deleting messages in WhatsApp works

To understand how to recover lost data, you need to understand the mechanics of the deletion process itself. When the other person clicks the "Delete for everyone" button, a special service command is sent to your device. This command instructs the application to find specific records in the local database msgstore.db and mark them as deleted or physically erase them.

It is important to note that this command only works while the application is active or running in the background with network access. If your phone was turned off or in airplane mode, the delete command may not be executed instantly. It is this time lag that is the key factor for restoring correspondence..

The system Android stores notifications from applications in a separate system log. Even if the message has disappeared from the chat, the notification text often remains available in the operating system settings if this function was activated by the user in advance.

โš ๏ธ Attention: The โ€œDelete for everyoneโ€ function has a time limit. The interlocutor can delete the message only within about two days after sending. After this period has expired, the option becomes unavailable and the message remains in the chat forever.

The local messenger database is not updated instantly with each action. There is a clipboard between the server and the phone's internal storage. Understanding this principle allows you to use methods to force synchronization or rollback to an earlier version of the database file.

๐Ÿ“Š How often do you backup WhatsApp?
Daily
Once a week
Once a month
Never doing

Recovery through Android notification history

The easiest and fastest way to read a deleted message is to use the built-in notification history function. Starting from version Android 11, the system allows you to view the history of all incoming notifications, even if the application itself has already processed the command to delete content.

To access this information, you need to go to the settings of your smartphone. The path may vary slightly depending on the device model, but usually it looks like this: Settings โ†’ Notifications โ†’ Notification log. In some shells, for example MIUI or OneUI, this item may be called "Notification History".

If the function was enabled before the message was received, you will see the text of the deleted correspondence in the list. This works because the notification is created by the system service before the application WhatsApp has time to process the command to delete the message from the database.

  • ๐Ÿ”” Go to your phone settings and find the notifications section.
  • ๐Ÿ“œ Activate the "Notification History" switch if it is turned off.
  • ๐Ÿ‘€ Scroll until you receive the deleted message.
  • ๐Ÿ’พ Copy the message text manually, as the export function is often unavailable.

It is worth considering that this method has limitations. If the other person deleted the message before it had time to appear in the notification shade, or if you had already opened the chat and read the message before it was deleted, it may not be saved in the log. In addition, it is almost impossible to restore media files (photos, videos) through the notification log; only text is available.

๐Ÿ’ก

To ensure that notification history is preserved, install third-party notification applications that duplicate all incoming messages into a separate secure log on the device.

Method of rolling back a local backup

More A radical but effective way is to use local backups, which WhatsApp creates automatically every night. By default, the application stores the last 7 days of backups in the device's internal memory. If a message was deleted today, and a copy was made last night, this message is still present in it.

The recovery process requires performing a sequence of actions with the file system. You will need a file manager with access to system folders. First you need to delete the current database, and then rename yesterday's copy, making it the main one.

The action algorithm is as follows. First, find your backup folder. In new versions Android the path looks like Android/media/com.whatsapp/WhatsApp/Databases, in old versions - WhatsApp/Databases. Inside you will see files with names like msgstore-2023-10-25.1.db.crypt14.

โ˜‘๏ธ Preparing to roll back the database

Done: 0 / 4

You need to rename the current file msgstore.db.cryptXX (adding any prefix to it, for example .old) so that the application does not see it. Then select the file with the desired date (yesterday) and rename it to msgstore.db.cryptXX, removing the date from the name, but keeping the encryption version number.

After manipulating the files, you must completely remove the application WhatsApp from the device and install it again. When you first start it, the system will detect the local database and offer to restore messages from it. Avoid restoring from Google Drive to avoid overwriting your local file with the old version from the cloud.

โš ๏ธ Warning: When using this method, you will lose all messages received between the time the backup was created (usually 2:00 a.m.) and now. Weigh the importance of a deleted message against fresh correspondence.

What to do if the file is not renamed?

If the file manager does not allow you to change the file name, check the access rights. On Android 11 and above, access to the Android folder is limited. Use Google's built-in Files app or provide a special one. access in the settings of the manager application.

The role of Google Drive in the recovery process

Cloud backup via Google Drive is a standard security feature, but in the context of restoring messages deleted by the interlocutor, it plays a dual role. On the one hand, this is a salvation if you lose your phone, on the other hand, it is a potential problem if a rollback is necessary.

The problem is synchronization. If your application successfully synchronized with the server after the other party deleted the message, this โ€œcleanedโ€ version of the conversation may have already been uploaded to the cloud. In this case, restoring from Google Drive will return exactly the version of the chat where the message no longer exists.

To check the relevance of the cloud copy, go to the settings of the messenger itself: Chats โ†’ Chat backup. Look at the date and time of the last save. If a copy was created before the message was deleted, you are in luck - you can safely restore from the cloud.

Copy type Where it is stored Data relevance Risk of losing recent messages
Local (night) Phone memory Up to 7 days ago High (day of correspondence is lost)
Google Disk Cloud storage Depends on settings Medium (depends on backup frequency)
Manual local Phone memory Moment of creation Minimum (controlled)

If the cloud copy already contains deleted data, the only chance is to ignore it and use the method with local files described in the previous section. When restoring from Google Drive, local files from the last 7 days are usually ignored or overwritten.

๐Ÿ’ก

It is critical to disable automatic synchronization with Google Drive before manipulating local database files to avoid version conflicts.

Third-party data recovery applications

There are many on the software market utilities positioning themselves as tools for recovering deleted data. apps like Dr.Fone, Tenorshare UltData or DiskDigger they promise to scan the phone's memory and find traces of deleted messages.

The effectiveness of such apps greatly depends on the presence root access on your device. Without root privileges, the app can only scan public memory areas where WhatsApp stores encrypted data. It is almost impossible to decrypt them without the key, which is stored in a protected area of โ€‹โ€‹the system.

With root access, the chances increase, since the app can directly access the database files and try to recover deleted records before they were overwritten by new information. However, the process of obtaining root access in itself is complicated and may lead to loss of warranty.

  • ๐Ÿ› ๏ธ Connect the phone to the computer via a USB cable.
  • ๐Ÿ”“ Enable USB debugging in the developer menu.
  • ๐Ÿ’ป Run the recovery app on PC.
  • ๐Ÿ” Wait for the deep memory scan to complete.

Be careful with free versions of such software. They often show previews of the data they find, but require payment to actually retrieve it. In addition, there is a risk of personal data leakage, since you give third-party software full access to the contents of your smartphone.

โš ๏ธ Attention: Many applications on the Play Market that promise message recovery are fakes. They do not have access to the encrypted WhatsApp database and only show advertisements. Check the reviews and reputation of the developer before installation.

Preventing data loss and privacy settings

The best way to combat information loss is to prevent a situation where data becomes inaccessible. While you can't prevent someone from deleting messages from you, you can set your device to keep copies of all incoming information regardless of the sender's actions.

One โ€‹โ€‹of the effective methods is to use the "Auto-export chats" function. You can set up automatic sending of your correspondence history to email or other storage at a certain frequency. This will create an independent copy of the dialogue in text format.

There are also modified versions of instant messengers (for example, WhatsApp Plus or GBWhatsApp), which have a built-in "Anti-Delete" function. They intercept the delete command and simply hide the message for the user, but do not erase it from the database. However, using unofficial clients carries the risk of having your account blocked by WhatsApp servers.

How does Anti-Delete work in modified clients?

The modified application ignores the service data packet containing the deletion command. The message is marked as "deleted by sender" visually, but the physical text remains in the database and is available for viewing by clicking.

Regularly checking your backup settings is also required. Make sure that in the Settings โ†’ Chats โ†’ Chat backup section the frequency is selected "Daily". The more often copies are created, the less data you will lose if a rollback is necessary.

Remember that interfaces and settings may change with software updates. Always check the current paths in the settings menu of your smartphone, as skin manufacturers often change the location of items.

๐Ÿ’ก

Use WhatsApp widgets on the home screen. They often display the latest message even when it has already been deleted within the application until the widget is updated. This gives you a few seconds to take a screenshot.

Frequently asked questions (FAQ)

Is it possible to recover photos and videos deleted by your interlocutor?

Recovering media files is more difficult than text. If the file managed to be uploaded to the phone's gallery before deletion, it may remain in the folder WhatsApp/Mediaeven if it appears as deleted in the chat. Check your file manager. If the file was not downloaded automatically, it is impossible to restore it through standard means.

Will the other person know that I restored a deleted message?

No, WhatsApp does not send any notifications to the sender that you read the message before deleting it or restored it from a backup. For the interlocutor, the message remains deleted forever.

Does recovery through the notification log work on all phones?

No, this function appeared only in Android 11 and higher. On older versions of the operating system, there is no notification log, and you must use third-party applications to intercept notifications or methods with backup copies.

What to do if the backup was created after the message was deleted?

In this case, standard recovery methods will not help, since the โ€œcleanโ€ version of the database has already overwritten the old one. The only theoretical chance is to use professional software to recover deleted files with root access, but success is not guaranteed.

Is it safe to use modified versions of WhatsApp?

Using unofficial clients violates WhatsApp's terms of service. This may result in your number being temporarily or permanently blocked. Use such methods only at your own peril and risk, preferably on a secondary number.