Over time, any smartphone based on Android inevitably slows down. This happens not only due to the obsolescence of the processor, but also due to the accumulation of a huge number of temporary files, remnants of deleted applications and duplicate media. The internal memory is clogged with “garbage”, which standard cleaners on the device itself often do not see or cannot remove due to system limitations.
Connecting the gadget to a personal computer opens access to the file system at a deeper level. Using file manager on a PC or special debugging utilities, you can manually remove what is hidden from the user’s eyes in the mobile interface. This is the most radical, but also the most effective method to return your device to its former speed without the need to reset to factory settings.
In this article we will look at several proven cleaning methods: from simply copying files to working with console commands ADB. You'll learn to find hidden cache folders, remove system junk, and optimize storage using the power of your desktop. The main thing is to act carefully so as not to delete important system files necessary for the operation of operating system.
Preparing the device and enabling USB debugging
Before you begin deep cleaning, you need to prepare your smartphone for interaction with a computer at the developer level. The standard file transfer mode (MTP) only allows you to copy photos and documents, but does not provide access to system directories where most of the garbage accumulates. To expand the capabilities, you need to activate a special mode.
Go to the phone settings and find the item About phone (or About device). Find the line Build number and quickly click on it 7 times in a row. The system will notify you that you have become a developer. After this, a new section will appear in the main settings menu For developers. This is where the key switch is located USB debugging.
⚠️ Attention: Enabling USB debugging gives the computer full access to phone management. Never connect the device to someone else's or suspicious PCs with debugging mode activated to avoid data theft or installation of malware.
After activating the function, connect the smartphone to the computer with the original cable. The phone screen will ask you to allow debugging from this computer. Be sure to check the box Always allow from this computer and confirm the action. Now your PC sees the device not just as a flash drive, but as an object for administration.
Use only the original cable or a certified analogue. Cheap “charge-only” cables do not transfer data, and the computer simply will not see the phone, no matter how much you try to connect it.
Manual cleaning through the Windows file manager
The easiest and safest way to free up space is to manually audit folders through Windows Explorer. When you connect your phone in file transfer mode, you will see it as a separate drive. This is where all application data, downloads and media files are stored, which are often duplicated or forgotten by users.
First of all, pay attention to the folder Download. Browsers and instant messengers often save APK installation files, documents and pictures that you no longer need there. It is also worth checking messenger folders such as WhatsApp or Telegram. Inside them there are often subfolders Mediawhere thousands of viewed images and videos are stored, taking up gigabytes of space.
- 🗑️ Delete the folder
.thumbnailsin the directoryDCIM- this is a cache of photo thumbnails that can grow to several gigabyte. - 📂 Check the folder
Android/obbandAndroid/datafor the remains of deleted games and applications. - 🎵 Scan the root directory for forgotten music albums or podcasts in the format MP3.
When When deleting files from a folder Android be extremely careful. Delete only those subfolders whose names match the applications that have already been deleted. If you are not sure about the purpose of the file, it is better to skip it. System errors may occur if you affect the files of active apps.
☑️ Check manual folders
Using the Total Commander utility for deep analysis
The standard Windows Explorer is not always convenient for analyzing the Android folder structure. It is much more effective to use third-party file managers, such as Total Commander with a plugin ADB or MTP. These apps allow you to see hidden files, sort directories by size and quickly find the heaviest elements.
By installing the Android plugin in Total Commander, you will have access to the file system almost like on a local drive. You can sort all your folders by size and instantly see which one is taking up the most space. It often turns out that some forgotten map cache or application log files take up 5-10 GB.
| Folder type | Location | What can be deleted | Risk of deletion |
|---|---|---|---|
| Cache maps | /Android/data/com.google.android.apps.maps |
All content | Low (maps will be downloaded again) |
| System logs | /data/log (requires Root) |
.log files | Low |
| Gallery cart | .Trash in DCIM |
All contents | Missing (files already deleted) |
| Temporary files | /data/local/tmp |
All content | Medium (do not delete active processes) |
Using this approach allows you to visualize the storage structure. You immediately see that, for example, the browser cache folder weighs more than all your personal documents. This allows you to make informed deletion decisions based on real numbers rather than guesswork.
Why is the .thumbnails folder so big?
This folder stores smaller copies of all your photos for quick display in your gallery. When you delete it, it will be cleared, but the phone will start to slow down the next time you open the gallery until it recreates the thumbnails again. Delete it only if the space is critically needed right now.
Cleaning via the command line and ADB
For advanced users, there is the most powerful tool - Android Debug Bridge (ADB). This is a console utility that allows you to send commands directly to the phone's operating system. With its help, you can clear the cache of system applications that cannot be deleted in the usual way.
To work, you will need to download the package Platform Tools from the official website of the developer and unpack it onto your computer. By opening the command line in the folder with the utility, you can enter commands to control the device. First, check the connection with the command adb devices. If the phone's serial number appears in the list, the connection has been established successfully.
adb shell pm trim-caches 999999999
This command forces the system to delete all possible application cache, freeing up space. You can also use the command to clear a specific package, for example, the YouTube cache: adb shell pm clear com.google.android.youtube. This is especially useful when the application is “sick” and consumes an abnormally large amount of memory.
⚠️ Attention: The command
pm clearcompletely erases the application data, including your logins and settings within it. Use it only for those apps where you are ready to re-authorize.
Working with ADB requires care. One wrong command can cause your phone to stop booting or lose important data. Always double-check your command syntax before pressing Enter. However, if used correctly, this is the best way to revive a smartphone that is jammed to capacity.
Removing system garbage and duplicates
System garbage are files that are created during the operation of the OS and applications, but are not deleted automatically. These could be error reports, temporary update files, leftovers after installing new versions of apps. It is easier to find such files on your computer by searching by extension or creation date.
Pay attention to files with the extension .log, .tmp or .bak. They are often found in application root folders. If a file is more than a month old, there is a 99% chance that it is no longer needed. It's also worth looking for duplicate photos. Often, users accidentally copy the same pictures to different albums or messenger folders.
To search for duplicates, you can use special utilities on your PC that scan the connected device. They compare checksums of files and find identical copies, even if they have different names. This allows you to safely delete unnecessary things, leaving only one copy of the file.
Regular cleaning of system garbage once a month prevents critical memory filling and maintains the high speed of the Android interface throughout the entire life of the device.
Transferring data to a PC as a cleaning method
Sometimes the best way to clean your phone is not by deleting it, but by moving it. Photos, high-resolution videos and documents take up the lion's share of memory, but the user needs them. By transferring them to your computer’s hard drive, you will instantly free up gigabytes of space without losing information.
Create a structured folder on your computer, for example, Archive_Phone_2026, and copy the contents of the folders DCIM, Pictures and Documentsthere. After copying, be sure to check whether the files open on your PC. Only after making sure the integrity of the data, delete it from the phone.
This method also creates a backup copy of your memories. If your smartphone is lost or damaged, you will have all the important information on a reliable medium. Regularly transferring media files to your PC should become a habit so that the internal memory of the phone always remains free for running applications.
⚠️ Attention: Settings interfaces and folder names may vary slightly depending on the version of Android and the manufacturer’s shell (MIUI, OneUI, ColorOS). Always check your model's official support materials before deleting system files.
Frequently Asked Questions (FAQ)
Is it safe to delete the Android/data folder?
Delete this folder completely This is not possible, since it stores data from all installed applications. However, you can go inside and delete folders with the names of those applications that you have already deleted from your phone. This is safe and will free up space.
Why doesn’t the computer see the phone when connected?
Most often the problem is in the cable (it can only be for charging) or in the connection mode. Lower the notification shade on your phone, click on the “USB Charging” notification and select mode File transfer or MTP.
Do you need root access to clean via a computer?
For basic cleaning (deleting photos, application cache via ADB) superuser rights are not needed. They will only be needed if you want to delete system applications of Android itself or clean protected system partitions.
Is it possible to recover files deleted via a PC?
When deleting files via MTP (like from a flash drive), they usually do not end up in the trash on the phone, but are deleted immediately. Recovery is only possible with the help of special data recovery software, and this is not always guaranteed.
How often should you clean your phone through a computer?
The optimal frequency is once every 1-2 months. This is enough to delete the accumulated cache and transfer new photos without bringing the memory to a critical state when the phone starts to slow down.