20 lines
413 B
Plaintext
20 lines
413 B
Plaintext
# SuperSU daemonsu
|
|||
|
|
service daemonsu /system/xbin/daemonsu --auto-daemon
|
||
|
|
user root
|
||
|
|
group root
|
||
|
|
|
||
|
|
# Superuser su_daemon
|
||
|
|
service su_daemon /system/xbin/su --daemon
|
||
|
|
oneshot
|
||
|
|
|
||
|
|
on property:persist.sys.root_access=0
|
||
|
|
stop su_daemon
|
||
|
|
|
||
|
|
on property:persist.sys.root_access=2
|
||
|
|
stop su_daemon
|
||
|
|
|
||
|
|
on property:persist.sys.root_access=1
|
||
|
|
start su_daemon
|
||
|
|
|
||
|
|
on property:persist.sys.root_access=3
|
||
|
|
start su_daemon
|