The situation when the interlocutor deletes a message immediately after sending is familiar to many instant messenger users. On smartphones Xiaomi with a shell MIUI or HyperOS this problem is not solved as obviously as it seems at first glance. The standard functionality of the application WhatsApp does not provide for storing deleted data on the recipient's device, however, the features of the operating system Android allow you to bypass this limitation.

There are several proven ways to recover text: from using the built-in notification history function to working with local databases. The choice of a specific method depends on your firmware version and whether you have superuser rights. Next, we will analyze each of them in detail, paying attention specifically to the ecosystem Xiaomi.

Using notification history on MIUI and HyperOS

The simplest and safest method, which does not require the installation of third-party software, is available to owners of modern versions Android (starting from version 11). In smartphones Xiaomi this feature is called โ€œNotification Historyโ€ and allows you to view the contents of all notifications, even if they were deleted by the sender.

To activate this option, you must go to Settings โ†’ Notifications and status bar โ†’ Notification history and move the switch to the active position. It is important to understand that history begins only from the moment the function is enabled. If a message was deleted before activation, you cannot restore it using this method.

After enabling the function, you will be able to see the text of deleted messages in a special menu, even if the message โ€œThis message has been deletedโ€ appears in the chat itself. The system saves the application title and the full text of the notification in the history buffer for up to 24 hours.

๐Ÿ’ก

Make sure that WhatsApp is allowed to display notifications in the status bar, otherwise the system will not be able to save the text of the message to the history.

However, this method has its limitations. It will not work if the chat with the interlocutor is in Silent mode or if you have already opened the dialogue when the message arrives. In such cases, a notification is not generated and the system has nothing to save.

โš ๏ธ Attention: Notification history is stored only on the device and is not synchronized with the cloud. When clearing the Settings application data or resetting the phone, all history will be irretrievably lost.

Recovery through local database backups

A more complex but effective method involves working with the file system of the smartphone. The application WhatsApp creates local copies of correspondence daily, which are stored in the deviceโ€™s internal memory for 7 days. This allows you to roll back the chat state to the previous day.

Backup files are located along the path /Android/media/com.whatsapp/WhatsApp/Databases (on new versions of Android) or in the root memory in the folder /WhatsApp/Databases (on older versions). The files look like msgstore-YYYY-MM-DD.1.db.crypt14, where the numbers indicate the date of creation.

To recover deleted messages, you will need a file manager, for example, built into Xiaomi "Explorer" or a third-party Total Commander. The algorithm of actions is as follows:

  • ๐Ÿ“‚ Open the folder Databases and find the file with the desired date before the message was deleted.
  • ๐Ÿ”„ Rename the current file msgstore.db.crypt14 to any other name, for example msgstore.db.crypt14.backup.
  • ๐Ÿ’พ Copy the file for the desired date and rename it to msgstore.db.crypt14 (removing the date from the name).
  • ๐Ÿ—‘๏ธ Delete the WhatsApp application and install it again, agreeing to restore from a local copy.

This method is guaranteed to return the correspondence at the time the backup was created. However, you will lose all messages received between the backup date and now. Therefore, before the procedure, it is recommended to make a manual copy of important new dialogs.

โ˜‘๏ธ Preparing to restore the database

Done: 0 / 4

Third-party applications for tracking notifications

If the built-in notification history function on your Xiaomi is missing or does not work correctly, you can use specialized utilities from store Google Play. These applications intercept system notifications and save them to their own log.

Popular solutions are Notification History Log or WAMR. They work like an accessibility service, gaining read rights to all incoming notifications. As soon as a message arrives in WhatsApp, the application copies its text and media files to its database before the sender has time to delete them.

When using such apps on devices Xiaomi it is extremely important to properly configure autorun and work in the background. The system MIUI aggressively closes background processes to save energy, which can lead to interruptions in the interceptor.

Application Access type Media saving Resource consumption
WAMR Special. capabilities Yes (photo, voice) Medium
Notif Log Access to notifications No (text only) Low
WhatsRemoved+ Special. capabilities Yes (all types) High
History Notif System API Depends on OS Minimum

