1: 2011-07-30 (土) 02:00:04 yuji |
現: 2020-12-26 (土) 16:07:42 yuji |
| *root化 [#w4f71302] | | *root化 [#w4f71302] |
| initramfsを編集して,root権を使えるようにしておく。 | | initramfsを編集して,root権を使えるようにしておく。 |
| + | suコマンドとSetuser.apkが使えるようになっていれば良いようです。ネット上の情報にあったんで,そのままやってみました。 |
| | | |
- | init.rcのon boot以降に, | + | まず,init.rcのon boot以降に, |
| # set RLIMIT_NICE to allow priorities from 19 to -20 | | # set RLIMIT_NICE to allow priorities from 19 to -20 |
| setrlimit 13 40 40 | | setrlimit 13 40 40 |
- | | + | |
- | # added by Yuji Ueno | + | |
| start setsysinit | | start setsysinit |
- | start init_root | + | start setroot |
- | で,start init_rootを追加。 | + | のように,start setrootを追加。 |
| さらに,class_start default以降に, | | さらに,class_start default以降に, |
- | # for rootadd by Yuji | + | service setroot /sbin/init_root.sh |
- | service setrooted /sbin/init_root.sh | + | |
| user root | | user root |
| oneshot | | oneshot |
| /sbin/ext/busybox mount -o remount,rw /system; | | /sbin/ext/busybox mount -o remount,rw /system; |
| /sbin/ext/busybox mount -t rootfs -o remount,rw rootfs; | | /sbin/ext/busybox mount -t rootfs -o remount,rw rootfs; |
- | | + | |
- | # make sure we have /system/xbin | + | # make /system/xbin |
| /sbin/ext/busybox mkdir -p /system/xbin | | /sbin/ext/busybox mkdir -p /system/xbin |
| + | |
| # if symlinked busybox in /system/bin or /system/xbin, remove them | | # if symlinked busybox in /system/bin or /system/xbin, remove them |
| LINK=$(/sbin/ext/busybox find /system/bin/busybox -type l); | | LINK=$(/sbin/ext/busybox find /system/bin/busybox -type l); |
| if /sbin/ext/busybox [ $LINK = "/system/bin/busybox" ]; then | | if /sbin/ext/busybox [ $LINK = "/system/bin/busybox" ]; then |
- | /sbin/ext/busybox rm -rf /system/bin/busybox; | + | /sbin/ext/busybox rm -rf /system/bin/busybox; |
| fi; | | fi; |
| LINK=$(/sbin/ext/busybox find /system/xbin/busybox -type l); | | LINK=$(/sbin/ext/busybox find /system/xbin/busybox -type l); |
- | if /sbin/ext/busybox [ $LINK = "/system/xbin/busybox" ]; then | + | if /sbin/ext/busybox [ $LINK = "/system/xbin/busybox" ]; then |
| /sbin/ext/busybox rm -rf /system/xbin/busybox; | | /sbin/ext/busybox rm -rf /system/xbin/busybox; |
| fi; | | fi; |
- | | + | |
- | # if real busybox in /system/bin, move to /system/xbin | + | # if busybox in /system/bin, move to /system/xbin |
| if /sbin/ext/busybox [ -f /system/bin/busybox ]; then | | if /sbin/ext/busybox [ -f /system/bin/busybox ]; then |
- | /sbin/ext/busybox rm -rf /system/xbin/busybox | + | /sbin/ext/busybox rm -rf /system/xbin/busybox |
- | /sbin/ext/busybox mv /system/bin/busybox /system/xbin/busybox | + | /sbin/ext/busybox mv /system/bin/busybox /system/xbin/busybox |
| fi; | | fi; |
| + | |
| # place wrapper script | | # place wrapper script |
| /sbin/ext/busybox cp /sbin/ext/busybox-wrapper /sbin/busybox; | | /sbin/ext/busybox cp /sbin/ext/busybox-wrapper /sbin/busybox; |
| + | |
| + | # set su |
| /sbin/ext/busybox rm /system/bin/su | | /sbin/ext/busybox rm /system/bin/su |
| /sbin/ext/busybox rm /system/xbin/su | | /sbin/ext/busybox rm /system/xbin/su |
| /sbin/ext/busybox chown 0.0 /system/xbin/su | | /sbin/ext/busybox chown 0.0 /system/xbin/su |
| /sbin/ext/busybox chmod 4755 /system/xbin/su | | /sbin/ext/busybox chmod 4755 /system/xbin/su |
| + | |
| + | # set Superuser.apk |
| /sbin/ext/busybox rm /system/app/Superuser.apk | | /sbin/ext/busybox rm /system/app/Superuser.apk |
| /sbin/ext/busybox rm /data/app/Superuser.apk | | /sbin/ext/busybox rm /data/app/Superuser.apk |
| + | /sbin/ext/busybox cat /res/misc/Superuser.apk > /system/app/Superuser.apk |
| + | /sbin/ext/busybox chown 0.0 /system/app/Superuser.apk |
| + | /sbin/ext/busybox chmod 644 /system/app/Superuser.apk |
| + | |
| + | # make busyBox link |
| + | /sbin/ext/busybox rm /system/bin/busybox |
| + | /sbin/ext/busybox rm /system/xbin/busybox |
| + | |
| + | /sbin/ext/busybox rm /system/xbin/[ |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/[ |
| + | /sbin/ext/busybox rm /system/xbin/[[ |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/[[ |
| + | /sbin/ext/busybox rm /system/xbin/addgroup |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/addgroup |
| + | /sbin/ext/busybox rm /system/xbin/adduser |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/adduser |
| + | /sbin/ext/busybox rm /system/xbin/adjtimex |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/adjtimex |
| + | /sbin/ext/busybox rm /system/xbin/ar |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ar |
| + | /sbin/ext/busybox rm /system/xbin/arp |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/arp |
| + | /sbin/ext/busybox rm /system/xbin/arping |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/arping |
| + | /sbin/ext/busybox rm /system/xbin/ash |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ash |
| + | /sbin/ext/busybox rm /system/xbin/awk |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/awk |
| + | /sbin/ext/busybox rm /system/xbin/basename |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/basename |
| + | /sbin/ext/busybox rm /system/xbin/beep |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/beep |
| + | /sbin/ext/busybox rm /system/xbin/blkid |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/blkid |
| + | /sbin/ext/busybox rm /system/xbin/brctl |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/brctl |
| + | /sbin/ext/busybox rm /system/xbin/bunzip2 |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/bunzip2 |
| + | /sbin/ext/busybox rm /system/xbin/bzcat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/bzcat |
| + | /sbin/ext/busybox rm /system/xbin/bzip2 |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/bzip2 |
| + | /sbin/ext/busybox rm /system/xbin/cal |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cal |
| + | /sbin/ext/busybox rm /system/xbin/cat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cat |
| + | /sbin/ext/busybox rm /system/xbin/catv |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/catv |
| + | /sbin/ext/busybox rm /system/xbin/chat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chat |
| + | /sbin/ext/busybox rm /system/xbin/chattr |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chattr |
| + | /sbin/ext/busybox rm /system/xbin/chgrp |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chgrp |
| + | /sbin/ext/busybox rm /system/xbin/chmod |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chmod |
| + | /sbin/ext/busybox rm /system/xbin/chown |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chown |
| + | /sbin/ext/busybox rm /system/xbin/chpasswd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chpasswd |
| + | /sbin/ext/busybox rm /system/xbin/chpst |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chpst |
| + | /sbin/ext/busybox rm /system/xbin/chroot |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chroot |
| + | /sbin/ext/busybox rm /system/xbin/chrt |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chrt |
| + | /sbin/ext/busybox rm /system/xbin/chvt |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/chvt |
| + | /sbin/ext/busybox rm /system/xbin/cksum |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cksum |
| + | /sbin/ext/busybox rm /system/xbin/clear |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/clear |
| + | /sbin/ext/busybox rm /system/xbin/cmp |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cmp |
| + | /sbin/ext/busybox rm /system/xbin/comm |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/comm |
| + | /sbin/ext/busybox rm /system/xbin/cp |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cp |
| + | /sbin/ext/busybox rm /system/xbin/cpio |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cpio |
| + | /sbin/ext/busybox rm /system/xbin/crond |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/crond |
| + | /sbin/ext/busybox rm /system/xbin/crontab |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/crontab |
| + | /sbin/ext/busybox rm /system/xbin/cryptpw |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cryptpw |
| + | /sbin/ext/busybox rm /system/xbin/cttyhack |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cttyhack |
| + | /sbin/ext/busybox rm /system/xbin/cut |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/cut |
| + | /sbin/ext/busybox rm /system/xbin/date |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/date |
| + | /sbin/ext/busybox rm /system/xbin/dc |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dc |
| + | /sbin/ext/busybox rm /system/xbin/dd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dd |
| + | /sbin/ext/busybox rm /system/xbin/deallocvt |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/deallocvt |
| + | /sbin/ext/busybox rm /system/xbin/delgroup |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/delgroup |
| + | /sbin/ext/busybox rm /system/xbin/deluser |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/deluser |
| + | /sbin/ext/busybox rm /system/xbin/depmod |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/depmod |
| + | /sbin/ext/busybox rm /system/xbin/devmem |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/devmem |
| + | /sbin/ext/busybox rm /system/xbin/df |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/df |
| + | /sbin/ext/busybox rm /system/xbin/dhcprelay |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dhcprelay |
| + | /sbin/ext/busybox rm /system/xbin/diff |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/diff |
| + | /sbin/ext/busybox rm /system/xbin/dirname |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dirname |
| + | /sbin/ext/busybox rm /system/xbin/dmesg |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dmesg |
| + | /sbin/ext/busybox rm /system/xbin/dnsd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dnsd |
| + | /sbin/ext/busybox rm /system/xbin/dnsdomainname |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dnsdomainname |
| + | /sbin/ext/busybox rm /system/xbin/dos2unix |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dos2unix |
| + | /sbin/ext/busybox rm /system/xbin/du |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/du |
| + | /sbin/ext/busybox rm /system/xbin/dumpkmap |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dumpkmap |
| + | /sbin/ext/busybox rm /system/xbin/dumpleases |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/dumpleases |
| + | /sbin/ext/busybox rm /system/xbin/echo |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/echo |
| + | /sbin/ext/busybox rm /system/xbin/ed |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ed |
| + | /sbin/ext/busybox rm /system/xbin/egrep |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/egrep |
| + | /sbin/ext/busybox rm /system/xbin/eject |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/eject |
| + | /sbin/ext/busybox rm /system/xbin/env |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/env |
| + | /sbin/ext/busybox rm /system/xbin/envdir |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/envdir |
| + | /sbin/ext/busybox rm /system/xbin/envuidgid |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/envuidgid |
| + | /sbin/ext/busybox rm /system/xbin/ether-wake |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ether-wake |
| + | /sbin/ext/busybox rm /system/xbin/expand |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/expand |
| + | /sbin/ext/busybox rm /system/xbin/expr |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/expr |
| + | /sbin/ext/busybox rm /system/xbin/fakeidentd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fakeidentd |
| + | /sbin/ext/busybox rm /system/xbin/false |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/false |
| + | /sbin/ext/busybox rm /system/xbin/fbset |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fbset |
| + | /sbin/ext/busybox rm /system/xbin/fbsplash |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fbsplash |
| + | /sbin/ext/busybox rm /system/xbin/fdflush |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fdflush |
| + | /sbin/ext/busybox rm /system/xbin/fdformat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fdformat |
| + | /sbin/ext/busybox rm /system/xbin/fdisk |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fdisk |
| + | /sbin/ext/busybox rm /system/xbin/fgrep |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fgrep |
| + | /sbin/ext/busybox rm /system/xbin/find |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/find |
| + | /sbin/ext/busybox rm /system/xbin/findfs |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/findfs |
| + | /sbin/ext/busybox rm /system/xbin/fold |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fold |
| + | /sbin/ext/busybox rm /system/xbin/free |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/free |
| + | /sbin/ext/busybox rm /system/xbin/freeramdisk |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/freeramdisk |
| + | /sbin/ext/busybox rm /system/xbin/fsck |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fsck |
| + | /sbin/ext/busybox rm /system/xbin/fsck.minix |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fsck.minix |
| + | /sbin/ext/busybox rm /system/xbin/fsync |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fsync |
| + | /sbin/ext/busybox rm /system/xbin/ftpd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ftpd |
| + | /sbin/ext/busybox rm /system/xbin/ftpget |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ftpget |
| + | /sbin/ext/busybox rm /system/xbin/ftpput |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ftpput |
| + | /sbin/ext/busybox rm /system/xbin/fuser |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/fuser |
| + | /sbin/ext/busybox rm /system/xbin/getopt |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/getopt |
| + | /sbin/ext/busybox rm /system/xbin/getty |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/getty |
| + | /sbin/ext/busybox rm /system/xbin/grep |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/grep |
| + | /sbin/ext/busybox rm /system/xbin/gunzip |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/gunzip |
| + | /sbin/ext/busybox rm /system/xbin/gzip |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/gzip |
| + | /sbin/ext/busybox rm /system/xbin/halt |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/halt |
| + | /sbin/ext/busybox rm /system/xbin/hd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/hd |
| + | /sbin/ext/busybox rm /system/xbin/hdparm |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/hdparm |
| + | /sbin/ext/busybox rm /system/xbin/head |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/head |
| + | /sbin/ext/busybox rm /system/xbin/hexdump |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/hexdump |
| + | /sbin/ext/busybox rm /system/xbin/hostid |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/hostid |
| + | /sbin/ext/busybox rm /system/xbin/hostname |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/hostname |
| + | /sbin/ext/busybox rm /system/xbin/httpd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/httpd |
| + | /sbin/ext/busybox rm /system/xbin/hush |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/hush |
| + | /sbin/ext/busybox rm /system/xbin/hwclock |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/hwclock |
| + | /sbin/ext/busybox rm /system/xbin/id |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/id |
| + | /sbin/ext/busybox rm /system/xbin/ifconfig |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ifconfig |
| + | /sbin/ext/busybox rm /system/xbin/ifdown |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ifdown |
| + | /sbin/ext/busybox rm /system/xbin/ifenslave |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ifenslave |
| + | /sbin/ext/busybox rm /system/xbin/ifplugd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ifplugd |
| + | /sbin/ext/busybox rm /system/xbin/ifup |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ifup |
| + | /sbin/ext/busybox rm /system/xbin/inetd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/inetd |
| + | /sbin/ext/busybox rm /system/xbin/init |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/init |
| + | /sbin/ext/busybox rm /system/xbin/insmod |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/insmod |
| + | /sbin/ext/busybox rm /system/xbin/install |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/install |
| + | /sbin/ext/busybox rm /system/xbin/ionice |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ionice |
| + | /sbin/ext/busybox rm /system/xbin/ip |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ip |
| + | /sbin/ext/busybox rm /system/xbin/ipaddr |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ipaddr |
| + | /sbin/ext/busybox rm /system/xbin/ipcalc |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ipcalc |
| + | /sbin/ext/busybox rm /system/xbin/ipcrm |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ipcrm |
| + | /sbin/ext/busybox rm /system/xbin/ipcs |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ipcs |
| + | /sbin/ext/busybox rm /system/xbin/iplink |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/iplink |
| + | /sbin/ext/busybox rm /system/xbin/iproute |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/iproute |
| + | /sbin/ext/busybox rm /system/xbin/iprule |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/iprule |
| + | /sbin/ext/busybox rm /system/xbin/iptunnel |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/iptunnel |
| + | /sbin/ext/busybox rm /system/xbin/kbd_mode |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/kbd_mode |
| + | /sbin/ext/busybox rm /system/xbin/kill |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/kill |
| + | /sbin/ext/busybox rm /system/xbin/killall |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/killall |
| + | /sbin/ext/busybox rm /system/xbin/killall5 |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/killall5 |
| + | /sbin/ext/busybox rm /system/xbin/klogd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/klogd |
| + | /sbin/ext/busybox rm /system/xbin/last |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/last |
| + | /sbin/ext/busybox rm /system/xbin/length |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/length |
| + | /sbin/ext/busybox rm /system/xbin/less |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/less |
| + | /sbin/ext/busybox rm /system/xbin/linux32 |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/linux32 |
| + | /sbin/ext/busybox rm /system/xbin/linux64 |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/linux64 |
| + | /sbin/ext/busybox rm /system/xbin/linuxrc |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/linuxrc |
| + | /sbin/ext/busybox rm /system/xbin/ln |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ln |
| + | /sbin/ext/busybox rm /system/xbin/loadfont |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/loadfont |
| + | /sbin/ext/busybox rm /system/xbin/loadkmap |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/loadkmap |
| + | /sbin/ext/busybox rm /system/xbin/logger |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/logger |
| + | /sbin/ext/busybox rm /system/xbin/login |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/login |
| + | /sbin/ext/busybox rm /system/xbin/logname |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/logname |
| + | /sbin/ext/busybox rm /system/xbin/logread |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/logread |
| + | /sbin/ext/busybox rm /system/xbin/losetup |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/losetup |
| + | /sbin/ext/busybox rm /system/xbin/lpd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lpd |
| + | /sbin/ext/busybox rm /system/xbin/lpq |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lpq |
| + | /sbin/ext/busybox rm /system/xbin/lpr |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lpr |
| + | /sbin/ext/busybox rm /system/xbin/ls |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ls |
| + | /sbin/ext/busybox rm /system/xbin/lsattr |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lsattr |
| + | /sbin/ext/busybox rm /system/xbin/lsmod |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lsmod |
| + | /sbin/ext/busybox rm /system/xbin/lzmacat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lzmacat |
| + | /sbin/ext/busybox rm /system/xbin/lzop |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lzop |
| + | /sbin/ext/busybox rm /system/xbin/lzopcat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/lzopcat |
| + | /sbin/ext/busybox rm /system/xbin/makedevs |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/makedevs |
| + | /sbin/ext/busybox rm /system/xbin/makemime |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/makemime |
| + | /sbin/ext/busybox rm /system/xbin/man |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/man |
| + | /sbin/ext/busybox rm /system/xbin/md5sum |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/md5sum |
| + | /sbin/ext/busybox rm /system/xbin/mdev |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mdev |
| + | /sbin/ext/busybox rm /system/xbin/mesg |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mesg |
| + | /sbin/ext/busybox rm /system/xbin/microcom |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/microcom |
| + | /sbin/ext/busybox rm /system/xbin/mkdir |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mkdir |
| + | /sbin/ext/busybox rm /system/xbin/mkdosfs |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mkdosfs |
| + | /sbin/ext/busybox rm /system/xbin/mkfifo |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mkfifo |
| + | /sbin/ext/busybox rm /system/xbin/mkfs.minix |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mkfs.minix |
| + | /sbin/ext/busybox rm /system/xbin/mkfs.vfat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mkfs.vfat |
| + | /sbin/ext/busybox rm /system/xbin/mknod |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mknod |
| + | /sbin/ext/busybox rm /system/xbin/mkpasswd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mkpasswd |
| + | /sbin/ext/busybox rm /system/xbin/mkswap |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mkswap |
| + | /sbin/ext/busybox rm /system/xbin/mktemp |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mktemp |
| + | /sbin/ext/busybox rm /system/xbin/modprobe |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/modprobe |
| + | /sbin/ext/busybox rm /system/xbin/more |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/more |
| + | /sbin/ext/busybox rm /system/xbin/mount |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mount |
| + | /sbin/ext/busybox rm /system/xbin/mountpoint |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mountpoint |
| + | /sbin/ext/busybox rm /system/xbin/msh |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/msh |
| + | /sbin/ext/busybox rm /system/xbin/mt |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mt |
| + | /sbin/ext/busybox rm /system/xbin/mv |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/mv |
| + | /sbin/ext/busybox rm /system/xbin/nameif |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/nameif |
| + | /sbin/ext/busybox rm /system/xbin/nc |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/nc |
| + | /sbin/ext/busybox rm /system/xbin/netstat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/netstat |
| + | /sbin/ext/busybox rm /system/xbin/nice |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/nice |
| + | /sbin/ext/busybox rm /system/xbin/nmeter |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/nmeter |
| + | /sbin/ext/busybox rm /system/xbin/nohup |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/nohup |
| + | /sbin/ext/busybox rm /system/xbin/nslookup |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/nslookup |
| + | /sbin/ext/busybox rm /system/xbin/od |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/od |
| + | /sbin/ext/busybox rm /system/xbin/openvt |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/openvt |
| + | /sbin/ext/busybox rm /system/xbin/passwd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/passwd |
| + | /sbin/ext/busybox rm /system/xbin/patch |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/patch |
| + | /sbin/ext/busybox rm /system/xbin/pgrep |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/pgrep |
| + | /sbin/ext/busybox rm /system/xbin/pidof |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/pidof |
| + | /sbin/ext/busybox rm /system/xbin/ping |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ping |
| + | /sbin/ext/busybox rm /system/xbin/ping6 |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ping6 |
| + | /sbin/ext/busybox rm /system/xbin/pipe_progress |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/pipe_progress |
| + | /sbin/ext/busybox rm /system/xbin/pivot_root |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/pivot_root |
| + | /sbin/ext/busybox rm /system/xbin/pkill |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/pkill |
| + | /sbin/ext/busybox rm /system/xbin/popmaildir |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/popmaildir |
| + | /sbin/ext/busybox rm /system/xbin/poweroff |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/poweroff |
| + | /sbin/ext/busybox rm /system/xbin/printenv |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/printenv |
| + | /sbin/ext/busybox rm /system/xbin/printf |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/printf |
| + | /sbin/ext/busybox rm /system/xbin/ps |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ps |
| + | /sbin/ext/busybox rm /system/xbin/pscan |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/pscan |
| + | /sbin/ext/busybox rm /system/xbin/pwd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/pwd |
| + | /sbin/ext/busybox rm /system/xbin/raidautorun |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/raidautorun |
| + | /sbin/ext/busybox rm /system/xbin/rdate |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/rdate |
| + | /sbin/ext/busybox rm /system/xbin/rdev |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/rdev |
| + | /sbin/ext/busybox rm /system/xbin/readahead |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/readahead |
| + | /sbin/ext/busybox rm /system/xbin/readlink |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/readlink |
| + | /sbin/ext/busybox rm /system/xbin/readprofile |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/readprofile |
| + | /sbin/ext/busybox rm /system/xbin/realpath |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/realpath |
| + | #/sbin/ext/busybox rm /system/xbin/reboot |
| + | #/sbin/ext/busybox ln -s /sbin/busybox /system/xbin/reboot |
| + | /sbin/ext/busybox rm /system/xbin/reformime |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/reformime |
| + | /sbin/ext/busybox rm /system/xbin/renice |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/renice |
| + | /sbin/ext/busybox rm /system/xbin/reset |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/reset |
| + | /sbin/ext/busybox rm /system/xbin/resize |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/resize |
| + | /sbin/ext/busybox rm /system/xbin/rm |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/rm |
| + | /sbin/ext/busybox rm /system/xbin/rmdir |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/rmdir |
| + | /sbin/ext/busybox rm /system/xbin/rmmod |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/rmmod |
| + | /sbin/ext/busybox rm /system/xbin/route |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/route |
| + | /sbin/ext/busybox rm /system/xbin/rtcwake |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/rtcwake |
| + | /sbin/ext/busybox rm /system/xbin/run-parts |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/run-parts |
| + | /sbin/ext/busybox rm /system/xbin/runlevel |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/runlevel |
| + | /sbin/ext/busybox rm /system/xbin/runsv |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/runsv |
| + | /sbin/ext/busybox rm /system/xbin/runsvdir |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/runsvdir |
| + | /sbin/ext/busybox rm /system/xbin/rx |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/rx |
| + | /sbin/ext/busybox rm /system/xbin/script |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/script |
| + | /sbin/ext/busybox rm /system/xbin/scriptreplay |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/scriptreplay |
| + | /sbin/ext/busybox rm /system/xbin/sed |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sed |
| + | /sbin/ext/busybox rm /system/xbin/sendmail |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sendmail |
| + | /sbin/ext/busybox rm /system/xbin/seq |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/seq |
| + | /sbin/ext/busybox rm /system/xbin/setarch |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/setarch |
| + | /sbin/ext/busybox rm /system/xbin/setconsole |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/setconsole |
| + | /sbin/ext/busybox rm /system/xbin/setfont |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/setfont |
| + | /sbin/ext/busybox rm /system/xbin/setkeycodes |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/setkeycodes |
| + | /sbin/ext/busybox rm /system/xbin/setlogcons |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/setlogcons |
| + | /sbin/ext/busybox rm /system/xbin/setsid |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/setsid |
| + | /sbin/ext/busybox rm /system/xbin/setuidgid |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/setuidgid |
| + | /sbin/ext/busybox rm /system/xbin/sh |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sh |
| + | /sbin/ext/busybox rm /system/xbin/sha1sum |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sha1sum |
| + | /sbin/ext/busybox rm /system/xbin/sha256sum |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sha256sum |
| + | /sbin/ext/busybox rm /system/xbin/sha512sum |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sha512sum |
| + | /sbin/ext/busybox rm /system/xbin/showkey |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/showkey |
| + | /sbin/ext/busybox rm /system/xbin/slattach |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/slattach |
| + | /sbin/ext/busybox rm /system/xbin/sleep |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sleep |
| + | /sbin/ext/busybox rm /system/xbin/softlimit |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/softlimit |
| + | /sbin/ext/busybox rm /system/xbin/sort |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sort |
| + | /sbin/ext/busybox rm /system/xbin/split |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/split |
| + | /sbin/ext/busybox rm /system/xbin/start-stop-daemon |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/start-stop-daemon |
| + | /sbin/ext/busybox rm /system/xbin/stat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/stat |
| + | /sbin/ext/busybox rm /system/xbin/strings |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/strings |
| + | /sbin/ext/busybox rm /system/xbin/stty |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/stty |
| + | #/sbin/ext/busybox rm /system/xbin/su |
| + | #/sbin/ext/busybox ln -s /sbin/busybox /system/xbin/su |
| + | /sbin/ext/busybox rm /system/xbin/sulogin |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sulogin |
| + | /sbin/ext/busybox rm /system/xbin/sum |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sum |
| + | /sbin/ext/busybox rm /system/xbin/sv |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sv |
| + | /sbin/ext/busybox rm /system/xbin/svlogd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/svlogd |
| + | /sbin/ext/busybox rm /system/xbin/swapoff |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/swapoff |
| + | /sbin/ext/busybox rm /system/xbin/swapon |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/swapon |
| + | /sbin/ext/busybox rm /system/xbin/switch_root |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/switch_root |
| + | /sbin/ext/busybox rm /system/xbin/sync |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sync |
| + | /sbin/ext/busybox rm /system/xbin/sysctl |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/sysctl |
| + | /sbin/ext/busybox rm /system/xbin/syslogd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/syslogd |
| + | /sbin/ext/busybox rm /system/xbin/tac |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tac |
| + | /sbin/ext/busybox rm /system/xbin/tail |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tail |
| + | /sbin/ext/busybox rm /system/xbin/tar |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tar |
| + | /sbin/ext/busybox rm /system/xbin/tcpsvd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tcpsvd |
| + | /sbin/ext/busybox rm /system/xbin/tee |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tee |
| + | /sbin/ext/busybox rm /system/xbin/telnet |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/telnet |
| + | /sbin/ext/busybox rm /system/xbin/telnetd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/telnetd |
| + | /sbin/ext/busybox rm /system/xbin/test |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/test |
| + | /sbin/ext/busybox rm /system/xbin/tftp |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tftp |
| + | /sbin/ext/busybox rm /system/xbin/tftpd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tftpd |
| + | /sbin/ext/busybox rm /system/xbin/time |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/time |
| + | /sbin/ext/busybox rm /system/xbin/timeout |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/timeout |
| + | /sbin/ext/busybox rm /system/xbin/top |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/top |
| + | /sbin/ext/busybox rm /system/xbin/touch |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/touch |
| + | /sbin/ext/busybox rm /system/xbin/tr |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tr |
| + | /sbin/ext/busybox rm /system/xbin/traceroute |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/traceroute |
| + | /sbin/ext/busybox rm /system/xbin/true |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/true |
| + | /sbin/ext/busybox rm /system/xbin/tty |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tty |
| + | /sbin/ext/busybox rm /system/xbin/ttysize |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/ttysize |
| + | /sbin/ext/busybox rm /system/xbin/tunctl |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/tunctl |
| + | /sbin/ext/busybox rm /system/xbin/udhcpc |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/udhcpc |
| + | /sbin/ext/busybox rm /system/xbin/udhcpd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/udhcpd |
| + | /sbin/ext/busybox rm /system/xbin/udpsvd |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/udpsvd |
| + | /sbin/ext/busybox rm /system/xbin/umount |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/umount |
| + | /sbin/ext/busybox rm /system/xbin/uname |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/uname |
| + | /sbin/ext/busybox rm /system/xbin/uncompress |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/uncompress |
| + | /sbin/ext/busybox rm /system/xbin/unexpand |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/unexpand |
| + | /sbin/ext/busybox rm /system/xbin/uniq |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/uniq |
| + | /sbin/ext/busybox rm /system/xbin/unix2dos |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/unix2dos |
| + | /sbin/ext/busybox rm /system/xbin/unlzma |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/unlzma |
| + | /sbin/ext/busybox rm /system/xbin/unlzop |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/unlzop |
| + | /sbin/ext/busybox rm /system/xbin/unzip |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/unzip |
| + | /sbin/ext/busybox rm /system/xbin/uptime |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/uptime |
| + | /sbin/ext/busybox rm /system/xbin/usleep |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/usleep |
| + | /sbin/ext/busybox rm /system/xbin/uudecode |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/uudecode |
| + | /sbin/ext/busybox rm /system/xbin/uuencode |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/uuencode |
| + | /sbin/ext/busybox rm /system/xbin/vconfig |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/vconfig |
| + | /sbin/ext/busybox rm /system/xbin/vi |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/vi |
| + | /sbin/ext/busybox rm /system/xbin/vlock |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/vlock |
| + | /sbin/ext/busybox rm /system/xbin/volname |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/volname |
| + | /sbin/ext/busybox rm /system/xbin/watch |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/watch |
| + | /sbin/ext/busybox rm /system/xbin/watchdog |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/watchdog |
| + | /sbin/ext/busybox rm /system/xbin/wc |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/wc |
| + | /sbin/ext/busybox rm /system/xbin/wget |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/wget |
| + | /sbin/ext/busybox rm /system/xbin/which |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/which |
| + | /sbin/ext/busybox rm /system/xbin/who |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/who |
| + | /sbin/ext/busybox rm /system/xbin/whoami |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/whoami |
| + | /sbin/ext/busybox rm /system/xbin/xargs |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/xargs |
| + | /sbin/ext/busybox rm /system/xbin/yes |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/yes |
| + | /sbin/ext/busybox rm /system/xbin/zcat |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/zcat |
| + | /sbin/ext/busybox rm /system/xbin/zcip |
| + | /sbin/ext/busybox ln -s /sbin/busybox /system/xbin/zcip |
| + | |
| # mount system and rootfs r/o | | # mount system and rootfs r/o |
| /sbin/ext/busybox mount -t rootfs -o remount,ro rootfs; | | /sbin/ext/busybox mount -t rootfs -o remount,ro rootfs; |
| /sbin/ext/busybox mount -o remount,ro /system; | | /sbin/ext/busybox mount -o remount,ro /system; |
| 実行権を付けておく。 | | 実行権を付けておく。 |
- | | |
- | sbin/ext/busybox-wrapperを作成する。 | |
- | #!/sbin/ext/busybox sh | |
- | | |
- | if /sbin/ext/busybox [ "$0" = "sh" ]; then | |
- | /sbin/ext/busybox sh "$@"; | |
- | elif /sbin/ext/busybox [ "$1" = "sh" ]; then | |
- | /sbin/ext/busybox "$@"; | |
- | else if /sbin/ext/busybox [ -x /system/bin/busybox ]; then | |
- | /system/bin/busybox $0 "$@"; | |
- | elif /sbin/ext/busybox [ -x /system/xbin/busybox ]; then | |
- | /system/xbin/busybox $0 "$@"; | |
- | else | |
- | /sbin/ext/busybox $0 "$@"; | |
- | fi; | |
- | fi; | |
- | このファイルにも実行権を付ける。 | |
| | | |
| それと,sbin/extの中にbusyboxをコピーする。 | | それと,sbin/extの中にbusyboxをコピーする。 |
| + | さらに,initramfs/res/miscの中に,Superuser.apkとsuコマンドをコピーしておく。 |
| | | |
- | さらに,initramfs/res/miscの中に,Superuser.apkをコピーする。 | + | **busyboxのシンボリックを張っておく [#u80352e4] |
| + | ルート化出来たら,起動後に,/system/xbinに,busyboxのシンボリックリンクをいろいろなコマンド名で張っておくと良いんだと思う。 |
| + | # busybox |
| + | でサポートしているコマンドの一覧が出てくるんで,%%必要と思われる物のリンクを張っておくと便利。%% init_root.shでリンクは貼ることにした。(([,]なんかも忘れない)) |