System wipe - Samsung Galaxy Nexus

Any way to format the internal storage via CWM?
Sent from my Galaxy Nexus using XDA

Not that i know, but you could just lock and unlock your bootloader to wipe everything.
Swyped on my CM9 Galaxy Nexus

AZ FadeOut said:
Any way to format the internal storage via CWM?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Flash stock recovery.
Factory reset device.
Sent from the future.

AZ FadeOut said:
Any way to format the internal storage via CWM?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
You can. You just need a script that will do it. If you can't find one, I can make one up for you tomorrow.
The other suggestions made will certainly erase you data/settings, but not the rom.
Sent from my Galaxy Nexus using Tapatalk 2

But formatting /system will erase the rom, but not the internal storage?
Sent from my Galaxy Nexus using XDA

AZ FadeOut said:
But formatting /system will erase the rom, but not the internal storage?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
What do you want to erase? Just the data partition? You can easily do that either by locking and unlocking your bootloader or by doing a factory reset, as was mentioned. If you want to wipe your device, you have to do that with fastboot erase or via a script in CWM.
Sent from my Galaxy Nexus using Tapatalk 2

Basically I just want to make sure that by erasing my system I won't wipe my storage
Sent from my Galaxy Nexus using XDA

AZ FadeOut said:
Basically I just want to make sure that by erasing my system I won't wipe my storage
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Your rom is on the system partition (along with anything you install on the system partition via root). Your apps and settings and sdcard are stored on the userdata partition. Unlocking the bootloader erases the entire userdata partition. A factory rest in CWM erases the userdata partition EXCLUDING sdcard. A factory reset in the stock recovery erases the entire userdata partition.
Sent from my Galaxy Nexus using Tapatalk 2

this worked for me:
-in recovery mount data and system
in adb shell type:
cd /sdcard
rm -rf directorynamehere
reboot

Related

Wiping storage partition.

Will preforming a wipe delete the phone storage partition?
Sent from my Galaxy Nexus using XDA App

Non deleteable files?

Is there a way to make a folder or does a folder already exist that will not be deleted when you wipe data to flash a new rom? I want to flash a new rom but do not want to lose my music and pictures and have to re-transfer them from my computer. Any help is appreciated
Sent from my Galaxy Nexus using XDA
happymfeet said:
Is there a way to make a folder or does a folder already exist that will not be deleted when you wipe data to flash a new rom? I want to flash a new rom but do not want to lose my music and pictures and have to re-transfer them from my computer. Any help is appreciated
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Flashing a rom doesn't wipe your sdcard.
Unlocking the bootloader wipes your sdcard.
Just flash the rom, you will lose apps and user data but pictures, music etc. That are on the sdcard are safe.
nodstuff said:
Flashing a rom doesn't wipe your sdcard.
Unlocking the bootloader wipes your sdcard.
Just flash the rom, you will lose apps and user data but pictures, music etc. That are on the sdcard are safe.
Click to expand...
Click to collapse
I'm assuming its a virtual SD card of some sort?
Sent from my Galaxy Nexus using XDA
Ya pretty much.
Its the sdcard partition of the total 16/32gb total.
The rest is split into recovery, system, boot, cache and data.
Flashing a rom overwrites those, not the sdcard partition.
Just make sure to do a full wipe in cwm before you flash a rom.
Yeah, it's not really an SD card but a special partition of the internal storage that gets treated like an SD card. If you have the stock recovery, a factory reset will erase the SD-like partition; ClockworkMod Recovery will not erase it.
If you do unlock your bootloader (via the fastboot oem unlock route), everything on your phone will be wiped - SD card data included - but that is really the only time you have to worry about losing SD card data.
Thanks for all your answers I understand now. Next up flashing AOKP!
Sent from my Galaxy Nexus using XDA
nodstuff said:
[snip]
Flashing a rom overwrites those, not the sdcard partition.
Click to expand...
Click to collapse
codesplice said:
Yeah, it's not really an SD card but a special partition of the internal storage that gets treated like an SD card. If you have the stock recovery, a factory reset will erase the SD-like partition; ClockworkMod Recovery will not erase it.
If you do unlock your bootloader (via the fastboot oem unlock route), everything on your phone will be wiped - SD card data included - but that is really the only time you have to worry about losing SD card data.
Click to expand...
Click to collapse
You guys forgot to mention that /sdcard is actually just a symlink to /data/media, so if you wipe or flash the data partition in fastboot (or flash a stock ROM) it will erase /sdcard.
Sent from my Galaxy Nexus using Tapatalk

Wipe Data - SDcard space too?

Hey all, I'm new to the Galaxy Nexus. When you wipe data does that wipe your internal storage as well? As in the mnt/SDcard partition.
Sent from my Galaxy Nexus using xda app-developers app
No. Your content is in data/media
-Brought to you by Marino's Galaxy Nexus-
In a custom recovery, no. I believe stock recovery will wipe everything.
3rdstring said:
In a custom recovery, no. I believe stock recovery will wipe everything.
Click to expand...
Click to collapse
Yup if you're on stock recovery, it'll delete everything except things like ROM and kernel
Swyped on my Galaxy Nexus running AOKP with Franco Kernel
gmap516 said:
Hey all, I'm new to the Galaxy Nexus. When you wipe data does that wipe your internal storage as well? As in the mnt/SDcard partition.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Just to add some detail:
When you wipe data (or factory reset) using a stock recovery, it wipes the entire userdata partition (which is mounted as /data in Android). The userdata partition is where all your data is stored included anything stored in /sdcard. [It does not touch any other partition. So if you have a custom ROM, doing a factory reset will not magically restore the stock ROM. Same thing for the other partitions.]
When you wipe data (factory reset) using a custom recovery, it deletes all files in /data except the files in /data/media (which is mounted as /sdcard in Android).

Formatting system

Noob question... What will happen when I format system. What will I lose and keep. Will my internal storage get lost? And will I have to push new rom back to phone via usb transfer. I do understand wiping data, both caches, and system, but what does formatting system do.?
Sent from my Galaxy Nexus using xda app-developers app
Your ROM is installed on /system. If you wipe system you wipe the os. It doesn't touch the data or internal storage.
Sent from my Galaxy Nexus
Yes,you have to push new rom back to phone via usb transfer!
MrLifeguard said:
Yes,you have to push new rom back to phone via usb transfer!
Click to expand...
Click to collapse
no. no you dont.
wiping /system just erases the /system partition.
Thanx guys... I think I'm good. System wipe/format system will not erase data. But a data format wipe you lose everything. That's what I thought but wanted to double check so I didn't lose important data.
Sent from my Galaxy Nexus using xda app-developers app

Wipe data

Before this i am using phone with micro sd extrrnal, so when i full wipe, i know sd not wiped.
So, in gnex, it use internal, so if want to flash new rom, what i need to avoid so data in internal not wiped? Does full wipe erase sd also?
Sent from my Galaxy Nexus using xda app-developers app
Both "Wipe data/cache" in CWM and "Wipe data" in TWRP excludes internal media (/data/media), so you should be good to go.
CWM is verified on my Nex4 and TWRP is verified on GNex.
Sent from Google Nexus 4 @ CM11
so in cwm, factory reset still not wipe my storage?
vocyber said:
so in cwm, factory reset still not wipe my storage?
Click to expand...
Click to collapse
factory reset will only wipe system and cash partitions.
handofdark said:
factory reset will only wipe system and cash partitions.
Click to expand...
Click to collapse
And the data partition minus the media directory (SD card)
Sent from my Nexus 5
yeah my bad i knew i was missing something

Categories

Resources