14 votes
Accepted

Is kernel mode of operating system and root permissions in android same thing?

Root permissions and kernel mode are not the same thing. Programs with root access can access part of the kernel, but root is not the kernel itself. The Android (and Linux) user model has a set of ...
gertmenkel's user avatar
9 votes

How does SuperSu provide root privilege?

SuperSU is no more actively developed, the new prevailing standard is Magisk which was originally based on SuperSU (ideas and perhaps some code too) but now it has moved far ahead. So better go for a ...
Irfan Latif's user avatar
  • 20.2k
5 votes
Accepted

Can an app with root permission access another app data?

Yes - if you grant it root privileges, it can Theoretically access any other apps data ( granting / denying is by "Superuser or Su" which is used to manage applications which are allowed to gain root ...
beeshyams's user avatar
  • 40.7k
4 votes
Accepted

How to use Dirty COW exploit?

The reason the command isn't working for you is because "su" is a binary that gets installed by rooting your device. Without a proper root, you have no "su" command. In order to ...
therealjayvi's user avatar
3 votes
Accepted

Pervasive Kingroot app avoids uninstall

You did it wrong I guess. There's a "safe" uninstall feature within Kingoroot app. This removes completely the app and the binaries from your device. Open the app Click the three dots upper ...
esQmo_'s user avatar
  • 3,207
3 votes

How to grant an app root access without GUI interaction?

android.permission.ACCESS_SUPERUSER was defined by SuperSU but: Due to changes in Android 5.0 Lollipop, this permission has been deprecated and is completely ignored from SuperSU v2.30 onwards ...
Irfan Latif's user avatar
  • 20.2k
2 votes
Accepted

Stuck on "verification fail" while Rooting Moto G 3rd gen

It seems Moto G 3rd Gen is very tricky to root. I spent 2 days trying countless things and having countless problems every step of the way. I drove myself insane with it, however at the end, it worked ...
user1721135's user avatar
2 votes
Accepted

Plot twist: could a rooted device be actually safer than a non-rooted one?

You misunderstand the logic of su binary. Android doesn't have an su command like other Linux distros do. The su binaries we use on Android are added to the /system (for pre-6.0 versions) and they ...
SarpSTA's user avatar
  • 2,682
2 votes

Phone stucked while booting with moto logo

You need to uninstall suhide. There is an uninstaller. Check this post: https://forum.xda-developers.com/apps/supersu/suhide-t3450396 And scroll to the downloads section. Download the file with 'rm'...
Ben Aviani-Bartram's user avatar
2 votes
Accepted

Make mounted cifs/smb share visible for normal user in Android-x86

Management summary You probably do not need this. There are free (gratis, yes) apps to access network shares. Mounting network shares does not even need these apps; everything you need is included ...
db-inf's user avatar
  • 131
1 vote

How to edit the list of reserved ports (under 1024) on Android?

Ports are not reserved by Android (or by any other OS) but are assigned by IANA for specific use. If a port is free i.e. no process is connected to or listening on that, you may use that with your ...
Irfan Latif's user avatar
  • 20.2k
1 vote

permission denied error trying to run custom script, but works in SSHDroid

The issue is with SELinux, and upon further digging, it seems I had to adjust the permissions of these files to make this work. I don't really understand it, but it seems to work. chmod 644 /sys/bus/...
sparklzdaunicorn's user avatar
1 vote
Accepted

How does SuperSU check if a phone is rooted?

/system/xbin/su is a normal su binary that's shipped with userdebug or engineering builds of ROMs. It gets you root access by making syscall setuid. On the other hand, with SuperSU or Magisk root, a ...
Irfan Latif's user avatar
  • 20.2k
1 vote

Error when using DirtyCow

Did you use this ADB Exploit specifically for Android ? $ make root ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-16 make[1]: Entering directory '/home/user/dev/git/...
Empire of E's user avatar
  • 1,580
1 vote
Accepted

How to block network traffic going to a specific remote port?

You can block all TCP traffic from app with UID 10142, destined for port 53: ~# iptables -I OUTPUT -m owner --uid-owner 10142 -p tcp --dport 53 -j DROP Change UID and port as per your needs.
Irfan Latif's user avatar
  • 20.2k
1 vote

What are the technical reasons of updating SuperSU?

It is not necessary to update. But, it is always a good habit to keep your device up to date. If you do not want to download so frequently, then see the change log of the updates, and decide whether ...
Deepak Gangwar's user avatar
1 vote
Accepted

Can multiple androids be paired to work on the same task?

It depends on the workload but you absolutely could use Android phones as a cluster in much the same way they did with the PS3's. You'd probably need some sort of server-client setup. With a server ...
MattBoothDev's user avatar
1 vote

How to use Dirty COW exploit?

To supplement therealjayvi's answer, note that compiling and using CVE-2016-5195 from timwr requires both ADB and NDK to be installed as well, prior to make [architecture] and make root, and that this ...
hackall360's user avatar
1 vote

Le eco le 2 Android 6.0 : How to share my computer internet on my android with USB?

As far as I know, only a few manufacturers include the USB Internet option in the menu. I was looking for a way to reverse tether my Android devices some time ago as well and eventually developed my ...
FD_'s user avatar
  • 271
1 vote

Stuck on "verification fail" while Rooting Moto G 3rd gen

I totally understand the situation here as I just faced it and came out from it. The think is simple! Note many devices will replace your custom recovery automatically during first boot. To prevent ...
sriram's user avatar
  • 11
1 vote

How to modify a system configuration file on Android?

In case this point is not clear; it's not enough to just have a su executable and run it. Since you asked Is it possible to just use a command line su executable to get permissions to modify the ...
reben's user avatar
  • 121

Only top scored, non community-wiki answers of a minimum length are eligible