FORUMS
Remove All Ads from XDA

nandroidbackup - full NAND backup tool

107 posts
Thanks Meter: 60
 
By infernix, Senior Member on 8th December 2008, 07:29 AM
Thread Closed Email Thread
This version is outdated, please get the latest version here: http://forum.xda-developers.com/showthread.php?t=459830





Hi,

In light of the fastboot flash method I was thinking of a way to be able to keep my current setup as a backup while i experiment with other images. For that I wrote a script that uses adb to dump the data for the boot, recovery, system and data partitions.

When this script is ran, it will dump these images in your current dir.

Boot into recovery mode (home+power) to use.

Requires RC30 v1.2 recovery.img - due to a bug the RC8 v1.2 there is no adb shell. (this script needs adb shell as root + busybox in recovery mode to work).

PLEASE NOTE: I haven't actually flashed the dumps back yet, I will be trying that tomorrow. Brave souls willing to test that do so at their own risk!


Bug reports or own improvements welcome.
korndub
8th December 2008, 07:12 PM |#2  
Guest
Thanks Meter: 0
 
More
infernix, how do i go about running this script from mac terminal?
15th December 2008, 01:56 AM |#3  
Senior Member
Thanks Meter: 689
 
More
Pretty interesting stuff.Two questions for you:

1. Where is the restore script...:)
2. Did you try restoring the created backup?

Thanks,
devsk
15th December 2008, 07:12 AM |#4  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by korndub

infernix, how do i go about running this script from mac terminal?

On MacOS 10.5 I had to compile md5sum from http://www.microbrew.org/tools/md5sha1sum/ and then modify the script to replace the call for md5sum --check --status with md5sum --check - --status (note the additional - to specify stdin). After that everything seemed to work properly. Haven't tried flashing it back, however.
15th December 2008, 08:31 AM |#5  
Senior Member
Flag Huntington Beach
Thanks Meter: 0
 
More
nand?
what is nand?

i'm thinking this must be huge because its getting a lot of attention from the big dogs such as JF. from reading, is it like the master software so you can completely wipe the phone then in a sense put everything back on or is that too drastic of a guess?

just curious...

hbguy
15th December 2008, 01:19 PM |#6  
Junior Member
Thanks Meter: 0
 
More
http://tinyurl.com/6cb6k8

but in all seriousness NAND is just the flash memory upon which all the system software is installed. This script lets you take a full backup copy of all the various partitions and then, in theory, restore them.
15th December 2008, 04:39 PM |#7  
bhang's Avatar
Senior Member
Flag megalopolis
Thanks Meter: 5
 
More
very cool
This is a big advancement wish I had this when I pooched my market app trying to move the cache, I got it to d/l 1 app using the sd as my cache but nuthin but force close on a few dozen attempts, I dunno what I did but I couldn't get the onboard caches to work so I had to hard reset and d/l 33 apps from the market before I went to bed and I'm still fixing sh1t, this would have made my restore much easier, was suprised when I got it that there was no type of backup other than syncing with goog.

I can't wait to see who has the biggest balls and will try to flash one back.

Thanks, I bet the OTA RC30s will be rerooted pretty soon at thus rate.
This is a great contribution.

(Hey google, why not get some of these xda guys on the payroll, this is where all the news about the G1 gets made, I don't think I have seen any G1 hack yet that didn't have its roots right here at xda-dev)

Bhang


Stupid part is I'm so egocentric I think somebody at google/android is gonna read it...duh
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes