The internal storage of a modern smartphone fills up at an alarming rate, and the system directory is often the culprit. Android. Users, trying to free up precious gigabytes, often wonder how safe it is to touch the contents of this folder and what files can actually be erased. Incorrect actions can lead to the loss of progress in games or resetting the settings of your favorite applications, so it is important to clearly understand the data structure.
In this article we will analyze the directory structure in detail, explaining the difference between critical system files and garbage that accumulates over time. You will learn how to properly clean it manually or using file managers without disrupting the operation of the operating system. Let's start with the fact that the folder itself is a service folder and is created automatically by the system when the device is first started. It contains application data, cache and temporary files necessary for the software to function correctly. Complete deletion of this directory is impossible without root access, and itโs not worth doing, since the system will simply create it again the next time you reboot. Android.
Let's start with the fact that the folder itself Android is a service one and is created automatically by the system when the device is started for the first time. It contains application data, cache and temporary files necessary for the software to function correctly. Complete deletion of this directory is impossible without root access, and you shouldnโt do this, since the system will simply create it again the next time you reboot.
Android folder structure and the purpose of subdirectories
To understand what exactly is taking up space, you need to look inside the directory. It is divided into several key subfolders, each of which performs its own function. The main ones are data, obb and media. Understanding their purpose is the key to safe cleaning.
The folder data stores user application data: settings, game saves, messenger databases and caches. Deleting the contents of this folder for a specific application is equivalent to completely resetting it to its factory state. You will lose all logins (if they are not saved in the cloud) and progress.
The directory obb is intended for storing additional files of heavy games and some apps. These are the so-called ones, which weigh hundreds of megabytes or even gigabytes. If you delete the game data folder from here, the application will simply stop launching and will require you to download these files again. application cache files, which weigh hundreds of megabytes or even gigabytes. If you delete the game data folder from here, the application will simply stop running and require you to download those files again.
Finally, the folder media appeared in more recent versions Android (starting from version 11) due to tightening rules for accessing files (Scoped Storage). Files downloaded from instant messengers, pictures from social networks and other media data that were previously stored in the root of memory or folders like WhatsApp or Telegram.
โ ๏ธ Attention: Never delete the entire folder
Androidare now saved here. This will lead to all installed applications losing their data, settings will be reset, and some system services may begin to work incorrectly until the next full initialization.
Before any manipulations with system folders, create a backup copy of important data in cloud storage or on your computer.
Safe cleaning: which files can be deleted
Despite strict restrictions, there are places in the folder Android where digital garbage accumulates. The safest cleaning option is to work with the cache of specific applications through the system settings, but if you decide to access the file system manually, be extremely careful.
Inside the subfolders data i obb you can find directories with the name .nomedia or files with the extension .tmp. Sometimes after deleting games, empty folders with their names remain. Removing them is safe, but often requires superuser rights or special software, since the system blocks access to other people's data.
Particular attention should be paid to the folder cache inside application directories. Theoretically, files from here can be erased, since they are temporary data. However, modern versions Android strictly delineate access rights, and a third-party file manager may simply not open this folder without special permissions.
If you find a folder with the name of an application that was deleted a long time ago, you can safely erase it. The system no longer accesses this data, and it takes up space as dead weight. It is also safe to delete files marked logif you do not plan to send error reports to developers.
- ๐๏ธ Folders with the names of deleted applications (for example,
com.old.game). - ๐๏ธ Error log files with the extension
.loginside folders applications. - ๐๏ธ Temporary installer files with the extension
.apkremaining after updating apps. - ๐๏ธ Empty directories remaining after uninstalling the software.
Remember that clearing the cache through the file manager less effective than through the standard phone settings menu. The system itself knows which cache is out of date and which may still be useful for quickly loading content.
The problem of the Obb folder and data of heavy games
The folder obb often becomes the main target for those who want to free up space. This is where resources for games such as PUBG Mobile, Genshin Impact or Call of Dutyare stored. The size of these files can reach 10-20 GB, which is significant for budget smartphones.
You can only delete content if you are ready to download these again. gigabytes the next time you start the game. Some users use this method as a way to โresetโ the game if it starts to glitch, but this is a last resort. For regular space saving, this method is not suitable if you plan to play. obb This is possible only if you are ready to download these gigabytes again the next time you start the game. Some users use this method as a way to "reset" the game if it starts to glitch, but this is a last resort. For general space saving purposes, this method is not suitable if you plan on gaming.
If you no longer use the game, the correct algorithm would be to first delete the application itself through the settings, and then check the folder. obbSometimes the uninstaller does not remove heavy files, and they have to be erased manually. In this case, deleting the folder with the name of the game package (for example, com.tencent.ig) is absolutely safe.
โ ๏ธ Attention: Do not delete files from the folder
obbif the corresponding application is still installed on the phone, the game will stop launching, giving an error loading resources, and will require an Internet connection to download the data again.
Why is the Obb folder not cleared automatically?
The Android system considers the files in the obb folder to be important application data, and not a temporary cache. Therefore, the standard "Clear cache" functions in the phone settings do not affect the contents of this directory, so as not to disrupt the functionality of apps.
Analysis of space: table of file types
For clarity, we will consider the main types of data found in the structure Androidand the degree of risk of their deletion. This table will help you quickly navigate when encountering unfamiliar files when manually cleaning.
| File type / Folder | Location | Risk of deletion | Consequences |
|---|---|---|---|
| Application cache | Android/data/[app]/cache |
Low | The application will download data again (slow start) |
| Game saves | Android/data/[game]/files |
Critical | Complete loss of progress in the game |
| Game resources (OBB) | Android/obb/[game] |
High | The game will not start without data downloads |
| Error logs | Android/data/[app]/files/logs |
Safe | No consequences, free up space |
| Media files of messengers | Android/media/[messenger] |
Average | Deleting photos and videos from correspondence |
As can be seen from the table, the greatest risk is deleting files from folders files inside the data directories. This is where what makes the application personalized for you is stored. At the same time, cleaning cache is a standard maintenance procedure. system.
It is worth noting that in the latest versions Android access to the folder data is closed to third-party file managers. You can see the folders, but when you try to log in, the system will display an access error. This is done for security so that viruses or inexperienced users do not erase important data.
It is safest to delete only those folders in Android/obb and Android/data that correspond to applications that have already been deleted from the phone.
Features of cleaning in Android 11, 12, 13 and later
Starting with version Android 11, Google has implemented a policy limited access to files (Scoped Storage). This has radically changed the approach to cleaning a folder. Now even advanced file managers cannot just go inside Android. Now even advanced file managers canโt just go inside Android/data and delete garbage there.
When you try to open this folder through a standard explorer or popular file managers, you will see an empty directory or a message about no access. This is not a bug, but a security feature. To gain access, you need to provide special permissions through the system menu, which is inconvenient for the average user.
In this regard, manual cleaning through the file manager becomes less relevant. It is being replaced by built-in system tools. The storage settings now have smart recommendations that automatically find large files and offer to delete them, while respecting access rights.
โ ๏ธ Attention: Settings interfaces and menu item names may differ depending on the manufacturerโs shell (MIUI, OneUI, ColorOS). If you do not find the described paths, check the official instructions for your smartphone model.
Bypassing the restrictions is possible by connecting to a computer in USB debugging mode or using special utilities like Total Commander with access plugins, but for the average user this is unnecessarily complicated and risky.
โ๏ธ Correct cleaning on new Android
Alternative methods to free up space
Instead of risking system stability by trying to delete files from protected folders, it is better to use more efficient and secure methods. Often, space is occupied not by system files, but by content that the user has accumulated himself.
The first thing worth checking is the folder Downloads (Downloads). There are often APK installation files, old documents and pictures that are no longer needed. Deleting them is absolutely safe and does not require superuser rights.
The second important source of garbage is instant messengers. Telegram i WhatsApp have their own cache settings. In Telegram, for example, you can configure the media cache to be automatically cleared once a week or month. This will free up gigabytes of space without having to go into system folders Android/media.
The third method is to use the โCleanupโ function in the settings of the smartphone itself. Manufacturers (Samsung, Xiaomi, Realme) build in their utilities that safely find duplicates, blurry photos and temporary files without violating the integrity of system directories.
- ๐ธ Empty the trash in the Gallery - deleted photos are often stored there for another 30 days.
- ๐ฌ Set up auto-delete cache in the Telegram and WhatsApp settings.
- ๐ Check the folder
BluetoothandShareItfor old transferred files. - โ๏ธ Transfer photos and videos to cloud storage (Google Photos, Yandex.Disk).
These methods allow you to free up to 5-10 GB of space on an average smartphone without requiring deep intervention in the file system and without creating the risk of breaking applications.
Why is the space not freed up after cleaning?
Sometimes the system does not immediately recalculate the free space. Try restarting your smartphone. It is also possible that the files being deleted were hard links or the system cache of the media scanner has not yet been updated.
Frequently asked questions (FAQ)
Is it possible to delete the entire Android folder to speed up the phone?
No, you cannot delete the entire folder. This will reset all applications, loss of data, and possible system errors. The phone won't get any faster, but you'll have to set it up again and download all the apps.
Why can't I access the Android/data folder on my new phone?
Starting with Android 11, access to this folder for third-party apps is limited by Google's security policy. You can only manage application data through your phone settings in the "Applications" section.
Is it safe to delete files called .nomedia?
Yes, files .nomedia can be deleted. They serve only as a marker for the gallery, indicating that there is no need to search for pictures and videos in this folder. After deleting, the gallery will simply start scanning this folder again.
What should I do if, after deleting files from Obb, the game asks to download data?
This is normal behavior. The files in the Obb folder are game assets. You will have to connect to Wi-Fi and let the game download them again. In the future, do not delete this folder if you plan to play.
How to clear the system application cache safely?
The best way is to use the built-in clearing function in your smartphone's storage settings. Avoid third-party โacceleratorsโ that require unnecessary permissions and often create garbage themselves.