進入Android
#cd system
#cd /system/busybox
#./busybox ash
#export PATH=/system/busybox/:$PATH
Mount SD/MMC card in Android
#mkdir /data/tmp
#mount -t ext3 /dev/block/mmcblk1 /data/tmp
Mount Android img
#sudo mount -t ext3 -o loop system_ext2.img /tmp/android
Extract ramdisk.img
Method 1:
#sudo mount -t ext3 -o loop ramdisk.img /tmp/ramdisk
#cd /tmp/ramdisk
#cp ramdisk.img /tmp
#mkdir qq
#cd qq
#cpio -idv < ../ramdisk.img
Method 2:
#sudo mount -t ext3 -o loop ramdisk.img /tmp/ramdisk
# cd /tmp/rd
#cat /tmp/ramdisk/ramdisk.img | gunzip | cpio -idv
沒有留言:
張貼留言