Writing to an SD card
The output file of dd can be written to the device's SD card. This should only be done if the suspect SD card can be removed and replaced with a forensically sterile SD. This ensures that the dd output is not overwriting evidence. Obviously, if you're writing to an SD card, ensure that the SD card is larger than the partition being imaged.
On newer devices, the /sdcard partition is actually a symbolic link to /storage/self/primary. In this case, using dd to copy the /data partition to the SD card won't work, and could corrupt the device because the input file is essentially being written to itself.
Let's look at what else we can find under /storage:
As you can see, we also have the 6264-3264 and emulated subdirectories. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access