Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Why do you want to do this? – t0mm13b Jun 27 '12 at 13:38
I want to see if there is a pattern in the free memory space – Marius Jun 27 '12 at 17:52
up vote 4 down vote accepted

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.

share|improve this answer
Thanks, i will try this – Marius Jun 27 '12 at 17:53
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 '12 at 16:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.