File System

SD Card Location

/mnt/sdcard

Installed application location (binary, where you can pull the APK from)

/data/app

Example: ``

root@vbox86p:/data/app/com.application.zomato-1 # ls
base.apk
lib
oat

Application data storage

where the application store all it's files

/data/data

example:

root@vbox86p:/data/data/com.application.zomato # ls -l
drwxrwx--x u0_a61   u0_a61            2021-04-30 11:36 app_textures
drwx------ u0_a61   u0_a61            2021-04-30 11:37 app_webview
drwxrwx--x u0_a61   u0_a61            2021-04-30 11:36 cache
drwxrwx--x u0_a61   u0_a61            2021-04-30 11:36 code_cache
drwxrwx--x u0_a61   u0_a61            2021-04-30 11:36 databases
drwxrwx--x u0_a61   u0_a61            2021-04-30 11:36 files
lrwxrwxrwx root     root              2021-04-30 11:36 lib -> /data/app/com.application.zomato-1/lib/x86
drwxrwx--x u0_a61   u0_a61            2021-04-30 11:36 no_backup
drwxrwx--x u0_a61   u0_a61            2021-04-30 11:37 shared_prefs

Temp folder

We can execute application from this folder even has non-root user

/data/local/tmp/

System Data

System application are stored in /system/ and pre loaded apps are stored in /system/app

Data storage