Over time, the internal memory of any smartphone inevitably fills up. This is especially true for the multimedia section, where hundreds of pictures and videos accumulate daily. Many users are faced with a situation when the system begins to issue warnings about lack of space, and the speed of the device noticeably drops due to full storage.
Deleting unnecessary files is not just a way to free up gigabytes, but also a necessary procedure for optimizing the operation of the operating system. Android. When your media database becomes too large, standard applications can run slower and indexing can take up more CPU resources. Regular cleaning helps keep your gadget in good shape.
In this material we will look at not only standard removal methods through the built-in gallery, but also more advanced ways to deal with duplicates and hidden garbage. You will learn how to safely erase data without losing important moments of life, and how to set up automatic sorting of files on your device.
Basic methods of deleting through the standard Gallery
The most obvious and accessible way to restore order is to use a pre-installed application Google Photos or a proprietary gallery from the smartphone manufacturer, for example, Samsung Gallery. The interface of these apps is intuitive, but many users are not aware of the hidden bulk selection features.
First, open the application and go to grid view. Usually, long pressing on it is enough to select one file. After this, management tools appear in the top panel. Here you can mark several items at once or use the function Select all for a certain period.
Please note that deleting files in some shells, such as MIUI or One UImay move them to the trash rather than erase irrevocably. This is a useful security feature, but it means that the memory is only freed after manually emptying the Recycle Bin. Check your storage settings to see how long deleted items are taking up space.
Use selection gestures: On many modern smartphones, you can swipe and hold the first file to quickly select an entire group of photos without poking at each frame.
The deletion process is as follows:
- ๐๏ธ Tap and hold finger on the first photo you want to delete.
- ๐ Swipe your finger across the screen or check off the remaining unnecessary files.
- ๐ซ Click on the trash can icon or the "Delete" button in the upper corner of the screen.
- โป๏ธ Confirm the action and do not forget to empty the "Recents" folder deleted."
โ ๏ธ Attention: If you have synchronization with a cloud service enabled, deleting a file on your phone may cause it to disappear from the cloud. Check your synchronization settings before mass cleaning to avoid losing the archive.
Working with the file manager for deep cleaning
Sometimes the standard gallery does not display all files, especially if they have non-standard extensions or are located in hidden folders of system applications. In such cases, a file manager, such as Files by Google or the built-in explorer My Files.
Navigating through the file system allows you to see the real directory structure, comes to the rescue. You need to go to the section Internal Storage (Internal memory) and find the folder DCIM. This is where camera images are stored by default. It is also worth checking the folder Pictureswhere images from instant messengers and social networks are often saved.
Using a file manager provides the advantage of sorting by size. You can sort all media files by size and immediately find heavy videos that take up the most space. This is a more effective method than deleting by creation date.
To access hidden files, you may need to activate a special mode in the Explorer settings. Find the item Show hidden files and turn it on. This will allow you to see folders starting with a dot, for example .thumbnails, which can take up gigabytes of space.
Remember that manually deleting files from system folders requires caution. Delete only those files whose purpose you are sure of. It is better not to touch system caches and databases unless absolutely necessary, so as not to disrupt the operation of applications.
Finding and deleting duplicate photos
One โโof the most common causes of memory clutter is duplicates. They occur when you accidentally press the shutter button again, when syncing fails, or after restoring data from a backup. Manually searching for identical images among thousands of files is a labor-intensive and ineffective task.
Modern versions of Android and applications like Google Photos have built-in algorithms for searching for similar images. In the section Library -> Tools the option Remove duplicatesis often found. The system automatically groups similar frames and offers to leave only the best option.
If the built-in tools do not cope, you can use specialized ones utilities. Cleaner apps scan hashes of files, finding absolutely identical copies, even if they have different names or are located in different folders. This ensures that you do not simply delete similar, namely unnecessary files.
Why do duplicates occur?
Duplicates often appear due to the way messengers work. For example, WhatsApp and Telegram can save the same picture both in the general gallery and in their service folder, creating copies each time they are sent.
When deleting duplicates, it is important to pay attention to quality. Sometimes algorithms suggest deleting the original, leaving a compressed copy. Always check which file is marked for deletion. It is better to delete files with lower resolution or worse compression quality.
โ ๏ธ Warning: Third-party duplicate search applications may request full access to all files. Use only proven apps with a high rating on Google Play to avoid leaking personal data.
Cleaning the thumbnail cache and system garbage
Even after deleting all unnecessary photos, space may not be freed up as expected. The reason for this is often the folder with thumbnails .thumbnails. The system creates small copies of all images for quick display in the gallery, and this cache can grow to several gigabytes.
To clear this hidden partition, you must use a file manager with access rights to system folders. The path usually looks like this: Internal Storage -> DCIM -> .thumbnails. Inside you will see files with the extension .jpg, which weigh a lot, but are not your photos.
A safe way to clean up is not just deleting files, but replacing the folder. Delete the contents of the folder .thumbnails, and then create an empty file with the same name in the same location. This will prevent the system from automatically re-creating the cache until the next reboot or gallery update.
It is also worth checking the folder Android/datawhere various applications store their temporary data. Clearing the cache of specific applications, such as Instagram or TikTok, through the phone settings (Settings -> Applications -> Memory -> Clear cache) can give an additional boost in free space.
The .thumbnails folder is not critical for system operation. You can safely delete it, but the gallery may work slower the next time you launch it until it rebuilds the thumbnails again.
| File type | Location | Deletion security | Approximate weight |
|---|---|---|---|
| Thumbnails | DCIM/.thumbnails | Safe | 100 MB - 2 GB |
| Messenger cache | Android/data/... | Safe (resets login settings) | 500 MB - 5 GB |
| Gallery Trash | System folder | Safe (files will disappear forever) | Depends on the user |
| System logs | var/log or equivalent | For advanced users only | 50 MB - 200 MB |
Setting up automatic synchronization and backup
Before thoughtlessly deleting everything, you should set up a reliable backup system. Services like Google Photos, Yandex.Disk or Dropbox allow you to store original pictures in the cloud, freeing up the local memory of the device.
In the application settings Google Photos activate the function Free up space. After the pictures are uploaded to the cloud, the application will automatically offer to delete their local copies from the phone. This is the safest way to store an archive without the risk of losing data if your smartphone breaks down.
It is important to distinguish between download quality: Express (compressed quality, free and unlimited in some tariffs) and Original (full quality, takes up space in cloud storage). For most users, the โExpressโ mode is enough for viewing on the phone screen, while the โOriginalโ mode is needed for printing large formats.
โ ๏ธ Attention: Cloud service interfaces and conditions for providing free space may change. Always check the current tariffs and storage conditions in your personal account of the service before setting up automatic deletion.
โ๏ธ Setting up backup
Do not forget to periodically check the synchronization status. Sometimes, due to a network failure or authorization error, the download can stop, and you risk deleting the only copy of the file from your phone, thinking that it is already in the cloud. The green checkmark next to the album is your security indicator.
Advanced methods: ADB and third-party utilities
For users who are not afraid of the command line, there is a tool ADB (Android Debug Bridge). It allows you to manage your phone's file system from your computer, delete files in batches, and clean up system partitions that are not accessible through the regular interface.
To use this method, you must enable USB Debugging in the menu For Developers. By connecting your phone to your PC, you can run a command to bulk delete files of a certain type or age. This is especially useful for clearing logs and temporary files.
adb shell rm -rf /sdcard/DCIM/.thumbnails/*
This command will force clear the thumbnail folder. Be extremely careful when entering paths in the terminal, since the command rm -rf deletes files permanently, bypassing the trash. An error in one character of the path can lead to the loss of important system data.
What is ADB?
ADB is a universal tool from Google for interacting with your Android device. It allows you to install applications, read system logs and perform complex file operations that are inaccessible to regular applications for security reasons.
There are also powerful third-party utilities, such as SD Maid or Clean Master (with caution), which automate the process of finding โdeadโ files - remnants of deleted applications and empty folders. They conduct a deep analysis of the file system and offer to remove what the system considers garbage.
The use of such tools should be regular, but not excessive. Constantly aggressively clearing the cache can slow down applications, as they will have to re-download or generate temporary data each time they are launched.
Frequently asked questions (FAQ)
Is it safe to delete the .thumbnails folder completely?
Yes, delete files inside the folder .thumbnails is safe. It's just a thumbnail cache. The next time you open the gallery, the system will create them again. However, if you delete the folder itself, the system may immediately create it again. Itโs better to clear the contents.
Why is the memory not freed up after deleting the photo?
Most likely, the files ended up in the recycle bin of the gallery or cloud service. Check your Recently Deleted folder and empty it. It is also possible that the space is taken up by application cache files, which need to be cleared separately through the settings.
How to delete all photos for a year at once?
In the Google Photos application, go to the โSearchโ tab, select the year, then click on the three dots in the corner and select โSelect all photos for this year.โ After that, click on the trash can icon. Standard galleries often have a date filter for mass selection.
Is it possible to recover a photo after emptying the recycle bin?
Without using specialized software for data recovery with root access, there is practically no way. After emptying the Recycle Bin, files are marked as free space and can be overwritten at any time. Make backups regularly.
Does the number of photos in the gallery affect the speed of the phone?
Yes, it does. A large number of files (especially more than 10-20 thousand) slows down the Android media scanner, increases the loading time of the gallery and can cause the interface to stutter when scrolling. Regular cleaning improves the responsiveness of the system.