You noticed that the gallery on your Android smartphone has begun to work slower, and the free space on the device is melting in front of your eyes? This is often caused by thumbnails cached thumbnails of images and videos that the system creates for quick display in the gallery. These files can take up hundreds of megabytesand sometimes several gigabytes, especially if you actively use the camera or download media files.
Unlike the usual application cache, thumbnails are not always cleared by standard Android tools. They are stored in hidden folders, and their accumulation can lead not only to a lack of memory, but also to slowdown of the gallery, errors when viewing photos and even malfunctions of the media scanner. In this article we will look at all the current ways to clean thumbnails - from simple methods through settings to advanced solutions using ADB and third-party utilities.
What are thumbnails and why they need to be cleaned
Thumbnails (translated as โthumbnailsโ) are small copies of images and videos that Android creates automatically to speed up the loading of previews in the gallery. These files are stored in special folders:
- ๐
/storage/emulated/0/DCIM/.thumbnailsโ standard location for most devices - ๐
/data/data/com.android.providers.media/databasesโ media scanner database (requires root access) - ๐
/storage/emulated/0/Pictures/.thumbnailsโ alternative storage on some firmware
Why does their accumulation become a problem?
- ๐ Take up space: on on devices with active use of the camera, the folder can grow to 1โ3 GB.
- ๐ข Slow down the gallery: with a large number of thumbnails, the application takes longer to load the preview.
- ๐ Conflict with updates: after the change firmware or resetting settings, old thumbnails can cause errors.
- ๐ Violate privacy: even after deleting the original photos, thumbnails may remain in the cache.
Android does not always correctly clear these files when deleted original media. For example, if you deleted a photo via Google Photosbut not from the device gallery, the thumbnails may remain in the cache.
Method 1: Cleaning through storage settings
The easiest method is to use the built-in Android tools. It is suitable for most devices on Android 8.0+ and does not require additional apps.
- Open
Settings โ Storage(on some devices the path may differ:Settings โ Memory and backup copy โ Memory). - Click on the section "Other applications" or "Cache".
- Find in the list "Gallery" (or Google Photos, if you use it as the main application).
- Tap on the button "Clear cache".
This method deletes only the application cache, but does not affect the thumbnails files in the folders .thumbnails. To completely clear it, an additional step will be required:
- Return to the main menu
Storageselect "Files". - Manually find the folders
DCIM/.thumbnailsandPictures/.thumbnails, then delete their contents.
โ ๏ธ Attention: On some devices (for example Samsung with shell One UI) folders .thumbnails may be hidden. To see them, enable the display of hidden files in the file manager.
โ๏ธ Preparation to manual cleaning thumbnails
Method 2: Deleting through a file manager
If standard cleaning did not help, you can manually delete thumbnail files. For this, any file manager with access to hidden folders will do, for example:
- ๐ฑ Files by Google (free, no extra). water)
- ๐ฑ Solid Explorer (paid version with advanced features)
- ๐ฑ FX File Explorer (supports root access)
Step-by-step guide:
- Install and open the file manager.
- Go to the root directory storage (usually
/storage/emulated/0/). - Enable the display of hidden files (in Files by Google:
โฎ โ Settings โ Show hidden files). - Find folders:
/DCIM/.thumbnails/Pictures/.thumbnails
/Android/data/com.android.gallery3d/cache - Select all files inside these folders and delete them.
- Reboot your device.
After restarting, Android will automatically recreate the thumbnails the next time you open the gallery. This process may take several minutes depending on the number of media files.
What to do if the .thumbnails folder is not visible?
If a file manager is not enough, try connecting your smartphone to your PC via USB in file transfer mode (MTP). On Windows, enable the display of hidden files in Explorer: View โ Hidden items. On Mac, use Android File Transfer or Commander One.
| Folder with thumbnails | Size (approximate) | Can I delete | Root required |
|---|---|---|---|
/DCIM/.thumbnails |
100 MB - 1 GB | Yes | No |
/Pictures/.thumbnails |
50 MB โ 500 MB | Yes | No |
/Android/data/com.android.gallery3d/cache |
50 MB โ 300 MB | Yes | No |
/data/data/com.android.providers.media/databases |
10 MB - 100 MB | Partially | Yes |
Method 3: Using ADB for deep cleaning
If you are familiar c Android Debug Bridge (ADB), you can delete thumbnails via the command line. This method is useful when:
- ๐ Folders are not deleted through the file manager (access errors).
- ๐ฑ The device is not rooted, but you need to clear the system caches.
- ๐ Automation is required (for example, for regular cleaning).
Instructions:
- Install ADB on PC (download Platform Tools from Google).
- Enable USB debugging on your smartphone:
Settings โ About phone โ Build number(tap 7 times), thenSettings โ System โ For developers โ USB debugging. - Connect the device to the PC and run the commands:
adb shellsu (if root)
rm -rf /storage/emulated/0/DCIM/.thumbnails/*
rm -rf /storage/emulated/0/Pictures/.thumbnails/*
pm clear com.android.providers.media
โ ๏ธ Attention: Command pm clear com.android.providers.media reset settings After the media scanner is completed, the gallery may temporarily not display new files until the system scans the storage again (usually takes 5-15 minutes).
If ADB displays the โdevice unauthorizedโ error, check the debugging permission request on the smartphone screen. Sometimes it is hidden under other notifications - swipe down the notification panel and confirm. access.
Method 4: Applications for automatic cleaning
If manual methods seem complicated, you can use specialized utilities. They not only remove thumbnails, but also optimize other types of cache.
| Application | Functions | Root access | Rating (Google Play) |
|---|---|---|---|
| SD Maid | Cleaning thumbnails, duplicates, cache | Optional | 4.6 |
| CCleaner | Cache removal, memory optimization | No | 4.4 |
| Files by Google | Manual cleaning, storage analysis | No | 4.7 |
| Clean Master | Auto cleaning, system acceleration | No | 4.3 |
How to use SD Maid (recommended option):
- Download and install the application from Google Play.
- Run and provide the necessary permissions.
- Go to the section "Trash" (Explorer).
- Find the folders
.thumbnailsand delete their contents. - In the section "System cleaning" (System Cleanerselect
Media storageand execute scanning.
SD Maid also allows you to configure automatic clearing on a schedule, which is convenient for regular device maintenance.
Applications like CCleaner or Clean Master often aggressively clear the cache, which can lead to data being re-downloaded. Use them carefully and do not enable auto-cleaning for system applications.
Method 5: Resetting the media scanner settings (for experienced ones)
If after cleaning the thumbnails the gallery still does not work correctly (for example, it does not display new photos or shows old thumbnails), you may need to reset the media scanner database. This method removes all media file tags, forcing the system to rescan the storage from scratch.
Instructions:
- Open
Settings โ Applications. - Find the application "Multimedia storage" (Media Storage) or "Google Photos" (if used as the main gallery).
- Click "Storage" โ "Space Management" โ "Clear all data".
- Confirm the action.
After reset:
- ๐ Gallery temporarily will become empty.
- ๐ After 5โ30 minutes (depending on the volume of media), the files will appear again.
- ๐ Folders and files on the device will not be deleted, but albums and tags may be reset.
โ ๏ธ Attention: On devices with MIUI (Xiaomi) or ColorOS (Oppo) resetting the media scanner may cause thumbnails to disappear in system applications (for example, in Mi Gallery). In this case, only a reboot or rescanning will help through Settings โ Advanced โ Scanning media files.
How to prevent the accumulation of thumbnails in the future
So as not to clear the thumbnails every time week, follow these tips:
- ๐ค Regularly transfer photos to a PC or cloud (Google Photos, Yandex Drive).
- ๐๏ธ Use automatic cache clearing in applications like SD Maid.
- ๐ซ Disable automatic creation of thumbnails (on some firmware this can be done via
Settings โ Advanced โ Media scanner). - ๐ Reboot your device periodically - this resets temporary caches.
For users Google Photos:
- Open the application and go to
Settings โ Free up space. - Click "Clear" โthis will delete local copies of photos that have already been uploaded to the cloud.
- Enable the option "Delete copies after downloading"so that the originals are not duplicated.
If you often work with a large amount of media (for example, a photographer or video blogger), consider using external). drive (microSD or SSD via OTG). This will reduce the load on the internal memory and reduce the amount of thumbnails created.
FAQ: Frequently asked questions about cleaning thumbnails
Is it possible to delete thumbnails without rebooting the device?
Yes, but after deleting the folders .thumbnails the gallery may be unstable until the system re-creates the thumbnails. Reboot. speeds up this process. If you donโt want to reboot, wait for the automatic scanning (it can take up to an hour).
Why did the gallery start to slow down after cleaning the thumbnails?
This is a temporary phenomenon. After deleting the thumbnails, Android rescans all media files, which requires resources. After 10-30 minutes, the gallery will normalize. If the brakes remain, check the free space on your phone. device or try resetting the media scanner settings (described in Method 5).
Is it safe to delete the .thumbnails folder on the memory card (SD)?
Yes, but note that on some devices (for example, Samsung c Adoptable Storage) The SD card can be integrated into the system. In this case, it is better to use a file manager with root access or ADB to avoid errors. If the card is used as portable storage, feel free to delete the thumbnails - they will be recreated.
How to clear thumbnails on Android TV or tablet?
The process is identical to smartphones. On Android TV use a file manager (for example, FX File Explorer) or ADB. The folder paths are the same: /DCIM/.thumbnails and /Pictures/.thumbnails. data-i="259">(for example, stock Android (For example, Nexus or Pixel) you can use Method 1 or Method 2 without additional settings.
What to do if, after clearing the thumbnails, the photos in the gallery are missing?
This means that you deleted not the thumbnails, but the original files. Check the trash in the gallery or use data recovery apps (for example, DiskDigger or Recuva when connecting to a PC). In the future, before cleaning, make backups via Google Photos or Local Backup.