The question of where installed apps are physically located in the operating system Androidoften arises not only out of curiosity, but also when it is necessary to manually manage memory or restore data after a failure. Unlike desktop operating systems, the file system of mobile devices has a strictly hierarchical structure with differentiation of access rights, which makes the search for specific files not obvious to the average user.

Understanding the logic of data storage is critically important when trying to extract an already installed application, transfer the cache to a memory card, or delete remnants of apps after uninstalling them. The system divides the space into a public area and a protected system partition, where access is possible only if you have APK file already installed application, transfer the cache to a memory card or delete remnants of apps after uninstalling them. The system divides the space into a public area and a protected system partition, where access is possible only if there is root access or use special debugging tools.

In this article we will analyze the file structure in detail, show specific paths to directories with executable files and user data, and also explain how to safely work with system folders without the risk of damaging the device.

Memory sharing logic in Android

Data storage architecture Android is based on Linux security principles, where each application runs in an isolated environment (โ€œsandboxโ€). This means that the files of one app are invisible by default and inaccessible to another unless permissions are explicitly granted.

All internal memory space is logically divided into two main types of partitions. The first is the system partition, which contains the operating system itself and pre-installed applications. The second is the user data section, where your photos, downloads and files of apps installed from the store are stored.

For the user, this division often looks like a single whole in the storage settings, but at the file system level these are different mount points. System partition usually read-only, while Data partition open for writing, but access to specific subfolders of applications limited.

โš ๏ธ Attention: Directly editing files in the system partition without creating a full backup may lead to โ€œbrickingโ€ the device. Always make a backup before tampering with the directory structure.

The shell interface may change depending on the smartphone manufacturer, but the (basic) file system remains the same on all devices running Android. This allows you to use universal methods for searching for files, regardless of the model of your gadget.

System paths: where APKs and data are stored

If you are looking for the answer to the question of where applications are located in Android, then you need to know three key directories. It is in them that the operating system places executable files and user data. Access to most of these folders requires superuser rights.

The main directory for all pre-installed system applications is /system/app. Basic apps such as phone, contacts, settings and Google services are located here. These files are protected from deletion by conventional methods, since they are necessary for stable operation of the OS.

The directory is used for updating system applications and some critical services. /system/priv-app. The difference between these paths lies in the level of privileges: applications from priv-app have access to protected system APIs that are inaccessible to regular apps.

All user applications that you downloaded from Google Play or installed manually are stored in the directory /data/app. Within this folder, each application creates its own subdirectory with a unique name, often containing a hash for security.

๐Ÿ’ก

The /data/app path is the main storage for all third-party apps installed by the user and requires root access to view the contents.

In addition to executable files, each application is allocated a private space for storing data in the folder. /data/data. This is where the databases, settings, cache and logs of a specific app are located. Deleting this folder is equivalent to resetting the application to factory settings.

Access through file managers and root access

Standard file managers preinstalled on a smartphone usually hide system partitions from the userโ€™s eyes. They show only what is in shared memory: folders Download, DCIM, Music and other public directories.

To see hidden system folders, you need to use specialized explorers that support superuser rights, for example Root Explorer, Solid Explorer or MT Manager. When first launched, such applications will ask for permission to access the root directory.

  • ๐Ÿ“‚ Root Explorer - a classic tool with a minimalistic interface that allows you to mount partitions in read/write mode.
  • ๐Ÿ›ก๏ธ Solid Explorer - a modern manager with encryption support and convenient access to system files with root.
  • ๐Ÿ”ง MT Manager - a powerful all-in-one tool for advanced users, allowing you not only to view, but also to edit APK files directly.

After granting rights, you can follow the path /system or /data. Please note that some modern versions Android use a file system F2FS or block-level encryption, which can make direct access even with root access difficult without unlocking the bootloader.

If your device is not rooted, you can still access some data through your computer using the protocol MTPbut system folders will remain hidden. In this case, the only legal way to study the structure is to use a debug bridge.

๐Ÿ“Š Does your smartphone have root access?
Yes, there are and they are active
There were, but I removed them
I never got it
I don't know what it is

Using ADB to view file structure

For users who don't want to root but need access to application location information, Android Debug Bridge (ADB)is the ideal tool. This utility allows you to send commands to the device from your computer via a USB cable.

To get started, you need to enable the โ€œFor Developersโ€ mode in the smartphone settings and activate USB debugging. Once connected to your PC, you can run the command to list all installed packages and their APK file paths.

adb shell pm list packages -f

This command will output a long list, where each line will contain the file path and package name. It looks something like this: package:/data/app/com.example.app-xyz/base.apk=com.example.app. This allows you to find out exactly where a specific application is located without going into the file system directly.

