1. Download our Official Android App: Forums for Android!

Root SD partition balls-up

Discussion in 'Android Devices' started by kac, Jul 1, 2010.

  1. kac

    kac Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    45
    Joined:
    Dec 27, 2009

    Dec 27, 2009
    45
    1
    16
    Edinburgh
    Hey folks

    I tried to partition my SD card and install VillainRom 11.9.1 using the 'normal installation' method described at this linkcreate an ext partition. Something went wrong and my SD card was pretty much wiped clean. I lost pics and files (which isn't much of a problem) but I'm more concerned about losing nandroid back-ups and everything else that was put by the rooting process like the amon-ra recovery stuff. Can someone let me know what I should have and where I can get it?

    Thanks

    kac
     

    Advertisement

  2. Xyro

    Xyro 4 8 15 16 23 42
    Moderator
    Rank:
     #19
    Points:
    1,413
    Posts:
    12,881
    Joined:
    Dec 1, 2009

    Dec 1, 2009
    12,881
    9,209
    1,413
    UK
    Are you sure it went wrong? Partitioning does always wipe the card.
     
  3. kac

    kac Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    45
    Joined:
    Dec 27, 2009

    Dec 27, 2009
    45
    1
    16
    Edinburgh
    That's what I thought but I can't find the files etc anywhere... Tried looking with Astro and dont know how to access the phone memory.
     
  4. daveybaby

    daveybaby Android Expert
    Rank:
    None
    Points:
    93
    Posts:
    919
    Joined:
    Sep 21, 2009

    Sep 21, 2009
    919
    105
    93
    Software engineer
    UK
    Dude, read xyro's post again, slowly. Your files are gone. Forever. Partitioning a card will wipe it clean.
     
  5. Xyro

    Xyro 4 8 15 16 23 42
    Moderator
    Rank:
     #19
    Points:
    1,413
    Posts:
    12,881
    Joined:
    Dec 1, 2009

    Dec 1, 2009
    12,881
    9,209
    1,413
    UK
    Yeah, unfortunately everything on the card before the partitioning has been deleted.

    The only stuff on there now will be your apps (which you can't actually see via astro/windows) and anything you put back after partitioning.

    Were there any nandroid backups you particularly needed? All you can do now is flash ROMs anew. If you're worried about your original nandroid backup, the one that contains the stock rom, it's also possible to flash those again via the custom recovery menu.
     
  6. kac

    kac Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    45
    Joined:
    Dec 27, 2009

    Dec 27, 2009
    45
    1
    16
    Edinburgh
    Cheers folks

    Luckily I'd backed-up a while back and saved an early nandroid on my laptop. Just lost most recent stuff. Guess it always pays to back-up eh!
     
  7. nydrumboy

    nydrumboy Well-Known Member
    Rank:
    None
    Points:
    16
    Posts:
    90
    Joined:
    Nov 16, 2009

    Nov 16, 2009
    90
    1
    16
    So if you want to partition your SD card, can you copy all the files with the directory structure onto your PC, then partition and copy everything back? Does that mess up the apps?
     
  8. Slug

    Slug Check six!
    Moderator
    Rank:
    None
    Points:
    2,043
    Posts:
    20,551
    Joined:
    Aug 1, 2009

    Aug 1, 2009
    20,551
    16,993
    2,043
    Male
    Mobile phone retail
    Inverness, UK
    Yup, that'll work fine.

    I assume that you haven't already partitioned the card, in which case apps are installed to internal memory and will be unaffected. Once you've partitioned and rebooted, if the ROM supports Apps2SD then all your apps will be moved to the new ext partition automatically during the startup. This can take several minutes if you have a large number of apps installed, so be patient. :)
     
  9. nydrumboy

    nydrumboy Well-Known Member
    Rank:
    None
    Points:
    16
    Posts:
    90
    Joined:
    Nov 16, 2009

    Nov 16, 2009
    90
    1
    16
    Thanks for the quick reply.

    I am already using App2SD, so what are the implications of parking my SD card data and apps to my PC and then moving them back?
     
  10. Xyro

    Xyro 4 8 15 16 23 42
    Moderator
    Rank:
     #19
    Points:
    1,413
    Posts:
    12,881
    Joined:
    Dec 1, 2009

    Dec 1, 2009
    12,881
    9,209
    1,413
    UK
    If you're running apps2sd already then it's a bit more awkward. You can't back up those files to the PC; the apps are stored in a separate partition you don't have direct access to. So if you use apps2sd and you parititon the card, your apps are getting wiped and there's not much you can do about it.

    One option is to backup all your apps using titanium backup and restore them again once you put the card back in. You might not have to wipe the phone, but I've never tried it without a wipe.

    You could also do a nand + ext backup before wiping and then restore it after partitioning. But I've never tried that, so I can't guarantee it works.
     
  11. Slug

    Slug Check six!
    Moderator
    Rank:
    None
    Points:
    2,043
    Posts:
    20,551
    Joined:
    Aug 1, 2009

    Aug 1, 2009
    20,551
    16,993
    2,043
    Male
    Mobile phone retail
    Inverness, UK
    This should work fine. At least it had better, as I'm about to do it myself with the 8GB card that came with my new Z. It's already using the 16GB one that was in the Hero. Stay tuned for news..... :eek:
     
  12. Xyro

    Xyro 4 8 15 16 23 42
    Moderator
    Rank:
     #19
    Points:
    1,413
    Posts:
    12,881
    Joined:
    Dec 1, 2009

    Dec 1, 2009
    12,881
    9,209
    1,413
    UK
    Traitor....
     
  13. Slug

    Slug Check six!
    Moderator
    Rank:
    None
    Points:
    2,043
    Posts:
    20,551
    Joined:
    Aug 1, 2009

    Aug 1, 2009
    20,551
    16,993
    2,043
    Male
    Mobile phone retail
    Inverness, UK
    Harsh, dude..... I'm hurt. :) I've no intention of neglecting my trusty Hero, don't worry.

    On topic, the restoration was indeed successful.

    1. Remove ALL widgets from home screens.
    2. Backup all User Apps with Titanium Backup. Also copy com.keramidas.TitaniumBackup.apk from /data/app to /sdcard
    3. Copy contents of SD card to the PC.
    4. Boot handset into recovery and partition the card as desired.
    5. Wipe cache/dalvik-cache
    6. Copy contents back to SD card
    7. Reboot handset normally and allow it to restart completely.
    8. Reboot again for luck! :)
    9. Install Titanium Backup using the .apk previously backed-up (requires a file manager in /system; Elelinux ships with OI File Manager)
    10. Restore required apps from Titanium Backup archive
     
Tags:

Share This Page

Loading...