Info of busybox http://www.loveandroid.com/viewthread.php?tid=53
Download busybox http://benno.id.au/android/busybox
1.Uncompress ramdisk img.
$cd ./Android/tools/lib/images/ramdisk.img
$ gzip -cd ramdisk.img > ramdisk
$ cpio -iv -F ramdisk
2.Open the emulator
$ ./emulator &
3.Enter into Android shell and remount rootfs .
(Since rootfs is mounted as read only, you need to remount.)
$ ./adb shell
# mount -o remount,rw rootfs /
# mkdir /tmp
4.Push busybox in the tmp folder
$ ./adb push busybox /tmp
5.Open a Android shell command window
$ ./adb shell
# chmod 555 /tmp/busybox
6. Create the tarball for /system and /data:
# /busybox tar system 2. Open the emulator
# ./busybox tar cvf /tmp/data.tar /data
# ./busybox tar cvf /tmp/dev.tar /dev
7.Pull the tarball file from the Google Android
$ ./adb pull /tmp/system.tar .
$ ./adb pull /tmp/data.tar .
$ ./adb pull /tmp/dev.
8.Get boot log of the emulator
# mkdir /tmp
# /system/bin/dumpstate
# exit
$ ./adb pull /tmp/state state.log
$ more state.log

浙公网安备 33010602011771号