pushing busybox into android emulator

折月煮酒 提交于 2019-12-19 03:25:33

问题


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:


  1. Root your emulator
  2. Download this
  3. Extract it then move \system\lib\su and \system\app\superuser.apk to your adb directory.
  4. 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
  1. Then download busybox from here
  2. Move it to your adb directory
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!