Wednesday, June 1, 2016

Attempting to recover memory which then returns a O Byte file size for the mmcblk.

So when I try to scan my /dev/block via "# cat /proc/partitions" I get the correct sizes for all of the mmcblk variants. With the one I am trying to convert (mmcblk0p47) being stated to be at 11403264 Bits or 89.0 KB's.

When I then proceed to type this command in.

Quote:

adb forward tcp:5555 tcp:5555
adb shell
su
/system/bin/busybox nc -l -p 5555 -e /system/bin/busybox dd if=/dev/block/mmcblk0p47
I get this as a result.

Quote:

dd: writing 'standard output': Connection reset by peer
255+0 records in
254+0 records out
130048 bytes (127.0KB) copied, 0.093509 seconds, 1.3MB/s
So this is already showing an incorrect amount copied compared to what was shown via "# cat /proc/partitions".

Then when I finally type in.

Quote:

adb forward tcp:5555 tcp:5555
cd /nexus
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p47.vhd
I get this returned to me.

"0 B 0:00:00 [ 0 B/s] [<=>"

Which as previously shown is wrong as it has been proven that it isn't 0 Bytes in size.

Then when I change the command slightly to .raw.

Quote:

adb forward tcp:5555 tcp:5555
cd /nexus
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p47.raw
I get the exact same result.

I have absolutely no idea what is going on. Is it because I didn't put "su" before cd /nexus? Because this just seems silly how it isn't working.

Thanks.


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

No comments:

Post a Comment