The internal storage of a modern smartphone is filling up at an alarming rate, turning into a digital warehouse of forgotten files, application caches and system logs. When built-in cleaning utilities fail to cope with the task, and low-space notifications block the installation of updates, a personal computer comes to the rescue. Connecting to a PC opens up access to deep layers of the file system, allowing you to perform large-scale cleaningnot accessible through the touch screen.
The process of freeing up gigabytes through external storage requires not just dragging and dropping files, but also an understanding of the Android architecture. In this article, we will look at methods from simple manual sorting to the use of advanced debugging tools that allow you to delete even those data that the system considers “sacred.” Windows or macOS will become your powerful tool in the fight for free space.
Preparation for the procedure is critical: data loss when carelessly deleting system folders can lead to device malfunction. We will analyze in detail which directories can be safely cleaned and which are strictly prohibited from being touched, ensuring a balance between free space and stability of the operating system operating system.
Preparing the connection and selecting the transfer mode
The first step is to establish a reliable physical connection between the smartphone and the computer. Not all USB cables are created equal: some are purely for charging and do not transfer data. You will need a high-quality cable that supports data transfer, preferably original or certified by the manufacturer of your Androiddevice.
After connecting the cable, the phone screen will prompt you to select the USB operating mode. By default, the “Charge Only” mode is often activated, which hides the internal memory from the computer. You need to lower the notification shade, click on the corresponding notification and select mode MTP (Media Transfer Protocol). It is this protocol that allows the computer's operating system to see the phone as an external drive.
⚠️ Attention: If the computer does not see the phone after selecting MTP mode, try another USB port, preferably located directly on the motherboard (for PCs), and not on the front panel of the case. You may also need to install ADB drivers or manufacturer-specific drivers (Samsung, Xiaomi, Huawei).
In rare cases when standard MTP is unstable or too slow when working with thousands of small files, you can use USB debugging mode. To do this, in the menu Settings → About phone you need to click on the build number seven times to unlock the developer menu. Then in the section that appears For developers the item USB debuggingis activated. This method opens up access to deeper file management tools.
Use short cables (up to 1 meter) to ensure stable data transfer speeds. Long cables often cause connection breaks when working with large amounts of information.
Manual cleaning through the Windows file manager
The most obvious way to free up space is to visually inspect the contents of the internal memory through Windows Explorer. When you open your device in My Computer, you'll see a list of folders, each corresponding to a specific application or data type. Here it is important to act calmly and delete only user content.
The main “eaters” of space are usually media folders. The directory DCIM stores all photos and videos taken with the camera. The folder Download accumulates all files downloaded from the Internet, which are often forgotten by users. Messengers, such as Telegram or WhatsApp, create their own folders with media files, which are duplicated and occupy gigabytes.
- 📸 Folder
DCIM/Camera— original photos and videos are stored here, which can be transferred to the PC hard drive and deleted from phone. - 📥 Directory
Download—contains APK installation files, documents and archives that are often no longer needed. - 💬 Messenger folders (
Telegram/Telegram Video,WhatsApp/Media)—a cache of received images and videos for the entire period of use. - 🎵 Music folders are old tracks that can be synchronized with the library on your computer.
When you delete files through File Explorer, they end up in the recycle bin of your computer, not your phone. To free up space instantly, use the key combination Shift + Delete to permanently delete or empty the PC recycle bin after completing the procedure. Be careful: deleting system folders with names like Android or data may reset application settings.
Using ADB utilities for advanced cleaning
For users who want to gain maximum control, this will be an indispensable tool Android Debug Bridge (ADB). This is a console utility that allows you to issue commands to your phone directly from your computer, bypassing the graphical interface. With its help, you can delete files from protected system partitions and clear the cache of specific applications without going into their settings.
For ADB to work, you need to download the Platform Tools package from the official developer website and unpack it. After connecting your phone with USB debugging enabled, open a command prompt in the folder with the utility. The connection is checked using the command adb devices, which should display the serial number of your device.
adb shell pm clear com.android.chrome
The above command completely clears the data and cache of the Chrome browser. By replacing the batch name (com.android.chrome) with the name of another application, you can specifically remove accumulated garbage. This is especially useful for applications that do not allow you to clear the entire cache through the standard Android settings menu or have hidden logs.
⚠️ Attention: The command
pm cleardeletes ALL application data, including logins, game saves and settings. Use it only for those apps whose data you don’t mind losing or which can be easily restored.
Also through ADB you can access the file system with rights close to the system using the command adb shell. Inside the shell, you can navigate through directories with the commands cd and ls, and delete files with the command rm. This allows you to get to hidden folders in the root of the internal memory, where a regular file manager on your phone simply won’t allow you.
List of useful ADB commands for cleaning
adb shell pm list packages - displays a list of all installed applications; adb shell dumpsys batteryinfo - shows battery consumption and background activity; adb shell pm uninstall -k --user 0
Analysis of occupied space using third-party software
The standard Windows Explorer does not always clearly show which files take up the most space. For effective cleaning, it is recommended to use specialized disk analysis utilities, such as WinDirStat, TreeSize Free or WizTree. These apps scan the connected device and build a visual map of memory usage.
Visualization allows you to instantly identify anomalies: for example, a log file several gigabytes in size, a forgotten archive or duplicate videos. The color scheme helps you quickly navigate: large squares correspond to large files. You can click on any sector of the map and immediately proceed to deleting or moving this object.
| Utility name | Scanning speed | Visualization | Features |
|---|---|---|---|
| WinDirStat | Medium | Treemap | Classic tool, completely free, open source. |
| WizTree | Very high | Interactive map | Uses reading MFT, works many times faster than analogs. |
| TreeSize Free | High | Tree list | Convenient interface, similar to an explorer, detailed analysis. |
Use of such apps requires caution. Seeing a huge file, the user may rush to delete it, not knowing that it is a swap file or a messenger database. Always check the file extension and path before deleting. If the utility shows a file with the extension .obb in the Android folder, this is most likely a cache of a heavy game, the removal of which will require re-downloading the data at startup.
Visual disk analyzers save hours of manually searching for large files, allowing you to remove 90% of garbage in a few mouse clicks.
Transfer media files and creating backups
Memory clearing does not always mean permanent deletion. Often, valuable memories and work documents simply need to be moved to a larger storage medium. The computer acts as an ideal intermediate link for organizing the archive. Create a clear folder structure by year or event on your PC hard drive before starting the transfer.
When copying large amounts of data (tens of gigabytes of video), the process can take considerable time. Do not forcefully interrupt file transfer by unplugging the cable, as this may damage the phone's file system. Use the clipboard or the "Cut" function only after you are sure that the copying was successful and the files open on the computer.
- 🗂️ Create a folder on your PC
Phone_Backup_Dateto store a complete copy of important data. - 🔄 Use synchronization via cloud services (Google Drive, Yandex.Disk) as an additional step after transferring to a PC.
- 🎞️ Convert heavy video formats on the computer to lighter codecs before returning to the phone if storage on the PC is not planned.
After successfully transferring files to the computer go back to your phone and delete the originals. After this, do not forget to empty the trash on the smartphone itself if you used the built-in file manager to delete, since space is freed only after emptying it. For Android, this is often found in the Files application in the Trash section.
Resetting settings as a last resort cleaning measure
If manual cleaning and deleting files did not give the desired result, and the system continues to report a critical lack of space, the problem may lie in deep system errors or database fragmentation. In this case, a radical but effective solution is a full factory reset (Factory Reset).
This procedure completely erases the internal memory of the phone, returning it to the “as from the store” state. All applications, accounts, photos and settings will be deleted. Therefore, before performing this step, you must make a complete backup copy of all important data to your computer using the methods described in the previous sections.
⚠️ Attention: Resetting the settings is irreversible. Make sure that you have saved contacts, photos and files to your computer or to the cloud. Also make sure that the phone is charged at least 50% so that it does not turn off during the flashing process.
You can start the reset either through the phone menu (Settings → System → Reset settings) or through Recovery mode (usually). pressing the volume and power buttons while the phone is turned off). After the reset, the phone will work as quickly as possible, and the internal memory will be completely free. All you have to do is reinstall the necessary applications and return your personal files.
☑️ Preparing for a full reset
Frequently asked questions (FAQ)
Is it safe to delete the Android folder on your phone via a computer?
No, deleting the entire folder Android is strictly not recommended Inside. it contains subfolders data and obb, which store settings and a cache of installed applications. Deleting this folder will cause many applications to stop running or be reset to factory settings. You can only delete the contents of specific folders inside (for example, the cache of a specific application), if you understand the consequences.
Why the computer sees. phone, but does not show files?
Most often the problem is in the connection mode. By default, the phone is connected only for charging. Unlock the smartphone screen, lower the notification shade, click on the “Charging via USB” notification and select the “File transfer” mode or MTPAlso check if the phone screen is locked, as some models do not allow access to the file system when it is locked. screen.
Is it possible to clear the cache of system applications through a PC without root access?
Yes, this is possible using the ADB utility. Using the command adb shell pm clear, you can clear the data and cache of almost any application, including system ones, without the need to obtain superuser rights (Root). However, for some critical system processes, this command is used. may be blocked by the manufacturer.
How to delete files that are not deleted through Windows Explorer?
If the file is not deleted due to an access error or “busy”, try using the ADB command line Connect via adb shell, find the file and use the command rm /path/to/file. Also make sure that the application that is currently using this file is not running on the phone.
How much space should be left free for Android to work properly?
For stable operation of the Android operating system, it is recommended to leave at least 10-15% of the total internal memory free. Lack of free space leads to slowdown of the interface, inability to install updates and crashes of applications, since the system needs space for temporary files and cache.