[Q] Wiping SDcard with TWRP - Samsung Galaxy Nexus

I'm new with TWRP and I have a daub. When I click Wipe SDcard, there is the external storage and the internal storage. The problem is that I don't know what is the one to wipe only the /sdcard folder.
I know GNex doesn't have External Storage (obviously), but I don't want to wipe something wrong.

internal.

Zepius said:
internal.
Click to expand...
Click to collapse
Thanks.
I just didn't want to mess it up.

Related

Will wiping out device wipe out the content in /sdcard/ ??

Hi,
Sorry for being a noob but i came from android phones with sdcards and this is the first time i had one without a sdcard card slot..
the main question is, if i wipe the device, will the content in the /sdcard folder that i transferred via MTP (photos, music, Nandroid backups, etc) be wipe out as well?
I am asking because I swear the i did a wipe yesterday and ALL the content in the phone is gone, including the things i put in the /sdcard folder...
just need to clarify or maybe i am crazy? Please help..
There is no SDcard. Its all one big partition. Doing a factory reset wipes the entire device. Yes your pictures and videos, too.
lordlad said:
Hi,
Sorry for being a noob but i came from android phones with sdcards and this is the first time i had one without a sdcard card slot..
the main question is, if i wipe the device, will the content in the /sdcard folder that i transferred via MTP (photos, music, Nandroid backups, etc) be wipe out as well?
I am asking because I swear the i did a wipe yesterday and ALL the content in the phone is gone, including the things i put in the /sdcard folder...
just need to clarify or maybe i am crazy? Please help..
Click to expand...
Click to collapse
Yes, the /sdcard folder actually points to /data/media. Doing a factory restore resets the /data partition, including the contents of /data/media. This means everything put in /sdcard will be erased.
That's stupid. Really stupid. I factory reset my phone all the time... Am I supposed to copy everything back over every time... Eh that would suck.
My transformer and G2x had internal memory and a factory reset from clockworkmod didn't touch the internal storage.
Nvbackups would copy everything though.
-sent from temp HTC Rezound waiting for Galaxy Nexus
player911 said:
That's stupid. Really stupid. I factory reset my phone all the time... Am I supposed to copy everything back over every time... Eh that would suck.
My transformer and G2x had internal memory and a factory reset from clockworkmod didn't touch the internal storage.
Nvbackups would copy everything though.
-sent from temp HTC Rezound waiting for Galaxy Nexus
Click to expand...
Click to collapse
Instead of doing a factory reset, you could just delete everything in /data except for /data/media. That will achieve the same thing and leave your media data alone.
Wiping data and cache in CWM do NOT wipe my whole phone what are you guys talking about? The /sdcard is treated and mounted as if it were a physical SD card.
Sent from my Galaxy Nexus using xda premium
joshnichols189 said:
Wiping data and cache in CWM do NOT wipe my whole phone what are you guys talking about? The /sdcard is treated and mounted as if it were a physical SD card.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Hmmmmmmmm.
Sent from my Galaxy Nexus using XDA App
joshnichols189 said:
Wiping data and cache in CWM do NOT wipe my whole phone what are you guys talking about? The /sdcard is treated and mounted as if it were a physical SD card.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yeah if you just wipe your data/cache via CWM it DOES NOT touch anything in your /sd card. However doing a factory reset via the settings menu while booted does!
RTContent said:
Yeah if you just wipe your data/cache via CWM it DOES NOT touch anything in your /sd card. However doing a factory reset via the settings menu while booted does!
Click to expand...
Click to collapse
ok just to be clear, because people (me lol) get confused when people talk about the SD card when talking about the nexus. obviously there isnt one...so im assuming the partition that handles the media is what u refer to as the Sd card...virtual sd card. correct? and if i wipe data/cache via CWM it does NOT wipe my pictures, videos, etc...but if i factory reset under settings while booted...it WILL wipe EVERYTHING...i think i got it now if what i just said was correct...
v2.2v said:
ok just to be clear, because people (me lol) get confused when people talk about the SD card when talking about the nexus. obviously there isnt one...so im assuming the partition that handles the media is what u refer to as the Sd card...virtual sd card. correct? and if i wipe data/cache via CWM it does NOT wipe my pictures, videos, etc...but if i factory reset under settings while booted...it WILL wipe EVERYTHING...i think i got it now if what i just said was correct...
Click to expand...
Click to collapse
You got it
Sent from my Galaxy Nexus using XDA App
joshnichols189 said:
Wiping data and cache in CWM do NOT wipe my whole phone what are you guys talking about? The /sdcard is treated and mounted as if it were a physical SD card.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
+1.. all these people are thinking the phone doesn't have a "sdcard." There is a "sdcard" but its more like internal storage. Think of it as a computer,
- Older phones like the G1 rely on the SDCard fully... so this is like running a OS off a USB drive without internal storage (G1 has a little internal storage.. not enough to say that there is one)
- Phones such as Galaxy S1/S2 have a sdcard AND internal storage. What does this mean? It's like a internal hard drive with the ability for external storage (flash drive, sd cards).
Example: Galaxy S2 has 16GB internal storage and expandable storage.
Phones like the Galaxy Nexus, Nexus S, Galaxy Tab is like.... internal hard drives without the ability for expanded storage (unless you USB OTG a flash drive!). This is just a beyond misconception on the scene and this is what they meant by not having a sdcard.
When you do a factory reset, wipe cache, wipe dalvik... your /sdcard/ IS NOT TOUCHED unless you run a script that says otherwise!
/sdcard/ and all the other folders are treated as two separate partitions!
When you unlock your bootloader and it wipes, that deletes everything, including the sdcard folder.
yea i was about to say this is incorrect information, if you want to wipe everything i believe in the ARHD thread there is a wipe script to wipe everything, even data/media
azr3alazd3ycum said:
yea i was about to say this is incorrect information, if you want to wipe everything i believe in the ARHD thread there is a wipe script to wipe everything, even data/media
Click to expand...
Click to collapse
Super wipe lite from the ARHD thread does not wipe the virtual SD card.
--- This script will erase and format your system and cache partition using EXT4 file-system ---
--- It will also wipe /data partition, but /data/media (virtual SD card) will be untouched ---
Click to expand...
Click to collapse
All your personal files that would be stored in SD Card in other devices which has one, are stored under /data partition, at /data/media/.
The /sdcard/ is just a link to /data/media.
There seems to be special handling in CWM recovery image for Galaxy Nexus when formatting /data partition as it will not touch /data/media. It's nice feature indeed, but you cannot now empty your /data/media content without manual work. But normally you don't even want to do that so it's fine.
It would be much more simple to just forget about the "virtual sd card" or /sdcard, since those are just, well, virtual and makes unnecessary confusion.
So our files are now stored like they would be under C:\Users\media. If you format C-drive, you'll lose your 'personal' files as well from media folder. The "virtual sdcard" /sdcard would be just a similar as Windows has as "Favorite" feature, just a shortcut to a certain folder location.
joshnichols189 said:
Super wipe lite from the ARHD thread does not wipe the virtual SD card.
Click to expand...
Click to collapse
I was referring to the full one. Its not out for the nexus yet. He has it for the transformer however.
Sent from my Galaxy Nexus using XDA App
hey guys,
found this thread searching for an answer, i'll go ahead and ask it right here as it fits the the topic:
what i want to do when installing another rom is to wipe (system) data, cache and Dalvik cache (and i do not want my private files on the sd card to be touched). it is clear to me that CWM does not touch the sdcard partition. BUT: since all the apps are installed onto the sdcard partition they won't be deleted, right?
i want all my apps to be gone and to have a completely fresh new system installed without ANY leftovers from apps or apps/data or anything else that got stored on the sdcard partition while using the previous rom. of course these apps would not be installed anymore when you boot up the new rom, but all their files and folders would still remain on the sdcard partition, right? i'm talking about all those files that the rom generates itself and stores on the sdcard partition. of course i want to keep all my music, downloads, pictures, etc. but i want everything else to be gone.
to my understanding cwm does not touch the sdcard partition which leaves all the app folders and other android-created-files and folders (that were automatically created when using the previous rom) untouched and i would have to manually look for all these files and delete all these remnants which is kind of annoying.
do you know what i mean?
thx and greetz,
v.
vercetti said:
hey guys,
found this thread searching for an answer, i'll go ahead and ask it right here as it fits the the topic:
what i want to do when installing another rom is to wipe (system) data, cache and Dalvik cache (and i do not want my private files on the sd card to be touched). it is clear to me that CWM does not touch the sdcard partition. BUT: since all the apps are installed onto the sdcard partition they won't be deleted, right?
i want all my apps to be gone and to have a completely fresh new system installed without ANY leftovers from apps or apps/data or anything else that got stored on the sdcard partition while using the previous rom. of course these apps would not be installed anymore when you boot up the new rom, but all their files and folders would still remain on the sdcard partition, right? i'm talking about all those files that the rom generates itself and stores on the sdcard partition. of course i want to keep all my music, downloads, pictures, etc. but i want everything else to be gone.
to my understanding cwm does not touch the sdcard partition which leaves all the app folders and other android-created-files and folders (that were automatically created when using the previous rom) untouched and i would have to manually look for all these files and delete all these remnants which is kind of annoying.
do you know what i mean?
thx and greetz,
v.
Click to expand...
Click to collapse
When you clear all your data/cache when installing a new rom it will also wipe apps that have been installed on your sdcard. This does not include removing folders that apps may store additional data on the sdcard. If you want to remove these folders unfortunately you will need to do it manually.
Sent from my Galaxy Nexus
Installed apps do not go in /data/media, but /data/app and /data/data. I dont think /data/cache exists, /data/dalvik-cache does.
Those are only erased if you do a wipe data/factory reset in cwm/twrp, and for the latter wipe dalvik cache.
sent from my i9250

