Complete Viber Cleanup on Xiaomi: From Cache to Hidden Files

Viber messenger on Xiaomi smartphones over time turns into a real โ€œeaterโ€ of memory: accumulated chats, media files, cache and temporary data can take up gigabytes of space, slow down the application and even affect the overall performance of the phone.

Unlike WhatsApp or Telegram, Viber stores data more aggressively: automatic backups, thumbnails of images, voice messages, and even deleted files can remain in memory for years. At Xiaomi, the feature of the MIUI file system, where some of these applications are hidden from the user, complicates the situation. In this guide, we will analyze all the ways to clean Viber from basic to advanced, including working with system folders and MIUI settings.

Why Viber is taking up so much space on Xiaomi

On Xiaomi devices (especially on Redmi Note, POCO and budget Mi A models), the Viber can inflate to 5-10 GB โ€” and thatโ€™s not the limit.

  • ๐Ÿ“ Automatic Media Download: Viber uploads all photos, videos and stickers in original quality by default, even if you havenโ€™t opened them.
  • ๐Ÿ”„ Backups of chats: The app creates local backups once a week that are not automatically deleted.
  • ๐Ÿ—‘๏ธ Cache and temporary files: thumbnails, previews, web browsing data and even fragments of deleted messages remain in memory.
  • ๐ŸŽต Voice Messages: Unlike text chats, audio takes up 10 to 100 times more space (one message is 1 minute long). = ~1 MBB).
  • ๐Ÿ”’ Hidden folders MIUI: The system creates duplicate files in /Android/data/com.viber.voip/, Not visible through the standard file manager.

For example, on Xiaomi Redmi 9 with 64 GB of memory, the user found that Viber took 12 GB of the 50 available โ€“ while the app itself displayed only 4 GB in the storage settings. The difference arose due to hidden files and cache, which were not taken into account in the statistics of the application.

โš ๏ธ Attention: On devices with MIUI 12โ€“14 Some of Viberโ€™s data can be stored in a secure partition /data/user/0/. Trying to remove them manually without root rights will cause the application to crash.

Preparation for cleaning: what to do in advance

Before you start deleting files, be sure to follow these steps to avoid losing important data:

  1. Back up your chats to the cloud or your computer. Go to Viber Settings โ†’ Account โ†’ Backup and select Create a copy.
  2. Export important media files (photos, videos, documents) to another storage, such as Google Photos or a memory card.
  3. Check the space available on your device: if less than 1 GB, the cleanup may not be correct. Free up space by removing unnecessary apps or files.
  4. Close Viber in the multitasking menu to avoid conflicts when deleting files.

If you use Xiaomi with root rights, install a file manager with root access support (such as Root Explorer or Solid Explorer) to help remove hidden files that are not available with standard tools.

๐Ÿ“Š How often do you clear messenger cache?
Once a week.
Once a month
Only when memory ends
Never cleaned.

Method 1: Clear cache and data through Android settings

The easiest and safest method is to use the built-in MIUI tools, which are suitable for users without root rights and do not require technical skills.

Instructions:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. In the search bar, enter Viber and select the app from the list.
  3. Go to the Warehouse section.
  4. Click Clear Cache (this will delete temporary files without affecting chats).
  5. For deep cleaning, click Clear Data, but note: this will delete all chats, settings and media files inside the app!

Once the cache is cleared, Viber can run slower on its first run (the app will have to re-upload profile and sticker data), which is normal and temporary.

Save a backup copy of chats|Exporting important media files|Close Viber in Multitasking|Check the free space on the device-->

โš ๏ธ Note: On some Xiaomi models (e.g, POCO X3 or Redmi Note 10) after data clearing, Viber may request a re-authorization via SMS. Make sure you have access to the phone number linked to your account.

Method 2: Manually Delete Media Files and Chats

If you do not want to lose correspondence, but you need to free up space, delete unnecessary media files directly in the application:

How to do this:

  1. Open Viber and go to any chat room.
  2. Click on the name of the interlocutor at the top of the screen โ†’ Information about the chat.
  3. Select Media, Files and Links.
  4. Sort files by size (click on the filter icon) and remove the largest ones.
  5. For mass removal, click Select โ†’ Mark unnecessary files โ†’ Delete.

Pay particular attention to:

  • ๐ŸŽฅ Video files (take up the most space).
  • ๐ŸŽต Voice messages (even short ones can weigh megabytes).
  • ๐Ÿ“Ž Documents (PDF, Excel, archives).
  • ๐Ÿ–ผ๏ธ Animated stickers and GIF (Their weight is often underestimated).

On the Xiaomi Mi 11, a user was able to free up 3.2GB, removing only videos from chat rooms over the past year, while texting remained intact.

๐Ÿ’ก

To find large files faster, use size sorting and delete the ones that weigh more than 10MB first. Most often these are high-resolution videos or long voice messages.

Method 3: Delete hidden Viber files through file manager

