Linked Questions

151 votes
3 answers
717k views

Where do Android apps store data?

Could you list all the possible directories where Android apps may store data? Can you also provide description of the kind of data stored in each directory?
zduny's user avatar
  • 1,847
8 votes
2 answers
43k views

Can I access "/data/user/0/" folder in Android emulator from Ubuntu PC?

I am using Ubuntu 18.04. From Android Studio with the following code I am getting file directory Context ctx = getApplicationContext(); final File filesDir = ctx.getFilesDir(); which is /data/user/0/...
mahfuj asif's user avatar
8 votes
1 answer
15k views

How do I access `$HOME/storage` outside of Termux (with a file explorer)?

How do I access $HOME/storage Termux directory on Android Pie with a GUI File Explorer? In Termux I print the working directory with pwd and it shows $HOME/storage as: /data/data/com.termux/files/...
Display name's user avatar
6 votes
1 answer
4k views

Are multiple-users protected from each other differently than apps?

I confess that I come from the happy world of unix computers, and am used to the concept of user accounts and hence group gids and userids uids. For the occasional usage of an untrusted app (i.e. ...
humanityANDpeace's user avatar
4 votes
1 answer
966 views

How much privileged GMS Core is in the Android Stack?

The GMS Core has a ton of capabilities and doesn't seem to perform like a typical application (as in an Application living in the 'Applications' layer shown below). I would assume it would have more ...
kr1tzy's user avatar
  • 43
3 votes
1 answer
2k views

Who is the "shell" user during ADB session?

In the Android environment, who is this "shell" user that I'm SSH-ing through ADB, as I attempt to see how much I could do with my Amazon Fire 10 tablet? Said user's level seems very, very ...
Dehbop's user avatar
  • 149
2 votes
1 answer
2k views

Is there a way for a website or app to view the contents of my internal storage without my permission?

I see there are a lot of articles about the restrictions imposed on JavaScript in Windows Chrome. It can't access the filesystem of a user without the user himself uploading it to the server of the ...
Tapper's user avatar
  • 21
3 votes
0 answers
3k views

How to pull app data from the phone (without root)

I'm trying to pull down app from the phone, and see the files within First I used App Inspector to get a package name. Then few options to get the actual apk down, but no luck. So I"ve done adb ...
DenisZ's user avatar
  • 141
1 vote
1 answer
2k views

Where does Android store the binaries of the apps themselves?

In operating systems like windows there is a special folder like Program Files where the executables themselves are stored. But in android it's kind of amazing that the binaries themselves are hidden ...
Aravind A's user avatar
  • 259
3 votes
0 answers
2k views

How to extract data from non-rooted phone via ADB?

So, I was thinking that ADB is a superior method of backing up any device then using an App, out of privacy concerns if not for the flexibility. However, when I try to extract a system database I get ...
user362679's user avatar
1 vote
0 answers
675 views

Non-root user in rooted Android phone?

In my Arch Linux setup(and most others), the default user is non-root. Any admin work needs access to root account which is given temporarily with a password(generally using programs like sudo and ...
linux_enthusiast's user avatar
1 vote
0 answers
329 views

How to make file executable and belong to my user on Android (rooted phone)

I've put an executable into my /sdcard folder, and here it is: -rw-rw---- 1 root everybody 4128608 2022-05-28 18:46 hello_world it belongs to root. I tried citrus:/sdcard $ chown citrus:citrus ...
Rafaelo's user avatar
  • 71
0 votes
0 answers
250 views

How is it possible that I run android apps with the right user rights

I learned for every app I installed on my Android, a new user is created. And the data for this app is stored in /data/data/app folder with the only access permission to the user that is created for ...
ecka's user avatar
  • 1
0 votes
0 answers
161 views

Is it possible to decrypt an encrypted SD card without rooting the Android phone? (How to get the .key file of /data/misc/vold?) [duplicate]

I'd like to encrypt my SD card for Android conveniently, safely and in a cross-platform way so that it can also be used on other devices. I asked about that here. As of right now there doesn't seem ...
mYnDstrEAm's user avatar
3 votes
0 answers
158 views

Check for the existence of files without root privileges

How do apps check for the existence of files and folders on /data and /system partitions without having root privileges? I know some games and apps do this for anticheat and security reasons.
Lite Riyusaki's user avatar

15 30 50 per page