Freed Gigabytes on Android: What Files Were Hidden?
In this article
When you free up gigabytes on an Android phone by deleting files you never saw, you are usually clearing cached data, leftover app files, and old system updates that the storage settings list under vague categories like "Other" or "System." These files are not shown in your photos, documents, or downloads folders because they are stored in hidden app-specific directories that the average user never browses. This article explains exactly what those hidden files are, why they accumulate, and how to safely remove them without breaking your apps.
What Android Actually Stores in Hidden Folders
Android separates user-visible storage from app-internal storage. When you install an app, it creates a private directory under /data/data/<package-name>/ (or /data/user/0/<package-name>/ on newer versions) that holds databases, shared preferences, and cached images. These folders are not accessible through the normal file manager without root access, but they can consume hundreds of megabytes per app. For example, a social media app might keep a cache of every image you have ever scrolled past, and a video streaming app might store partial downloads for offline viewing that never get cleaned up.
Another large hidden consumer is the /data/system/ directory, which contains system logs, battery statistics, and gesture data. Over months, these files can grow into the hundreds of megabytes. Additionally, the system partition itself holds odex and vdex files—optimized versions of app code—that are regenerated after every system update, leaving older versions behind in some cases.
Why the Storage Settings Don't Show You Everything
Android's storage settings (Settings > Storage) show a breakdown by category: Images, Videos, Audio, Documents, Apps, and Other. The "Other" category is a catch-all for everything that does not fit into those buckets, including app caches, system files, and temporary files. However, the settings screen does not list individual files within "Other" because it would be overwhelming and because many of those files are protected by the system. The storage analyzer only counts files that are indexed by the MediaStore, which covers media files in shared storage, but not app-private data or system files.
When you use a "cleaner" app or the built-in "Free up space" feature, it deletes cached files from /data/cache/ and each app's cache directory. These are files that can be regenerated by the app on demand, so they are safe to remove. But the settings screen never shows you the actual file names or locations, so you are deleting blind.
Common Hidden File Types and Their Sizes
- App caches: Stored in
/data/data/<package>/cache/and/storage/emulated/0/Android/data/<package>/cache/. These can reach 1-2 GB for heavy apps like browsers or games. - Old APK files: When an app updates, the old APK is sometimes left in
/data/app/or in the download folder but not shown in the Downloads app. - System update remnants: After an OTA update, the old system image is stored in
/data/ota/or/cache/until the next update. - Log files: System logs in
/data/log/and/data/anr/can grow to hundreds of MB on devices with frequent crashes. - Thumbnails: The
/DCIM/.thumbnails/folder stores small previews of every photo, which can be huge if you have thousands of images. - Downloaded fonts and dictionaries: Apps like keyboard or translation tools store language packs in hidden folders.
How to See and Delete These Files Safely
You do not need root access to see most of these files. Use a file manager that can show hidden files (enable "Show hidden files" in the settings) and navigate to /Android/data/ on internal storage. There you will see folders for each app. Inside each, the cache folder is safe to delete. However, be careful: deleting files or databases inside those folders can reset app data or cause crashes.
- Go to Settings > Storage > Other (or "Apps" > specific app > Storage & cache).
- Tap "Clear cache" for individual apps that are large. This is the safest method.
- Use a file manager (like Files by Google) to open the
Android/datafolder and delete cache subfolders manually. - For system files, do not attempt to delete them without root; instead, use the "Free up space" feature in Settings, which clears safe caches.
If you want to see exactly what is taking space, install a storage analyzer app like DiskUsage or Files by Google. These show a visual map of your storage, including hidden files, but they still cannot access app-private data without root.
Why You Should Not Delete Everything
Deleting the wrong file can cause app crashes, lost login sessions, or even a boot loop if you touch system files. The cache folders are safe because they are regenerated, but deleting shared_prefs will log you out of apps, and deleting databases will erase your offline data (like downloaded maps or game progress). System files under /system are protected and should never be modified without expert knowledge.
A common misconception is that clearing all caches will speed up your phone. In reality, caches exist to make apps load faster. Clearing them will free space but may make apps slower temporarily as they rebuild the cache. Also, some apps (like messaging apps) store media in hidden folders that are not cleared by "Clear cache"—you need to clear "Storage" (which deletes all app data) to remove them, but that also logs you out and deletes your chat history.
Alternatives to Manual Deletion
If you are uncomfortable digging through folders, use the built-in storage manager. On Android 11 and later, go to Settings > Storage > Free up space. This tool suggests deleting downloaded files, cached data, and old screenshots. It does not show you the file names, but it is safe. Another option is to use "Smart Storage" (if available) to automatically remove backed-up photos and videos.
For power users, ADB (Android Debug Bridge) commands can list and delete files in app-private directories without root, but this requires a computer and USB debugging enabled. For example, adb shell du -h /data/data/* shows the size of each app's data folder, and adb shell pm clear <package> clears an app's data entirely. This is more precise but riskier if you mistype a package name.
Frequently Asked Questions
Why does my phone show "Other" taking up 5 GB but I can't find it?
That "Other" category includes app caches, system files, and files stored in app-specific directories like Android/data. The file manager you are using might not show hidden folders, or the files are protected by the system. Use a file manager with "Show hidden files" enabled and check Android/data and Android/obb for large cache folders.
Is it safe to delete the Android/data folder?
No, do not delete the entire Android/data folder. It contains app-specific data that is necessary for apps to function. You can delete the cache subfolder inside each app's folder, but leave everything else. Deleting the whole folder will cause apps to crash or reset.
What is the difference between "Clear cache" and "Clear storage"?
"Clear cache" removes temporary files that can be regenerated, like image thumbnails or downloaded fonts. It does not affect your login or settings. "Clear storage" deletes all app data, including databases and preferences, effectively resetting the app to its initial state. You will have to log in again and lose any offline data.
Will deleting hidden files make my phone faster?
It may free up storage space, which can help if your phone was nearly full, but it will not make your phone faster in terms of CPU or RAM. In fact, clearing caches can make apps load slower because they have to rebuild them. The main benefit is more free space for new files and system operations.
Can I recover files I deleted from hidden folders?
Once deleted, files in app-private directories are usually gone for good. There is no recycle bin for those folders. If you accidentally delete an important file, only a root-level recovery tool might recover it, but that is unreliable and requires stopping all writes to the storage immediately.
Why do hidden files come back after I delete them?
Apps recreate their caches every time you use them. For example, a browser will rebuild its cache as you visit new pages. System logs are also continuously written. So you may see the same amount of "Other" storage after a few days. This is normal behavior, not a sign that your deletion failed.