1

My current position:

Nexus 5 Unlocked with TWRP Recovery

I've been wanting to "rom hop" for a bit, but I'd like to have a good, solid foundation to return to in case of catastrophic failure.

If this were just a normal flash drive, on my computer I'd just

sudo dd if=/dev/sdX of=~/my.img

However with a cell phone I'm not sure if it will work the same way.

I saw this answer linked while I typed this up, but it looks like the guy in that question specifically wants the /data partition (though he might not have known it at first).

tl;dr: How do I make a dd image of my android phone from my linux laptop?

4
  • Related: Create a dd image of a Android 4.4.4 for forensics?
    – Izzy
    Commented Nov 23, 2014 at 17:08
  • @Izzy I agree. That's why I linked it in the post
    – Mitch
    Commented Nov 23, 2014 at 19:41
  • Yuck. Missed that. Just checked the ID in the link, which didn't match – as you linked to the answer directly... My bad, apologies. Shall we leave the comment in, or shall we "cleanup all these comments"?
    – Izzy
    Commented Nov 23, 2014 at 19:46
  • BTW: The answer you've linked to matches your situation pretty well. I've just linked to the wrong post of mine – the one I had in mind was this one made by Joshua. Especially, check this link from the comments for a full guide. If that's an acceptable solution to you, I can post a summary as answer.
    – Izzy
    Commented Nov 23, 2014 at 19:51

1 Answer 1

2

You can't access any filesystems over USB (or any other way) with the phone turned off. To make a full backup of user data and the ROM (system image), you need to boot into your custom recovery and use that to make a Nandroid backup.

1
  • 2
    First part is right (with the device turned off, no way). Second part is not the only solution, see my answer here ;)
    – Izzy
    Commented Nov 23, 2014 at 17:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .