Question: How to dump an eMMC partition ?
Answer: "dd" command can be used for dumping of an emmc partition.
It is a linux command and can be used on adb shell.
Usage:
dd if=/dev/block/mmcblk0px of=<output file> bs=<block size>
For example:
root@android:/ # dd if=/dev/block/mmcblk0p1 of=/data/test1 bs=512
dd if=/dev/block/mmcblk0p1 of=/data/test1 bs=512
131072+0 records in
131072+0 records out
67108864 bytes transferred in 31.977 secs (2098660 bytes/sec)
In the above example, we are dumping partition1 to a file (test1) created inside /data. Block size is 512 Bytes.
The output file created is a binary file and can be pulled using adb pull. It can be read in a hex editor.
No comments:
Post a Comment