Accidentally deleting an important photo, video or document from a chat WhatsApp is a situation that almost every Android smartphone user faces. Panic in the first minutes is understandable, but it is worth remembering that the architecture of this messenger provides several levels of data protection. The system automatically creates backupsand the phone's local storage often retains media files even after they are deleted from the application interface.
However, the success of the recovery operation directly depends on how long ago the deletion occurred and what settings were activated on your device previously. If you managed to make a backup before the incident, the chances of getting the information back are close to 100%. Otherwise, you will have to resort to more complex search methods in system folders or use third-party software.
In this article we will analyze in detail all the available methods: from a standard rollback to a previous version of the chat to a manual search for deleted files through Explorer. You will learn where exactly Android stores the messenger cache and how to properly configure automatic saving of data to avoid similar problems in the future.
Restoring chat history via Google Drive
The most reliable and official way to return correspondence is to use a cloud backup stored on Google Drive. By default, the messenger offers to create backups daily, weekly or monthly. If the deletion occurred recently, and the last copy was created before this moment, you can easily restore all messages.
To start the process, you need to completely delete the application WhatsApp from your device, and then download it again from the store Google Play. During the initial setup and entering your phone number, the system will detect an available backup and offer to restore the data. It is important not to skip this step, since it will be impossible to do this later without reinstalling it again.
It is worth considering that this method restores the state of the chats at the time the copy was created. All messages and media files received or sent after the time the backup was created will be permanently lost during this process. Therefore, before starting the operation, make sure that the critical new data is saved in another way.
โ ๏ธ Warning: The Google Drive recovery process will overwrite the current database on the phone. Make sure you are prepared to lose messages that appear after the backup date.
The success of the restore depends on whether you use the same Google account and the same phone number that was used when creating the backup. If you changed your number or logged into another Google account, the system will not see the saved data and will offer to start the chat from scratch.
Before restoring, check the date of the last backup in the WhatsApp settings (Chats โ Chat backup) to understand exactly what data you will lose during the rollback.
Local recovery via file manager
If there is no cloud copy or it is too old, local storage will come to the rescue. The Android version of the messenger creates a backup copy of the database every day at 2 am and stores it in the internal memory of the device. These files are stored for seven days, which gives you the opportunity to roll back to any of the previous nights.
To access this data you will need any file manager, for example Files by Google or built-in explorer. You need to find the folder where the databases are stored. In modern versions of Android, the path may look like Android/media/com.whatsapp/WhatsApp/Databases or WhatsApp/Databases in the root of the internal memory.
In this directory you will see files with names like msgstore-YYYY-MM-DD.1.db.crypt14, where the numbers indicate the creation date. A file without a date in the name (msgstore.db.crypt14) is the current active database. To restore data for a specific day, you need to rename the current file (adding .old to it), and rename the selected file with the date to msgstore.db.crypt14.
- ๐ Find the folder
Databasesthrough the file manager. - ๐ Select the file with the desired backup date.
- โ๏ธ Rename the current file by adding the .old extension.
- ๐พ Rename the selected file to
msgstore.db.crypt14.
After renaming the files, you need to reinstall the application. When launched WhatsApp it will offer to restore history from a local copy, since the cloud one will be ignored in favor of the found local file. This is a great way to return data if the Internet backup has not yet been updated after deletion.
โ๏ธ Preparing for local recovery
Search for deleted media files in the Android system
Often users delete photos or videos from a chat, believing that they have disappeared forever. However, if the "Media Visibility" function was active in the settings, the files could be saved in the phone gallery regardless of the status in the messenger. Even if the file is deleted from the chat, a copy of it may be located in hidden system folders.
Starting with Android 11, the folder structure has changed for security reasons. Now media files are often located along the path Android/media/com.whatsapp/WhatsApp/Media. Here are subfolders WhatsApp Images, WhatsApp Video and others. It's also worth checking the folder Sent Inside these directories, files that you sent are saved there.
Sometimes deleted files end up in the recycle bin of the smartphone gallery. Many manufacturers (Samsung, Xiaomi, Realme) have implemented a recycle bin function, where deleted photos are stored for another 30 days. Go to the Gallery application, find the "Trash" or "Recently Deleted" section and try to restore the necessary pictures from there.
| File type | Possible location (old Android) | Possible location (Android 11+) | Chance recovery |
|---|---|---|---|
| Images | /WhatsApp/Media/WhatsApp Images | /Android/media/com.whatsapp/.../WhatsApp Images | High |
| Video | /WhatsApp/Media/WhatsApp Video | /Android/media/com.whatsapp/.../WhatsApp Video | Medium |
| Audio | /WhatsApp/Media/WhatsApp Audio | /Android/media/com.whatsapp/.../WhatsApp Audio | High |
| Documents | /WhatsApp/Media/WhatsApp Documents | /Android/media/com.whatsapp/.../WhatsApp Documents | Low |
Why may files be missing from folders?
If you used the "Clear chat" function with the "Delete media files from phone" checkbox, the system forcibly erases them from visible folders. However, traces may remain in the cache, access to which requires root access.
Using third-party recovery apps
When built-in methods do not help, users turn to specialized data recovery software. apps like Dr.Fone, Tenorshare UltData or DiskDigger scan the device's internal memory in search of remote sectors where data has not yet been overwritten.
The effectiveness of such apps varies greatly. If a lot of time has passed since deletion and the memory was actively used (new photos were recorded, applications were installed), the chances of success tend to zero. Physical overwriting of data makes recovery impossible even for professional tools.
Most powerful tools require root access on the device for deep scanning. Gaining superuser rights can void your smartphone's warranty and create system security vulnerabilities, so this step should only be taken as a last resort.
โ ๏ธ Attention: Be careful with free versions of recovery apps. They often show the files they find but require payment to actually retrieve them. Always check software reviews before purchasing.
There are also applications that restore data directly from cloud shadow copies if they are not visible in the standard interface. However, remember that installing dubious software on a phone with banking applications carries certain risks of leaking personal data.
Third-party software is most effective in the first hours after removal, before the system has time to overwrite the free space with new data.
Setting up automatic data backup
To avoid the problem of data loss in in the future, you need to properly configure your backup settings. Go to the messenger settings, select the section Chats and go to item Chat backup. Here you can set the frequency of creating copies.
It is recommended to set the frequency to "Daily". You should also pay attention to the โEnable videoโ item. By default, videos are often excluded from backup due to their large size, which saves space on Google Drive, but leaves you unable to restore important video messages.
Make sure you select the correct Google account to store copies. If you have multiple accounts on your phone, the system may have selected one that you don't currently have access to or that has run out of free space. Regularly check the status of the latest copy in the same menu.
In addition to cloud backup, it makes sense to periodically manually copy the folder WhatsApp to a computer or external drive. This will create an independent backup copy that does not depend on Google policies or failures in the messenger servers.
Data loss prevention and expert advice
The best recovery method is to prevent loss. Use the Pinned Chats feature for important conversations so you don't accidentally delete them with a swipe. Also, be careful when using the "Clear Chat" function, always double-checking that the option to delete media files is unchecked.
Regularly free up space on Google Drive. Full cloud storage is a common reason why new backups are not created and you are left with outdated data. Monitor your account quotas.
If you are planning to change your phone, do not delete WhatsApp from your old device until you are sure that all data has been successfully transferred and restored to the new gadget. The migration process between different operating systems (for example, from iPhone to Android) requires the use of special utilities and cables.
โ ๏ธ Attention: The interface and folder paths may vary slightly depending on the version of Android and the manufacturer's shell (MIUI, OneUI, ColorOS). If you do not find the folder in the specified path, use the search for the "msgstore" file in the file manager.
Frequently asked questions (FAQ)
Can I restore messages if I did not make a backup?
Without a backup (local or cloud), restore text history correspondence is almost impossible. The only chance is to find media files (photos, videos) through the file manager in the cache folders, if they were not forcibly deleted from the device.
Will the interlocutor see that I have restored a deleted message?
No, when restoring chat history from a backup copy, no notifications are sent to the interlocutor. For him, the message will remain deleted unless he also restores his copy of the chat for the same period.
How to recover deleted photos that are not in the gallery?
Try to find them in the folder WhatsApp Images/.Statuses (for statuses) or in shared media folders. If a file is deleted from both the chat and the gallery, only data recovery apps will help, provided that the memory has not been overwritten.
How many days are local backups stored?
WhatsApp stores local database backups for the last 7 days. Every day, the old copy is replaced with a new one, so it will not be possible to restore data older than a week through a local file.
Does changing your phone number affect data recovery?
Yes, if you changed your number, but did not transfer your account through the "Change number" function in the settings, the old backup copy may not be suitable. Cloud copies are tied to the phone number, so when you log in with a new number, the old copy will not be offered for recovery.