`

用busybox扩展android系统的控制台命令

阅读更多
安装:
1 到http://www.billrocks.org/android_libs/bin/下载busybox文件。
2 把busybox上传到android系统,并设置可执行权限。
adb push busybox /system/bin
adb shell
# chmod 655 /system/bin/busybox

3 运行 busybox
查看android linux内核版本
# busybox uname -a
Linux (none) 2.6.23 #5 Thu Dec 27 14:10:07 PST 2007 armv5tejl unknown
启动一个httpd服务器
#busybox httpd
启动后你在模拟器的web浏览器上访问 http://127.0.0.1 即可
执行运行
#busybox
即可查看busybox支持的命令。

busybox支持的命令包括:
      [, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash,
      awk, basename, bunzip2, bzcat, bzip2, cal, cat, catv,
      chattr, chgrp, chmod, chown, chpasswd, chpst, chroot,
      chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond,
      crontab, cryptpw, cut, date, dc, dd, deallocvt, delgroup,
      deluser, df, dhcprelay, diff, dirname, dmesg, dnsd, dos2unix,
      du, dumpkmap, dumpleases, echo, ed, egrep, eject, env,
      envdir, envuidgid, expand, expr, fakeidentd, false, fbset,
      fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk,
      fsck, fsck.minix, ftpget, ftpput, fuser, getopt, getty,
      grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid,
      hostname, httpd, hwclock, id, ifconfig, ifdown, ifup,
      inetd, init, insmod, install, ip, ipaddr, ipcalc, ipcrm,
      ipcs, iplink, iproute, iprule, iptunnel, kbd_mode, kill,
      killall, killall5, klogd, last, length, less, linux32,
      linux64, linuxrc, ln, loadfont, loadkmap, logger, login,
      logname, logread, losetup, ls, lsattr, lsmod, lzmacat,
      makedevs, md5sum, mdev, mesg, microcom, mkdir, mkfifo,
      mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount,
      mountpoint, mt, mv, nameif, nc, netstat, nice, nmeter,
      nohup, nslookup, od, openvt, passwd, patch, pgrep, pidof,
      ping, ping6, pipe_progress, pivot_root, pkill, poweroff,
      printenv, printf, ps, pscan, pwd, raidautorun, rdate,
      readahead, readlink, readprofile, realpath, reboot, renice,
      reset, resize, rm, rmdir, rmmod, route, rpm, rpm2cpio,
      run-parts, runlevel, runsv, runsvdir, rx, sed, seq, setarch,
      setconsole, setkeycodes, setlogcons, setsid, setuidgid,
      sh, sha1sum, slattach, sleep, softlimit, sort, split,
      start-stop-daemon, stat, strings, stty, su, sulogin, sum,
      sv, svlogd, swapoff, swapon, switch_root, sync, sysctl,
      syslogd, tail, tar, tcpsvd, tee, telnet, telnetd, test,
      tftp, time, top, touch, tr, traceroute, true, tty, ttysize,
      udhcpc, udhcpd, udpsvd, umount, uname, uncompress, unexpand,
      uniq, unix2dos, unlzma, unzip, uptime, usleep, uudecode,
      uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget,
      which, who, whoami, xargs, yes, zcat, zcip

分享到:
评论
2 楼 坦克狗 2011-08-01  
必须通过命令来启动模拟器.
emulator -avd 模拟器名字 -partition-size 128
1 楼 yescpu 2010-11-24  
adb push busybox /system/bin   这条语句不行啊


failed to copy ...  to  ... : Read-only file system 


相关推荐

    Busybox for Android v1.20.2

    Busybox for Android v1.20.2 Stable built by Linus Yang [Aug 12, 2012 Update] - Update to 1.20.2 stable [Features] - Tested on Android 2.1, 2.3, 4.0 and 4.1. Should be capable with all Android ...

    busybox_android

    busybox busybox_android 编译好的

    busybox for android(passed in android 2.3)

    busybox for android,编译器要用arm-eabi-4.4.0.tgz。 海天雄的android系统是没有busybox的。 Android并没有采用glibc作为C库,而是采用了Google自己开发的Bionic Libc,它的官方Toolchain也是基于Bionic Libc而并非...

    Busybox,Android工具

    Busybox.apk 可以应用于Android开发的工具

    busybox for android

    android中的busybox工具集。

    android系统使用busybox工具

    android系统自带的工具很难用,现在教你如何将busybox工具打包进android

    Android busybox

    android可用的交叉编译后的busybox。支持70多个linux命令,可以极大扩展android命令集

    busybox 1.20.2 for Android 4.0.4

    busybox v1.20.2 for Android v4.0.4

    busybox 1.20.2 for android

    busybox 1.20.2 for android. steps: adb remount adb push ./busybox-1.20.2-android2 /system/bin/ adb shell busybox ifconfig......

    busybox工具,在android里面使用的

    在android端使用busybox工具,可将附件的busybox复制到手机的system/xbin/目录下,修改权限之后就可以使用busybox,这样可以使用在android上很多linux命令

    Android代码-BusyBox

    This application is an BusyBox installer for Android. BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities ...

    busybox安卓手机的命令工具包

    简单的说BusyBox就好像是个大工具箱,它集成压缩了 Linux 的许多工具和命令,也包含了 Android 系统的自带的shell。 怎么使用该工具?请看我的博文。安卓手机免Root运行busybox的命令(重做带图) ...

    busybox命令系统最新版

    busybox命令系统最新版,方便实用

    BusyBox_命令指南

    详细介绍BusyBox命令的文档,教你熟悉BusyBox各种命令组件的使用

    Android Busybox工具

    Android系统编译好的可用Busybox工具。 BusyBox 是一个集成了三百多个最常用Linux命令和工具的软件...简单的说BusyBox就好像是个大工具箱,它集成压缩了 Linux 的许多工具和命令,也包含了 Android 系统的自带的shell。

    为Android加入busybox工具

    为Android加入busybox工具 为Android加入busybox工具

    Android系统的超级终端命令大全

    Android系统的超级终端命令大全 BusyBox工具集 1 安装和登录命令 2 reboot 2 mount 2 umount 4 exit 4 文件处理命令 4 mkdir 4 grep 5 dd 6 find 6 mv 7 ls 8 diff 9 cmp 9 cat 9 ln 10 系统管理命令 11 df 11 top ...

    busybox1.9.2制作文件系统

    busybox1.9.2制作文件系统 busybox1.9.2制作文件系统 busybox1.9.2制作文件系统

    android中用的busybox

    adb push busybox /system/

Global site tag (gtag.js) - Google Analytics