Monday, February 29, 2016

Mounting an image made with adb pull ...

I had a S3 i9300 and I want to check if I can recover some files from data partition
after a hard reset.
I have been able to get an image of data partition with
Code:

adb pull /dev/block/mmcblk0p12 mmcblk0p12.img
My problem is to mount this image on linux.

I tried of course:
Code:

mount -o loop,ro -t auto mmcblk0p12.img ./galaxys3/
but I get ..

mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error

I tried to understand what was going on with fdisk ...
Code:

# fdisk -l mmcblk0p12.img
Disk mmcblk0p12.img: 11.5 GiB, 12381585408 bytes, 24182784 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

and it doesn't seem to find a partition and give the offset.

anyway android mount that block like that ...
Code:

/dev/block/mmcblk0p12 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
any suggestions?

TIA.


from xda-developers http://ift.tt/1LPLbWx
via IFTTT

No comments:

Post a Comment