Will wiping System in TWRP delete contents of sdcard? - Samsung Galaxy Nexus

When I'm flashing a new ROM, I like to install it as cleanly as possible. Usually a factory reset along with wiping cache and dalvik. Doing this, I know my sdcard contents will remain safe. Does wiping system in TWRP wipe out my sdcard as well? If not, I'll start doing that as well. If it does, I guess I won't.

no, only /system.
only time your SDCARD is wiped is if you choose format /sdcard.

No. Wiping system wipes /system. Wiping internal storage wipes the internal storage. The two don't cross at all.

Thanks a lot, both of you.
For giggles, what does wiping system do? Obviously wipes system, but I mean in terms of flashing a new ROM. How is it beneficial, I guess is what I'm asking.

blackplague1347 said:
Thanks a lot, both of you.
For giggles, what does wiping system do? Obviously wipes system, but I mean in terms of flashing a new ROM. How is it beneficial, I guess is what I'm asking.
Click to expand...
Click to collapse
it makes the /system partition is clean so there is no remnants of the previous rom.
most rom installs include a script that wipe it, so generally its not needed.

You will also lose the contents of /sdcard when you lock/unlock your bootloader. (root)

I do literally everything except wipe external SD.
Even Format Data.

jbbosu said:
I do literally everything except wipe external SD.
Even Format Data.
Click to expand...
Click to collapse
why did you bump a 5 month old thread?

Zepius said:
why did you bump a 5 month old thread?
Click to expand...
Click to collapse
For the record, his bump on the 5 month old thread helped me, over two years later.
Thanks everyone.

Thanks
It is Still helping people like me...Thnx...Keep Bumping

Same
Can confirm... Keep bumping

Hey Guys

Yep

Very useful. One up from me as well. IS TWRP only way to do FULL WIPE or are there alternatives? For example, can this be achieved without being rooted?

bump LOL does wiping the ext_sd actually wipe the data or is it still accessible via linux? im hoping that it only deletes the data table

nvm, it only deletes the data table. Data recovered, crisis averted

I know this is now 4 months old, so using twrp system wipe- wipes out the current android firmware too or no?

If you just want to delete everything from Android SD card , you'd better use eraser tool to do ,
Once you use it to erase your Android SD card , all of the data save on the SD card can be completely deleted ,

eidairaman1 said:
I know this is now 4 months old, so using twrp system wipe- wipes out the current android firmware too or no?
Click to expand...
Click to collapse
I also need that answer

Bump, thanks for explain

Related

[Q] Will Loading a rom wipe data?

Sorry for the noob question, but, yeah will loading a rom wipe my phone?
Also I was wondering if any good overclocking/undervolting roms have been realeased yet for the GNex?
slide83 said:
Sorry for the noob question, but, yeah will loading a rom wipe my phone?
Also I was wondering if any good overclocking/undervolting roms have been realeased yet for the GNex?
Click to expand...
Click to collapse
In short, yes, it will. Merely unlocking your bootloader, which is step one if you're on a stock GNex, will cause your phone to be wiped automatically. After that, it's possible to install ROMs without wiping, but it's a bad idea since there's no guarantee that roms A and B are 100% compatible with each other. Every ROM I've seen recommends wiping when you first install it (many will let you upgrade to a newer version of the same ROM without wiping).
I unlocked the bootloader day 1.
on a related note: when you wipe to install a new ROM, will it wipe the entire phone storage (like when you unlocked the bootloader)? when I unlocked my bootloader it wiped everything off including my music, pics, ringtones, etc.... if that happens everytime than i might just stay away from installing new rooms and stay stock w/ root
Sent from my Galaxy Nexus using Tapatalk
shock2sys said:
on a related note: when you wipe to install a new ROM, will it wipe the entire phone storage (like when you unlocked the bootloader)? when I unlocked my bootloader it wiped everything off including my music, pics, ringtones, etc.... if that happens everytime than i might just stay away from installing new rooms and stay stock w/ root
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
When you unlock your bootloader, it will wipe your /sdcard/, but when you "wipe data/factory reset" it will leave the contents of the /sdcard/. So you should be able to keep your images and such, but you'll have to reinstall your apps. TitaniumBackup seems to work well enough for this. It backs up to your /sdcard/ but I still copy it to my computer just to be safe.
Stadsport said:
When you unlock your bootloader, it will wipe your /sdcard/, but when you "wipe data/factory reset" it will leave the contents of the /sdcard/. So you should be able to keep your images and such, but you'll have to reinstall your apps. TitaniumBackup seems to work well enough for this. It backs up to your /sdcard/ but I still copy it to my computer just to be safe.
Click to expand...
Click to collapse
On my N1, when moving from one rom to another, I wipe Data, Cache, and Dalvik. Would I do the same on my GN and if so would the virtual sd card be left untouched?
If so, that would be great!
NPuter said:
On my N1, when moving from one rom to another, I wipe Data, Cache, and Dalvik. Would I do the same on my GN and if so would the virtual sd card be left untouched?
If so, that would be great!
Click to expand...
Click to collapse
Yes.....do the same
Sent from my Galaxy Nexus using XDA App
NPuter said:
On my N1, when moving from one rom to another, I wipe Data, Cache, and Dalvik. Would I do the same on my GN and if so would the virtual sd card be left untouched?
If so, that would be great!
Click to expand...
Click to collapse
I haven't wiped cache or dalvik (dunno if I was supposed to, but so far it doesn't seem to have created any problems) but I believe that doing the above will leave your virtual sdcard untouched. After all, it has to be able to read the new ROM from somewhere, right?

Backing up with CWM ---> What does it back up?

I'm new to the GNex. All of my previous phones had SD cards so whenever I flashed new ROMs on it, my music and photos would be preserved.
So if I were to run backup on CWM, does it backup the entire partition or does it just back up the system files? I usually flash/update every few weeks and I'm just prepping myself so I don't accidentally wipe my pics and music....
Thanks!
it backs up everything except the symlink /sdcard
kl323 said:
I'm new to the GNex. All of my previous phones had SD cards so whenever I flashed new ROMs on it, my music and photos would be preserved.
So if I were to run backup on CWM, does it backup the entire partition or does it just back up the system files? I usually flash/update every few weeks and I'm just prepping myself so I don't accidentally wipe my pics and music....
Thanks!
Click to expand...
Click to collapse
Doing a backup with cwm will not save sd
Using cwm to wipe data/factory reset will not wipe sd
Sent from my GNex {GSM} T-Mobile
Saves everything associated with your ROM. Not your personal SDcard data.
Thanks for the replies.. Still a bit confused.
After creating my nandroid backup and then hitting wipe data/factory reset, all of my media files would be deleted. Once I install the new ROM, those MP3 and pics would no longer be there, correct?
If so, how do guys deal with this? Do you just end up resyncing everything once the new ROM is installeD? It seems like a hassle if one's media library is huge...
No. Flashing between new roms does not touch the pics and music on the SD card. So you don't lose anything when you flash roms with Cwm.
RogerPodacter said:
No. Flashing between new roms does not touch the pics and music on the SD card. So you don't lose anything when you flash roms with Cwm.
Click to expand...
Click to collapse
I thought that's only true if you flash without doing "wipe data/factory reset."
kl323 said:
I thought that's only true if you flash without doing "wipe data/factory reset."
Click to expand...
Click to collapse
No don't believe so. Wipe with Cwm should keep the SD card in tact. I've done it for a few flashes now...
THanks! I'll give it a whirl!
I would HIGHLY recommend that you back up your SD (Internal), just like you would back up anything else you care about and don't have a secure copy of!
I'm a noob but I flashed AOKP Milestone 4 today and prob'ly did an extra wipe somewhere but my SD was blank, thankfully I had all 2,000 songs and thousands of images backed up. (in several places).
BTW, I love the ROM

True, complete, and utterly wiped

Never had an issue doing this on the SGII, but having some difficulty doing this on the SGIII...
So I wanted to start off fresh and completely wiped when going from Release 3 (Special FiveOhFox Edition) to the current Release 4 Update 1.
Via recovery, I cleared Cache partition and Dalvik. I then flashed the Darkside Superwipe that was still on my SD card from my SGII, then
Proceeded to flash rom. Upon initial setup, after Google account, there is a screen where you enter your name. To my surprise, my name was
already filled in, so system was not fully wiped. What am I omitting to do?
p.s. I am getting lag on screen wake, sometimes a 3 second lag after button is pressed. I believe a full wipe will cure this...I hope
Any info/link appreciated.
Sorry for the n00b question
Android_Guy said:
Never had an issue doing this on the SGII, but having some difficulty doing this on the SGIII...
So I wanted to start off fresh and completely wiped when going from Release 3 (Special FiveOhFox Edition) to the current Release 4 Update 1.
Via recovery, I cleared Cache partition and Dalvik. I then flashed the Darkside Superwipe that was still on my SD card from my SGII, then
Proceeded to flash rom. Upon initial setup, after Google account, there is a screen where you enter your name. To my surprise, my name was
already filled in, so system was not fully wiped. What am I omitting to do?
p.s. I am getting lag on screen wake, sometimes a 3 second lag after button is pressed. I believe a full wipe will cure this...I hope
Any info/link appreciated.
Sorry for the n00b question
Click to expand...
Click to collapse
You need to do a data wipe, and possibly also a system wipe. But definitely the data partition. Wiping cache and dalvik don't actually affect any of the data on your device.
gbzbar said:
You need to do a data wipe, and possibly also a system wipe. But definitely the data partition. Wiping cache and dalvik don't actually affect any of the data on your device.
Click to expand...
Click to collapse
Is there a "tool" or zip to do this or must it be done manually? How do I go about doing this?
Did you try doing the "factory" wipe?
Menu > System Settings > Storage > Format SD Card
Android_Guy said:
Is there a "tool" or zip to do this or must it be done manually? How do I go about doing this?
Click to expand...
Click to collapse
Do it manually, superwipes don't work on this phone.
I used a super wipe on mine and it messed up the partitions. Luckily I was still in my trial window and swapped it out. Man I felt like a noob lol. I usually wipe /system as well as the normal and that seems to be good enough.
Sent from my SGH-T999 using Tapatalk 2
Thanks to everyone above for the info. :good: MUCH appreciated

[Mod][Utility] Wiping Tools - Simple and Fast

