1. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Creating and Restoring Backups - Complete Guide

Discussion in 'Droid X Rooted Help' started by maderschramm, Nov 27, 2010.

  1. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    FIRST STEP AFTER ROOTING - Creating and Restoring Backups - Complete Guide

    Quick Note:
    Two or three users have had an issue flashing the backup after creating a restore. This seems to be caused by errors in Koush's clockworkmod recovery. That said, using clockworkmod is currently the only way to create a nandroid backup.

    As always (and as stated in the forum guidelines) no one is responsible for your phone but you. This is where you should start in the Android Modding world and if you have problems then remember that any time you mess with /system files it can end in tears.

    [/warning]

    The first thing you should do after you root your phone (as in before doing anything else) is create a backup. This way you have somewhere to return to if you mess something up on your phone.

    I read somewhere once that it's like having 999 lives in Contra. So true. So, I'm going to help you do it.

    There are three tools you'll probably want. One is absolutely necessary, the other two are just handy to have.

    Required:

    Recommended (search app market, both have free versions):

    • Titanium Backup
    • Rom Manager
  2. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    The Bootstrapper

    Koush's Bootstrapper is a tool used to boot into clockworkmod recovery. You can make a custom image of your phone, install roms, etc. all from the recovery menu.


    After downloading the .apk above, install it after browsing to the file on your sdcard.


    In order to do so you must allow 3rd party sources to install apps. Turn this setting on in:

    • Settings -> Applications -> checkmark 'Unknown sources'


    Make sure you're rooted, then load up "Droid X Bootstrapper". Press Bootstrap Recovery (it will prompt for superuser access and then say "success"), then Reboot Recovery (it will also ask for superuser access, then reboot your phone).
    CAP201011270220.jpg


    Your phone will reboot into the clockworkmod recovery area - this is a crucial thing to get used to if you're going to play around with your phone.


    Before you do anything else:

    • Use the volume buttons to navigate to "Backup and Restore"
    • Press the camera button to enter that menu
    • Select "Backup" and press the camera button

    It will go through the backing up process, it may take a minute or two, don't battery pull or anything dumb like that.


    When it's finished creating the backup it will kick you back to the main menu. Highlight "reboot system now" and press the camera button to reboot your phone.


    Video Demonstration:



    You now have a stable backup of your current system saved onto your sdcard. Anything you do - as long as you can get to clockwork recovery - is reversible back to this point.
  3. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    Restore Your Backup

    To see how the backup feature functions you must first change something in your system: e.g. delete something off your home screen, a widget, anything. Do this now (make it noticeable to you - delete your clock or something).


    • Go back to Koush's Boostrapper app
    • Click Boostrap Recovery
    • Click Reboot Recovery


    You're back in clockwork recovery again.

    • Navigate to "Backup and Restore"
    • Select "Restore" - this is where all your system flashes are kept, you should only have one.
    • Navigate to it, press the camera button. It will ask for confirmation
    • Select "Yes - Restore"

    It will begin restoring your phone. It may take a minute. Once again do not do a battery pull. When it's finished you will be on the main menu. Select "reboot system now". It will boot you back into the operating system; however, now you're back to your flashed system file - you'll see the widget you had previously deleted returned to normal!

    Video Demonstration:



    Reboot your phone. It will go right back into your regular interface - no clockwork recovery. The reason for this is in order to boot into the clockworkmod recovery the .apk checks for a minute file that basically tells the phone to redirect to the recovery - on a successful reboot with clockwork (if you have the .apk installed) it will delete this file so you don't boot back into clockwork unless you want to.

    Backups are stored on the sdcard in /clockworkmod/backup - you can name them to anything you want in order to help you remember what backup they are (e.g. clean 2.2 or ssx)
  4. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    Additional Things...

    Additional clockwordmod recovery options:

    • reboot system now
      • pretty self explanitory, reboots your system back into the operating system
    • apply sdcard:update.zip
      • not very useful. applies update.zip from the root of your sdcard.
    • wipe data/factory reset
      • deletes all user data (apps, etc.)
    • wipe cache partition
      • wipes the cache of your phone
    • install zip from sdcard
      • selecting this and then "choose zip from sdcard" opens up a little browser. select any zip on your sdcard and it will install it. useful for romming, themeing, etc.
    • backup and restore
      • see above post
    • mounts and storage
      • careful in here. you can mount your sdcard which is handy, but don't format anything. I formatted /system once and bricked my DX :(
    • advanced
      • ignore this one

    Also, to boot into clockworkmod recovery if you're bootlooping follow these instructions:


    1. Plug usb into wall charger.
    2. Plug phone into usb w/o the battery in the phone.
    3. If it comes up with a battery with a ? in it, unplug and plug it back in.
    4. If step 3 worked, you should be in Clockwork.


    Rom Manager:

    This is a handy tool. You can:

    • Name backups before they're created
    • Rename old backups
    • Restore backups
    All from one menu! You do need the bootstrapper for this to work, however.



    Titanium Backup:

    This app backs up all your apps to your sdcard (and more!). This way if you have to .sbf, install a rom, or restore a backup you can reinstall all your apps quite easily.

    To backup your apps:

    • Menu key
    • Batch
    • Backup all user apps

    To restore your apps:

    • Menu key
    • Batch
    • Restore all apps with data


    Uninstalling The Bootstrapper

    It's a little tricky to completely remove the bootstrapper; that said, follow these foolproof instructions to never see clockworkmod recovery again:

    1. Uninstall Droid X Bootstrapper
    2. Use a root file system explorer (e.g. Root Explorer) to navigate to /system/bin
    3. Delete the file "logwrapper"
    4. Rename the file "logwrapper.bin" to "logwrapper"
    5. Reboot
  5. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    Changelog

    Changelog:

    11/27/2010 02:39a CST - Completed Tutorial
    11/28/2010 10:08p CST - Added Booting Into Clockwork Manually
    01/01/2011 11:33a CST - Added Uninstall Instructions
    01/06/2011 06:32p CST - Mods Reopened Thread and Added Warning
  6. Driodfbdddddddhgvgbf
    Offline

    Driodfbdddddddhgvgbf New Member

    Joined:
    Dec 27, 2010
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    ok after i click koush's bootstrap i click it again and i get this DroidXBootstrap /
    name age history message
    assets/ August 20, 2010 yet another updatezip [koush]
    gen/ August 18, 2010 more fixes. [koush]
    res/ August 18, 2010 icons and cleanups [koush]
    src/ August 18, 2010 icons and cleanups [koush]
    .classpath August 18, 2010 icons and cleanups [koush]
    .gitignore August 18, 2010 empty project [koush]
    .project August 18, 2010 empty project [koush]
    AndroidManifest.xml August 30, 2010 1003 [koush]
    default.properties August 18, 2010 empty project [koush]


    Powered by the Dedicated Servers and
    Cloud Computing of Rackspace HostingĀ®
  7. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
  8. Driodfbdddddddhgvgbf
    Offline

    Driodfbdddddddhgvgbf New Member

    Joined:
    Dec 27, 2010
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
  9. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    I don't understand what you're saying. Click the link in my above post, it will prompt a download. Download the .apk and put it onto your phone. Install it.
  10. Driodfbdddddddhgvgbf
    Offline

    Driodfbdddddddhgvgbf New Member

    Joined:
    Dec 27, 2010
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
  11. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    yours is broken, mine isn't
  12. mikey4226
    Offline

    mikey4226 New Member

    Joined:
    Nov 25, 2010
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    0
    I'm confused as to why you need the bootstrap program to create/restore backups if Titanium Backup can do the same thing. If I brick my phone, can I not use titanium backup to restore?
  13. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    You need Bootstrapper because the bootloader is locked.

    It's a highjacked recovery, not an application like titanium.

    A nandroid (clockworkmod) recovery is different from what you're thinking of. The nandroid backup backs up your /system, your /apps, everything. Titanium can only backup apps.

    If you brick your phone it can be resolved with a nandroid backup. Even if Titanium COULD restore your phone if bricked, you wouldn't be able to boot into the operating system to run it.

    That said, unbricking is actually usually done with an sbf flash (as booting into the clockworkmod recovery is problematic at times) and is sometimes the only way to go about restoring the phone.

    There's a link in my signature for sbf flashing instructions if you're interested. I'd read it if I were you because (no offense) I see a brick in your future.
  14. mikey4226
    Offline

    mikey4226 New Member

    Joined:
    Nov 25, 2010
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    0
    Ahh, that makes sense now. I actually just skimmed through and bookmarked the links in your sig just a little while ago, but after reading so many different threads the past few hours, I started getting everything jumbled up. Thanks for your help.
  15. Tippin
    Offline

    Tippin New Member

    Joined:
    Dec 16, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    EDIT-I made a thread so its not cluttered.
  16. rfranken
    Offline

    rfranken New Member

    Joined:
    Jul 1, 2010
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    0
    my story.
    I'm on a DX and current with OTA.
    I had made a stock backup after rooting with z4 before doing anything else. just as your instructions say to do.
    (i did Not test that backup after making it though.)

    a week or so later i flashed rubix 1.9.5. love it. great rom life is good. a couple days later...being braver now that flashing a rom had such great results, i want to start flashing some themes onto my rubix rom. before i do so i make a new backup of my current setup because its exactly how i want my phone to be if i something goes wrong or i dont like the themes.

    so once thats done i start with the themes and only trying ones that say they are compatible with rubix 1.9.5. first two go well, but don't suit my fancy. on the 3 theme i try....frick. i get caught in a boot cycle. i do a battery pull. i try to flash the theme a couple more times....boot cycle.

    so i figure...forget about it...i've got Restores begging to be used. neither of my restores work. i was wiping cache wiping data. tried both my stock restore and rubix restore....and they get locked up half way through or so. (although the progress bar never actually moves)
    my rubix restore stalls out on this line
    cache_1669375730
    my other restore stalls out on some goofy number somewhat similar to above.
    CRAP.
    now i'm realllly worried.
    neither of my backups work....ugh.
    so next i try flashing the Rubix 1.9.5 rom again as its still on my sd card.
    it works. i'm had factory reset and have to recustomize my phone again...but at least its working. and after a night...i now have my phone exactly how i want it again.
    so i do another backup of my phone in bootstrap...and here i sit today.

    question.....what the bleep went wrong?? why would both of my backups fail me? now i'm quite concerned about when the next OTA comes....what if i want to upgrade to it? and i can't get back to stock? i haven't done any sbf'ing as it sounds scarier than what i have been doing.

    making a backup is pretty straight fwd right? you pretty much just get into bootstrap and make a backup...it says..complete and all that so you assume its good to go. the only thing that doesn't say complete or success or whatever is sd-ext.....is that significant or something i'm not using?
    also isn't doing a restore pretty straight fwd...or do you need to be doing some of the other options in bootstrap before starting your restore?

    thanks for any insight or help or recommendations!
  17. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    don't know why it's not restoring for you. you're using the bootstrapper, not rom manager, right?

    also, on those themed bootloops, a facotry reset may have gotten you into the os.

    the sd-ext error isn't a problem, I think it's just a dx thing. I get it too.

    There isn't any real step you missed for the backup. I don't know what to tell you really. I'd say flash one with rubix, then attempt to recover it right away.

    You could try a factory reset before doing the restore....don't know if it will help or not though.

    Also, with otas, your previous restore won't work I think because the md5checksum won't pass if you're trying to nand between systems as far as I know - could be wrong though.

    good luck
  18. rfranken
    Offline

    rfranken New Member

    Joined:
    Jul 1, 2010
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    0
    thanks, i'll try to restore my rubix backup at some point....but won't for a few days as i finally have things good again. (i stress out when my phone isn't setup just so)

    correct...just bootstrap.....i haven't tried rom manager and don't plan on it unless u think it will help.

    and next time i get stuck i'll try a few things to get it to come back before reverting to a backup or reflashing the rom.
  19. maderschramm
    Offline

    maderschramm New Member

    Joined:
    Jul 2, 2010
    Messages:
    672
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Madison, WI
    yeah man, sorry I'm no help, I didn't write the program after all. I'd uninstall and replace the logwrapper with the backed up one, then reinstall.
  20. rfranken
    Offline

    rfranken New Member

    Joined:
    Jul 1, 2010
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    0
    You lost me on the uninstall...replace logwrapper...reinstall??
Search tags for this page
bricked phone restore with titanium
,
droid x koush bootstrap backup/restore tutorial
,
droidx backup and restore
,
explore clockworkmod backups
,

galaxy s4 bootstrap.image

,
how to restore a backup on droid x
,
how to restore back up droid x in stock recovery
,
open lg sbf file
,
restore titanium backup without prompts
,
superuser android wallpaper
,

use titanium backup restore to bricked device

,
wallpaper android superuser
,
what is the droid x backup file name on the sdcard?