Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
2k views

How to mount a tmpfs directory that would be allowed to be read and written to by any app? (root available)

I am trying to create some volatile (tmpfs) storage for my Android, to avoid clutter. I am trying to follow the previous questions: making manually mounted partition folders write accessible to all ...
Vladimir Nikishkin's user avatar
1 vote
0 answers
4k views

How to get rid of SeLinux Denials in Permissive mode?

Need some help with 3 issues: In Permissive mode I get denials, why does this happen and how do I fix that? If I am enforced, how do I give access to my Partitions to various processes. Right now I ...
user1874594's user avatar
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
2 votes
1 answer
4k views

lsusb returns "permission denied" in Termux

When I run lsusb in Termux, the output is permission denied. I don't have root access. Perhaps the Android system allows me to get specific access in root?
J-Mello's user avatar
  • 121
7 votes
1 answer
10k views

What special privileges "/system/xbin/su" does have w.r.t. root access?

This answer says: Because of the way directory/file permissions are configured on Android, you need to have the su binary on your /system partition in order for it to work. Putting elsewhere ...
Oren Milman's user avatar
2 votes
1 answer
5k views

Why reading permission to /proc/1/maps is denied and why doesn't the denial appear in logcat?

I'm developing a native app for Android, and I'm occasionally confronted with permission denied which doesn't trigger a log in the logcat logs. For example, trying to run: shell@kltevzw:/ $ cat /proc/...
DevMan's user avatar
  • 23
2 votes
1 answer
1k views

selinux denies busybox although selinux is set to permissive?

Device-info: Phone: Sony Xperia Z1 Model number: C6903 Android version: 5.1.1 Build Number: 14.6.A.1.236 Rooted, BusyBox and Terminal Emulator installed (Play Store Version!!!) I have formatted an ...
goulashsoup's user avatar
2 votes
0 answers
1k views

SELinux context init_shell in boot.img permission denied with Android 5.0.2

I'am used to start a service in the android boot image with inherited context of the init.rc script (u:r:init:s0). In Android 5.0.2 (Samsung), my service does not inherity the init context anymore, it ...
Mr. Fish's user avatar
  • 186
4 votes
1 answer
6k views

How can I set the correct SELinux / SEAndroid policy for an App?

I am using the free SSHelper SSH server on my phone to get SSH access. However, the application is not behaving correctly under SELinux when set to Enforcing mode, but seem to be OK when using ...
not2qubit's user avatar
  • 847