How to use root access in dev options
After enabling it, how to flash modules?
Regain your privacy! Adopt /e/OS the unGoogled mobile OS and online services
How to use root access in dev options
After enabling it, how to flash modules?
Regain your privacy! Adopt /e/OS the unGoogled mobile OS and online services
This setting simply allows usb debugging as root – adb root - ADB Shell.
Say for example you wanted to use adb
to find some .db files in /data
, this would be likely impossible without adb root. The response might be
$ adb devices
List of devices attached
ZYX321abcd device
$ adb shell
device:/ $ find /data -name *.db
find: /data: Permission denied
Provided you can allow root access in dev options you can now
$ adb root
restarting adbd as root
$ adb shell
device:/ # find /data -name *.db
/data/vendor/connectivity/bqe_hist.db
/data/vendor/connectivity/icd_hist.db
/data/user/0/com.android.providers.userdictionary/databases/user_dict.db
/data/user/0/com.android.providers.contacts/databases/calllog.db
/data/user/0/com.android.providers.contacts/databases/contacts2.db
/data/user/0/com.android.providers.contacts/databases/profile.db
/data/user/0/com.github.catfriend1.syncthingandroid/files/index-v0.14.0.db
device:/ #
You probably noticed that this option is called “Rooted debugging”, not simply root or root access, hence what @aibd correctly laid out.
With this enabled, what you can do with ADB you can do as root with ADB. But only with ADB (the Android Debug Bridge).