Even after cleaning the cache and deleting the media, Viber itself still has hidden folders on Xiaomi that are not visible through standard means.

Steps for MIUI 12-14:

  1. Install a file manager with hidden file support (e.g. FX File Explorer or Total Commander).
  2. Turn on the display of hidden folders in the manager settings.
  3. Go to /storage/emulated/0/Android/data/com.viber.voip/
  4. Delete the following folders (if any): cache โ€“ app cache. files โ€“ temporary files and downloads. app_webview โ€” Backups โ€“ Local backups (if not required).

On some devices (such as the Xiaomi Redmi Note 8 Pro), the path may be different:

/storage/emulated/0/Android/media/com.viber.voip/

It stores media files that are not displayed in the gallery.

folderWhat it keeps.Can I remove it?
cacheTemporary files, thumbnails, data for fast downloadYes, it's safe.
filesDownloaded media, documents, stickersYeah, but you'll lose your chat files.
databasesDatabases of chats, contacts, settingsNo (will cause Viber to crash)
backupsLocal backups of chatsYeah, if there's a cloud backup.

โš ๏ธ Note: Do not delete databases or files with the.db extension โ€“ this will lead to a complete loss of chats and require reinstallation of Viber with authorization again.

Method 4: Optimize Viber settings to save space

To Viber less โ€œclogโ€ Xiaomi memory in the future, configure the settings for downloading and storing data:

Recommended settings:

  1. Open Viber. โ†’ More (โ‹ฎ) โ†’ Settings โ†’ Media.
  2. In the Automatic Media Download section, select: ๐Ÿ“ถ Wi-Fi only (to avoid downloading files on mobile network). ๐Ÿ“ฅ Do not download automatically (the best option to save space).

Quality of loading

Average.

Original

Keep media in the gallery

Backup

Automatic copy creation

1 time per month

On Xiaomi POCO F3 after these settings, the user reduced the monthly memory gain from Viber from 500 MB to 80 MB โ€“ without loss of functionality.

What if Viber takes up a lot of space?
If Viber continues to bloat after all the manipulations, check: 1. Cloud backups: The app may be syncing old data with Google Drive (check Settings โ†’ Account โ†’ Backup). 2. Hidden chats: Viber has a Hidden Chats feature (Settings โ†’ Privacy) that doesnโ€™t show up in the main list, but takes up space. 3. Sync errors: Sometimes Viber duplicates files when you transfer between devices. Try restarting sync in account settings.

Method 5: Completely reset Viber with chats saved

If previous methods did not help, and the application is unstable, perform a โ€œcleanโ€ reinstallation of Viber, saving correspondence:

Step-by-step:

  1. Backup: In Viber: Settings โ†’ Account โ†’ Backup โ†’ Create a copy (select Google Drive or Local). Wait until it is completed (can take up to 10 minutes on large amounts of data).
  2. Delete Viber: Go to Settings โ†’ Applications โ†’ Viber โ†’ Delete. Confirm the deletion (with it all local data will disappear).
  3. Clear residual files: With the file manager, delete folders: /storage/emulated/0/Android/data/com.viber.voip/ /storage/emulated/0/Android/obb/com.viber.voip/

Reinstall Viber

  • Download the latest version from Google Play or the official website.
  • When you first start, select Restore from backup.

This will make room without affecting the correspondence.

Why does Viber take up a lot of space once itโ€™s cleaned?
Causes: ๐Ÿ”„ Automatic Media Download enabled (turn off in Viber settings). ๐Ÿ“ฅ Cloud Sync Recovers Old Files (Check Backups). ๐Ÿ—‘๏ธ System duplicates in folders MIUI (Solution: set up automatic download to Wi-Fi Only or Never, and clean the cache regularly.
How to transfer Viber chats to a memory card on Xiaomi?
Unfortunately, Viber does not support the transfer of chats to SD-You can, however, back up chats to the memory card (Settings) โ†’ Account. โ†’ Backup โ†’ Locally. Delete Viber, reinstall and restore chats from the map. Use Adoptable Storage. SD-It's part of the internal memory, but it's risky for the data. MIUI Better to use cloud backups (Google Drive).
What happens if you delete the com.viber.voip folder?
The consequences depend on the contents of the folder: ๐Ÿ—‘๏ธ Cache removal is harmless, cache will recover. ๐Ÿ“‚ Delete files โ€“ Media files from chats will be lost. ๐Ÿšจ Delete databases -- you lose all your chats and your settings -- if you're not sure, don't delete the entire folder. You better selectively clean it.
How to clean Viber on Xiaomi with root rights?
With root access, you can delete all hidden Viber files, including system files: Open Root Explorer and go to the /data/data/com.viber.voip/. Delete the cache folders, app_webview, files (except databases!) Clear the Dalvik cache for Viber (via Titanium Backup or analogues. โš ๏ธ Caution: Root rights mishandling can lead to data loss or system failure.