`
cloudtech
  • 浏览: 4595942 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

busybox tools

 
阅读更多

android 虽然是基于 linux,但是 adb shell 支持的 shell 实在是令人不敢恭维。


推荐一个工具:Busybox


本篇博客:


1. 使用模拟器(android 2.3.3)


2. 安装 busybox 工具,以及简单使用


一、Busy 简介


BusyBox 是一个集成了一百多个最常用 linux 命令和工具的软件。


BusyBox 包含了一些简单的工具,例如 ls、 cat 和 echo 等等.

还包含了一些更大、更复杂的工具,例如 grep、find、mount 以及 telnet.

BusyBox就像是个大工具箱,它集成压缩了 Linux 许多工具和命令,也包含了 Android 系统自带的shell.


更多简介可以自行 google.


官网访问:http://www.busybox.net/


二、启动模拟器


emulator -avd HVGA2.3.3 -parttion-size 256


注意: HVGA2.3.3 是已经存在的模拟器名称。


启动成功之后,执行


adb -e remount


三、下载 busybox


可以官网下载其源码编译,也可以从下面的地址下载已经编译好的文件。


http://download.csdn.net/detail/androidbluetooth/4375934


四、安装 busybox


1. chmod a+x busybox 改变其可执行权限


2. adb -e shell mkdir /data/busybox 新建 busybox 文件夹


3. adb -e push busybox /data/busybox


4. adb -e shell


5. cd /data/busybox


6. ./busybox --install 安装


五、配置 path


export PATH=/data/busybox:$PATH


注意:= 前后没有空格


六、使用 busybox


adb -e shell


如 ls -altr(之前不支持有些参数的)。






find 、grep 等现在都可以使用了。



最后做个提醒


每次进入 adb shell 都需要,export PATH=/data/busybox:$PATH

这样才可以,在任何路径下面使用 shell 命令。



关于如何将 busybox 集成到自己的 android 系统平台中,后续探讨!










分享到:
评论

相关推荐

    tools_busybox

    tools_busybox,Linux免安装

    busybox-mips

    busybox-mips for linux tools android binary ftp mount

    busybox-1.31.1-mips

    嵌入式Linux必备,busybox-1.31.1移植到MIPS32平台,在bcm6838 SoC、MIPS r34Kc测试通过。编译环境:Ubuntu-16.04-LTS,32位,GCC编译器:crosstools-mips-gcc-4.6-linux-3.4-uclibc-0.9.32-binutils-2.21,mips-...

    linux tools busybox

    linux操作系统实用工具,最新版本,解压后通过make;make install安装后使用。

    gnu-mcu-eclipse-windows-build-tools-2.12-20190422-1053-win64.zip

    The GNU MCU Eclipse Build Tools v2.11 package includes the version 4.2.1 of GNU make (built from MSYS2 source files), and version 1.29.0-git of BusyBox, which provides a convenient implementation for ...

    windows-build-tools-xpack:xPack Windows构建工具

    它包括最新版本的GNU make和最新版本的BusyBox ,它为sh / rm / echo提供了方便的实现。 二进制文件可以作为二进制xPacks自动安装,也可以作为便携式归档手动安装。 除了包元数据外,该项目还包括构建脚本。 用户...

    gnu-mcu-eclipse-windows-build-tools-2.12-20190422-1053-win64

    The GNU MCU Eclipse Build Tools v2.12 package includes the version 4.2.1 of GNU make (built from MSYS2 source files), and version 1.31.0-git of BusyBox, which provides a convenient implementation for ...

    Recovery tools.rar

    1.已经取得了root权限的Android手机一部(比如我自己来说,就是Note 2国行单卡版N7100和HTCNew ...2.已经安装了busybox(注意:必须安装在/system/bin目录下,而不是/system/xbin,可以使用“Busybox Pro”进行安装)。

    BusyBox:My Tools and some Software Configure Files. ---一些可以提高工作效率的工具和软件配置

    工具箱 ###矿山的一些工具###

    image-tools:OCI图像工具

    oci-image-tool oci-image-tool是用于处理的工具的集合。 要从源代码构建,映像工具需要Go 1.7.x或更高版本。 安装 ... $ skopeo copy docker://busybox oci:busybox-oci:latest oci-image-tool-c

    embed_tools:嵌入式设备分析所需的工具

    embed_tools 嵌入式设备分析所需的工具 Busybox banaries multiarch 文件名:busybox- [arm,mips] [bigendian,littlendian] gdbserver banaries multiarch 文件名:gdbserver。[mips,arm,i686] [bigendian,...

    Embedded Linux Primer - A Practical, Real-World Approach epub

    Chapter 13 Development Tools Chapter 14 Kernel Debugging Techniques Chapter 15 Debugging Embedded Linux Applications Chapter 16 Porting Linux Chapter 17 Linux and Real Time Appendix A: GNU Public ...

    ZeroMusic-master.zip

    Root Tools里面自带有很多工具,比如BusyBox,它里面集成压缩了很多Linux的工具和命令,这样软件开发者在对.... IDEA的Android开发插件 idea-android idea-android 是在 IDEA 集成开发环境中开发 Android 应用程序...

    XM530_SDK_V1.4.0.tar.gz

    xmsdk开发包 第一章 SDK DEMO板的安装说明 ... |-- tools #PC端工具 | |-- pctools | `-- wifitools #wifi相关工具 `-- uboot #uboot源码 |-- u-boot-2014.04 `-- readme.txt

    NetCat使用精粹

    通常的Linux发行版中都带有NetCat(简称nc),甚至在拯救模式光盘中也由busybox提供了 简版的nc工具。但不同的版本,其参数的使用略有差异。

    vtools:一个集高级重启、应用安装自动点击、CPU调频等多项功能于一体的工具箱

    使用本工具前,请确保你已经ROOT手机,并已安装busybox。你最好是个玩机专家,至少也该会刷机和修复系统。因为应用中部分高级功能可能会影响系统正常启动!!! 在使用【骁龙845/835/821/820】【Exynos8890】处理器...

    Embedded Linux Primer.pdf

    Tracing and Profiling Tools Section 13.5. Binary Utilities Section 13.6. Miscellaneous Binary Utilities Section 13.7. Chapter Summary Chapter 14. Kernel Debugging Techniques Section 14.1. Challenges ...

    Alpinelinux 3.7 aarch64 raspberrypi 3:为raspberrypi3构建的AlpineLinux 3.7 aarch64内核4.10.17-v8 +-开源

    -内核:4.10.17-v8 +-已安装的软件包列表:musl busybox alpine-baselayout openrc alpine-conf libressl2.6-libcrypto libressl2.6-libssl zlib apk-tools busybox-suid busybox-initscripts scanelf musl-utils ...

    15M精简linux虚拟机

    linux2.6.33.7内核+busybox-1.20.2+dropbear-2012.55+open-vm-tools-2011.03.28-387002+中文locale

    Hi3520D_V100R001C01SPC022

    ├─busybox ------------------------------- Storage busybox source code directory ├─tools --------------------------------- Storing tools directory │ ├─board_tools ----------------------- A ...

Global site tag (gtag.js) - Google Analytics