Easy pre-root backup with adb

Discussion in 'Thunderbolt Hacks' started by twistedumbrella, Aug 2, 2011.

  1. twistedumbrella
    Offline

    twistedumbrella New Member

    Joined:
    Mar 5, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    0
    Nandroid is just a script. Rooting is another topic. This is to allow you to backup your data before you root. It's simple, fast and easy.

    Download http://www.multiupload.com/K4BZ22SIT5

    Clear the data for Google apps, and system components such as Browser, to prevent force closes during restore.
    If you skip this step, at the end of the guide clear dalvik, fix permissions, and clear the data for the items that keep closing.

    adb push psneuter /data/local/psneuter
    adb shell chmod 777 /data/local/psneuter
    adb shell /data/local/psneuter
    adb shell dd if=/dev/block/mmcblk0p26 of=/sdcard/data.img

    Your data is now backed up. Sdcard apps will still be on your sdcard, and cache and dalvik need to be cleared anyway. System apps will be replaced and the settings for them is already included in data. In short, you only really need data.

    Root your device. After you have rooted, updated, and are on the stock rooted build (before a custom rom for best compatibility), restore your data.

    adb shell dd if=/sdcard/data.img of=/dev/block/mmcblk0p26

    Now do a titanium backup if you plan to install a ROM that wipes data, install whatever ROM you planned, and restore titanium (if needed).

    And yes, the ScriptFusion AutoBot already has this capability built in. When it detects you don't have root, it will perform the backup, and when you return after rooting it will restore it.

    Sent from my ADR6400L using Tapatalk
  2. exmeaguy
    Offline

    exmeaguy New Member

    Joined:
    Mar 26, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Cranberry Twp, PA
    What do you do with the download and where do you put it?
  3. twistedumbrella
    Offline

    twistedumbrella New Member

    Joined:
    Mar 5, 2010
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    0
    Unzip it to wherever you feel comfortable doing the adb push from.

    Sent from my ADR6400L using Tapatalk
Search tags for this page

adb backup

,
adb backup rom
,
android+adb+contacts backup
,
backup android before root
,
backup android rom using adb
,
backup rom using adb
,
backup using adb
,
dd android backup
,

how to backup htc thunderbolt before rooting

,
how to backup rom using adb
,
how to easily root with adb
,
make android dd no root
,
nandroid backup adb
,
restore titanium backup with adb
,
using adb