Is there a way to perform a memdump of an android device?
Since Android uses Linux as kernel /dev/kmem exists. It's a virtual character device file that is an image of the main memory of the computer.
You can simply dump it with

cat /dev/kmem &gt; file


but only as root.