Cleaning up the camera cache on Xiaomi: a complete guide for all models

Slow camera performance, shooting errors, or the sudden disappearance of space on Xiaomi are familiar problems? 80% of the time, the overflowing cache of the Camera app is to blame. This temporary buffer stores thumbnails, exposure settings and autofocus data, but eventually turns into digital trash that slows down the smartphone. Especially relevant for models with limited memory: Redmi Note 10, POCO X3 or Mi 11 Lite, where 64 GB quickly clogged with unnecessary files.

In this article, we've got 5 proven ways to clean up cache, including hidden MIUI settings, development teams, and radical methods for stubborn cases, and we'll look at how to do it without losing photos and videos, and why standard Settings removal often doesn't work well, and if your camera freezes when you start or if you get Can't connect to camera, you're in the right place.

What is a camera cache and why you need to clean it

The cache of the camera is a temporary folder where you store:

  • ๐Ÿ“ธ Miniatures for quick viewing in the gallery
  • โš™๏ธ Exposure and white balance settings to speed up shooting
  • ๐Ÿ” Autofocus and scene recognition data (portrait, night mode)
  • ๐ŸŽž๏ธ Video buffer (slices for stabilization)

On Xiaomi, the cache can take anywhere from 50MB to 1.5GB, depending on the intensity of use. For example, if you shoot in 4K often or use Pro mode, temporary files accumulate faster. The main problem is that the system does not always automatically clean this garbage, especially on older versions of MIUI 12 and below.

Signs of a crowded cache:

  • โณ The camera opens for a long time (more than 3 seconds)
  • ๐Ÿ”„ The app spontaneously closes during shooting
  • ๐Ÿ“› Error: "Camera is not responding" or "No access to the camera"
  • ๐Ÿ“‰ A sharp reduction in free space on the device

โš ๏ธ Note: Do not confuse the camera cache with the folder DCIM/Camera! It stores your real photos and videos. Cleaning the cache only removes temporary data without affecting user files.

Method 1: Standard cleaning through settings (for all models)

The simplest method that works on Xiaomi, Redmi and POCO running MIUI 12-14 is:

  1. Open Settings โ†’ Applications โ†’ Application Management
  2. In the search bar, enter the Camera (or Camera in English firmware)
  3. Slip on the Camera app (icon with camera)
  4. Select Warehouse โ†’ Clear the cache

On some models (e.g. Xiaomi) 13 Pro) path can: Settings โ†’ Annexes โ†’ All applications โ†’ Three points (โ‹ฎ) โ†’ Sorted by size. The camera usually ranks top.-3 cash-size.

Close the Camera app (swipe up in the multitasking menu)

Connect your phone to charge (recommended for cache volume >500 MB)

Check the space available (should be at least 10% of the total memory)

Backup important photos (in case of failure)-->

What if the "Clear Cache" button is inactive?

  • ๐Ÿ”„ The application is running in the background (close it)
  • ๐Ÿ”’ You donโ€™t have enough rights (you need access to the developer settings)
  • ๐Ÿ“ฑ Installed modified firmware (for example, Xiaomi.EU)

โš ๏ธ Attention: POCO F3 redmi K40 After cleaning the cache, the setting may be reset AI-It's going to have to be turned on again in the app menu.

Method 2: Deep cleaning through Storage (for MIUI 13+)

New versions of MIUI have an advanced memory manager that allows you to delete hidden temporary camera files:

  1. Go to Settings โ†’ Memory
  2. Slip on Memory Cleanup โ†’ Deep Cleanup
  3. Choose Multimedia and Files
  4. Check the box for Temporary Camera Files and Miniature
  5. Click Clean (A confirmation from a fingerprint may be required)

This method removes up to 30% more garbage than a standard cleaning through the app menu, for example, on the Xiaomi 12T Pro, up to 800 MB of extra space is freed up after such a procedure.

Xiaomi modelAverage camera cache volumeReleased after deep cleaning
Redmi Note 11400-600 MB250โ€“350MB
POCO X4 Pro700-900 MB400-500 MB
Xiaomi 13 Ultra1-1.5 GB600-800 MB
Redmi 10A200-300 MB100โ€“180 MB

๐Ÿ’ก

If the camera is slower after cleaning, restart the phone, and the MIUI system will re-index the media files within 5-10 minutes of turning on.

Method 3: Cleaning with Recovery Mode (for power users)

If standard methods don't work, and the camera gives you a Camera service has stopped error, you'll have to use Restore Mode, which will reset your camera settings, but save your photos and videos.

Instructions:

  1. Turn off the phone.
  2. Press the Power button + Volume up before the Mi logo appears
  3. From the Recovery menu, select Wipe & Reset โ†’ Wipe Cache
  4. Confirm the action with a swipe or Power button
  5. Reboot the device (Reboot โ†’ System)

In some models (POCO F5, Xiaomi 12 Lite may be different: Advanced โ†’ Wipe Dalvik/ART Cache.This method also resets the cache of all apps, so only use it when critical crashes occur.

What happens if you choose Wipe Data in Recovery?
This option will perform a full hard reset by deleting all your data, including photos, contacts and apps. Use it only if the phone is not turned on or infected with a virus.

โš ๏ธ Note: Xiaomi with a blocked bootloader (Redmi) 9A, POCO M3) Signing in to Recovery may require you to enter a password from your Mi Account. Make sure you remember it!

Once a week.

Once a month

Only when the camera starts to brake

Never cleaned it up.

I don't know what that is.-->

Method 4: Use ADB-Teams (for advanced teams)

If youโ€™re familiar with ADB (Android Debug Bridge), you can clear the camera cache without losing the appโ€™s settings.This method is useful for Xiaomi with custom firmware or if the standard methods donโ€™t work.

Step-by-step:

  1. Turn on USB Debugging in Settings โ†’ About Phone โ†’ MIUI Version (shap 7 times, then go back to Additional Settings โ†’ For Developers)
  2. Connect your phone to your PC and confirm your debugging permission
  3. Open the command line (Windows) or the terminal (Mac/Linux) and type:
adb shell pm clear com.android.camera

For dual-camera models (such as the Xiaomi 13 Pro), an additional command may be required:

adb shell pm clear com.miui.camera

This method completely resets the camera settings (including custom presets), but saves all photos and videos. Use it if other methods have not helped to fix the error "Camera app keeps stopping".

๐Ÿ’ก

ADB-Teams are working on all versions MIUI, This is the only way to clear the cache on Xiaomi with a corrupted file system.

Method 5: Manually clean cache folders (via file manager)

For users who want to control the process, there is a way to manually delete cache files. You will need a file manager with access to system folders (such as Mi File Explorer or Solid Explorer).

The path to the camera cache:

  • /storage/emulated/0/Android/data/com.android.camera/cache
  • /storage/emulated/0/Android/data/com.miui.camera/cache (for MIUI Camera)
  • /storage/emulated/0/DCIM/.thumbnails (miniatures)

How to delete:

  1. Open the file manager and enable the display of hidden files
  2. Then go down one of the paths.
  3. Select all files (long press โ†’ Select all)
  4. Click Remove and confirm the action

Xiaomi 12S Ultra and other flagships may require permission to access system folders.

  1. Open Settings โ†’ Applications โ†’ Application Management โ†’ Files
  2. Select Permissions โ†’ Memory and enable access to all files

โš ๏ธ Note: Do not delete files in folders DCIM/Camera Or Pictures, where you store your real photos, and the cache is only in folders called cache or.thumbnails.

How to prevent fast cache filling in the future

To avoid clearing the cache every few weeks, follow these tips:

  • ๐Ÿ”„ Reboot your phone regularly (every 3-4 days) and this resets the cameraโ€™s temporary buffers.
  • ๐Ÿ“ท Turn off unnecessary modes in camera settings: AI-Scene recognition (if not used) Recording video in 4K@60fps (Motion Tracking (if not necessary)
  • ๐Ÿ—‘๏ธ Set up automatic cleaning: In Settings โ†’ Memory. โ†’ Autoclean enable multimedia option Set a cache limit for the camera (e.g. 500MB)
  • ๐Ÿ”ง Update the firmware. MIUI 14 optimized algorithm for cleaning the cache - it removes garbage automatically when memory is not enough.

On the POCO F4 GT and other Xiaomi gaming smartphones, it is useful to turn off the Camera Game Mode, which creates additional temporary files for โ€œsmoothโ€ shooting that are rarely used in practice.

๐Ÿ’ก

If you shoot RAW frequently, the cache will fill up faster, and then you can transfer the files to your PC or cloud, which will reduce the memory load on your phone.

Frequent Questions (FAQ)

Will cleaning up the cache delete my photos and videos?
No! The cache only contains temporary data to speed up the camera, your photos and videos are stored in the DCIM/Camera folder and are not affected when clearing the cache, but always back up important files before any memory manipulation.
How often should I clean the camera cache on Xiaomi?
Depending on the intensity of use: Active users (shooting daily, video in 4K): every 1-2 weeks Average use (photo 2-3 times a week): once a month Rare use: once every 2-3 months or when the brakes appear on Xiaomi with 128 GB of memory and above can be cleaned less often.
After cleaning the cache, the camera got worse.
This is a temporary effect โ€” the system rebuilds buffers. Try: Reboot the phone Open the camera and wait 1-2 minutes (it will restore the necessary files) If the problem remains โ€” reset the camera settings in the app menu (Settings โ†’ Restore default settings) On the Redmi Note 12 Pro+ after cleaning the cache, the 50MP mode may temporarily disappear โ€” it will recover after the first start of the camera.
Can I turn off the camera cache altogether?
Technically yes, but not recommended. Cash speeds up: Starting the camera (without it, opening can take up to 5-7 seconds) Switching between modes (photo/video/portrait) Autofocus and stabilization If you want to reduce its size, limit the amount in the memory settings (Settings โ†’ Memory โ†’ Cache Limit for applications).
Will cleaning the cache help if the camera says "failed to connect"?
60% of the time yes. The โ€œCanโ€™t connect to cameraโ€ error is often caused by: Cache overflow (especially on Redmi 9 and POCO M2) Conflict with other applications using the camera (such as Snapchat or TikTok) A mediaserver service failure If cleaning the cache didnโ€™t help โ€“ restart the phone to Safe Mode (press Power + Volume down when turned on) and check the cameraโ€™s performance without third-party apps.