Jump to content

backing up data partition?


Recommended Posts

Guest jmhalder
Posted

I know this is stupid but can I just /dev/*/mtdblock* >> /sdcard/data.img (whatever the partition number is) to backup the data partition? Obviously the Nandroid part of the Clockwork recovery is broken, can I just boot into the clockwork recovery and do some command similar to this? I believe this is the only part of Nandroid thats messed up... Just want to make a good backup before I start flashing all the WIP builds that are starting to come out.

Guest jmhalder
Posted (edited)
I know this is stupid but can I just /dev/*/mtdblock* >> /sdcard/data.img

I meant more like:

dd if=/dev/block/innersd0p6 of=/sdcard/TEST2_Data.img

did this as root over ADB, with the phone running and NOT in the recovery... its doing something, not sure if its crashed or not... I'll try this again in a few from CW Recovery (as long as it has "dd")

*update*

doing a FULL backup, since i'm not sure what is what, doing all possible partitions (that I know of)

mount /dev/block/mmcblk1p1 /sdcard

cd /sdcard

mkdir BACKUP

dd if=/dev/block/innersd0p1 of=/sdcard/BACKUP/innersd0p1.img

dd if=/dev/block/innersd0p5 of=/sdcard/BACKUP/innersd0p5.img

dd if=/dev/block/innersd0p6 of=/sdcard/BACKUP/innersd0p6.img

dd if=/dev/block/mtdblock0 of=/sdcard/BACKUP/mtdblock0.img // I get a I/O error on mtdblock0-7 in CW Recovery, dont know why

dd if=/dev/block/mtdblock1 of=/sdcard/BACKUP/mtdblock1.img

dd if=/dev/block/mtdblock2 of=/sdcard/BACKUP/mtdblock2.img

dd if=/dev/block/mtdblock3 of=/sdcard/BACKUP/mtdblock3.img

dd if=/dev/block/mtdblock4 of=/sdcard/BACKUP/mtdblock4.img

dd if=/dev/block/mtdblock5 of=/sdcard/BACKUP/mtdblock5.img

dd if=/dev/block/mtdblock6 of=/sdcard/BACKUP/mtdblock6.img

dd if=/dev/block/mtdblock7 of=/sdcard/BACKUP/mtdblock7.img


// Figure this cant hurt much, dont know what is what besides innersd0p6=data //

Edited by jmhalder
Guest jmhalder
Posted

reality = somebody needs to fix the Nandroid function of the ClockworkMod for the streak, tired of flashing everything from fastboot, on top of that, it'd be nice to KNOW that we could restore our phones to a usable point while on the go.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.