将busybox推入android模拟器

Sid*_*oss 5 android adb busybox android-emulator

我已经下载了mips android的源代码并完成了"make"并让模拟器运行.我想将busybox推入模拟器.我已经下载了静态编译的busybox二进制文件.我应该在哪个目录下放置这个以及如何将busybox推入模拟器?

小智 10

  1. 根你的模拟器
  2. 下载这个
  3. 解压然后移动\system\lib\su\system\app\superuser.apk你的adb目录.
  4. 运行adb,然后输入以下内容:
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
Run Code Online (Sandbox Code Playgroud)
  1. 然后从这里下载busybox
  2. 将其移动到您的adb目录
  3. 运行adb然后输入:
adb shell mkdir /data/busybox
adb push busybox /data/busybox
adb shell
su
cd /data/busybox
chmod 775 busybox
./busybox --install
busybox
Run Code Online (Sandbox Code Playgroud)