How to clean the Viber cache on the Xiaomi smartphone: 5 working ways

Viber messenger on Xiaomi smartphones eventually begins to slow down, load chats for a long time or take up gigabytes of memory? The reason for this is the accumulated cache: temporary files, media, authorization data and service information. On devices with MIUI firmware, cache cleaning has nuances due to the features of memory optimization. In this article, we will analyze all the current ways to clean Viber cache on Xiaomi, including hidden settings and solutions for cases when the application โ€œhangsโ€ or does not respond.

Why is this important for Xiaomi? It's about MIUI's aggressive memory management policy, which automatically freezes background processes, which can lead to conflicts with the messenger cache. In addition, on budget models (Redmi Note 10/11/12, POCO M4/M5), the amount of internal memory is often limited, and every gigabyte counts. We tested all methods on current versions of MIUI 14 and Android 13/14 - ensure that the instructions work.

Why Viber on Xiaomi is โ€œcloggedโ€ faster than on other smartphones

Xiaomi owners often find that Viber takes up 2-3 times more space than other brands, and the reasons are rooted in three key features of MIUI firmware:

  • ๐Ÿ”„ Aggressive media caching: MIUI By default, saves all incoming photos and videos to the folder DCIM/Viber, Even if the messenger settings are disabled autoload.
  • ๐Ÿ“ฑ Duplication of files: due to optimization MIUI The gallery creates thumbnails (.thumbnail) for each Viber media file, which increases the cache volume.
  • ๐Ÿšซ Background blocking: If Viber is not added to โ€œautostartโ€, the system can interrupt the cache cleaning through the application settings.

For example, on the Redmi Note 12 Pro+ with MIUI 14 after six months of use Viber can take up to 4-6 GB (including cache and media), while on the โ€œpureโ€ Android the same account โ€œweighsโ€ no more than 1-2 GB. This is not a bug, but a consequence of the work of MIUI functions, such as the Mi-cloud and the Quick Gallery.

โš ๏ธ Note: If you use Viber Out, the cache may include call logs and temporary audio files, which will not affect conversation history, but will reset traffic consumption statistics.

Method 1: Clear cache via Android settings (without data loss)

The safest method is to use the built-in MIUI tools. It doesn't affect private messages, but deletes temporary files that can slow down the application.

Instructions for MIUI 12-14:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. In the search bar, enter Viber and select the app from the list.
  3. Slip on the item Warehouse (or Memory on older versions).
  4. Click Clear cache. If the button is inactive, the cache is already empty.
  5. Optionally: click Clear Data, but it will delete the entire message history and settings!

On some models (POCO F4/F5, Xiaomi 13T), the path may be different: Settings โ†’ Applications โ†’ All applications โ†’ Viber โ†’ Memory and cache. If the Clear Cache button is missing, then the application uses a common system cache - go to Method 2.

Close Viber in Multitasking|Connect the charger (on budget Xiaomi cleaning can be delayed)|Check the space (at least 500 MB is required)|Turn it off. VPN (Can block access to system files)-->

Method 2: Manually clean Viber folder through file manager

If the system cleanup didnโ€™t work, the cache could grow in hidden folders, which can be accessed via standard Files or third-party managers (such as Solid Explorer) on Xiaomi.

Step-by-step:

  1. Open the Files app (or another manager with access to the root folders).
  2. Go on: Internal Memory โ†’ Android โ†’ data โ†’ com.viber.voip If there is no Android/data folder, turn on the display of hidden files in the manager settings.
  3. Delete the cache folders and files/viber_media (Temporary media files are stored here).
  4. Reboot your smartphone.

On MIUI with Android 13+, access to Android/data may be restricted.

  • Connect your phone to your PC through USB-Debugging (included in Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times to tap โ†’ Additional settings โ†’ Developer parameters โ†’ Debugging by USB).
  • Use it. ADB-Clear command: adb shell pm clear com.viber.voip Warning: This command will reset all Viber data, including chats!
What to do if the com.viber.voip folder does not open?
Nana MIUI 14 with Android 14, Google has tightened the rules for accessing app folders. Solutions: 1. Use Root access (requires unlocking the bootloader). 2. Install Viber on SD-card (if supported) โ€“ then the folder will be available. 3. back up the chats in Viber (Settings) โ†’ Account. โ†’ Backup copy) and reinstall the application.

Method 3: Clearing the cache through the settings of Viber itself

The messenger has a built-in storage management tool, but it often doesnโ€™t work properly on Xiaomi due to the limitations of MIUI.

How to clean:

  1. Open Viber. โ†’ three-point (โ‹ฎ) โ†’ Settings.
  2. Go to the Account โ†’ Storage and data.
  3. Select Clear Cache. If you don't have the option, your version of Viber is outdated (update to Google Play).
  4. For deep cleaning, tap Media File Management and remove unnecessary photos/video.

Xiaomi with MIUI 13/14 may have a "failed to clear the cache" error, in which case:

  • ๐Ÿ› ๏ธ Restart the application through Settings โ†’ Annexes โ†’ Viber โ†’ Forced stopping.
  • ๐Ÿ”„ Turn off battery optimization for Viber (Settings) โ†’ Battery โ†’ Optimizing the battery โ†’ All applications โ†’ Viber โ†’ No restrictions).
๐Ÿ“Š How often do you clear the messenger cache on Xiaomi?
Once a week.
Once a month
Only when it's slowing down.
Never clean.

Method 4: Using the Cleanup Tool in MIUI

MIUI has a built-in deep cleaning tool that removes the cache of all applications, including Viber.This method is useful if the messenger has started to โ€œglueโ€ after updating the firmware.