Using third-party software carries certain security risks, as how you give applications access to personal communications. It is recommended to carefully study the privacy policies of the developers before installation.

Why does WAMR sometimes not see photos?

The application can restore a media file only if it managed to download to the device before it was deleted. If the deletion occurred instantly and the Internet is slow, the photo will not be saved.

Working with system logs via ADB (for advanced)

For users who have skills in working with USB debugging, there is a method for reading system logs. In some versions Android the notification text briefly appears in the system log logcat before being displayed on the screen.

To use this method, you must enable developer mode on Xiaomi (by clicking 7 times on the build number in About phone) and enable USB debugging. Then connect your smartphone to the PC and run the command in the terminal:

adb logcat | grep -i "whatsapp"

This command will display in real time all system messages associated with the messenger. If you catch the moment a notification arrives, you can see its contents in text form. The method is difficult for constant use, but can help in isolated cases of restoring critical information.

It is worth noting that in the latest security updates Android Access to notification buffer logs for third-party applications and ADB without root access is often limited. Therefore, this method does not work on all firmware HyperOS.

๐Ÿ’ก

The method with ADB logs does not require the installation of unnecessary applications, but only works in real time and requires a connection to a computer.

Features of working on different versions of Android

The effectiveness of recovery methods directly depends on the version of the operating system installed on yours Xiaomi. Starting from Android 11Google changed the policy for accessing files in a folder Android, which made it more difficult to work with backups through third-party file managers.

On Android 10 and below the path to databases was more open, and many file managers could freely read and move files backups. In Android 12, 13 and 14 access to the folder /Android/media/ i /Android/data/ is closed for most applications without granting special permissions through the system dialog.

In addition, in new shell versions MIUI the rules for the operation of background services have been tightened. Applications for intercepting notifications may be automatically stopped by the system a few minutes after minimizing, unless you add them to the battery exclusion list.

โš ๏ธ Attention: The settings interface and file location may vary depending on the firmware version. Always check the current file paths in the documentation for your specific smartphone model.

If you cannot find the folder with the databases using a standard explorer, try connecting the phone to the computer in file transfer mode (MTP). Through a PC, access to system directories often remains open even on new versions of Android.

Precautions and data security

The desire to read deleted messages should not compromise the security of your device. Installing unverified applications or obtaining root access (via Magisk) can lead to a leak of personal data or blocking of bank services.

When using methods that involve renaming database files, always create an additional copy of the current database. An error in the file name or encryption version (crypt14, crypt15) can lead to WhatsApp not starting at all or losing the entire correspondence history.

Remember that restoring messages deleted by the sender is an interference in the privacy of the interlocutor. Use the data obtained ethically and only in extreme cases when the information is really important.

๐Ÿ“Š Which recovery method are you planning to use?
MIUI notification history
Database backup
Third-party application (WAMR)
Through ADB logs
I will not restore

Frequently asked questions (FAQ)

Can I read a deleted message if the phone was turned off?

No, this impossible. The message is processed by the server and the device only at the moment of switching on. If the phone was turned off at the time of sending and deletion, the information will not arrive on the device at all.

Are deleted voice messages saved?

Only when using specialized applications such as WAMR, which manage to download the media file before it is deleted. Xiaomi's standard notification history only saves text.

Will the other person know that I read the deleted message?

No, the read status (โ€œcheckmarksโ€) is managed by the WhatsApp server. If you read a message through the notification history or restored database, the sender will not receive a notification about this, since for the server the message remains unread or deleted.

Does this method work for secret chats?

No, secret chats (disappearing messages) have encryption and deletion priority, which often bypasses standard mechanisms for logging notifications and creating backups copies.

Is the counter of unread messages reset when restoring the database?

Yes, when you roll back to an old backup, the counter of unread messages will return to the state on the date the backup was created. All messages received after this date will be considered unread until they are opened.