Wiping clears /sdcard directory?

Discussion in 'Samsung Galaxy Nexus' started by mach330, Dec 20, 2011.

  1. mach330

    mach330 Active Member

    Joined:
    Nov 8, 2009
    Messages:
    765
    Likes Received:
    48
    Trophy Points:
    28
    Location:
    The OC
    Ratings:
    +54
    since this phone doesn't have an SD card, but there is a folder called /sdcard. I store all my roms there. But if you wipe to install a new rom, does that directory also get wiped? Or does it treat /sdcard as if it was an external sd card. I just want to know before i wipe.
     
  2. tgyberg

    tgyberg Silver Member

    Joined:
    Dec 18, 2009
    Messages:
    3,941
    Likes Received:
    297
    Trophy Points:
    198
    Location:
    Minneapolis, Minnesota
    Ratings:
    +321
    Current Phone Model:
    Nexus 6, 7, & 9
    I'm curious as well. I have my TiBu backup folder to worry about!
     
  3. smokiedabong

    smokiedabong Member

    Joined:
    Dec 24, 2009
    Messages:
    988
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    Internet
    Ratings:
    +14
    If you wipe from the system, settings>security>wipe it'll wipe everything. If you wipe from ClokworkMod bootloader it'll keep the sdcard folder intact .
     
  4. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,899
    Likes Received:
    54
    Trophy Points:
    93
    Location:
    Florida
    Ratings:
    +56
    I imagine that folder is actually a mounted partition, wiping *shouldn't* wipe the sdcard partition unless designed to do so.
     
  5. 9wire

    9wire Member

    Joined:
    Sep 27, 2010
    Messages:
    333
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    I can see a folder labeled "SD" when looking at them on the PC but can't see it on the phone with astro. Want to make sure I have my pics and music protected.

    Sent from my Galaxy Nexus using DroidForums
     
  6. mach330

    mach330 Active Member

    Joined:
    Nov 8, 2009
    Messages:
    765
    Likes Received:
    48
    Trophy Points:
    28
    Location:
    The OC
    Ratings:
    +54
    that's good. i always wipe from clockwork mod. I saw the partition portion on rom manager so I wasn't sure if it was already done or if I had to do it from there.
     
  7. smokiedabong

    smokiedabong Member

    Joined:
    Dec 24, 2009
    Messages:
    988
    Likes Received:
    14
    Trophy Points:
    18
    Location:
    Internet
    Ratings:
    +14
    Also unlocking the device will wipe all your data, so if you have pictures and things on your phone and plan to unlock the device make a backup cause you'll lose everything.
     
    #7 smokiedabong, Dec 20, 2011
    Last edited by a moderator: Dec 20, 2011
  8. BayouFlyFisher

    BayouFlyFisher Rescue Squad
    Rescue Squad

    Joined:
    Dec 10, 2009
    Messages:
    4,959
    Likes Received:
    17
    Trophy Points:
    168
    Location:
    Baton Rouge, LA
    Ratings:
    +17
    Smoke got it right. If you do a Factory Date Reset from the settings menu on the phone, it will wipe everything - including your sdcard!! If you do the same from Clockwork Recovery your sdcard will be safe.
     
  9. pool_shark

    pool_shark Active Member

    Joined:
    Mar 28, 2010
    Messages:
    1,395
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Ohio
    Ratings:
    +7
    That'so stupid.
     
  10. BayouFlyFisher

    BayouFlyFisher Rescue Squad
    Rescue Squad

    Joined:
    Dec 10, 2009
    Messages:
    4,959
    Likes Received:
    17
    Trophy Points:
    168
    Location:
    Baton Rouge, LA
    Ratings:
    +17
    That's not stupid - Smoke did get it right!!



    Just kidding, yes to have the Factory Data Reset wipe everything seems stupid. I wonder if future incarnations of the OS will change this?
     
  11. chemist109

    chemist109 New Member

    Joined:
    Feb 5, 2010
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    The GNex storage is all one big partition. That's why you can't mount /sdcard as removable storage anymore. They did this to prevent the situation of X gigabytes of free space available for applications while you're completely out of space for data. This also means that they don't have to unmount a partition and possibly prevent some apps from working while you're transferring files. It's explained very well in this Reddit thread by Google engineer Dan Morril:

    Whoa, whoa. ICS doesn't support USB mass storage? : Android
     
  12. prime

    prime Kernel Developer
    Premium Member Developer

    Joined:
    Apr 26, 2010
    Messages:
    1,899
    Likes Received:
    54
    Trophy Points:
    93
    Location:
    Florida
    Ratings:
    +56
    Seems separate partitions work fine in my opinion.

    You don't have to unmount storage to enable mass storage, check the application dual mount SD widget for an example.
     
    #12 prime, Dec 26, 2011
    Last edited: Dec 26, 2011
Search tags for this page

galaxy nexus erase sdcard partition

,

nexus wipe free space