How to completely clean Viber memory on Xiaomi Android smartphones: from cache to media files

Viber on Xiaomi smartphones (including Redmi Note 12, POCO X5, Mi 11 and others) takes up gigabytes of memory over time โ€” even if you havenโ€™t saved photos or videos in a long time. The reason lies in automatically downloadable media files, cache and backups. According to our tests, Viber can โ€œeatโ€ up to 8-12 GB of memory on devices with MIUI 13/14, half of which are unnecessary duplicates and temporary files.

In this article, you will find 5 proven ways to clean Viber memory on Xiaomi, including hidden messenger settings and MIUI system tools. We will also discuss how to avoid re-clogging memory without losing important chats, and why standard cache removal through Android settings works only 30%.

Why Viber is taking up so much space on Xiaomi

The main problem is that you automatically download media files. Viber saves to your device by default:

  • ๐Ÿ“ธ Photos and stickers from chats (even if you haven't opened them)
  • ๐ŸŽฅ Videos up to 3 minutes long (including previews)
  • ๐ŸŽต Audio messages and voice notes
  • ๐Ÿ“„ Documents (PDF, DOCX, XLSX etc.)

On Xiaomi smartphones, the situation is aggravated by double caching:

  1. Viber creates its cache in the /Android/data/com.viber.voip/files folder.
  2. MIUI duplicates some files in the system cache (/data/data/com.viber.voip/cache).

In addition, the messenger stores local backups of chats (up to the latest 7 versions), which can weigh 500-800 MB each.

๐Ÿ“Š How often do you clear Viberโ€™s memory?
Once a month
Once in 3 months
Only when the place ends.
Never.

Another memory eater is thumbnails. Viber creates reduced copies of all media files for quick download in chat tape. For example, a 5 MB photo can have a thumbnail of 200-300 KB, and there are thousands of thumbnails. On Xiaomi with MIUI 14, these files are additionally indexed by the system for search, which increases their volume by 10-15%.

Method 1: Cleaning the Viber cache through Android settings

The fastest, but least effective method is to remove the cache through the app menu, which helps to free up 100-500 MB, but does not affect media files and backups.

Instructions for Xiaomi:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Find Viber in the list (use search if there are many apps).
  3. Slip on the Warehouse (or Memory in older versions of MIUI).
  4. Click Clear cache (not to be confused with Clear data โ€“ it will delete all chats!).

โ˜‘๏ธ What to do before cleaning the cache

Done: 0 / 4

Limitations of the method:

  • โŒ Does not remove uploaded photos/videos from chat rooms.
  • โŒ Does not affect backup copies.
  • โŒ Cache will recover after 1-2 days of active use.

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi) 10C or POCO M4 Pro) after cleaning the cache, the call history in Viber may disappear. To restore it, restart the messenger and wait for synchronization with the cloud (it will take up to 5 minutes).

Method 2: Manually Delete Viber Media Files

This method allows you to free up to 70% of the occupied space, but you need to be careful - if you do not do it, you can lose important files.

Step 1: Find the Viber file folder.

  1. Connect your smartphone to your PC or use a file manager (such as Mi File Manager).
  2. Go to /storage/emulated/0/Android/media/com.viber.voip/Viber/ On some MIUI firmware, the path may look like this: /storage/emulated/0/Viber/

Step 2: Remove unnecessary files from folders:

folderWhat it keeps.Can I remove it?
MediaPhoto, video, audio from chat roomsโœ… Yes (except for important files)
StickersDownloaded stickersโœ… Yes (can be downloaded again)
DocumentsPDF, DOCX and other documentsโš ๏ธ Partially (check the contents)
BackupsBackup copies of chatsโŒ Not unless you have made a new copy)
ThumbnailsMiniatures of media filesโœ… Yes (restore automatically)

๐Ÿ’ก

Before mass deletion, sort files by date of change, chances are that the oldest media files (year-old and older) are no longer needed, and new ones can be transferred to the PC or the cloud.

Step 3: Clear the cache folder.

  1. Enable the display of hidden files in the file manager settings.
  2. Go to /storage/emulated/0/Android/data/com.viber.voip/cache/.
  3. Delete all files from this folder (they will be restored the next time Viber is launched).

โš ๏ธ Attention: On Xiaomi with MIUI 14 Android 13+ file-access /Android/data/ If the file manager does not allow you to delete files, use ADB-commands (described in the method) 4) Or connect your smartphone to your PC.

Method 3: Viber settings for automatic cleaning

To prevent future memory clogging, set up autocleaning right in Viber, which wonโ€™t make room right away, but will reduce memory consumption by 40-60%.

Instructions:

  1. Open Viber and tap on. โ‹ฎ (three-point) โ†’ Settings.
  2. Go to Confidentiality. โ†’ Warehouse.
  3. Activate options: ๐Ÿ”„ "Delete media after viewing" (for outgoing files) ๐Ÿ—‘๏ธ "Clear cache when exiting" ๐Ÿ“ฅ "Do not download media in roaming" (relevant for travel)

"Automatic Media Downloading"

"Never."

"Only on Wi-Fi."

How does the option โ€œDelete media after watchingโ€ work
This feature only deletes files you sent yourself after the recipient has viewed them, it does not affect incoming media files, and it does not delete files from the phone gallery if they were saved there.

We further recommend:

  • ๐Ÿ“ Disable "Save Media to Gallery" (same storage settings) to prevent duplicate files in the folder DCIM/Viber.
  • ๐Ÿ” Enable "Show the chat size" (in the chat settings) โ†’ So you can see which dialogues are taking up the most space.

