Smartphone users often wonder where exactly downloaded files, messenger caches, or saves from games disappear. The Android file system is much more complex than conventional disk partitions in Windows, and understanding its structure is critical for proper device memory management. Knowing where Android stores application dataallows you not only to free up gigabytes of free space, but also to effectively transfer important information when changing gadgets.

It is based on the division into an internal protected area and public storage. Each installed application receives its own isolated container, access to which by default is closed to other apps and the user himself without special rights. However, the system also provides shared directories for media files and documents, where data storage is more freely organized. Let's look at each level of this hierarchy in detail.

Internal memory and private directories

The main storage of user settings and databases is located in the root section of the system, which is not available for viewing through a standard file manager without receiving root access. Here is a directory /data/data, inside which a folder with the name of its package is created for each application (for example, com.whatsapp). In this hidden space, the app stores its SQLite databases, SharedPreferences (settings) and private files that should not be visible to other applications.

If you try to access this folder from a regular Explorer, the system will display an access error. This is a fundamental security principle that prevents one application from stealing data from another. Even if the application is uninstalled, the files in this directory are erased automatically, which ensures that all private information is completely cleared. However, the cache here can occupy a significant amount of space, which swells over time. Android Sandbox, which prevents one application from stealing data from another. Even if the application is uninstalled, the files in this directory are erased automatically, which ensures that all private information is completely cleared. However, the cache here can occupy a significant amount of space, which swells over time.

โš ๏ธ Attention: Direct editing of files in the folder /data/data through third-party apps with root access can lead to violation of the integrity of the database and crash of the application. Always make a backup copy before tampering.

For developers and advanced users, there is an option to access this data via USB debugging (ADB). The command adb shell allows you to enter the device shell, but even there, access to /data/data is limited to the rights of the application user, and not the superuser, unless rooted. This creates an additional barrier to accidental damage to system files.

How to access /data/data without Root?

Full access to this directory without root access is impossible using standard means. However, some file managers with System File Access (using vulnerabilities or special ADB permissions) can show content, but often in read-only mode or with copy restrictions.

Android Public Storage and Folder

Starting with Android 10 and especially in Android 11, Google has tightened the file system access rules by implementing concept Scoped Storage (limited storage). Previously, applications could freely write files to the root of the internal memory, creating chaos. Now the main application data that requires shared access is stored in a specialized directory /storage/emulated/0/Android.

Inside this folder there are two key subdirectories: data and obb. Folder data contains files that the app considers public but is still attached to it (for example, Telegram cache or downloaded browser files). The folder obb is intended for storing large additional game files (resource caches, graphics) that do not fit into the main APK file.

  • ๐Ÿ“‚ Android/data โ€”the cache and downloaded content of specific applications are located here. When you uninstall an application, this folder should be cleared, but sometimes โ€œgarbageโ€ remains.
  • ๐ŸŽฎ Android/obb โ€”a storage of heavy game resources. Deleting files from here will cause the game to stop launching and require re-downloading the data.
  • ๐Ÿ“ Root folders โ€” some applications (messengers, cameras) still create their folders in the root of the internal memory, for example DCIM, Download or Telegram.

It is worth noting that in In the latest versions of Android, access to the folder Android/data through third-party file managers may be blocked by the system. You may need to give special permission to Explorer the first time you enter this directory. This is done to prevent users from accidentally deleting important data from running apps.

๐Ÿ“Š Where do you most often look for application files?
In the Download folder
In the root of the internal memory
In Android/data
I use search by files

Working with external drives and SD cards

If your smartphone has a microSD memory card installed, the Android system mounts it as a separate storage, the path to which usually looks like /storage/XXXX-XXXX, where X is the unique identifier of the card. Applications may request permission to write there, but the data storage structure remains similar to the internal memory.

A directory is also created on the external card Android/data, where applications can upload large amounts of data so as not to clog the deviceโ€™s internal memory. This is especially true for navigators that download offline maps, or streaming services that save movies for viewing without the Internet. Transferring data to a card often speeds up the device if the internal memory is full.

Data type Location (Internal) Location (SD card) Access without Root
Databases /data/data/package/databases Not stored No
Application cache /storage/emulated/0/Android/data /storage/ID/Android/data Yes (with restrictions)
Media files /storage/emulated/0/DCIM /storage/ID/DCIM Full
Downloads /storage/emulated/0/Download /storage/ID/Download Full

It is important to understand the difference between Adaptive memory and Portable storage. If you format the card as internal memory, it is encrypted and becomes unreadable to other devices. Application data transferred to such a card will be physically located on it, but logically the system will combine it with the main storage.

โš ๏ธ Attention: Removing an SD card formatted as internal memory without first unmounting it in the settings may lead to the loss of application data and system failure.

๐Ÿ’ก

