Have you ever wondered where exactly Android installs applications after clicking the โ€œInstallโ€ button? It turns out that there are several hidden folders in the system, and the path depends on the OS version, user settings, and even the smartphone model. For example, on Samsung Galaxy s One UI storage logic may differ from โ€œpureโ€ Android 14 on Google Pixel.

In this article we will look in detail: 1) Where APK files and application data (including cache and settings) are physically stored. 2) How to check how much space each application takes up. 3) Is it possible to transfer apps to an SD card and is it worth doing it. 4) What is it /data/app and why it cannot be seen without root access. 5) How to clear memory of โ€œgarbageโ€ remnants of deleted applications.

If you donโ€™t have enough space on your phone or you just want to understand the system, this instruction will help. We will not go deep into the technical jungle, but we will give clear answers with examples for different versions of Android.

๐Ÿ“Š What version of Android are you using?
Android 10 or older
Android 11-12
Android 13
Android 14
I donโ€™t know

1. Standard paths for installing applications in Android

By default, all applications from Google Play or third-party sources (APK files) are installed in internal memory of the device. The specific path depends on the version of Android and the manufacturer, but the general structure looks like this:

  • ๐Ÿ“ /data/app - the basic data of installed applications is stored here (required APK files and basic data of installed applications (required root access for view).
  • ๐Ÿ“ /data/data โ€” folder with user data (settings, game saves, cache). Each application has its own subfolder here (for example, com.whatsapp).
  • ๐Ÿ“ /data/app-asec - used for encrypted applications (for example, banking or with DRM protection).
  • ๐Ÿ“ /system/app - system applications, pre-installed by the manufacturer (removed only with root access).

For example, if you installed Telegram from Play Market, its APK file will be in /data/app/com.telegram-1/apk/base.apk, and chats and media files will be in /data/data/com.telegram/files.

Why are these folders hidden? Android restricts access to /data for security reasons. Without root you will not see them even through the file manager, but you can view the used space in the system settings.

adb shell ls /data/app

This will show a list of installed applications, but will not give access to their files.-->

2. How to check how much space an application takes up

No need to delve into system folders to find out the โ€œweightโ€ of the app. Android provides built-in tools:

  1. Open Settings โ†’ Applications (on some devices - Settings โ†’ Applications and notifications).
  2. Select the desired application (for example, Facebook or Google Chrome).
  3. Tap on the item Storage or Memory.

Here you will see two key numbers: Application size - this is the APK file itself + updates. User data - cache, settings, downloads (for example, offline maps in Google Maps).

Data type Where is it stored Is it possible to clear
APK file /data/app/[package_name] No (only by deleting the application)
Cache /data/data/[package_name]/cache Yes ("Clear cache" button)
User data /data/data/[package_name]/files Yes ("Clear data" button)
OBB files (additional game data) /sdcard/Android/obb/[package_name] Yes (manually or through settings)

Important: some applications (for example, Netflix or Spotify) download media files to /sdcard/Android/data/[package_name] โ€”this folder can be cleared manually through any file manager.

๐Ÿ’ก

Clearing the cache is safe and does not delete important data (logins, game saves). Clearing โ€œUser Dataโ€ will reset the application to factory settings!

3. Is it possible to install applications on an SD card?

Yes, but with reservations Android 6.0 Marshmallow, Google. limited this function for security reasons. Now there are two scenarios:

  • ๐Ÿ”„ Partial transfer: some application data can be moved to the SD card (for example, game cache). This is done manually in the application settings (item Storage โ†’ Edit โ†’ SD card data-i="115">: impossible without root access. The system blocks the installation of APK files on external media.).
  • ๐Ÿšซ Full APK transfer: not possible without root access. The system blocks the installation of APK files on external media.

On devices with Android 9.0+ even partial transfer may be blocked. For example, Samsung has completely removed this option in One UI 5.0, and Xiaomi leaves it only for selected applications.

โš ๏ธ Attention: Transferring applications to a class SD card UHS-I (even the fastest) can cause lags. The system is not optimized for working with external media as the main storage.

If you are critically short of space, it is better:

  • ๐Ÿ—‘๏ธ Remove unnecessary applications (use Settings โ†’ Storage โ†’ Free up space).
  • โ˜๏ธ Transfer media files (photos, videos) to the cloud (Google Photos, Yandex Disk).
  • ๐Ÿ”„ Use function Adoptable Storage (turns the SD card into part of the internal memory), but this formats the card and makes it incompatible with other devices.
How to enable Adoptable Storage (Android 6-8 only)

This feature is hidden in newer versions of Android, but on older devices it can be activated:

1. Insert an SD card (minimum Class 10).

2. Open Settings โ†’ Storage.

3. Tap on SD card โ†’ Settings (โ‹ฎ) โ†’ Format as internal memory.

โš ๏ธ After formatting, the card cannot be used on other devices without complete cleaning!

4. Where are applications from APK files installed?

If you download APK from the site (for example, APKMirror) and install manually, the rule is the same: by default the file will go to the internal memory. However, there are nuances:

  • ๐Ÿ“ฅ Download APK: the file is first saved in /sdcard/Download or the folder you select.
  • ๐Ÿ”ง Installation: after tapping on the file, the system copies it to /data/app (as well as applications from Play Market).
  • ๐Ÿ”’ Blocking: Android prohibits installing APK from external media if the item is not enabled in the settings Installation from unknown sources (path: Settings โ†’ Security).

Some file managers (for example, Solid Explorer) allow you to select a folder to download the APK, but you cannot install the application directly on the SD card โ€”the system always copies it to the internal memory.

Exception: on devices with with root access you can manually transfer the APK to /system/app or to the SD card using commands ADB or applications like App2SD. However, this is risky: incorrect manipulations will lead to the crash of the application or system.

Check the hash of the file (for example, via Hash Droid)|Enable installation from unknown sources ONLY for a trusted file manager|Do not install APK if the file size is suspiciously small (may be a virus)|After installation, disable the permission for unknown sources-->

5. How to free up space from deleted applications

Even after uninstalling the application, โ€œtailsโ€ may remain on the system: Cache (sometimes not cleared automatically). Data folders in /sdcard/Android/data or /sdcard/Android/obb. Residual files in /data/data (requires root access to delete).

To completely clear traces:

  1. Uninstall the application in the standard way (Settings โ†’ Applications โ†’ Uninstall).
  2. Open a file manager (for example Files by Google) and manually delete the folders: /sdcard/Android/data/[package_name] /sdcard/Android/obb/[package_name]
  3. For deep cleaning, use utilities like SD Maid (requires root for a full scan).

For example, after deleting PUBG Mobile in the folder /sdcard/Android/obb/com.tencent.ig a file of size 1โ€“2 GB may remain - it can be safely deleted.

โš ๏ธ Attention: Do not delete folders of current applications in /sdcard/Android/data - this will lead to malfunctions in their operation. Clean only the folders of uninstalled apps.

6. Features on different versions of Android

The application storage logic has evolved along with Android. Here are the key changes:

Android version Storage features SD card support
Android 5.0 Lollipop APKs are installed in /data/app, data - in /data/data Full transfer to SD is possible
Android 6.0 Marshmallow Entered Adoptable Storage (SD as internal memory) Partial transfer, complete - only through root
Android 9.0 Pie Restrictions on access to /sdcard for applications Transfer to SD is blocked for most applications
Android 10+ Scoped Storage: applications see only their files in /sdcard Transfer to SD is only possible for media files

On Android 13+ Google has tightened the rules: applications are prohibited from creating files outside their folders in /sdcard, and access to shared directories (for example, Download) requires explicit user permission.

Manufacturers are also making changes: Samsung in One UI hides the option to transfer to SD, but allows you to expand the memory via Samsung Cloud. Xiaomi in MIUI leaves partial transfer, but blocks it for system applications. Google Pixel completely abandoned support for SD cards.

โš ๏ธ Attention: Storage settings may vary depending on the firmware. For accurate information, check the section Settings โ†’ Storage on your device.

7. Myths and misconceptions about installing applications

There is a lot of erroneous advice floating around on the Internet. Let's look at the most popular ones:

  • ๐Ÿšซ "You can install all applications on an SD card" - no, starting from Android 6.0 this is limited. A complete transfer is only possible with root or via Adoptable Storage (which is not always safe).
  • ๐Ÿšซ "APK files can be launched from SD cards without installation" - no, Android requires you to copy the APK to the internal memory before launching.
  • ๐Ÿšซ "Clearing the cache deletes accounts and saves" โ€”no, the cache (/data/data/[package]/cache) contains temporary files (for example, image thumbnails), not user data.
  • ๐Ÿšซ โ€œThe /data/app folder is accessible without root.โ€ โ€”no, this is a system directory with limited rights. Even through ADB you will only see a list of packages, but not the contents.

Another common misconception: "Moving applications to the SD card speeds up the phone". In fact, the read/write speed of microSD (UHS-I) is 2-5 times lower than that of built-in memory (UFS 3.1 or eMMC 5.1). This can cause stuttering, especially in games.

If you do not have enough space, it is better:

โœ… Buy a smartphone with more memory (for example, 256 GB instead of 64 GB).

โœ… Use cloud services to store media files.

โœ… Regularly clear the cache and delete unused applications.

FAQ: Frequently asked questions about storing applications

Is it possible to install Android on an SD card as USB flash drive with Windows?

No, Android does not support booting the system from external media. The SD card can only be used for storing data, but not for installing the OS itself. The exception is some custom firmware (for example, LineageOS), but this requires deep knowledge and risks โ€œbrickingโ€ the device.

Why is the space not freed up after deleting the application?

Probably, there are: 1) Files in /sdcard/Android/data or /sdcard/Android/obb โ€”delete them manually. 2) Residual data in /data/data โ€”requires root access to clear. 3) System cacheโ€”try rebooting the device or using a cleaning application (for example, CCleaner).

How to find the full path to the APK file of an installed application?

Without root access, the exact location of the APK cannot be seen, but you can use ADB:

adb shell pm path com.example.app

Replace com.example.app with the name of the package (you can find it out through App Inspector or adb shell pm list packages).The answer will be in the format:

package:/data/app/com.example.app-1/base.apk

Is it possible to transfer system applications to an SD card?

No, system applications (for example, Google Play Services or Samsung Knox) in /system/app and cannot be transferred. They can only be disabled (Settings โ†’ Applications โ†’ Disable) or deleted with root access (which is not recommended due to the risk of system instability).

What are OBB files and what can you do? Should I delete them?

OBB (Opaque Binary Blob) - this is additional data for games and applications (for example, 3D models, levels, high-quality textures). /sdcard/Android/obb/[package_name]. You can delete them, but the application will either stop working or download them again the next time you start it. For example, Genshin Impact weighs ~1 GB in Play Market, but after installation it downloads another ~15 GB of OBB files.