Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,360 Members 49,286 Now Online
XDA Developers Android and Mobile Development Forum

dd commands not working

Tip us?
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2013
Default dd commands not working

So I did something stupid without researching it.

I have a factory replacement nexus 5. I though I could just make a backup of my old phone and flash it onto my new one. So I did that. However, I ticked the box for EFS backup, and then I restored my old EFS onto my new phone, which has essentially bricked it.

Before I did that, though, I created a backup of the new phone including its EFS. So as you may have guessed, I'm currently busting my ass trying to recover the data that has been erased. I'm attempting to use this guide

I understand most of what it's attempting to do. I've checked the location of busybox, I've entered these commands hundreds of times now. My issue seems to be dd commands are not working.

For instance,
adb shell
dd if=/dev/block/mmcblk0p10 of=/dev/null
returns nothing. I have a cygwin terminal open right now that has been sitting after my last input for 20 minutes. It appears that no dd commands work at all, and I am not sure what the issue could be. Does anyone have any suggestions?
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2013
I figured it out. My issue with this method was a combination of a non-compatible version of netcat, and an incorrect path to the block/partition which I was trying to mirror.

The correct path to /userdata/ for Nexus 5 devices is /dev/block/platform/msm_sdcc.1/mmcblk0p28 in case anyone in the future has the same issue.
rootSU's Avatar
Senior Member
Thanks Meter 11,446
Posts: 22,484
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Yeah careful with this stuff. You were lucky I guess that 10 was rpmb and you couldn't do anything with it.

I've listed all "partitions" here:

Sent from my Nexus 5 using Tapatalk
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!

**Sticky Roll-up: All Guides snd Info Threads linked here**

Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes