この記事は2年以上前に書いたものです。
そのため情報が古い可能性があります。ご了承ください。m(_ _)m
そのため情報が古い可能性があります。ご了承ください。m(_ _)m
IS01用にBusyBoxビルド
でビルドしたbusyboxをis01へインストール。(USBでPCに接続しておく必要があり)
インストール場所/data/busyboxを作成。
% cd android-sdk
%
% tools/adb shell
$ mkdir /data/busybox
$ exit
%
% tools/adb shell
$ mkdir /data/busybox
$ exit
BusyBoxをIS01へ転送
% tools/adb push ~/IS01/busybox/busybox /data/busybox/busybox
インストール
% tools/adb shell
$ cd /data/busybox
$ ls
busybox
$ ls -l
-rwxrwxrwx shell shell 1931720 2010-09-25 14:07 busybox
$ ./busybox --install .
$ cd /data/busybox
$ ls
busybox
$ ls -l
-rwxrwxrwx shell shell 1931720 2010-09-25 14:07 busybox
$ ./busybox --install .
これで、/data/busybox配下に大量のコマンド(symlink)が生成される
$ PATH=/data/busybox:$PATH; ash
/data/busybox $ ls
[ findfs mesg setsid
[[ flock microcom setuidgid
acpid fold mkdir sh
addgroup free mkdosfs sha1sum
adduser freeramdisk mke2fs sha256sum
adjtimex fsck mkfifo sha512sum
arp fsck.minix mkfs.ext2 showkey
arping fsync mkfs.minix slattach
ash ftpd mkfs.vfat sleep
awk ftpget mknod smemcap
base64 ftpput mkpasswd softlimit
basename fuser mkswap sort
beep getopt mktemp split
blkid getty modinfo start-stop-daemon
blockdev grep modprobe stat
bootchartd gunzip more strings
brctl gzip mount stty
bunzip2 halt mountpoint su
busybox hd mpstat sulogin
bzcat hdparm mt sum
bzip2 head mv sv
cal hexdump nameif svlogd
cat hostid nbd-client swapoff
catv hostname nc swapon
chat httpd netstat switch_root
chattr hush nice sync
chgrp hwclock nmeter sysctl
chmod id nohup syslogd
chown ifconfig nslookup tac
chpasswd ifdown ntpd tail
chpst ifenslave od tar
chroot ifplugd openvt tcpsvd
chrt ifup passwd tee
chvt inetd patch telnet
cksum init pgrep telnetd
clear insmod pidof test
cmp install ping tftp
comm ionice ping6 tftpd
cp iostat pipe_progress time
cpio ip pivot_root timeout
crond ipaddr pkill top
crontab ipcalc pmap touch
cryptpw ipcrm popmaildir tr
cttyhack ipcs poweroff traceroute
cut iplink printenv traceroute6
date iproute printf true
dc iprule ps tty
dd iptunnel pscan ttysize
deallocvt kbd_mode pwd tunctl
delgroup kill raidautorun udhcpc
deluser killall rdate udhcpd
depmod killall5 rdev udpsvd
devmem klogd readahead umount
df last readlink uname
dhcprelay length readprofile unexpand
diff less realpath uniq
dirname linux32 reboot unix2dos
dmesg linux64 reformime unlzma
dnsd linuxrc renice unlzop
dnsdomainname ln reset unxz
dos2unix loadfont resize unzip
du loadkmap rev uptime
dumpkmap logger rm usleep
dumpleases login rmdir uudecode
echo logname rmmod uuencode
ed logread route vconfig
egrep losetup rpm vi
eject lpd rpm2cpio vlock
env lpq rtcwake volname
envdir lpr run-parts wall
envuidgid ls runlevel watch
ether-wake lsattr runsv watchdog
expand lsmod runsvdir wc
expr lspci rx wget
fakeidentd lsusb script which
false lzcat scriptreplay who
fbset lzma sed whoami
fbsplash lzop sendmail xargs
fdflush lzopcat seq xz
fdformat makedevs setarch xzcat
fdisk makemime setconsole yes
fgconsole man setfont zcat
fgrep md5sum setkeycodes zcip
find mdev setlogcons
/data/busybox $ ls
[ findfs mesg setsid
[[ flock microcom setuidgid
acpid fold mkdir sh
addgroup free mkdosfs sha1sum
adduser freeramdisk mke2fs sha256sum
adjtimex fsck mkfifo sha512sum
arp fsck.minix mkfs.ext2 showkey
arping fsync mkfs.minix slattach
ash ftpd mkfs.vfat sleep
awk ftpget mknod smemcap
base64 ftpput mkpasswd softlimit
basename fuser mkswap sort
beep getopt mktemp split
blkid getty modinfo start-stop-daemon
blockdev grep modprobe stat
bootchartd gunzip more strings
brctl gzip mount stty
bunzip2 halt mountpoint su
busybox hd mpstat sulogin
bzcat hdparm mt sum
bzip2 head mv sv
cal hexdump nameif svlogd
cat hostid nbd-client swapoff
catv hostname nc swapon
chat httpd netstat switch_root
chattr hush nice sync
chgrp hwclock nmeter sysctl
chmod id nohup syslogd
chown ifconfig nslookup tac
chpasswd ifdown ntpd tail
chpst ifenslave od tar
chroot ifplugd openvt tcpsvd
chrt ifup passwd tee
chvt inetd patch telnet
cksum init pgrep telnetd
clear insmod pidof test
cmp install ping tftp
comm ionice ping6 tftpd
cp iostat pipe_progress time
cpio ip pivot_root timeout
crond ipaddr pkill top
crontab ipcalc pmap touch
cryptpw ipcrm popmaildir tr
cttyhack ipcs poweroff traceroute
cut iplink printenv traceroute6
date iproute printf true
dc iprule ps tty
dd iptunnel pscan ttysize
deallocvt kbd_mode pwd tunctl
delgroup kill raidautorun udhcpc
deluser killall rdate udhcpd
depmod killall5 rdev udpsvd
devmem klogd readahead umount
df last readlink uname
dhcprelay length readprofile unexpand
diff less realpath uniq
dirname linux32 reboot unix2dos
dmesg linux64 reformime unlzma
dnsd linuxrc renice unlzop
dnsdomainname ln reset unxz
dos2unix loadfont resize unzip
du loadkmap rev uptime
dumpkmap logger rm usleep
dumpleases login rmdir uudecode
echo logname rmmod uuencode
ed logread route vconfig
egrep losetup rpm vi
eject lpd rpm2cpio vlock
env lpq rtcwake volname
envdir lpr run-parts wall
envuidgid ls runlevel watch
ether-wake lsattr runsv watchdog
expand lsmod runsvdir wc
expr lspci rx wget
fakeidentd lsusb script which
false lzcat scriptreplay who
fbset lzma sed whoami
fbsplash lzop sendmail xargs
fdflush lzopcat seq xz
fdformat makedevs setarch xzcat
fdisk makemime setconsole yes
fgconsole man setfont zcat
fgrep md5sum setkeycodes zcip
find mdev setlogcons
adb shellのたびに、↓みたいなコマンド打つのは面倒だけど。
$ PATH=/data/busybox:$PATH; ash