This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go into Android connected device with "adb shell" | |
# Run mount and find the /data mount block device. You can ls the "byname" ones to find the actual block device | |
# Extract the base block device. E.g | |
# If we find out /data is in /dev/block/mmcblk0p27 then we should use /dev/block/mmcblk0 | |
# Dump the memory | |
# Dump it raw | |
adb shell "su -c 'stty raw; cat /dev/block/mmcblk0'" > /tmp/androind_data_dump.raw |