Author Topic: [HOW-TO][TOOL] Create ODIN/Heimdall backups  (Read 7136 times)

0 Members and 1 Guest are viewing this topic.

[HOW-TO][TOOL] Create ODIN/Heimdall backups

« on: June 20, 2013, 03:20:46 PM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • geofferey

    Posts: 4
    User Rating: +2/-0
    Offline
    • *
    • Jr. Member
    So I did some research last night on how to backup partitions on an Android device so that they can be restored with ODIN/Heimdall & thought others would like to know. This would be useful for those of you who want to make modifications to the system and share with others.

    Step 1: Find out your mount points

    Code: You are not allowed to view links. Register or Login
    #mount
    /system located at /dev/block/stl9
    /data located at /dev/block/stl10
    /cache located at /dev/block/stl11
    /efs located at /dev/block/stl3

    If someone could tell me the mount points for KERNEL, BOOT, RECOVERY, MODEM, SBL & PARAM it would be very much appreciated. 

    Step 2: Perform backup(s)
    I've created a script for this process and attached it to the bottom of this post. You can use script manager from the market to run it, make sure to run it with SU privileges. This script can also be placed in /system/bin with ES file explorer and ran through the terminal. Just rename it to backup with no extension and give it permissions rwx-rx-rx. Afterwards you can run it through terminal emulator just by typing backup. My script can also be found on pastebin You are not allowed to view links. Register or Login :)
    THESE STEPS ARE NO LONGER NECESSARY
    Code: You are not allowed to view links. Register or Login
    #mkdir /sdcard/NAND
    Code: You are not allowed to view links. Register or Login
    #dd if=/dev/block/stl9 of=/sdcard/NAND/factoryfs.rfs bs=4096
    Code: You are not allowed to view links. Register or Login
    #dd if=/dev/block/stl10 of=/sdcard/NAND/dbdata.rfs bs=4096
    Code: You are not allowed to view links. Register or Login
    #dd if=/dev/block/stl11 of=/sdcard/NAND/cache.rfs bs=4096THESE STEPS ARE NO LONGER NECESSARY

    Screenshot of NAND backup Tool:
    You are not allowed to view links. Register or Login
    You are not allowed to view links. Register or Login by You are not allowed to view links. Register or Login, on Flickr


    Step 3: Create packaged backups

    For Odin simply compress all parts (or needed parts) into a .tar archive

    For Heimdall

    Step 1: Click "Utilities" tab > Under "Download PIT" click "Save As..." >  Name your PIT > Click "Download"
    Step 2: Click "Flash tab" > Under "PIT" click "Browse" & select the PIT file you saved in Step 1
    Step 3: Under "Partitions (Files)" click add & choose partition type from "Partition Name" > Click "Browse" and select corresponding file for partition (ex: for FACTORYFS you would choose factoryfs.rfs) Do this for any partitions you would like to include in Heimdall package.
    Step 4: Click "Create Package" tab & fill out all the information, once filled click "Add Device" then "Build"

    Afterward you can restore with "Load Package" tab
    • Stock
    • SGH-T759
    • Stock

     

    Related Topics

      Subject / Started by Replies Last post
    0 Replies
    1641 Views
    Last post April 03, 2012, 10:51:17 PM
    by android newbie 248
    2 Replies
    6217 Views
    Last post June 13, 2012, 12:20:27 PM
    by vstockwell
    0 Replies
    1821 Views
    Last post September 01, 2012, 11:46:44 AM
    by Motorhead
    12 Replies
    4767 Views
    Last post July 08, 2013, 08:40:38 PM
    by prepaidguy9081
    1 Replies
    913 Views
    Last post September 30, 2016, 01:59:38 AM
    by ARMafia
    6 Replies
    2422 Views
    Last post August 21, 2016, 06:20:59 PM
    by Droidriven