It's just a quick tip but it can be usefull. If you would like to dump the memory of the android emulator, you must follow these steps :
- Run the emulator with qemu : emulator -avd android_2_3 -qemu -monitor telnet::4444,server
- Connect to the 4444 port with telnet : telnet localhost 4444
- Stop the virtual machine : stop
- Dump the physical memory (by default it's 96 MB, but you can change the memory with hw.ramSize) : pmemsave 0 100663296 android_2_3_default_physical.dump
- Or the virtual memory : memsave 0 100663296 android_2_3_default_virtual.dump
No comments:
Post a Comment