pushing busybox into android emulator

前端 未结 1 1731
南笙
南笙 2021-01-05 23:46

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

1条回答
  •  迷失自我
    2021-01-06 00:26

    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
    

    0 讨论(0)
提交回复
热议问题