Also using ADB, you can copy the APK file of an application from your phone to your computer, even without superuser rights, using the command adb pull. This is useful for creating backup copies of apps or analyzing them.

โš ๏ธ Warning: The ADB command line interface is case and space sensitive. An error in the command syntax may cause the operation to fail or to be performed on the wrong file.

Usage ADB is a safe method of examining the system, since you cannot accidentally delete a critical system file without explicit write access to the corresponding partitions. This makes the method preferable for diagnostics.

How to install ADB on a computer?

To install ADB, download Platform Tools from the official Google developers website. Unpack the archive, open the command line in the folder with the utility and connect the phone. If the drivers are installed correctly, the 'adb devices' command will show the serial number of your device.

Features of data storage on different versions of Android

The file storage structure has undergone changes with the release of new versions of the operating system. Since Android 11Google has tightened its shared memory access policy by introducing the Scoped Storage (limited storage) mechanism.

Previously, applications could freely read and write files to the root of internal memory or to shared folders. Now access to the directory /Android/data and /Android/obb is closed to third-party file managers unless they have special system privileges.

This change is aimed at increasing the security and confidentiality of user data, but has made life more difficult for those who are used to managing files manually. Now, to clear the cache or transfer game data, you often have to use the built-in storage settings tools.

Android version Access to /Android/data Access requirements Features
Android 9 and below Full access Regular file manager Free file management
Android 10 Limited Special permissions Introduction of Scoped Storage
Android 11+ Closed by default Root or system access Application data isolation
Android 13+ Strict control Add. photo/video permissions Separation of media file types

On new devices running Android 13 or 14 even access to media files requires explicit user permission for each content type (image, video, audio). This makes navigating the file system more fragmented.

๐Ÿ’ก

If the file manager doesn't see the Android/data folder on Android 11+, try using Google's built-in Files app or grant access through the system folder selection dialog.

Transferring apps and working with cache

Many users look for file locations with the goal of Free up space in internal memory. It is important to understand that simply moving the data folder to another location manually will not make the application work correctly, since the paths will be broken.

To legally transfer applications to a memory card, you should use the standard function in the settings. Go to Settings โ†’ Applications, select the desired app and click the button Edit in the storage section, if such an option is available.

  • ๐Ÿš€ Transfer to SD card โ€”not available for all applications; the developer must explicitly allow this function in the app manifest.
  • ๐Ÿ—‘๏ธ Clear cache is a safe operation that deletes temporary files from the folder /data/data/package/cachewithout affecting personal settings.
  • ๐Ÿ’พ Clearing data is a radical method that deletes all files from the application folder, including accounts and progress in games.

If you decide to manually delete files from the folder /Android/obb, remember that โ€œcachesโ€ of heavy games are stored there. Deleting these files will result in the game requiring you to download gigabytes of data again the next time you launch it.

For advanced users, it is possible to create symbolic links (symlinks) through the terminal or special modules Magiskto deceive the system and make it think that the application is in the internal memory, although it is physically located on the card. However, this requires in-depth knowledge of the system.

โš ๏ธ Warning: Memory card file systems (often exFAT or FAT32) do not support Linux permissions and symbolic links the way internal memory (ext4) does. Direct launch of applications from the card may be impossible or unstable.

โ˜‘๏ธ Safely clear space

Done: 0 / 4

Frequently asked questions (FAQ)

Can I delete the system/app folder to free up space?

No, you absolutely cannot do this. This folder stores critical operating system components. Removing them will cause the smartphone to stop loading or to work with constant errors. To remove system software, use special tools like System App Remover if you have root access, but only if you know exactly what the application is responsible for.

Where can I find the APK file of an already installed game?

The APK file of the installed game is located in the directory /data/app/. However, the file name there is often encrypted or has a complex suffix. The easiest way is to extract a clean APK through a computer using the command adb pull or use an extractor application on the phone itself, which will automatically find the path and copy the installation file to an accessible folder.

Why donโ€™t I see the Android/data folder on the new phone?

Starting from Android 11, access to this folder for third-party applications is limited by the Scoped Storage security policy. You can see its contents only through the built-in system file manager or by giving a special application permission to access โ€œAll filesโ€ in the privacy settings.

How to transfer the Telegram or WhatsApp cache to a memory card?

The applications themselves have settings for changing the path where media files are saved. In Telegram this is the section Settings โ†’ Data and memory โ†’ Saving path. In WhatsApp, this function is not built into all versions, but you can transfer the entire folder WhatsApp to the card, and then specify a new path in the messenger settings if the OS version allows it.

What to do if after deleting the folder the application does not starts?

Most likely, you deleted files from the directory /data/datawhere settings and databases are stored. In this case, only a complete reinstallation of the application from the store will help. If a problem occurs with a system application after deleting files from /system, you may need to reset the device to factory settings or flash it.