Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pushing busybox into android emulator

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?

like image 854
Sid Ramadoss Avatar asked Mar 17 '11 07:03

Sid Ramadoss


1 Answers

  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
like image 137
Ahmed Hassan Avatar answered Sep 27 '22 23:09

Ahmed Hassan