tips:udoo:android

This is an old revision of the document!


Udoo

http://www.udoo.org/forum/android-rooted-t1294.html

unpack supersu apk and copy

mkdir /system/bin/.ext
cp su /system/xbin/daemonsu
cp su /system/xbin/su
cp su /system/bin/.ext/.su
cp install-recovery.sh /system/etc/install-recovery.sh
echo 1 > /system/etc/.installed_su_daemon 

add to device/fsl/udoo/init.rc

import init.superuser.rc

init.superuser.rc

on boot
    chmod 06755 /system/xbin/su

# 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
  • tips/udoo/android.1427953733.txt.gz
  • Last modified: 2015/04/02 07:48
  • by scipio