[Q] Strange missing free space?

I am using like 4 gigs on my main sd. It says I only have a gig left. I doubt my system is hitting 5 or 6 gigs. I'm using the Avatar rom. I attached a picture of my storage overview. I also formatted cache. Any ideas?
Batmat rank
You are most like affected by the emulated storage bug. How to fix:
Have a card reader, and MicroSD to SD adapter
Back up all of you data to your computer
Update to the latest CWM or TWRP
Wipe Data \ Factory Reset
Wipe Cache
Wipe Dalvik Cache
Format /system
Copy a ROM and gapps to the external SD with the card reader
Flash ROM
Flash gapps
Profit!
Lemme get other people's opinions before I get drastic.
Get disk usage from the market. Run that and see what it shows you.
Sent from my SGH-I747 using xda premium
corey103 said:
Lemme get other people's opinions before I get drastic.
Click to expand...
Click to collapse
You without a doubt have the emulated storage bug.
MistaBojangles said:
You without a doubt have the emulated storage bug.
Click to expand...
Click to collapse
Agreed. OP, formatting /system and /data will resolve this issue.
Thanks, I'll give it a try and report back. Can I use the same rom?
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
xBeerdroiDx said:
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
Click to expand...
Click to collapse
Band road?
corey103 said:
Band road?
Click to expand...
Click to collapse
Nandroid
xBeerdroiDx said:
Nandroid
Click to expand...
Click to collapse
Ah, got it. I'm starting it now. I'm backing up all my user apps and making a nandroid backup. I'll report results. Thanks.
xBeerdroiDx said:
Yes sir. Wipe data, wipe cache. Wipe dalvik. Format /system. Format /data. Flash rom. Flash gapps. Reboot. All this is done, of course, assuming you have the rom, gapps and perhaps a band road all on a micro sd card. Cheers
Click to expand...
Click to collapse
I wiped the data, /system, cleared the cache/dalvik and such. Flashed both and rebooted. It shows 12 gigs total space, 2.13 available. All my files are still there. Are they supposed to be?
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
xBeerdroiDx said:
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
Click to expand...
Click to collapse
I'll try now. I attempted both. I'll do both and flash again and such.
xBeerdroiDx said:
No. There's wipe data and format /data in cwm. Did you do both? You need to.
Or are you twrp?
Click to expand...
Click to collapse
Fixed! This time, I formated /data, did a user data format, and wiped my /sdcard. It's all good now, thanks!
corey103 said:
Fixed! This time, I formated /data, did a user data format, and wiped my /sdcard. It's all good now, thanks!
Click to expand...
Click to collapse
Sounds like you followed exactly what I posted...
MistaBojangles said:
Sounds like you followed exactly what I posted...
Click to expand...
Click to collapse
Well the thing that did it was wiping the /sdcard. I might have accidentally skipped over that, either way. Thanks for the help! I got everything back to the way it used to (with more space of course).

