I need to be able to make an iso file of the /mnt/sdcard and /data/ directories on both rooted and nonrooted phones(for forensic analysis). Older phones I can mount to my linux machine and run mkisofs and it works perfect. However on newer devices I can't seem to mount the devices.
Android has dd built into the shell so I can use that to create an iso of the directories as well. However besides the sdcard I can't find anywhere that I have write access on the system for non rooted phones.
So my question is where on an android system can I get write access while in the shell other than the sdcard and the data directores. A broader question would be to solve the problem of either mounting the device or making the iso file from outside android's shell.