Smartphone users are often faced with a paradoxical situation: after deleting a photo from the gallery, they discover that the deviceโs memory is not free. This happens because modern instant messengers and cloud services create independent copies files that are not tied to the standard Gallery application. Understanding the structure of the Android file system is necessary for proper storage management.
In this article we will analyze in detail the logic of saving images in the operating system Android. You will learn in which hidden directories thumbnails accumulate, how to find photos from deleted chats, and where Google Photos backups are located. We will look at both standard access paths through the file manager and deeper system directories.
To begin with, the Android file system has undergone significant changes in recent years. If earlier access to folders was relatively free, then the introduction of Scoped Storage (limited storage) has complicated direct access to some system directories. However, the main paths for user files remain the same, and knowing them will help you clean up your phone.
Standard camera and gallery directories
The main place where pictures taken with a smartphone camera are saved is the root folder of the internal drive. Here is the directory DCIM (Digital Camera Images). Inside it there is usually a folder Camerawhere the originals of all photographs and videos taken with a standard application are stored. This is the first place to check when searching for sources.
In addition to the main folder, many smartphone manufacturers, such as Samsung, Xiaomi or Huaweicreate additional directories for specific shooting modes. For example, portrait photos, Pro mode photos, or screenshots can be saved in separate subfolders within DCIM or in the storage root. This is done for ease of sorting, but often leads to confusion.
It is important to note that some third-party applications may ignore standard paths and save their copies of images directly to the root of memory or to a folder Pictures. If you use third party cameras or editors, be sure to check these locations. Duplicates often arise precisely because the editor application saves the processed file next to the original without replacing it.
โ ๏ธ Attention: When manually deleting files from a folder
DCIMvia a file manager, they may not be deleted from cloud synchronization if it is active. Make sure you understand the difference between deleting a local copy and deleting it from your Google account.
Before mass cleaning of folders, make a backup copy of important files to your computer or external drive, since restoring data deleted through a file manager is extremely difficult.
Hidden copies in instant messengers: WhatsApp and Telegram
The most voracious sources of duplicate photos are popular instant messengers. They automatically download all received images into the device's memory, creating their own copies, independent of the gallery. B WhatsApp the folder structure has changed with the release of new versions of Android, which often confuses users when searching for old files.
Previously, all messenger data was in the root folder WhatsApp. Now, due to Google's security requirements, the bulk of the data has moved to the system directory Android/media. However, old files may remain in the same places, creating a chaos of duplicates. Telegram works on a similar principle, but allows you to more flexibly manage the cache through the app settings.
To find these hidden treasures, you will need a file manager with access to system folders. Here are the main paths where images are hidden:
- ๐
/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Imagesโthe main storage of pictures from WhatsApp on new Androids. - ๐
/WhatsApp/Media/WhatsApp Imagesโ_legacy_ path, which may still contain current files on some devices. - ๐
/Android/data/org.telegram.messenger/files/Telegram/Telegram Imagesโa folder with images from Telegram, access to which may be limited in new versions of the OS.
Cleaning out these folders requires caution. Deleting files from here will free up space on your phone, but won't remove them from your chat unless you have sync enabled or clear the cache of the app itself. It is best to use the built-in cleaning tools inside the messenger settings, as they are safer for deleting cached data.
Cloud backups and Google Photos cache
Service Google Photos is the de facto standard for backup on Android. Many users are unaware that the app creates a local cache to quickly view photos that have not yet been uploaded to the cloud or have been uploaded in compressed quality. This cache can take up gigabytes of space.
In addition, if you have the Free up space feature enabled, the original photos are deleted from the device, but a small copy or thumbnail of them remains in memory for display in the application feed. Finding these files manually is difficult, since they are often encrypted or have specific file names that only the application algorithms understand.
However, some data can be found in open directories. For example, the folder .thumbnails inside DCIM stores thumbnails for the gallery. It is also worth checking the folder Google at the root of the storage, where temporary synchronization files may be located. If you see files with the extension .tmp large in this directory, these may be stuck download processes.
| Data type | Location | Can I delete it manually | Risk of data loss |
|---|---|---|---|
| Camera originals | DCIM/Camera |
Yes, if there is a backup | High |
| Whatsapp cache | Android/media/... |
Yes (will disappear from the chat) | Medium |
| Thumbnails (.thumbnails) | DCIM/.thumbnails |
Yes (will be restored) | Low |
| Google temporary files | Google/Photos |
With caution | Medium |
Regularly cleaning the .thumbnails folder is safe: the system will automatically recreate the thumbnails the next time you open the gallery, but this will take time and battery power.
Search for duplicates in the Download folder and browser cache
Often users download images from the Internet, save them in chats, and then forget them about this. The Download (Downloads) folder becomes a dumping ground for such files. Browsers, such as Chrome or Firefox, can also save copies of visited pages and images in their cache, which grows to incredible sizes over time.
The downloads folder often contains files with names like IMG_20231005_123456.jpg or download-15.png. If you often send photos to yourself in messages or download them from social networks, hundreds of copies of the same image in different quality may accumulate here. Manual sorting is ineffective here.
To combat this, it is recommended to use specialized applications to find duplicates, but with caution. Many of them require suspicious permissions. Itโs safer to use Googleโs Files feature or the built-in memory cleaning tool Samsung / Xiaomi, which can find similar images and suggest deleting them.
Donโt forget about browser-specific folders. For example, website data can be stored in Android/data/com.android.chrome . Direct interference with these folders can lead to resetting site settings or losing saved sessions, so it is better to clear the cache through the settings of the browser itself: Settings โ Privacy โ Clear history.
System thumbnails and hidden folders
One of the most mysterious folders for a regular user - .thumbnails. It is located inside DCIM and is hidden by default (the name begins with a dot). Here the system stores thumbnails of all your photos for quick display in the gallery. Over time, this folder can grow to several gigabytes, especially if you have a lot of high-resolution photos and videos.
Deleting the contents of this folder will not result in the loss of the photos themselves. However, the next time you open the gallery, the system will be forced to regenerate all the thumbnails. This can cause noticeable slowdown of the phone and increased battery consumption in the first minutes after cleaning. Therefore, this should only be done if there is an acute lack of space.
โ ๏ธ Attention: Some file managers do not show folders starting with a dot by default. You need to enable the "Show hidden files" option in the Explorer settings to see the directory
.thumbnails.
Why is the .thumbnails folder growing again?
The Android system does not have a built-in limit on the size of this folder. It will grow in proportion to the number of new photos you add. Regular cleaning or using third-party utilities to block the creation of thumbnails (requires root access) is the only way to control its size.
It is also worth mentioning the folder Lost.dir. It stores files that the system did not manage to save correctly in the event of a power failure or emergency removal of the memory card. Sometimes you can find lost copies of photos there, but most often they are junk that can be safely deleted if you do not plan to restore data.
Instructions for safely cleaning storage
To effectively free up space without deleting important memories, follow the procedure. You shouldn't delete everything from the root directory. Start by analyzing the largest folders and use the system's built-in tools where possible.
Before you start mass cleaning, make sure that your important photos are synchronized with the cloud or copied to your computer. This is safety rule number one. After this, you can begin manually revising your messenger and download folders.
โ๏ธ Safe cleaning algorithm
If you are using a memory card microSD, the logic remains the same, but the paths will be start with /sdcard/ or have the designation of an external drive. Users often forget that instant messengers can save photos to the card by default, filling it to capacity, while the internal memory remains free.
For advanced users with access to ADB (Android Debug Bridge), there is the possibility of deeper cleaning of the system cache without obtaining root access. A command to clear the app-specific cache might look like this:
adb shell pm clear com.google.android.apps.photos
This command will completely clear the Google Photos app's data, including cache and settings, returning it to its "as-installed" state. Use such methods only if you understand the consequences, since you will have to sign in to your account again.
Where are deleted photos stored in the Android Recycle Bin?
Deleted photos are usually moved to a folder .Trash or Recently Deleted inside the Gallery or Google Photos application. Physically on the disk, they can be in the same directory, but with changed metadata, or in a hidden system partition until the expiration date (usually 30 days), after which they are erased with new data.
Why, after deleting the photo, space was not freed up?
Most likely, you deleted only the thumbnail or link to the file, and the copy itself remained in the messenger folder (WhatsApp/Telegram) or in the cloud cache. It is also possible that the file has been moved to the Trash, which continues to take up disk space until it is completely cleared.
Is it possible to move the DCIM folder to a memory card?
Yes, in the settings of most Camera applications you can choose to save to an SD card. However, the system folder DCIM will remain in the internal memory, just new subfolders will be created on external media. This helps save internal space.
How to find copies of photos from a deleted WhatsApp chat?
If automatic media downloading was enabled, copies of the images are saved in the folder WhatsApp/Media (or Android/media...). Even if you deleted the chat, the files may remain in this directory until you delete them manually or clear the application cache.
What is the .android_secure folder and can you touch it?
This folder is created on the memory card to store encrypted application data transferred to the SD card in older versions of Android. This is rare in modern systems. It is not recommended to delete it if you are not sure that there is no data for the apps you need, although most often it is empty.