raspberry-vanilla / android_local_manifest

136 stars 54 forks source link

Rooting #49

Closed rdkartono closed 9 months ago

rdkartono commented 10 months ago

Kindly teach me how to root this build. I need to create some configurator app to make Static / DHCP IP for Ethernet. I could execute "su" and "ifconfig" at adb shell, but unable to execute them in app. Need root access.

KonstaT commented 10 months ago

How do you set "Static / DHCP IP for Ethernet" using ifconfig as other people might be interested in that as well?

Wouldn't this be easier with a script rather than writing an app? Simply adb root first in that case. Or a add a system service that runs your script on every reboot.

If you need root access management for applications, you would need to look into implementing KernelSU or patching the ramdisk.img for Magisk.

KonstaT commented 9 months ago

Closing as there's been no activity in a month.

Options for providing root access were discussed in the previous comment.