Attached are three recovery flashable wiping tools I use when doing my work.
I find them to be incredibly useful tools that save some power button & volume rocker mashing, and time.
Wipe Cache and Dalvik - Wipes Cache and Dalvik (duh!)
Useful for:
-Flashing GApps
-Resolving app issues
Wipe Full - Wipes Cache, Dalvik, Data, and System
-Wipes just about all data except internal sd card
-Stops just short of a factory reset (does not wipe media)
-Useful for flashing ROMs within a type (e.g. going from one CM ROM to another CM ROM)
Wipe Full Factory Reset - Wipes Cache, Dalvik, Data, System, and internal sd card
-Useful when going from one ROM type to another (e.g. going from CM to TW)
_____________________
This is the part of the updater-script that selectively wipes /data in case anyone wants to add this to their ROM:
Code:
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/app");
delete_recursive("/data/app-asec");
delete_recursive("/data/app-private");
delete_recursive("/data/backup");
delete_recursive("/data/data");
delete_recursive("/data/drm");
delete_recursive("/data/log");
delete_recursive("/data/misc");
delete_recursive("/data/property");
delete_recursive("/data/system");
delete_recursive("/data/time");
delete_recursive("/data/user");
Changing the code above to the code below effectively performs a factory reset
(look at /data/media and you will see your internal sd card)
Code:
delete_recursive("/data");
As Always - Flash at your own risk!
Thanks. They will be handy in cases
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
I'll go ahead and ask...how do you use it ? Flash it in CWM or TWRP like a ROM or kernel every time you need to use it ?
And thank you for the work
hednik said:
I'll go ahead and ask...how do you use it ? Flash it in CWM or TWRP like a ROM or kernel every time you need to use it ?
And thank you for the work
Click to expand...
Click to collapse
Yep. Just flash it. It's a nice time and button saver.
Nice work:good:
I added a full wipe with factory reset zip to the OP and updated the post to reflect the changes.
Some of you have expressed an interest in making a donation even though I don't want them (thanks ).
But if any of you have a few bucks to spare, we have a fellow xda member that could really use the money right now.
Please don't post saying that you donated since I don't want anyone to feel obligated to do it, or feel uncomfortable if they don't. Just be happy knowing you helped someone in need. Thanks!
http://www.xda-developers.com/andro...lletin-please-help-ryan-scott-chiefzreloaded/
upndwn4par said:
Some of you have expressed an interest in making a donation even though I don't want them (thanks ).
But if any of you have a few bucks to spare, we have a fellow xda member that could really use the money right now.
Please don't post saying that you donated since I don't want anyone to feel obligated to do it, or feel uncomfortable if they don't. Just be happy knowing you helped someone in need. Thanks!
http://www.xda-developers.com/andro...lletin-please-help-ryan-scott-chiefzreloaded/
Click to expand...
Click to collapse
Sounds like a deal
Question about this: The full wipe + factory reset, is this like the super wipe script ? I'm wanting to clean up all the clutter and seeing how clean this script gets and what it leave ?
hednik said:
Sounds like a deal
Question about this: The full wipe + factory reset, is this like the super wipe script ? I'm wanting to clean up all the clutter and seeing how clean this script gets and what it leave ?
Click to expand...
Click to collapse
I am not sure which super wipe script you are referring.
Full Wipe Factory Reset is the same as wiping cache, dalvik, system, and doing a factory reset in recovery. It just does it in about 5 seconds.
It won't touch your external sd card, radio, recovery, etc.
upndwn4par said:
I am not sure which super wipe script you are referring.
Full Wipe Factory Reset is the same as wiping cache, dalvik, system, and doing a factory reset in recovery. It just does it in about 5 seconds.
It won't touch your external sd card, radio, recovery, etc.
Click to expand...
Click to collapse
It's a script I've seen in come aroma installers in past where it wipes internal SD. Are you saying the
Wipe Full Factory Reset wipes all media internal card. i guess the confusion comes from wording as "factory reset" in TWRP leaves all data and media but factory reset in your wording is the sames as factory reset in stock recovery ?
hednik said:
It's a script I've seen in come aroma installers in past where it wipes internal SD. Are you saying the
Wipe Full Factory Reset wipes all media internal card. i guess the confusion comes from wording as "factory reset" in TWRP leaves all data and media but factory reset in your wording is the sames as factory reset in stock recovery ?
Click to expand...
Click to collapse
Yes. It will wipe your internal sd - everything.
asking this to be on the safe side here. but the full wipe option it says it wipes the internal sd card does that mean like it erase everything as if nothing was nothing on it?
CYRAXDroid said:
asking this to be on the safe side here. but the full wipe option it says it wipes the internal sd card does that mean like it erase everything as if nothing was nothing on it?
Click to expand...
Click to collapse
Not Full Wipe, but Full Wipe Factory Reset wipes the internal sd card. And yes, wipes it clean.
To help improve the quality of both the development and general sections, I decided to have this thread moved to the general section.
Just giving you a heads up in case you need to find it.
kennyglass123 will be moving this thread soon.
Hey I was just wandering around and stumbled in here. Will this work on the sprint gs3?
Sounds handy.
Thanks
hllywd said:
Hey I was just wandering around and stumbled in here. Will this work on the sprint gs3?
Sounds handy.
Thanks
Click to expand...
Click to collapse
Yes. I also posted this in the Sprint dev section. It is exactly the same as this one.
Thanks, sounds like some good apps
These are a godsend. Thanks so much for them!
This is brilliant!:highfive: I know we all can do this by button or rocker mashing but this is great. Thank you for putting them together! Much appreciated!
This is awesome, I will definitely be using this from now on when moving from ROM to ROM. Thanks so much!

