Modern smartphones have impressive amounts of built-in memory, but it tends to run out at the most inopportune moment. Applications accumulate cache, users save hundreds of photos and videos, and the system creates backups that become useless over time. Many device owners do not know that by connecting the gadget to a computer, they can carry out “spring cleaning” much faster and more clearly than through the phone’s built-in settings.
A USB connection allows access to the file system in MTP (Media Transfer Protocol) or PTP. This allows you to see the folder structure as they are organized on the disk. However, such direct access is a double-edged sword: you can easily remove unnecessary things, but with the same ease you can erase something critical, which will lead to malfunctions Android. In this article, we will analyze in detail which directories are safe for cleaning, and which are strictly prohibited from being touched.
The main goal of this procedure is not just to free up space, but also to optimize the operation of the device. The file manager on your computer allows you to sort data by size and modification date, which is often not available in standard cleaning applications. Before you begin, make sure that you have enabled USB debugging or at least allowed file transfer in notifications after connecting the cable.
Multimedia folders and user content
The most obvious and safest layer of data to delete is your personal files. The system Android stores them in the root directory or folder DCIM. This is where gigabytes of duplicates, failed pictures and forgotten videos accumulate. You can safely go to these sections through Windows Explorer or macOS and delete what you don’t need manually.
Particular attention should be paid to the folder Download (Downloads). Users often download installation files APK, documents or archives that they use once and then forget about them. These files have no system value and take up space unnecessarily. Also check the folder Pictureswhere screenshots and images from social networks can be stored.
- 📸 DCIM: photos and videos from the camera are stored here. Remove defective frames and long videos that can be transferred to the cloud.
- 📥 Download: download folder. Clear it of old application installers and read documents.
- 🎵 Music and Movies: if you stop listening to music or watching movies offline, these folders can be emptied completely.
Don't forget about the folder Bluetooth. If you've ever received files via Bluetooth, they could be stored there and lie dead for years. Before deleting large video files, make sure that you do not need them for work or archive, since restoring files deleted via a PC without special software is almost impossible.
Clearing the cache of instant messengers and social networks
Messengers like Telegram, WhatsApp i Viber are the main memory eaters. They save every sent and received image, video and voice message into a separate folder on the drive. Even if you deleted the correspondence in the application itself, the files often remain in the phone’s memory.
You can find this data along the path Android/media or in the root directory, depending on the OS version. For example, in Telegram files can be located in the folder Telegram, and in WhatsApp - in WhatsApp/Media. Inside you will find subfolders WhatsApp Images, WhatsApp Video and Sent (sent). The folder Sent often duplicates what is already in the chat, and can be cleaned without regret.
⚠️ Attention: Before deleting files from messenger folders, make sure that important documents or photos are already saved in another location. Deleting a file from a folder on the disk will also delete it from the chat in the application.
It is also worth checking the folder Thumbnails inside the directory DCIM. It stores thumbnails of your photos for the gallery. If you delete the entire folder DCIM, it will be cleared, but if you want to keep the photo and free up space, this folder can be deleted separately. The system will re-create it the next time you open the gallery, but this will temporarily free up hundreds of megabytes.
Use sorting files by size in your computer's Explorer. Often, 80% of the space is occupied by only 5-10 video files, which are easy to find and delete.
Residual files of deleted applications
When you delete an application through the phone settings, it does not always remove all the “tails” behind it. Many apps create their folders in the root of the internal memory or in the Android/obb i Android/datadirectory. These files can remain on the device for months, taking up valuable space.
The folder Android/obb contains cache files for heavy games. If you deleted a game, but the folder with its name (for example, com.rockstargames.gtasa) remains, it can be safely washed. The same goes for the folder Android/datawhere settings and application data are stored. However, you need to be careful here: if the application is still installed, deleting the folder from data will reset its settings to factory settings or require re-downloading resources.
| Folder name | What's inside | Can I delete |
|---|---|---|
Android/obb |
Cache heavy games and applications | Yes, if the application is deleted |
Android/data |
Data of running applications | Only if the application is deleted |
LOST.DIR |
Files recovered after a crash | Yes, if the files are not needed |
.thumbnails |
Image thumbnails | Yes, the system will create it again |
Often in the root of the memory there are folders with the names of deleted apps, for example Yandex, Avast or the names of banking applications. If you are sure that you deleted the software itself, these directories are garbage. Feel free to send them to the trash on your computer.
☑️ Checking residual files
System logs and temporary files
The operating system and installed apps constantly record logs - reports about their work, errors and user actions. Over time, these text files can grow to significant sizes. Usually they are hidden from the user's eyes, but when connected to a PC, some of them become visible.
Look for folders with names like log, logs or files with the extension .log. It is also worth paying attention to the folder tombstones, which contains reports of application crashes. For the average user, this data is useless; it is only needed by developers for debugging. Removing them will not affect the stability of the system in any way.
In some cases, you may come across a folder data_local_tmp or similar temporary storage. They are created by browsers or document editors to temporarily store data while they are working. If the phone is working normally, these files can be deleted. The system will create new ones if they are needed in the future.
⚠️ Attention: Never delete files with the extension.xmlor.dbfrom system folders if you do not know exactly their purpose. This may lead to loss of settings or contact database.
Clearing logs is not only freeing up space, but also a small measure of privacy. The logs may contain information about which applications you used and when. Regular cleaning through your computer helps maintain the “hygiene” of your digital space.
Backups and duplicates
Many applications, such as voice recorders, notes or file managers, automatically create backup copies of your data. Often these copies are stored in folders Backup, Restore or Syncthing. If you have an up-to-date cloud backup (Google Drive), local files on the phone become redundant.
Check for phone manufacturer folders such as MIUI, Samsung or ColorOS. They may contain old backups of messages, call logs and settings. If you don't plan to roll back your phone to a month ago via local recovery, these files can be deleted.
It's also worth looking for duplicate media files. Sometimes, when synchronizing with cloud services (Dropbox, OneDrive), copies of photos are created with notes like _copy or (1) in the title. It is much easier to find and delete such duplicates through a computer using the search function by file name mask.
Why is the .Trash folder not being emptied?
The .Trash folder on Android (or a similar trash folder in the file manager) may not permanently delete files until you manually empty it through the Files app on the phone itself. Deleting via a PC can bypass the recycle bin, but it is better to check the settings of a specific file manager.
Files strictly prohibited for deletion
There are a number of directories and files, the deletion of which will lead to the phone not working or the loss of important functions. The most important folder that should not be touched without deep knowledge is Android entirely. Although there is garbage inside it (as we discussed above), deleting the folder itself Android or critical subfolders will break the operation of all installed applications.
Never delete files with extensions .apk from system folders unless they are in your personal downloads folder. Also avoid deleting files in the folder systemif you have root access and can see this folder. Any interference with the system partition can lead to a “bootlap” (infinite reboot).
- 🚫 System folder: contains operating system files. Deleting any file here is fatal.
- 🚫 Firmware files: any files with names like
update.zip,rom.zipin the root system partitions. - 🚫 Databases: files
.dbin foldersdatabasesinsideAndroid/datarunning applications.
Be careful with files that have the “Read-Only” or “Hidden” attribute. The operating system hides them for a reason. If you see strange files without an extension or with unclear names in the root of memory, it is better to leave them alone.
The golden rule of cleaning: if you do not know what a file or folder is responsible for, and Google does not give a clear answer “you can delete it”, it is better to leave it. Saving 10 MB is not worth the risk of breaking your phone.
⚠️ Attention: Interfaces and folder structure may differ depending on the version of Android and the manufacturer's shell (MIUI, OneUI, ColorOS). Always check the latest documentation for your specific model before mass deleting.
Frequently asked questions (FAQ)
Is it safe to delete the LOST.DIR folder?
Yes, The folder LOST.DIR is intended for storing files that were restored by the system after a power failure or write error. If you haven't recently lost important data and your phone is stable, you can delete the contents of this folder. The system will create it again if necessary.
Is it possible to delete the Android folder completely?
No, you cannot delete the entire folder Android . It stores the data of all installed applications, their cache and settings. Deleting this folder will cause all applications to “forget” your logins and settings and stop working correctly. You can only delete specific subfolders within it that relate to already deleted apps.
Why was the space not freed up after deleting the files?
Perhaps the files were moved to the trash bin of the phone's file manager itself, and not permanently deleted. It is also worth checking whether the space is occupied by the system cache, which is not visible as individual files. Try rebooting the device after cleaning so that the system recalculates the amount of free memory.
How to delete files that say “access denied”?
If you receive an access error when deleting via a computer, it means the file is currently being used by the system or application. Try closing all applications on your phone or rebooting it into safe mode before connecting to your PC. System files may require root access.
Will this delete my contacts and messages?
By clearing your media, downloads and cache folders (DCIM, Download, Thumbnails), your contacts and SMS messages will not be affected as they are stored in a secure system database. However, if you start deleting files inside the folder Android/data for instant messengers, you may lose the history of correspondence that was not saved in the cloud.