where're the ROM zips stored?

Hi everyone...
I am looking at buying an LG e975, which is supposed to be 32GB and no SD card, and I was taking a look at forums to see how active is the ROM development.
I have no experience with phones with no SD, usually with SD, you copy the zip files to SD card and you install them in Recovery...
so.. how is this done with no SD card?... actually... for storing docs, pics, music... does the phone have a separate partition of that internal memory designated for personal data? similar to having an SD?... does wiping Data, Cache, formatting system affect the internal memory where you have your files stored?
I am pretty much curious on how the whole ROM flashing, backing up and restoring of Apps (I use Titanium backup) is done with no SD card.
Thank you!.
atmos929 said:
Hi everyone...
I am looking at buying an LG e975, which is supposed to be 32GB and no SD card, and I was taking a look at forums to see how active is the ROM development.
I have no experience with phones with no SD, usually with SD, you copy the zip files to SD card and you install them in Recovery...
so.. how is this done with no SD card?... actually... for storing docs, pics, music... does the phone have a separate partition of that internal memory designated for personal data? similar to having an SD?... does wiping Data, Cache, formatting system affect the internal memory where you have your files stored?
I am pretty much curious on how the whole ROM flashing, backing up and restoring of Apps (I use Titanium backup) is done with no SD card.
Thank you!.
Click to expand...
Click to collapse
This section is not for the e975. It's for the Sprint LG-LS970. Sorry .
Sent from my LG-LS970 using xda app-developers app
Your sdcard is just a directory in your data media folder. It basically works the same as a physical sdcard. EXCEPT you cannot mount it in recovery, so if you wipe it while in recovery you'll have to adb push any files you plan on flashing.
Factory Reset in TWRP wipes /Data, /Cache, and /Dalvik. This does not include your Internal Storage ("sdcard"). It's usually all that is necessary before flashing a new ROM, as a /System wipe is almost always performed by the ROM you're flashing.
However, if you select the Data check box in the Advanced Menu, this will also wipe your Internal Storage ("sdcard"). This is because your sdcard is actually just a /Media folder inside of /Data (meaning /data/media).
Check this out:
http://teamw.in/datamedia
jonahly said:
This section is not for the e975. It's for the Sprint LG-LS970. Sorry .
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
my question wasn't related to a particular model but to how the whole ROM flashing and storing backups is done when no SD slot is available... I chose this forum as I did not find one for e975 and they both have same specs.
spackmanbr said:
Your sdcard is just a directory in your data media folder. It basically works the same as a physical sdcard. EXCEPT you cannot mount it in recovery, so if you wipe it while in recovery you'll have to adb push any files you plan on flashing.
Factory Reset in TWRP wipes /Data, /Cache, and /Dalvik. This does not include your Internal Storage ("sdcard"). It's usually all that is necessary before flashing a new ROM, as a /System wipe is almost always performed by the ROM you're flashing.
However, if you select the Data check box in the Advanced Menu, this will also wipe your Internal Storage ("sdcard"). This is because your sdcard is actually just a /Media folder inside of /Data (meaning /data/media).
Check this out:
http://teamw.in/datamedia
Click to expand...
Click to collapse
aaaaaaannd this is what I was looking for... thank you very much. .
No problem. Glad I could help.

