Reputation: 628
I'm on a rooted device and want to take a complete memory dump of a certain app.
I've tried:
Upvotes: 5
Views: 10549
Reputation: 4192
HPROF is a dump of heap alone, so it is obviously not all memory. As explained here, Android no longer dumps heap on SIGUSR1 (signal 10) in newer versions. Some useful facts on using /proc/[pid]/mem are given here. In short: your "permission denied" may as well be caused by trying to read the file in wrong way.
EDIT: to read anything, other than /proc/self/mem having debug permissions may be extra useful, see this question for some insights.
Upvotes: 0