Linked Questions

69 votes
2 answers
279k views

What is /storage/emulated/0/?

Recently, I've figured out that if I delete files from /sdcard/Download it deletes files from /storage/emulated/0/Download. And if I add the files into /sdcard/Download it duplicates them in /storage/...
Nazarii Moshenskiy's user avatar
14 votes
1 answer
16k views

How to stop apps writing to "Android" folder on the SD card?

I have a (seemingly) simple question to which I haven't found a clear answer to. My phone creates an "Android" folder on my SD card and I'm wondering if it could be moved into the phone's internal ...
Doctor Dumb's user avatar
10 votes
4 answers
9k views

How disk space is used on Android device?

I have critical low storage level and can't understand what takes much of it and how that's possible that the installed applications can use 7 GB? I only use a few social media clients without any ...
turik97's user avatar
  • 221
10 votes
1 answer
16k views

How to bind mount a folder inside /sdcard with correct permissions?

I am using a Sony Xperia M4 Aqua. As is well known, the internal memory is rather small. Especially the Media directory of WhatsApp uses a lot of precious space, therefore I am trying to move it to ...
francesco's user avatar
  • 153
11 votes
2 answers
20k views

How to access /storage/emulated/10 (multi-users env) in adb shell on Android 9+ without root access?

I have two Android system users configured. $ pm list users Users: UserInfo{0:Owner:13} running UserInfo{10:security space:13} running UserInfo{999:XSpace:800010} running When the mobile ...
sgon00's user avatar
  • 342
3 votes
2 answers
28k views

How to mount NFS on Android with correct permissions?

I am trying to mount an NFS share on my Android phone. I have already compiled and installed all the needed kernel modules. The NFS share mounts flawlessly but I can only mount as the system user. ...
LastStarDust's user avatar
8 votes
1 answer
7k views

How Android's permissions mapping with UIDs/GIDs works?

Reading the book: Android Security Internals I'm reading at Chapter 2 - Permission Management paragraph that permissions are assigned to application at install time by the package manager with a ...
ela's user avatar
  • 193
7 votes
1 answer
13k 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
4 votes
3 answers
20k views

Where does WhatsApp store Images/Videos when Media Visibility is disabled?

WhatsApp has a Media Visibility feature which if disabled, hides the media files from phone gallery. It is claimed that "apparently" it reduces file storage. But WhatsApp still has to store media in ...
jerrymouse'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
2 votes
1 answer
6k views

How to save files to external SD card on a non-rooted Android?

I'm using the Terminal Emulator app on a non-rooted Android 5.0.2 phone. When moving files from a folder of the external SD card to another with: mv /storage/extSdCard/DCIM/Camera/* /storage/...
Basj's user avatar
  • 739
4 votes
1 answer
6k views

Why is the '/storage/emulated/' directory inaccessible?

The /storage directory and the /storage/emulated/0 directory is accessible in a non-rooted Android OS. So, why is the /storage/emulated directory not accessible in a non-rooted Android OS ?
Puspam's user avatar
  • 592
5 votes
1 answer
2k views

How to run a program in an app context with Magisk?

Let's say I'm currently as root in Bash on a terminal, outside any app like Termux. I'm running Magisk. Now I want to synchronously invoke Termux's Bash, such that it behaves the same way as it would ...
user541686's user avatar
4 votes
1 answer
838 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
2 votes
1 answer
3k views

How can I run chroot on Android?

I have my chroot environment setup (Alpine Linux) in /sdcard/alpine. I try running my chroot with the following commands: su chroot alpine /bin/busybox (busybox is the cli of Alpine) I get the ...
HolyCow's user avatar
  • 21

15 30 50 per page