[Q] What does wiping system do? - Galaxy S II Q&A, Help & Troubleshooting

Im sorry if this is such a nooby question but on some custom roms it recommends to wipe /system. What does this do? And what do you lose? When I usually go to another rom I wipe user data, cache, dalvik cache and battery stats. I never had any problems by doing so. In my case I never saw where to wipe /system I found out it was under mounts and storage in recovery a few days ago.

svenerator said:
Im sorry if this is such a nooby question but on some custom roms it recommends to wipe /system. What does this do? And what do you lose? When I usually go to another rom I wipe user data, cache, dalvik cache and battery stats. I never had any problems by doing so. In my case I never saw where to wipe /system I found out it was under mounts and storage in recovery a few days ago.
Click to expand...
Click to collapse
reset to factory status ands deletes all contacts, custom apps and any other personal information on the phone.
It will be like the day you got it.

Cosmic Blue said:
reset to factory status ands deletes all contacts, custom apps and any other personal information on the phone.
It will be like the day you got it.
Click to expand...
Click to collapse
This is wrong....
The /system partiton is where Android itself gets stored. As in the system apps and framework. It is recommened to wipe it when changing to a *non-wipe* firmware just in case some files are different and get left over from the previous rom.
Sent from my GT-I9100

Electroz said:
This is wrong....
The /system partiton is where Android itself gets stored. As in the system apps and framework. It is recommened to wipe it when changing to a *non-wipe* firmware just in case some files are different and get left over from the previous rom.
Sent from my GT-I9100
Click to expand...
Click to collapse
Thanks, that makes sense.

