nandroidbackup - full NAND backup tool

Status
Not open for further replies.
Search This thread

infernix

Senior Member
Oct 7, 2007
116
64
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.
 
Last edited:
  • Like
Reactions: sol-invictus
K

korndub

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

devsk

Senior Member
Dec 14, 2008
1,989
748
Pretty interesting stuff.Two questions for you:

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

Thanks,
devsk
 

hbguy

Senior Member
Jul 17, 2007
173
0
Huntington Beach
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
 

SplasPood

Member
Nov 1, 2008
25
0
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.
 

bhang

Senior Member
Aug 19, 2006
443
5
megalopolis
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
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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.