Backup your Droid :D

This is a discussion on Backup your Droid :D within the Droid Hacks forums, part of the Droid Hacking category; After seeing Mangadroid disappear from the market I decided it would be a good idea to do a complete backup. So i made a shell-script ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: Backup your Droid :D

  1. Junior Droid
    modmadmikee's Avatar
    Member #
    11038
    Join Date
    Dec 2009
    Posts
    10
    Phone
    DROID
    #1

    Cool Backup your Droid :D

    After seeing Mangadroid disappear from the market I decided it would be a good idea to do a complete backup. So i made a shell-script to do it for me which backs it up to the sdcard (you need to root your phone, have the "su" command, and have busybox cp installed [see http://forum.xda-developers.com/showthread.php?t=442754 and go to "PART 2 - BUSYBOX"]. (note: If you overuse the sdcard too much it will fail eventually so back that up to your pc)

    (doesn't copy ram-based directories like /dev, doesn't copy symlinks because the fat32 fs of the sdcard doesn't support it) [ if you want a FULL backup (including symbolic links although still not ram-based directories) you will need to dd the file-systems to files on the sdcard, I will post how later]

    here is the script I made:

    Code:
    mkdir /sdcard/droid_backup
    cp -R /sqlite_stmt_journals /sdcard/droid_backup
    cp -R /config /sdcard/droid_backup
    cp -R /cache /sdcard/droid_backup
    cp -R /d /sdcard/droid_backup
    cp -R /system /sdcard/droid_backup
    cp -R /init.sholes.rc /sdcard/droid_backup
    cp -R /init.rc /sdcard/droid_backup
    cp -R /init.goldfish.rc /sdcard/droid_backup
    cp -R /init /sdcard/droid_backup
    cp -R /default.prop /sdcard/droid_backup
    cp -R /data /sdcard/droid_backup
    cp -R /root /sdcard/droid_backup
    Last edited by modmadmikee; 01-17-2010 at 10:19 PM.
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Junior Droid
    modmadmikee's Avatar
    Member #
    11038
    Join Date
    Dec 2009
    Posts
    10
    Phone
    DROID
    #2
    Oh and here is how to run it once you save it to your sdcard as droid_backup.sh:
    1. Open a terminal (or use ASE>Interperters>shell).
    2. Run these commands:
    Code:
    su
    sh "/sdcard/droid_backup.sh"
  4. Junior Droid
    modmadmikee's Avatar
    Member #
    11038
    Join Date
    Dec 2009
    Posts
    10
    Phone
    DROID
    #3
    DD backup script:

    Code:
    mkdir /sdcard/droid_dd_backup/
    dd if=/dev/block/mtdblock4 of=/sdcard/droid_dd_backup/system.img 
    dd if=/dev/block/mtdblock6 of=/sdcard/droid_dd_backup/data.img
    dd if=/dev/block/mtdblock5 of=/sdcard/droid_dd_backup/cache.img
    dd if=/dev/block/mtdblock0 of=/sdcard/droid_dd_backup/config.img
    Note: if you get an I/O error about "/dev/block/mtdblock5" then you (like me) have corrupted your /cache partition (not caused by dd but by over using your phone). To fix it turn the phone off > press and hold x > turn the phone on while still holding x > continue holding x till you get a picture with a warning sign> press volume up while pressing the camera button > a menu should appear and chose the option to clear the cache partition > chose the reboot now option.
    Last edited by modmadmikee; 01-17-2010 at 11:19 PM.
  5. Droid Newbie
    Tyree2's Avatar
    Member #
    39836
    Join Date
    Feb 2010
    Posts
    3
    Phone
    Enter Current Phone Model Here
    #4
    sounds good to me
    icnd certification Training Class Interconnecting Cisco Network Devices. Now you can pass any cisco ccna wireless course fast and easy. With our cisco ccna security training course, you can opt to take it online.
  6. Senior Droid
    Staywide8's Avatar
    Member #
    31005
    Join Date
    Jan 2010
    Posts
    102
    Phone
    Motorola Droid X
    #5
    Quote Originally Posted by Tyree2 View Post
    sounds good to me
    What are you, a troll? Three posts all saying the same thing.
  7. Master Droid
    SGMD1's Avatar
    Member #
    32744
    Join Date
    Jan 2010
    Posts
    517
    Liked
    5 times
    Phone
    Motorola Droid
    #6
    any difference between doing this and using nandroid?
  8. Master Droid
    mjones1052's Avatar
    Member #
    18034
    Join Date
    Dec 2009
    Location
    Philly
    Posts
    343
    Phone
    Moto Droid
    #7
    We have nandroid and the .sbf file that they use to flash the entire phones image. What do we need this for?
  9. Master Droid
    blake2050's Avatar
    Member #
    24519
    Join Date
    Jan 2010
    Posts
    342
    Phone
    moto droid
    #8
    nandroid is good enough. In your script I see the reference to sholes and just thought Id point out that not everyone uses sholes. Plus if you want to make a backup of applications/data then use MyBackup Pro. I use it all the time to restore apps and data to my phone after switching roms.. Very handy.
  10. Junior Droid
    standard101's Avatar
    Member #
    41448
    Join Date
    Feb 2010
    Posts
    15
    Phone
    Droid
    #9
    sorry for the semi-hijack, but this seems like the relevant topic. does the nandroid backup capture all text messages? i recently did a nandroid backup before applying a new ROM but i have no idea how to get my data back, especially my old text messages. is this recoverable from the nandroid backup i created and if so how do i go about restoring only the messages and not the other stuff?

    thanks in advance.
  11. Master Droid
    mrdroid's Avatar
    Member #
    16186
    Join Date
    Dec 2009
    Location
    Pittsburgh, PA
    Posts
    511
    Phone
    Samsung Fascinate
    #10
    No you can't restore individual apps from nandroid. Use something like Titanium or My Backup.

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Proper Backup/Restore For New Droid
    By billyidle in forum Tech Issues, Bug Reports & Suggestions
    Replies: 11
    Last Post: 01-14-2010, 09:13 PM
  2. backup for droid
    By corey in forum Droid Applications
    Replies: 7
    Last Post: 01-12-2010, 08:18 AM
  3. Droid as Backup Camera monitor - Possible?
    By pangler in forum Droid Accessories
    Replies: 1
    Last Post: 01-08-2010, 12:12 PM
  4. Best way to backup your Droid?
    By OpalCat in forum Droid General Discussions
    Replies: 0
    Last Post: 01-06-2010, 10:48 PM
  5. Droid Backup
    By zapper in forum Droid Applications
    Replies: 3
    Last Post: 01-02-2010, 11:36 AM

Search tags for this page

android backup como usar 2 init
,

android backup dd

,
android backup with dd
,

android dd backup

,
android dd backup directory
,
android dd command
,
android dd copy
,
android full backup dd
,

backup android dd

,
backup android phone with dd
,
backup android ram-based files
,
backup android with dd
,

backup your droid

,
complete backup android using dd
,

dd android backup

,
dd android phone backup
,
dd backup android
,
dd droid
,
droid backup assistant
,
init.goldfish.rc
Click on a term to search our site for related topics.

Tags for this Thread