not wiping before installing a new rom usually results to bootloops.
i see to it i wipe before installing another rom (unless i'm installing a newer version of the existing rom)

in advanced wipe in twrp what does wiping system but keeping data,cache,and internal storage do ? will i keep my apps and data?

help me a noob said:
in advanced wipe in twrp what does wiping system but keeping data,cache,and internal storage do ? will i keep my apps and data?
Click to expand...
Click to collapse
As was posted earlier in the thread, wiping system basically wipes the rom/os and system settings. Your user data, apps, pictures will not be wiped. If you rebooted after wiping system the phone will not work, however you could wipe system then flash an update of the same rom and reboot and you should be fine(depending on the changes between rom versions). This is basically referred to as dirty flashing. FYI, most custom roms have a script which wipes system, cache and dalvik/art cache automatically preserving only /data(user apps and data)

Related

Wipe / Full Wipe

Maybe alot of newbies ask of this already but i just wanna ask it again
What is a Full wipe is that the same as wipe?
and how do u do a full wipe properly?
Wipe
1. Wipe data/factory reset
2. Wipe Dalvik-cache
3. Wipe SD:
4. Wipe battery stats
5. Wipe rotate settings
Should i do (1.) or (1. & 2.) or (1. 2 & 3) on the amon ra boot screen
A full wipe is wiping all of those, however it is not always needed depending on whether or not you actually use Apps 2 SD etc
Most of the time you only need to wipe option 1 (with the occasional 2 as well)
2 is included by 1, for a full wipe do 1 (and 3 if you have an ext partition on your sdcard).
I've been flashing custom roms and updates for a about a month now, with once every 3 days on average. Wipe option 2 never finished successfully, and showed a message that I had to use adb to perform it or something. (not sure of the message though).
Anyway, out of no where, it worked today for the first time. I was on aHero v0.3 Rom.
What could be the reason? Is it the Rom? The only thing different I've done in this Rom was use Root Explorer.
this is a know bug in the recovery image. it tries to wipe dalvik-cache on the ext partition, which ofcourse fails if you don't have one. nevermind, the wipe works regardless of the error message.
kendong2 said:
this is a know bug in the recovery image. it tries to wipe dalvik-cache on the ext partition, which ofcourse fails if you don't have one. nevermind, the wipe works regardless of the error message.
Click to expand...
Click to collapse
I did partition my sd card recently but never actually made use of it. (unless some rom used it automatically) .. anyway that should explain it.
Thanks
kendong2 said:
this is a know bug in the recovery image. it tries to wipe dalvik-cache on the ext partition, which ofcourse fails if you don't have one. nevermind, the wipe works regardless of the error message.
Click to expand...
Click to collapse
I never get an error when I wiped mine and I don't have an ext partition
What have I done wrong
I've only ever used option 1. No issues to report here.
does Wipe SD literally deletes the content of the SD card? like formatting?
When it's recommended to use that?
no. it is called "wipe SD:ext" because it wipes only the ext partition of the sdcard. not sure what it does exactly, but i am pretty sure it just deletes the "app" and "app-private" folders on the ext partition, i have other files there that are not deleted when i wipe it.
Cool, I hope that this fixes the problems with my rom.
OK, if I understand it properly I have to lose all my apps and data to install or update a new ROM? Of course I may use Titanium backup but that is quite long process to restore all apss and data again, right?
Yes, mostly you have to wipe all. Sometimes it says that you only need to wipe cache/ dalvik cache if coming from a previous version. Do you have the free version of Titanium Backup? If you do I would suggest downloading either the paid version or MyBackup Root (it's free). Then you get one click restore. It still takes a lot of time, but you can do other stuff while it's doing it
Oh, yes, it is a good feature to restore on one click. I thought it is weird. No I understand when it is just in paid version. One more thing. Once I was restoring apps, I used app2sd script but TB restored somehow in the wrong place because the notification about low space appeared. Even though I did not get it before when I used the script. How to make sure thet TB restore apps to the right place? Thanks!!
Full wipe required?
OK, so for the RCMixHD v3.6 with Data 2 Ext(4) they say a
"Full wipe is required"
What does that mean? It is totally unclear and not being explained anywhere in the ROM tutorials. Pretty weird, because it seems rather important.
I have the ClockworkMod Recovery bootware on my HTC Desire, so how does one perform a "full wipe" without also wiping HBOOT and such (when it is S-OFF I would understand a "full wipe" actually wipes *everything* on the internal NAND/SD) ?
jult said:
OK, so for the RCMixHD v3.6 with Data 2 Ext(4) they say a
"Full wipe is required"
What does that mean? It is totally unclear and not being explained anywhere in the ROM tutorials. Pretty weird, because it seems rather important.
I have the ClockworkMod Recovery bootware on my HTC Desire, so how does one perform a "full wipe" without also wiping HBOOT and such (when it is S-OFF I would understand a "full wipe" actually wipes *everything* on the internal NAND/SD) ?
Click to expand...
Click to collapse
1. Wipe data/factory reset
2. Wipe Dalvik-cache
3. Wipe SD:
4. Wipe battery stats
full wipe
Im doing leedroid full wipe right one and its been a good hour now froze the HTC screen. Can anyone tell me how long it normally takes?
bringonblink said:
1. Wipe data/factory reset
3. Wipe SD:
Click to expand...
Click to collapse
It's strange how both of these are rarely really required, while I STILL see this "full wipe required" being advertised for most roms. It's nonsense. Why would you need to wipe your entire SD? If a certain formatting would be required for the rom to function properly, it should include a script that does that for you and prompt before wiping your SD-card.
Also, the Factory reset is only required in very rare cases.
jult said:
It's strange how both of these are rarely really required, while I STILL see this "full wipe required" being advertised for most roms. It's nonsense. Why would you need to wipe your entire SD? If a certain formatting would be required for the rom to function properly, it should include a script that does that for you and prompt before wiping your SD-card.
Also, the Factory reset is only required in very rare cases.
Click to expand...
Click to collapse
Well if I am updating from the same rom I will do cache and dalvik only.
When cm 7.1 hits ill do full because of updated android
Sent from my Nexus S using XDA App
Every time I flash a new ROM or restore a nandroid backup, I do the following:
1. Wipe Dalvik cache
2. Wipe data/factory reset
The second step formats /data, /cache, /sd-ext, and /sdcard/.android_secure, so that's a pretty thorough wipe if you ask me. I wipe the Dalvik cache as well to be as thorough as possible.
Optionally, you can format /system under mounts and storage in CWM recovery.

WTFudge is considered a full-wipe?

I see people saying that wiping data, cache, and dalvik is considered a full wipe. But isn't that incorrect? Wouldn't formatting the system, data, and cache be considered a full wipe? If using TWRP, under advanced settings or options is a an option for formatting. When choosing to format system, data, and cache partitions, isn't that what people want to do when doing a "full wipe"?
Formatting system will clear dalvik so I'm just confused when people say to wipe fully, and by that they say to wipe data, cache, and dalvik. That's nothing, but a factory reset because all that does is erase your data, and leave the system intact with whatever you installed into the system such as kernels or tweaks.
So my question is, what do you guys and gals consider to be a full wipe?
I use the advanced> format menu to wipe each invidual partition, including /system. I myself have always wondered this as well seeing as to most people, a full wipe is considered a factory reset which includes data, cache, and dalvik cache. I wipe each individual partition including system and thus never have weird problems that others complain about.
I've wondered that same thing, cause some say wipe everything and then some say format ur system first. So which is? Which way is the Proper way?
The proper way is formating
System
Data
Cache
Formatting system clears dalvik. I'm just confused because people keep telling others to do incorrect things when they say full wipe. I just want to know what the users think when they use the term.
DDiaz007 said:
The proper way is formating
System
Data
Cache
Formatting system clears dalvik. I'm just confused because people keep telling others to do incorrect things when they say full wipe. I just want to know what the users think when they use the term.
Click to expand...
Click to collapse
Well I use the super wipe zip, I think that's what it's called, to wipe my phone then I was just formatting my system. I wasn't really sure what people wanted. Like I said one says wipe and one will say format, but thanks for telling me the proper way.
mugetsu666 said:
Well I use the super wipe zip, I think that's what it's called, to wipe my phone then I was just formatting my system. I wasn't really sure what people wanted. Like I said one says wipe and one will say format, but thanks for telling me the proper way.
Click to expand...
Click to collapse
A zip? You'll be fine if it does what it is supposed to do. But if you do it manually, this is the correct way.
DDiaz007 said:
A zip? You'll be fine if it does what it is supposed to do. But if you do it manually, this is the correct way.
Click to expand...
Click to collapse
I just looked and it's the infected wipe is what I've been using but I guess I'll start doing it the proper way then.
I have always considered wiping data, cache, and dalvik as a full wipe. And formatting every thing as, well, formatting lol. I have never formatted any of my partitions when installing new roms, can't say I have ever had an issue either.
But you certainly bring up an interesting point.
For those that are confused: "formatting a partition = "wiping" a partition.
format boot (contains kernel,ramdisk,etc.)
format system (contains base OS,apps and framework,etc.)
format data (user apps,accounts,batt stats,dalvik,etc.)
format cache (lots of stuff, lol)
/full wipe
side note: every ROM zip I've ever seen formats system and boot, so usually if you're flashing a ROM (and feel like wiping) it's totally fine to just wipe data and cache and then flash. If you're flashing over (no data wipe) then you'd want to wipe cache and dalvik, same for a kernel, that gets rid of cached stuff you probably don't want on boot. Especially dalvik since it contains a classes.dex for all your apps, which could contain old data you don't want in your new ROM. These dex files are built during the bootup, so it's safe to wipe them out, that's also the reason a bootup takes a lot longer after a dalvik wipe where you haven't wiped data.
hope this helps
When you don't get poopoo stains on your undies.
Sry troll moment lol had to do it sry diaz.
I always thought full wipe was data dalvick, cache, battery stats, system/ SD partition
Sent from my PG86100 using xda premium
thizzlemania91 said:
When you don't get poopoo stains on your undies.
Sry troll moment lol had to do it sry diaz.
I always thought full wipe was data dalvick, cache, battery stats, system/ SD partition
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
dalvik is IN /data.
batt stats are IN /data.
who wipes sdcard for full wipe?
il Duce said:
dalvik is IN /data.
batt stats are IN /data.
who wipes sdcard for full wipe?
Click to expand...
Click to collapse
No **** lol
Get all those nasty tt backup apps you guys save lol
il Duce said:
format boot (contains kernel,ramdisk,etc.)
format system (contains base OS,apps and framework,etc.)
format data (user apps,accounts,batt stats,dalvik,etc.)
format cache (lots of stuff, lol)
/full wipe
side note: every ROM zip I've ever seen formats system and boot, so usually if you're flashing a ROM (and feel like wiping) it's totally fine to just wipe data and cache and then flash. If you're flashing over (no data wipe) then you'd want to wipe cache and dalvik, same for a kernel, that gets rid of cached stuff you probably don't want on boot. Especially dalvik since it contains a classes.dex for all your apps, which could contain old data you don't want in your new ROM. These dex files are built during the bootup, so it's safe to wipe them out, that's also the reason a bootup takes a lot longer after a dalvik wipe where you haven't wiped data.
hope this helps
Click to expand...
Click to collapse
Ahh I see now, much appreciated!
DDiaz007 said:
Ahh I see now, much appreciated!
Click to expand...
Click to collapse
anytime. hey what happened to nuggy? does nobody like cyan sense?
il Duce said:
anytime. hey what happened to nuggy? does nobody like cyan sense?
Click to expand...
Click to collapse
I don't know, he went dark on me. I assume life. I like it, but who knows? :-(
I finally joined Google Plus so I can play tester for you guys if you still need it. I tried joining before when I had asked you, but it rejected my alias.

[Q] Just got a Galaxy S2 today - Question about Wipes in Clockworkmod

I've had a ZTE Blade for a year and whenever I flashed a new rom, i'd boot into clockwork and wipe dalvik, battery stats in the advanced tab.
then i'd go to mounts and storage and wipe /system, /data, /cache and /boot followed by data/factory reset and cache in the main menu to make sure the system was completely minty fresh before i flashed.
just looking at clockworkmod for the S2 and i was wondering if there's a similarly recommended set of wipes ?
as far as i can see, it appears to be Wipe Data and Factory Reset, Wipe Cache and install - is that really it or would it help to do the /system, /data and /cache in the mounts and storage menu as well ?
thanks in advance
Wipe /system, /data /cache and dalvik cache. That should be enough (what I've been doing since april )
Force Close said:
Wipe /system, /data /cache and dalvik cache. That should be enough (what I've been doing since april )
Click to expand...
Click to collapse
Thanks. I've just flashed the resurrection remix rom and only wiped dalvik, data/factory and cache and everything seems to have installed fine and is running ok so far - probably because i came from the stock ICS rom i suppose.
i'll remember that in the future though, thanks
hankhandsome said:
Thanks. I've just flashed the resurrection remix rom and only wiped dalvik, data/factory and cache and everything seems to have installed fine and is running ok so far - probably because i came from the stock ICS rom i suppose.
i'll remember that in the future though, thanks
Click to expand...
Click to collapse
In advanced there is fix permissions too. You can use it if it gets buggy.
Sent from my GT-I9100 using xda premium
Formatting system is a good habit
hankhandsome said:
Thanks. I've just flashed the resurrection remix rom and only wiped dalvik, data/factory and cache and everything seems to have installed fine and is running ok so far - probably because i came from the stock ICS rom i suppose.
i'll remember that in the future though, thanks
Click to expand...
Click to collapse
atifsh said:
Formatting system is a good habit
Click to expand...
Click to collapse
Hi, this is my 1st post but have been flashing almost daily for around 4 months. Ok so here's my uber anal method
Wipe data/reset. (x3)
Wipe cache
Wipe dalvik cache/battery stats
Format cache/system/data
Flash rom
(if dual booting flash kernel cleaning script then flash compatible kernel)
Reboot/set phone up Google accounts etc/Reboot. Then wait at least 5 mins for rom to settle. Enjoy!
This imo is a full wipe which I use regardless of whatever rom I'm flashing. I know some installs you can get away without full wipes but for peace of mind I use this method. It can be a pain setting up a fresh install but with using TB & launcher restores it can be done in less than 20 minutes. Good luck

Question about Jokersax's full wipe zip

I assume the advantage of using the full wipe zip is how fast it works. What else is recommended to wipe before flashing a new rom. What I have been doing is flashing the wipe zip, then formatting system, cache, and data, then wiping dalvik cache. Is all that necessary? Should I also be doing a full wipe/ factory reset? Thanks in advance.
Airwolf79 said:
I assume the advantage of using the full wipe zip is how fast it works. What else is recommended to wipe before flashing a new rom. What I have been doing is flashing the wipe zip, then formatting system, cache, and data, then wiping dalvik cache. Is all that necessary? Should I also be doing a full wipe/ factory reset? Thanks in advance.
Click to expand...
Click to collapse
I believe the zip you are referring to is Bills fullwipe zip. It wipes everything needed to flash a rom except dalvik cache. So, flash the zip, wipe dalvik, flash your rom.
Acvice said:
I believe the zip you are referring to is Bills fullwipe zip. It wipes everything needed to flash a rom except dalvik cache. So, flash the zip, wipe dalvik, flash your rom.
Click to expand...
Click to collapse
Yes, sorry, its Th3Bill's zip, but I got it on Joker's site. So its normal for it to wipe superfast, like in a few seconds? What about formatting system, data, and cache, is that not needed either?
Airwolf79 said:
Yes, sorry, its Th3Bill's zip, but I got it on Joker's site. So its normal for it to wipe superfast, like in a few seconds? What about formatting system, data, and cache, is that not needed either?
Click to expand...
Click to collapse
Nope, that's the three it wipes. And yes a few seconds is normal. Only thing you might wanna wipe is dalvik.
But, I mean there is the full wipe/factory reset, and then under mounts u can manually format each one. What is the difference between formatting and wiping?
Airwolf79 said:
But, I mean there is the full wipe/factory reset, and then under mounts u can manually format each one. What is the difference between formatting and wiping?
Click to expand...
Click to collapse
For our usage, not much difference.. But technically, wiping referrs to 'deleting' everything there. Deleting makes something disappear, but doesn't make it nonexistent. It just tells the system that this space can be used for other things now. Until the the given sectors where the data resided are used to write something else, the deleted items technically still exist. Formatting, on the other hand, goes through every sector and writes over it with 'blank' data, securely making the data unrecoverable (for the most part).
How can you relate this to your phone? Well, if you are installing a new rom, wiping the data is sufficient. If you are getting rid of your phone for whatever reason, formatting is suggested.
Ok, thank u for the clear explanation.

Please help!

I have a quick question regarding TWRP. I have installed a rom that i'd like to not use anymore. However, when I restore, all the system files are still there (I know this because they still pop up as a deodexed version.)
Anyways, I was wondering if it is ok to do this in TWRP
-Wipe cache/factory reset
-Wipe system data <--- that is what 'm really wondering
-Restore from my backup that I made that has the proper system files I want.
Im looking at it right now and factory reset says wipe data and cache, so I am guessing that option kills two of the 3 standard steps apart from wiping dalvik. Now the wipe system, Im not sure; but for wiping the normal 3- do factory reset, cache, and dalvik cache
All wiping or formatting /system does is wipe your current rom. I always do it before flashing or restoring anything just to be totally sure no lingering remnants of my previous rom remain and I've never had any issues doing so.
Sent from my SCH-I605
Wiping system before flashing a ROM is likely pointless, unless the ROM has a poor updater script that doesn't format system in the flash process. If it didn't format, the install would end with an error. If it was just deleting recursively and came upon a file it couldn't delete, it'd still end with an error. Formatting it before flashing isn't going to wipe anything out that wasn't already getting deleted as part of the updater-script formatting/deleting.
Also, if you perform a factory reset in recovery, you don't then have to go and wipe cache and dalvik cache as well. Factory reset already formats all three of those. Wiping cache also clears out the dalvik cache, since that is where the dalvik cache resides. Wiping 3 times is also a waste of time, as again, do you expect things to be left behind when it is formatted?
Do people frequently experience files being left over on flash drives and other removable storage devices when they format them that this whole "lets format it 3 times to make sure it's gone" craze started? Every time I've ever formatted something, as long as the process completed successfully, all the files were gone. The same goes for deleting a bunch of folders. As long as there wasn't an error, all those files disappeared too.

Categories

Resources