Is there a way to perform a memdump of an android device? I need the content of the entire memory (RAM). Maybe there is a shell command (meminfo will not do because it displays only memory information, not the content of RAM) or maybe somebody has a program which does this.

  • Why do you want to do this?
    – t0mm13b
    Jun 27, 2012 at 13:38
  • I want to see if there is a pattern in the free memory space
    – Marius
    Jun 27, 2012 at 17:52

2 Answers 2


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 > file

but only as root.

  • thanks, this is what I wanted, also there is a physical memory file (/dev/mem) I will look to see what is the difference, but now I know where to look at.
    – Marius
    Jun 28, 2012 at 16:58
  • cat for any mem device never work. Because cat read device sequentially and zero page never mapped in memory. Zero page must be not mapped for get SIGSEG (Segmenataion fault) on resolve null pointer. Then cat failed read and output file will be empty.
    – Enyby
    Mar 26, 2017 at 12:47

You can use GameGuardian for this. Need root.

Memory editor tab - menu - memory dump - select range and folder - press ok - wait for toast "Dump end".

Here some video examples how to do this:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .