Linked Questions

24
votes
2answers
11k views

How Magisk works?

Magisk is known as a “systemless” root method. It’s essentially a way to modify the system without actually modifying it. Modifications are stored safely in the boot partition instead of modifying the ...
13
votes
1answer
43k views

Difference between installing SuperSU using Play Store versus a custom recovery that installs it from a file?

I see that some rooting guides say that rooting involves: Download a SuperSU as a zip file that would be accessible to the phone (e.g. the sdcard). Unlock the phone's bootloader. Booting into a "...
13
votes
1answer
6k views

Why are the rooting apps not working anymore?

A couple years ago, it was easy to root any device: Install KingRoot, KingoRoot, or a similar app, hit the large ROOT button, and let it do the rest. After 5 minutes or so, a green "Root Succeeded!" ...
5
votes
1answer
5k views

Why “adb root” does nothing?

I have a OnePlus 6T. It is rooted by TWRP and Magisk. I have set ro.debuggable to 1. But when I type adb root it does this: I cannot even use adb pull on system files.
6
votes
1answer
4k 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 ...
4
votes
1answer
1k 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. ...
3
votes
1answer
3k views

SELinux permissive kernel - is it a security risk?

As in title. I am talking of Kernel, not ROM (plenty of questions dealing with ROM on this site). I have a OnePlus 7 running stock Android 10 and prefer a custom kernel. Of late, OnePlus hasn't ...
2
votes
1answer
2k views

What sepolicy context will allow any other context to access it?

I am on a bootloader locked Sprint Samsung Galaxy S7, eng boot.img flashed to phone with SELinux permissive, which gives root adb shell from where I can change system partitions, debloat, install ...
1
vote
1answer
2k views

How to grant certain apps root permission through ADB? [duplicate]

I have an Android TV box (4.4.2, armv7), and I can login the device as root by ADB (local network). What I want to do is to give certain apps root permission. How can I do it?
1
vote
1answer
3k views

How to run an Android init service with superuser SELinux context?

I want to run an Android init service. I have a device which has rooted shell (purchased from manufacture as rooted). This device doesn't have Magisk or other su manager but adb shell is rooted and it ...
1
vote
1answer
3k views

Is There A Mobile Hotspot App With A Firewall to Block Incoming Connections?

I've been using the Android mobile hotspot to get an Internet connection while traveling. The stock hotspot is fine for my laptop which is firewalled, but there are a few devices (smart TV, game ...
1
vote
2answers
2k views

Fix SELinux contexts for a SU binary

I am trying to root my android 6.0.1 phone using the following method: I first booted into a TWRP image using fastboot boot, then using the TWRP terminal I copied the su binary from the SuperSU kit ...
14
votes
1answer
454 views

Are there any Google devices that support capabilities in their default kernel?

If I systemless root (no modification done to /system partition) a Nexus device, would I be able to able to set capabilities on executables without changing the original kernel binary ? I often want ...
0
votes
1answer
776 views

Can android user become a super user in android?

Is it possible to change the rights of normal user in android to super user? My requirement is to run the super user code(I want to read a file data from system directory) in a device that has ...
1
vote
2answers
437 views

if a user debug build comes with adb root access by default, does it contain the su binary?

If an Android user debug build comes with adb root access by default, does it contain the su binary to achieve this? If not, is it any different to rooting your phone?

15 30 50 per page