How to start:

  1. Open Security (Shield Icon) โ†’ Cleanup.
  2. Slip Deep Cleanup. โ†’ wait for the analysis.
  3. In the Cash app section, find Viber and tick.
  4. Click Clean (it may take up to 5 minutes on budget models).

On POCO and some Redmi, the path is different: Settings โ†’ Memory โ†’ Cleanup. After the procedure, it is recommended to restart the device - this will reset the background processes that could block the cache.

โš ๏ธ Note: The "Cleaning" tool in MIUI Sometimes it deletes not only the cache, but also the authorization data in Viber. After the procedure, you may need to re-enter the phone number (but the chat history will remain).

Method 5: Completely reset Viber (if nothing helps)

If Viber is slowing down even after cleaning the cache, the application's system files may be damaged, in which case a full reset with a history saving will help.

Algorithm of action:

  1. Create a backup of chats: Viber โ†’ Settings โ†’ Account โ†’ Backup โ†’ Create a copy (on Google Drive or locally)
  2. Remove Viber through Settings โ†’ Applications.
  3. Reinstall the messenger from Google Play.
  4. Restore chats from backup (Settings โ†’ Account โ†’ Restore).

Xiaomi with MIUI may experience a โ€œfailed to restore backupโ€ error after reinstalling.

  • ๐Ÿ“Œ Make sure the date and time on the phone are synced with the network.
  • ๐Ÿ”Œ Connect to another Wi-Fi network (sometimes operator locking interferes with recovery).
  • ๐Ÿ“ Check that the backup file is in the folder Viber/Backup memory.

๐Ÿ’ก

Complete resetting of Viber is a last resort, and only use it if the messenger has stopped opening or if it has errors when sending messages.

How to prevent fast filling of Viber cache on Xiaomi

To avoid clearing the cache every week, set up Viber and MIUI according to these rules:

Problem.DecisionFor which models?
Autoboot mediaTurn off in Viber โ†’ Settings โ†’ Media โ†’ Autoboot (select โ€œNeverโ€)All models.
Duplication of filesDisable the Mi Cloud for DCIM/Viber (Settings โ†’ Accounts โ†’ Mi-Cloud)MIUI 12โ€“14
Background optimizationAdd Viber to Autostart (Settings โ†’ Battery โ†’ Autostart)Redmi, POCO
Cash calls.Clean up Viber Out history once a month (Viber โ†’ Calls โ†’ History โ†’ Delete Everything)All models.

Extra life hack for Xiaomi: if you often share large files, transfer the Viber folder to the next one. SD-(if supported) for this purpose:

  1. Connect. SD-Card as internal memory (Settings) โ†’ Memory. โ†’ SD-map โ†’ Set up as an internal).
  2. Transfer Viber to the map through Settings โ†’ Applications โ†’ Viber โ†’ Memory โ†’ Change.

๐Ÿ’ก

On Xiaomi with Android 13+, you can limit Viberโ€™s background activity so that it caches less often. Go to Settings โ†’ Apps โ†’ Viber โ†’ Battery โ†’ Background activity โ†’ Limit. But note: this can lead to delays in receiving messages.

Frequent Mistakes and How to Avoid Them

When cleaning Viber cache on Xiaomi, users often make these mistakes:

  • ๐Ÿšซ Delete the entire Viber folder: This will result in the loss of all media files, even those that are not stored in chat rooms.
  • ๐Ÿ”‹ Cleaning the cache on a low battery charge: on Xiaomi with MIUI This can interrupt the process and damage the files.
  • ๐Ÿ”„ Using Clean Master (CCleaner): They often delete the right Viber files, such as stickers or themes.
  • ๐Ÿ“ฑ Disabling notifications for Viber: This does not clear the cache, but only hides new messages.

If after cleaning the cache, Viber stopped opening, try:

  1. Restart the phone to Safe Mode (press the power button โ†’ Restart in Safe Mode).
  2. Remove Viber Updates via Settings โ†’ Annexes โ†’ Viber โ†’ โ‹ฎ โ†’ Remove updates.
  3. Install an older version of the messenger (download APK with APKMirror).
Can I clear the Viber cache without losing my message history?
Yes, all the methods in this article (except for a complete reset) keep the chat history. Cache are temporary files and messages are stored in a separate database. However, if you manually delete the com.viber.voip folder through the file manager, you risk losing the media files (photos, videos, voice) attached to the messages.
Why does Viber take up a lot of space once the cache is cleaned?
On Xiaomi, this is due to two factors: MIUI automatically restores some of the cache to โ€œfast startโ€ applications; Viber caches media files even when you turn off autoload (the latest version bug); Solution: turn off Adaptive Brightness in Viber settings (Settings โ†’ Screen) โ€“ this will reduce the amount of temporary files.
How to clear Viber cache on Xiaomi without root rights?
All the methods in this article work without root. If you're asked to hack your phone to clean up your cache, that's a scam. The only time you need root is manually deleting files from your cache. /data/data/com.viber.voip, But even here you can do. ADB-commands (see Method) 2).
How much space should Viber take on Xiaomi in the normal way?
Optimal values: App only (without media): 150-300 MB. With chat and media for 1-2 years: 1-2 GB. Over 3 GB: itโ€™s time to clear the cache or transfer media to the Internet SD-Xiaomi because of the features MIUI The volume can be 20-30% more than on โ€œpureโ€ Android.
Can I turn off the caching in Viber completely?
No, Viber always creates a minimum cache for work (authorization, contact list, media previews). But you can: Turn off autoload media (Settings โ†’ Media); Delete unnecessary stickers and GIFs (Settings โ†’ Stickers); Use the Lite version of Viber (weighs 2 times less); completely disabling the cache will cause the messenger to malfunction.