I’m trying to root my ICS AVD, and have tried this:
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
It fails with the following error:
failed to copy ‘su’ to ‘/system/xbin/su’: Out of memory
How can I fix this?
This blog explains the problem:
Note that
MYNAMEabove is the name of the emulator. Also note that if you are using snapshots, you will need to start the emulator without it due to the change in hardware configuration. Append-no-snapshot-loadto do so.