Messenger Viber has become an integral part of the digital life of millions of users, saving correspondence, voice messages and media files directly on the device. However, when the need arises to free up memory space or transfer chat history to a new smartphone, users often find it difficult to find hidden directories. Understanding where these files are physically located is critical for properly managing device storage and preventing accidental loss of important information.
Unlike cloud services that synchronize data in real time, the messenger's local storage is a complex hierarchical folder structure. Access to them may be limited by operating system permissions, especially on newer versions of Android. In this article, we will analyze in detail the paths to database files, media cache and backup copies, and also consider the nuances of working with them on different firmware versions.
On modern devices, Google's security policy has tightened the rules for access to system directories, so standard file managers may not display some hidden sections without providing special permissions. You will need not only to know the exact address of the folder, but also to be able to correctly configure access to it to perform copying or cleaning operations.
The main application directory and storage structure
By default, all service data and user content are saved in the internal storage of the smartphone. The root path where the messenger files are located looks like /sdcard/Viber or /storage/emulated/0/Viber. This is where the main folder with the same name is located, inside which a logical division of data by content type is organized.
Inside the root directory you will find several key subfolders, each of which is responsible for its own segment of information. For example, the folder Media contains all received images and videos, sorted by date or chat type. Separately, it is worth noting the folder Backupswhere local copies of the message history are stored, necessary for restoring data when reinstalling the application.
It is worth considering that on devices with version Android 11 and higher, some of the data could have been moved to the protected system area /Android/data/com.viber.voip/files. Access to this section is limited for third-party applications, and to view the contents you may need to use specialized file managers with access rights to system folders or connect to a PC via USB.
โ ๏ธ Attention: Deleting files from the folder
Backupswill make it impossible to restore the correspondence history using standard application tools. Delete data only after creating a current copy in the cloud or on external media.
The folder structure may vary slightly depending on the version of the installed messenger and the customization of your smartphone's shell. Some manufacturers, such as Xiaomi or Samsung, may use their own encryption algorithms or hide folders from standard Explorer.
Why may the Viber folder be empty?
If you have entered a directory and do not see files, check the settings for displaying hidden files in your Explorer. It is also possible that the application is installed on a memory card, and the path will be different (/storage/XXXX-XXXX/Viber).
Accessing media files and clearing the cache
The most voluminous data segment, occupying gigabytes of memory, is media files. Photos, videos and voice messages are saved in the subdirectory Viber/Media. Inside this folder, files are often distributed in additional directories, such as Viber Images, Viber Video and Viber Audio, which simplifies manual sorting and deleting unnecessary content.
To quickly clear space without deleting important conversations, you can use the built-in tools of the messenger itself or third-party utilities to clear the cache. However, the manual method through a file manager gives more complete control over which files are to be deleted, allowing you to save, for example, important documents sent in a chat.
Voice messages have a specific storage format and are often not visible in the standard smartphone gallery. They are located in the folder Viber Audio and may have extensions different from the standard ones .mp3 or .wav. To listen to them outside the messenger, you may need to install a third-party audio player that supports various codecs.
- ๐ The folder
Viber Imagescontains all received and sent photos in original quality. - ๐ฅ The directory
Viber Videotakes up the most space and requires regular revision. - ๐๏ธ Files in
Viber Audioare voice messages and audio calls recorded on a voice recorder.
Regular cleaning of these folders can significantly speed up the operation of the device and free up space for new applications. Do not forget that deleting a file from this folder will also delete it from the chat history in the application itself, since the messenger loads content directly from the disk.
Before mass clearing the Media folder, copy important photos to a separate folder on your computer or to cloud storage to avoid irreversible loss of memories.
Backup and database file data
The heart of the message storage system is the database file, which contains the text history of correspondence, contacts and chat settings. In the Android environment, this file usually has the extension .vbk or .db and is located in the folder Viber/Backups. The file name often includes the date the backup was created, which allows you to store multiple versions of the archive.
Creating a local backup is a reliable way to protect your data before resetting your phone or flashing it. Unlike cloud backup via Google Drive, a local copy is stored exclusively on the device and does not take up space in your Google account, but requires manual transfer to another storage device.
To restore data from a local copy, you must place the backup file in the appropriate folder on the new device before installing or launching the application for the first time. The system will automatically detect the file and offer to restore the message history during the initial profile setup.
| Data type | Location | File extension | Importance |
|---|---|---|---|
| Message history | /Viber/Backups | .vbk / .db | Critical |
| Photos | /Viber/Media/Viber Images | .jpg / .png | Average |
| Video files | /Viber/Media/Viber Video | .mp4 / .3gp | High |
| Voice | /Viber/Media/Viber Audio | .ogg / .aac | Average |
The size of the database file directly depends on the number of messages and the duration of use of the messenger. Over time, it can grow to several gigabytes, which slows down the process of creating a backup and restoring data.
A local backup (.vbk) is not encrypted with Google cloud keys, so its security depends solely on the physical safety of your device or flash drive.
Storage features on different versions of Android
Starting with version Android 10 and especially in Android 11, Google has implemented a mechanism Scoped Storage (limited storage). This change dramatically affected how applications interact with the file system, limiting access to shared directories to increase user privacy. On older versions of the system (Android 9 and below), access to the folder was completely open to any file manager. On newer systems, attempting to open this folder through standard Explorer may result in an access error message or a blank window unless special permissions are granted.
On older versions of the system (Android 9 and below), access to the folder /sdcard/Viber was completely open to any file manager. On newer systems, attempting to open this folder through standard Explorer may result in an access error message or a blank window unless special permissions are granted.
To access data on modern smartphones, you may need to use Google's system Files tool or third-party managers such as Solid Explorer or FX File Explorerthat can query access to system folders through a special API. In some cases, you will need to connect to a PC, where Android restrictions do not apply at the file system level in file transfer mode (MTP).
Also worth Note that some manufacturers add their own add-ons that can redirect data streams. For example, on devices Huawei without Google services, the folder structure may be different, and backup may be tied to the manufacturer's cloud, and not to the standard directory.
Transferring data to a new smartphone
When changing a device, a natural question arises: how to transfer the entire history of correspondence and media files without losing data. The most reliable way is to use the local backup function, followed by manually transferring the file to a new device via a computer or cloud service.
The transfer process requires a strict sequence of actions. First you need to create a fresh backup on your old phone, then copy the file .vbk and the entire folder Media to intermediate media. After installation Viber on a new device, but before logging into your account, you need to place the files in the same directories.
If you use the Wi-Fi transfer function built into the messenger itself, the process occurs automatically without the need to manually copy files. However, this method requires that both devices be on the same network and have sufficient battery power, as the process can take considerable time with a large amount of data.
- ๐ Create a backup in the application settings (Settings โ Account โ Backup).
- ๐พ Copy the folder
Viberentirely to your computer or to the cloud. - ๐ฒ Paste the folder into the root of the internal memory of your new smartphone before launching the application.
It is important to make sure that there is enough free space on your new device. If the amount of data transferred exceeds the available space, the restore process will be interrupted and the database may become corrupted, requiring you to reinstall the application.
โ ๏ธ Warning: Do not attempt to restore a backup created with a newer version of the application on a device with an older version of Viber. This may result in database read errors. First, update the application.
Solving problems with displaying files
Often users are faced with a situation where files physically exist on the disk, but are not displayed in the gallery or inside the messenger. This may be due to a file .nomediainstructing the system not to scan this folder for media content.
If your photos are missing from the gallery, check for the file .nomedia in the folder Viber/Media. Removing this hidden file (via the file manager with the "show hidden files" option) will force the system to re-index the media and display the images in the standard Android gallery.
Another common problem is the time and date of files being out of sync. After transferring data to a new phone, sorting in chats may be disrupted. In such cases, clearing the application cache through the Android settings helps: Settings โ Applications โ Viber โ Memory โ Clear cache.
โ๏ธ Diagnosis of problems with files
In rare cases, damage to the smartphone's file system can cause the Viber folder to become unwritable. Checking the disk for errors through a computer or using built-in diagnostic utilities can help identify bad sectors or logical file system errors.
Questions and answers (FAQ)
Can I read the Viber database file on a computer?
Viber database files (.vbk or .db) are encrypted and tied to a specific device and account. It is impossible to read them directly through a text editor or a standard SQL database viewer without using special decryption keys that are stored in a protected area of โโthe phone's memory.
What to do if the Viber folder takes up too much space?
Instead of manually deleting files, use the built-in memory management function in the application itself: Settings โ Storage. There you can see the distribution of space in chats and delete the history of individual dialogues or the entire media cache with one button, which is safer for the integrity of the database.
Where are Viber stickers and themes stored?
Downloaded stickers and themes are stored in hidden system folders applications, usually in the directory /Android/data/com.viber.voip/files. They are not intended for manual editing by the user and are managed automatically by the messenger itself when the content is updated.
How to find deleted messages in phone files?
It is not possible to recover deleted messages directly from the file system, since when deleted, the corresponding records are deleted from the database. The only way to get them back is to restore the phone from a backup copy (.vbk), which was created before the messages were deleted.