fc's after restore nandroid

Hy
Before i flashed CM10.2 (Android 4.3) i had the original touchwizz (android 4.2) and did a nandroid backup of this.
Now i want back to touchwizz but when i restored. I get a lot of fc. (applications that closes)
Before the restore i wipped data and cache. After a dalvick wipe. What is wrong. Thanks
In my opinion its a wipe problem
I have the same friggin problem and cant find a solution
TRoN_1 said:
I have the same friggin problem and cant find a solution
Click to expand...
Click to collapse
Before restoring wipe system, data, cache and dalvik. Also move all files on internal storage to sdcard or somewhere else. Then wipe internal storage too. Then restore backup and move those files back to internal storage.
sasank360 said:
Before restoring wipe system, data, cache and dalvik. Also move all files on internal storage to sdcard or somewhere else. Then wipe internal storage too. Then restore backup and move those files back to internal storage.
Click to expand...
Click to collapse
Thanks for the quick reply. If I format internal storage, do I need to move files from internal storage to ext sd card? The backup is on ext sd card.
TRoN_1 said:
Thanks for the quick reply. If I format internal storage, do I need to move files from internal storage to ext sd card? The backup is on ext sd card.
Click to expand...
Click to collapse
Before restoring nandroid backup.... I recommend you to move all stuff u have on internal storage to your pc or ext sd card. Then format system, data , cache , dalvik and internal storage. Then restore backup. After it is done move that stuff back onto ur internal storage. Formatting internal storage is not needed everytime.
U just do it this time.
sasank360 said:
Before restoring nandroid backup.... I recommend you to move all stuff u have on internal storage to your pc or ext sd card. Then format system, data , cache , dalvik and internal storage. Then restore backup. After it is done move that stuff back onto ur internal storage. Formatting internal storage is not needed everytime.
U just do it this time.
Click to expand...
Click to collapse
I did an advanced wipe, system, data, cache and dalvik and it never worked properly. This time I included internal storage when wiping and that fixed the restore problem. Thanks for the help.

Wipe device clears internal sdcard

Hi,
Every time that I wipe my device, the internal sdcard is also cleared.
This removes all my WhatsApp conversations and much more.
Any chance to do a wipe without clear the internal sdcard?
Thanks
Move it to sdcard
antawnm26 said:
Move it to sdcard
Click to expand...
Click to collapse
How?

Categories

Resources