Before formatting the memory card in the "Internal memory" mode, make sure that there are no important files on it, since the formatting process will irreversibly delete all data.

Specifics of data storage in messengers

Messengers are one of the most demanding to the application site, and they use a combined storage approach. The text history of correspondence usually lies in encrypted databases inside a private directory /data/datawhich ensures confidentiality. However, all media files - photos, videos, voice messages - are duplicated in public folders.

For example, WhatsApp creates a folder structure inside /storage/emulated/0/Android/media/com.whatsapp (in new versions of Android) or simply /storage/emulated/0/WhatsApp (in old ones). This allows the user to easily find and view received pictures through the gallery, but also leads to the memory quickly filling up with duplicates.

Telegram works differently: it caches all viewed media files in its hidden cache folder by default, without clogging up the shared gallery. The user sees the photo only inside the application. To free up space, you need to use the built-in cache clearing function in the settings of Telegram itself, since simply deleting files through Explorer can disrupt the operation of the media links database.

  • ๐Ÿ“ธ WhatsApp โ€” stores copies of media in the public domain, the chat database is password protected/encrypted in the system partition.
  • โœˆ๏ธ Telegram โ€” cloud messenger, stores the cache locally for quick access, but does not duplicate files to the gallery without explicit user instructions.
  • ๐Ÿ’ฌ Viber โ€”uses its own folder Viber in the root of memory for media and android/data for service files.

Understanding this difference helps to correctly configure autosave. By disabling saving to the gallery in the messenger settings, you will prevent the creation of unnecessary copies of files that take up space in both the private cache and the shared storage at the same time.

โ˜‘๏ธ Cleaning the messenger

Done: 0 / 4

Cache management and clearing data

Exists in Android settings two important application memory management functions: "Clear cache" and "Clear data". Many users confuse them, which can lead to undesirable consequences. Clearing the cache removes temporary files, which the application can download again if necessary. This is safe and often solves brake problems.

The "Clear data" (or "Reset application") function does much more: it deletes all the contents of a private directory /data/data. This is equivalent to completely reinstalling the application. You will lose all logins, settings, game saves (if they are not in the cloud) and local chat history. Use this option only when the application is not working correctly or you want to remove traces of it completely before uninstalling.

โš ๏ธ Attention: Clearing bank or crypto wallet application data may require repeating a complex authorization procedure or restoring access through support. Make sure you have access to your account.

To automate the process, you can use built-in cleaning tools in manufacturers' shells (for example, MIUI, OneUI) or third-party utilities like Files by Google. However, they often work superficially, removing only the obvious junk in shared folders without touching the bloated cache inside. Android/data.

๐Ÿ’ก

Regularly clearing the cache is safe and useful, but the Clear Data feature completely resets the app to a "just installed" state, removing all of your personal settings within it.

Backup and Transfer information

When changing a smartphone, it is critical to know which data can be transferred and which will remain on the old device. The standard Google One tool backs up your application list, call history, SMS and some system settings. However, a complete copy of the contents of the folder /data/data is not always made for security and compatibility reasons.

To fully transfer data, including files inside protected directories, vendor tools are often required. For example, Samsung Smart Switch or Xiaomi Mi Mover use special protocols to clone the application environment on a new device. When manually copying via a computer, you can only transfer what is in public storage (photos, documents, folders Android/obb).

If you plan to flash a device with an unlocked bootloader, remember that formatting the partition data will delete absolutely all applications and their data. In this case, the only insurance is to manually copy folders obb and important documents to external media or to the cloud before starting the procedure.

Is it possible to transfer the Android/data folder to a new phone?

Yes, you can copy the contents of the folder Android/data from an old phone to a new one to a similar directory. This will help avoid re-downloading the cache and game resources. However, after copying, it is recommended to reboot the device to allow the system to re-index the files. Please note that the paths may differ on different versions of Android.

Why do files remain after deleting an application?

Application developers sometimes do not write the correct deletion scripts, or the files are in a public folder (not in Android/data), which the system does not delete automatically, assuming that the user could have saved them there on purpose. Such โ€œtailsโ€ must be deleted manually through the file manager.

Where are game saves stored without the cloud?

Local game saves are usually located in /data/data/package.games/files or /Android/data/package.games/files. Without root access you cannot copy them from the first location. From the second - it is possible, but to restore on a new device, you may need to install the game and launch it for the first time to create the folder structure.

Is it safe to delete files in the folder Android/obb?

Deleting files in Android/obb is safe only for those games that you have already deleted or do not plan to run. If you delete the OBB file of an active game, it will stop working and will require you to download gigabytes of data again when you launch it. Check the folder name before deleting.

How to find which application takes up the most space?

Go to Settings โ†’ Applications and sort the list by size. The system will show the total volume, including cache and data. For a more detailed analysis, you can use the built-in storage in the phone settings, where there is often visualization by file category.