I have read a lots of articles regarding root. But I haven't found any specific information on what's the proccess and the steps that are required to grand root access on a device. For example. If I copy "su" script and install Superuser.apk, I immediately grant root access?
And last but not least, I want to program a temporary root application.(Root until device reboots) Does that even possible?
init, so putting a script into/system/etc/init.dwill likely be enough to launch it. The hard part is: Make sure the kernel supportsinit.dand how do you even write to/system. – GiantTree Jan 10 '16 at 11:44daemonsu. For example SuperSU's way:#!/system/bin/sh /system/xbin/daemonsu --auto-daemon &. This launchesdaemonsuin the background (&) with the parameter--auto-daemon. – GiantTree Jan 10 '16 at 11:53