问题
I've downloaded the source for mips android and have done a "make" and got the emulator running. I want to push the busybox into the emulator. I've downloaded the static compiled busybox binary. Under which directory should I place this and what should I do to push the busybox into the emulator?
回答1:
- Root your emulator
- Download this
- Extract it then move
\system\lib\su
and\system\app\superuser.apk
to youradb
directory. - Run adb and then enter the following:
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system adb push su /system/xbin/su adb shell chmod 06755 /system adb shell chmod 06755 /system/xbin/su adb install superuser.apk
- Then download busybox from here
- Move it to your adb directory
- run adb and then enter:
adb shell mkdir /data/busybox adb push busybox /data/busybox adb shell su cd /data/busybox chmod 775 busybox ./busybox --install busybox
来源:https://stackoverflow.com/questions/5336154/pushing-busybox-into-android-emulator