Deleted important messages in Viber on Xiaomi smartphone and you don't know how to return them?The situation is familiar to many: accidentally tapping, resetting, or even a virus could erase your correspondence. Fortunately, on Redmi, POCO or Mi devices, there are several ways to restore chats - from standard backups to hidden MIUI features.
In this article, we'll look at 7 proven methods, including Google Drive recovery, local backups, app cache, and even manually extracting data from your phone's memory. Importantly, the effectiveness of each method depends on whether synchronization was enabled before deleting messages and how long it has been since the incident, and the faster you start acting, the better the chances of success.
Note that some methods require root rights or technical skills. If you are a beginner, start with the simplest options (sections 1-3). For experienced users, we have prepared advanced instructions using ADB and file manager.
1. Recovery through Viber backup
The most reliable way to get back a message is to use automatic backups that Viber creates under certain conditions, which can be stored in both the Google Drive cloud and the deviceโs local memory on Xiaomi.
To check for a backup copy:
- ๐ฑ Open Viber and go to More (โฎ) โ Settings โ Account. โ Backup.
- ๐ If there's a date for the last backup, it means the copy exists.
- โ๏ธ If you are using Google Drive, log in under the same account as when you created a copy.
- โ ๏ธ Note: when recovering, current messages will be replaced by data from the backup.
On Xiaomi, local copies are stored along the way:
/storage/emulated/0/Android/media/com.viber.voip/documents/backup/Files have the.vcb extension, and can be copied to a PC or transferred to another device for recovery.
๐ก
If the backup is missing, try reinstalling Viber โ sometimes this triggers automatic recovery from a hidden copy.
2. Retrieving messages from Viber cache
Even after deleting a correspondence, traces of it can remain in the app's cache, and Xiaomi uses this method if:
- ๐๏ธ Messages were deleted no more than 3-7 days ago.
- ๐ฑ No cache clearing was done through Settings โ Annexes.
- ๐ The app hasn't been reinstalled.
Instructions for extraction:
- Install a file manager with access to system folders (such as FX Explorer or Solid Explorer).
- Go to /data/data/com.viber.voip/cache/Note: root rights are required to access /data/.
- Find files with the.db or.sqlite extension โ these are Viber databases.
- Copy them on your PC and use programs like SQLite Browser to view messages.
What if there are no root rights?
โ ๏ธ Note: not all messages are saved in cache in readable form, often only text messages are recovered without attachments.
3. Recovery via MIUI Backup (for stitched devices)
The proprietary MIUI function, Local Backup, can save Viber data if it was activated before deleting correspondence.
- ๐ง Go to Settings. โ The phone. โ Backup and reset โ Local backups.
- ๐ Check the date of the last backup. If it fits, click Restore.
- ๐ฆ Select the archive with the desired date and confirm the restoration.
Important: This method restores all the application data, including settings and media files. If Viber doesn't work properly after the procedure, clean the cache manually.
| Method of recovery | Root is required. | Time of action | Restores investments |
|---|---|---|---|
| Backup copy of Viber | โ No. | Anybody | โ Yes. |
| Cash app. | โ Yes. | <7 days | โ No. |
| MIUI Backup | โ No. | Depends on the backup date. | โ Yes. |
| Google Drive | โ No. | Anybody | โ Yes. |
4. Use of specialized programs (without root)
If standard methods do not help, you can use software to restore data.
- ๐ Dr.Fone (Android Data Recovery tab).
- ๐ฑ EaseUS MobiSaver โ supports the extraction of messages from internal memory.
- ๐พ DiskDigger โ Searches for deleted files by signatures (including Viber databases).
The following is a step-by-step guide for Dr.Fone:
- Install the program on your PC and connect Xiaomi via USB (enable Debugging by USB in Settings โ About Phone โ MIUI version โ 7 times click on the version).
- Select Android Data Recovery Mode โ Messages and attachments.
- Follow the instructions of the memory scanner.
- After analysis, select Viber messages and save them to your PC.
โ ๏ธ Warning: Free versions of software often limit the number of files to be recovered. Before buying, check if the program finds the data it needs in demo mode.
โ๏ธ Preparing for recovery via PC
5. Manual recovery via ADB (for advanced)
If you have experience with ADB, you can try extracting the Viber database directly, which works even without root, but requires precise execution of commands.
Instructions:
- Install Platform Tools (download from the Android Developers website).
- Connect Xiaomi to your PC and execute: Adb devices (you should display your device).
- Copy the Viber: Adb pull database /data/data/com.viber.voip/databases/viber_messages
- Open the file. viber_messages SQLite Browser and export messages.
Alternative path to the base (for new versions of Viber):
/data/data/com.viber.voip/app_webview/Default/IndexedDB/https_app.viber.com_0.indexeddb.leveldb/๐ก
ADB-The method allows you to recover even those messages that are not displayed in the standard backup, but requires accuracy - a mistake in the command can lead to data loss.
6.Advocating for Viber: When Nothing Helps
If all of these things don't work, the last chance is that Viber is officially supported, and they can recover the correspondence from the server logs, but only if they meet the conditions:
- ๐ The messages were deleted no more than 30 days ago.
- ๐ You have access to an email or phone number linked to your account.
- ๐ You can confirm your account ownership (for example, provide contacts from correspondence).
How to make a request:
- Go to support.viber.com.
- Select the Lost Messages section.
- Fill out the form, specifying the most detailed information (date of deletion, contacts, fragments of messages).
๐น Review period: 3 to 14 days. Response comes to email.
โ ๏ธ Note: Viber support does not guarantee recovery โ it all depends on the data storage policy on the servers.
7.Prevention: How to avoid future loss of correspondence
To avoid the problem of remote messages, set up automatic backup on Xiaomi:
- โ๏ธ In Viber: Settings โ Account. โ Backup โ Autosave in Google Drive (select frequency: daily/weekly).
- ๐ฑ V MIUI: Settings โ The phone. โ Backup โ Automatic backup (enable the option for applications).
- ๐ Export important chats manually regularly: Open a dialogue โ โฎ โ Export history (retained in.txt or.zip).
Additional security measures:
- ๐ก๏ธ Set a password on Viber (Settings) โ Confidentiality โ Password).
- ๐ซ Turn off automatic cache cleanup in Settings โ Warehouse โ Cleanup.
- ๐ฒ Use two-factor authentication for your Google account to avoid hacking.
๐ก
Even if you donโt plan on recovering messages now, set up backups ahead of time โ it will take 5 minutes but save you hours of nerves in the future.