Information Technology Reference
In-Depth Information
•
Using the dd command
: The
dd
command can be used to create a raw image of
the device. This command helps us to create a bit-by-bit image of the Android
device by copying low-level data.
•
Inserting a new SD card
: Insert a new SD card into the device in order to copy
the image file to this card. Make sure this SD card is wiped and does not contain
any other data.
•
Executing the command
: The file system of an Android device is stored in dif-
ferent locations within the
/dev
partition. A simple mount command on a Sam-
sung Galaxy S3 phone returns the following output:
shell@Android:/ $ mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0
0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p9 /system ext4
ro,noatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p3 /efs ext4
rw,nosuid,nodev,noatime,barrier=1,journal_async_c
ommit,data=ordered 0 0
/dev/block/mmcblk0p8 /cache ext4
rw,nosuid,nodev,noatime,barrier=1,journal_async
_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /data ext4
rw,nosuid,nodev,noatime,barrier=1,journal_async
_commit,data=ordered,noauto_da_alloc,discard 0 0
/sys/kernel/debug /sys/kernel/debug debugfs
rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse
rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other
0 0