安装busybox
手机要root
查看对应arm
1 2
| adb shell getprop ro.product.cpu.abi > arm64-v8a
|
下载busybox
下载最新版本下,对应的arm
busybox download
修改名称为busybox
busybox-armv6l
push
adb push busybox /sdcard
修改/system 目录可读写
1 2 3
| adb shell su mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
|
1 2 3 4 5 6 7 8 9 10 11 12
| adb shell su > su mount -o rw,remount -t yaffs2 /system > mount -o rw,remount -t yaffs2 /system mount -o rw,remount -t yaffs2 /system > mount -o rw,remount -t yaffs2 /system mount -o rw,remount -t yaffs2 /system > mount -0 rw,remount -t yaffs2 /system
adb remount >remount succeeded
|
copy
1 2 3 4 5 6 7
| adb shell cp /sdcard/busybox /system/xbin cd /system/xbin chmod 755 busybox
cd /system/xbin busybox --install .
|
Tips
如果没有cp命令
1 2 3 4 5 6
| 1|root@android:/ # cp /sdcard/busybox /system/xbin sh: cp: not found
mv /sdcard/busybox /system/bin
cat /sdcard/busybox > /system/bin/busybox
|
ERROR
如果执行mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /syste
出现mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system mount: Permission denied
这个问题就新开一个命令行窗口执行adb remount
在执行mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
就可以了
LINKS
在Android上安装BusyBox
android安装busybox
Author:
tea9
Permalink:
http://tea9.github.io/post/1663513283.html
License:
Copyright (c) 2017-2025 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?