[Q] Remnants

Hi there, apologies if this is a silly question. I'm not an expert by any means, just a guy who follows the directions given on helpful sites like this.
I recently flashed the Slimkat ROM onto my n7100 for various reasons. But when I did, I obviously didn't completely wipe everything (which is what I intended).
Because for example, I installed a couple games on there and found that my game-saves were still there, also there were some bits on the obb folder from apps that I had on my phone previously but haven't installed since flashing the new ROM.
Why is this? Did I maybe miss a step when flashing the ROM? I know I did the 'wipe and restore factory settings' part in CWM, but I'm not 100% if I did the part with wiping the dalvik and cache etc.
Would that be the reason?
And If I want to give my phone a completely clean wipe what's the best way to do that now? Would I have to go through the steps as if I were flashing the ROM all over again? Or could I just go into recovery mode and wipe the dalvik, cache, system, data etc and reboot?
P.S. Yes, I know that no one who gives advice is responsible if I brick my phone.
sonofsmallface said:
Hi there, apologies if this is a silly question. I'm not an expert by any means, just a guy who follows the directions given on helpful sites like this.
I recently flashed the Slimkat ROM onto my n7100 for various reasons. But when I did, I obviously didn't completely wipe everything (which is what I intended).
Because for example, I installed a couple games on there and found that my game-saves were still there, also there were some bits on the obb folder from apps that I had on my phone previously but haven't installed since flashing the new ROM.
Why is this? Did I maybe miss a step when flashing the ROM? I know I did the 'wipe and restore factory settings' part in CWM, but I'm not 100% if I did the part with wiping the dalvik and cache etc.
Would that be the reason?
And If I want to give my phone a completely clean wipe what's the best way to do that now? Would I have to go through the steps as if I were flashing the ROM all over again? Or could I just go into recovery mode and wipe the dalvik, cache, system, data etc and reboot?
P.S. Yes, I know that no one who gives advice is responsible if I brick my phone.
Click to expand...
Click to collapse
wipe cache + factory reset and dalvik cache. you should be ok. Also don't wipe system.
Sent from my GT-N7100 using Tapatalk
ceomaverick said:
wipe cache + factory reset and dalvik cache. you should be ok. Also don't wipe system.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Just a follow up - I did a wipe + factory reset, wiped cache partition, wiped davlik cache, and was surprised to find I still had leftovers on my phone. For example I had some episodes of a tv show in my downloads folder and also there was still app leftovers in the obb folder. Meh... I'll just delete stuff manually.
sonofsmallface said:
Just a follow up - I did a wipe + factory reset, wiped cache partition, wiped davlik cache, and was surprised to find I still had leftovers on my phone. For example I had some episodes of a tv show in my downloads folder and also there was still app leftovers in the obb folder. Meh... I'll just delete stuff manually.
Click to expand...
Click to collapse
Well, you will have to flash stock recovery then. after that, wipe data/factory reset and wipe cache. This will erase everything on internal SD card. I assume u have backed up EFS and other important stuff.
press thumbs up if u find this suggestion helpful.
ceomaverick said:
Well, you will have to flash stock recovery then. after that, wipe data/factory reset and wipe cache. This will erase everything on internal SD card. I assume u have backed up EFS and other important stuff.
press thumbs up if u find this suggestion helpful.
Click to expand...
Click to collapse
By the way, I sort of overlooked the obvious - in the end I just did a factory wipe and reset from inside Slimkat i.e. not via recovery mode.
And that did the job fine. Cleaned up several gigs worth of clutter which apps like SD Maid seemed to have skipped over as well.

Categories

Resources