1. Are you ready for the Galaxy S20? Here is everything we know so far!

Odin fails to backup SD-Ext....Now what?

Discussion in 'Android Devices' started by Apache Thunder, Mar 15, 2012.

  1. Apache Thunder

    Apache Thunder Android Enthusiast
    Thread Starter

    I had made the EXT4 partitions on my 8GB sd card for use with Kouma Kernel and have since installed apps and widgets that are now using space on the card instead of the internal phone storage.

    Now that I've upgraded to a 16GB card, I've repartitioned it accordingly to match the old card (though with larger partition sizes since it's a larger card) and did a backup of it for use with Odin prior to putting in the new card. I have already moved over the data on the fat partition. (I've even tried reformatting the SD-EXT using CWM, but doesn't help either. Seems Odin just ignores SD-EXT as it doesn't seem to be part of my backup files)

    However Odin doesn't seem to be restoring what was in the EXT4 partitions since after I finished and rebooted the phone, most of the apps I've installed no longer show up on my home screen or give me the app is not installed error when I try to run them. I pop the old one back in and things work again. :(


    Any alternatives to cloning data in EXT4 partitions from one SD card to another? Odin doesn't seem to be doing it for me. I don't have a linux system so I can't exactly just open the partitions and copy and past the files over like I could with the fat partition.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. trenchkato

    trenchkato Android Enthusiast

    I may be mistaken but isnt sd-ext mounted as /data which is backed up by odin???
     
  3. Lordvincent 90

    Lordvincent 90 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓

    ClockWorkMod backs up the ext... In recovery, after the partitioning is done, just select and restore your most current backup and it will put everything back into the ext as part of the restore.
     
  4. Koumajutsu

    Koumajutsu Android Expert

    1) Odin is a writing tool, and ti writes only to the internal portions of the phone. not to anything on the SD
    2) My backup utility, which is separate from ODIN reflects this as well, it only backs up the raw images of the internal chips.
    3) where /sd-ext gets mounted at runtime is immaterial because none of this is related to what the phone does at runtime.

    Moving on, if you want to transfer your data structure from card to card, so long as the new partitions have at least enough space to hold the data, the following method should work (I make no guarantee): While your phone is running (not in CWM or Download mode) Open a shell terminal (terminal emulator or adb, doesn't matter)
    Type in "tar -cvf /sdcard/databackup.tar /data/*" (without quotation marks)
    Turn off your phone
    swap to the new card that's partitioned and ready to go
    turn your phone back on
    go back to the terminal app from before
    type in "tar -xvf /sdcard/databackup.tar -C /" (again no quotes and don't forget the ending / )

    Remove your battery to turn the phone off without going through a power down menu or going back to the homescreen
    wait 2-3 seconds
    put the battery back in and power your phone back up
     
  5. Apache Thunder

    Apache Thunder Android Enthusiast
    Thread Starter

    I'm guessing the swap partition I don't have to worry about? I am running the adb command now. Thanks for the help. Will post back on the result.


    EDIT: Not working. I get an error when attempting to restore the data partition with the tar command. I ran the first command and it seemed to work fine. It created the tar file and I moved it to the new card in the same location it placed it. Then run the next command and get the following error:

    "tar: /: not found in archive"

    :(
     
  6. Koumajutsu

    Koumajutsu Android Expert

    did you copy the tar file from the old card over to the new one?
    I figured that would be a no-brainer
    edit: i see you did that, ok. there is a flag I forgot, let me find it. I'll fix the instructions soon

    try:
    tar -xvf /sdcard/databackup.tar -C /
     
  7. Apache Thunder

    Apache Thunder Android Enthusiast
    Thread Starter

    Thanks. Seems to be doing it now. Will post back soon.

    EDIT:

    Looks like it worked. Thanks guys. :D
     

Samsung Galaxy Prevail Forum

The Samsung Galaxy Prevail release date was April 2011. Features and Specs include a 3.2" inch screen, 2MP camera, GB RAM, MSM7627-3 processor, and 1500mAh battery.

April 2011
Release Date
0
Reviews
Loading...
Similar Threads - Odin fails backup
  1. thkl
    Replies:
    1
    Views:
    150
  2. grellocj
    Replies:
    3
    Views:
    511
  3. ThisRandomDude
    Replies:
    6
    Views:
    817
  4. Roy Weil
    Replies:
    0
    Views:
    893
  5. Please Help52
    Replies:
    7
    Views:
    989
  6. dav thorne
    Replies:
    0
    Views:
    932
  7. oneytlam
    Replies:
    3
    Views:
    1,738
  8. AnonymousBallz
    Replies:
    9
    Views:
    1,693
  9. Joysocute1
    Replies:
    2
    Views:
    1,510
  10. Antarmanu71
    Replies:
    2
    Views:
    2,514

Share This Page

Loading...