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.
Asked
Active
Viewed 3,201 times
2 Answers
6
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.

Flow
- 18,464
- 16
- 79
- 138
-
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
-
cat
for anymem
device never work. Becausecat
read device sequentially and zero page never mapped in memory. Zero page must be not mapped for getSIGSEG
(Segmenataion fault) on resolvenull
pointer. Thencat
failed read and outputfile
will be empty. – Enyby Mar 26 '17 at 12:47
1
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:

Enyby
- 131
- 3