On Xiaomi smartphones with MIUI 13/14, these settings are sometimes reset after the Viber update. To avoid this, fix the messenger in multitasking (swipe up โ†’ hold the Viber icon โ†’ โ€œSecureโ€).

Method 4: Cleaning through ADB (for power users)

If standard methods do not help, and access to folders is limited, use ADB-This will remove all unnecessary Viber files, including the system cache.

Step 1: Preparation

  • ๐Ÿ–ฅ๏ธ Install Platform Tools on PC.
  • ๐Ÿ“ฑ Turn on Debugging. USB on Xiaomi: Settings โ†’ The phone. โ†’ Version. MIUI (Tap 7 times) Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB
  • ๐Ÿ”Œ Connect your smartphone to your PC and confirm your trust in the device.

Step 2: Follow the commands

Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with the platform-tools and enter in turn:

adb shell pm clear com.viber.voip # Clears all data (chats will be saved if there is cloud sync)


adb shell rm -rf /sdcard/Android/media/com.viber.voip/Viber/Media/* # Deletes all media files




adb shell rm -rf /sdcard/Android/data/com.viber.voip/cache/* # Clears the cache

๐Ÿ’ก

The pm clear command does not delete chats if you have Viber cloud sync enabled. However, all local settings (background, themes, chat order) will reset.

Step 3: Reboot your smartphone.

โš ๏ธ Attention: On Xiaomi with MIUI 14 Android 13+ some ADB-If you see a "Permission denied" error, you can do it by adb shell su chmod. 777 /sdcard/Android/media/com.viber.voip/Viber/ (Root rights are required).

Method 5: Transfer Viber to a memory card (for supported models)

If your Xiaomi supports memory cards (e.g. Redmi Note 11, POCO X3 Pro, you can transfer some of the Viber data to SD-It won't clean the memory, but it will stop it from clogging.

Instructions:

  1. Insert a memory card (we recommend the UHS-I U3 class for speed).
  2. Open Settings โ†’ Applications โ†’ Viber โ†’ Storage.
  3. Slip "Change" next to "Default Storage".
  4. Select "Memory Card" and confirm the transfer.

Limitations:

  • โŒ Not all files will be transferred (for example, backups will remain in internal memory).
  • โŒ Android 11.+ portability SD-card is often blocked.
  • โš ๏ธ When retrieving the card, Viber may work unstablely.

๐Ÿ’ก

If the port option is not available, use the workaround: in Viber settings (Privacy) โ†’ Storage) select "Save media to memory card" and new files will be saved to the memory card. SD, The old ones will remain in the internal memory โ€“ they can be manually deleted.

How to avoid repeated memory clogging

To prevent Viber from taking up gigabytes of memory on your Xiaomi, follow these rules:

  • ๐Ÿ”„ Monthly Cleanup: Delete media files older than 3 months (use date filter in file manager).
  • โ˜๏ธ Cloud Backups: Enable Auto-Save Chats in Settings โ†’ Account. โ†’ Backup (select "Weekly").
  • ๐Ÿšซ Limit auto download: In Viber Storage Settings, turn off automatic video and document downloads.
  • ๐Ÿ“‚ Use alternative messengers: For large files (video) >50MB) use Telegram or Google Drive.

On Xiaomi with MIUI, it is also useful:

  • ๐Ÿ›ก๏ธ Disable "Memory Optimization" for Viber (Settings) โ†’ Annexes โ†’ Viber โ†’ Battery โ†’ Optimizing memory โ†’ This will prevent the cache being forced to be cleaned by the system.
  • ๐Ÿ” Check the folder regularly /DCIM/Viber โ€” Sometimes files are duplicated there even when the setting is disabled.

FAQ: Frequent questions about cleaning Viber on Xiaomi

๐Ÿ”น Will my chats be deleted if you clear Viber cache?
No, cache cleaning (Settings โ†’ Applications โ†’ Viber โ†’ Storage โ†’ Clear cache) does not affect your message history, however, if you choose Clear Data, all chats and settings will be permanently deleted (unless there is a backup).
๐Ÿ”น Why does the memory fill up again in a few days?
This is due to: Automatic Media Download (disable Viber Settings โ†’ Storage); MIUI Duplicate Files (check DCIM/Viber and Android/media/com.viber.voip folders); Backups that are created with each Viber update. Solution: Set up Autoclean (Method 3) and delete Thumbnails folder regularly.
๐Ÿ”น Can Viber Memory Be Cleared Without Losing Photos?
First, copy all important media files from /Viber/Media/ to your PC or cloud (Google Photos, Yandex.Disk). Then delete files from this folder manually (Method 2) or through ADB (Method 4).
๐Ÿ”น Why Xiaomi doesnโ€™t have Viber folder in its file manager?
Probable causes: ๐Ÿ” Hidden folder โ€“ enable the display of hidden files in the Mi File Manager settings. ๐Ÿ“‚ The folder is located elsewhere: on Android. 11+ path /storage/emulated/0/Android/media/com.viber.voip/Viber/. ๐Ÿ”’ MIUI Restrict access โ€“ use ADB (Method 4) Or connect your smartphone to your PC.
๐Ÿ”น How to Clean Up Viber Memory on Xiaomi with Root Rights?
If you have root, run in Terminal Emulator or through ADB: su rm -rf /data/data/com.viber.voip/cache/* rm -rf /sdcard/Android/media/com.viber.voip/Viber/Media/* rm -rf /sdcard/Android/media/com.viber.voip/Viber/Thumbnails/* Then reboot the device. This will delete all temporary files, including the system cache, which is not available without root.