Ok, with all of the talk about making sure folks do a full wipe before installing ICS, I would like to get some clarification on all of the different wiping methods and which is the best way...
I know of these ways:
1. Via custom recovery - you can wipe data, system, cache, etc.. individually.
2. Via holding Power+VolumeDown until bootloader text appears,, then wait until menu appears and select the Wipe Data option (instead of the cold boot option).
3. Via AARD SuperWipe full script
And then of course, there is the "Reset to factory defaults" in the OS itself...
Which is the best to use? I would assume the AARD SuperWipe full would be the most thorough as it recreates the partitions and everything (instead of just formatting them).
FOr users that have the ability, would an NVFlash of the OS be "more thorough" than CWM method?
Opinions/Experiences?
Thanks!
Don't use super wipe script. A lot of people reported having problems of some ROMs not flashing correctly after using it. There is no reason to use the "full" version anyway. It formats the /media partition(your internal storage partition) which you don't want to nor need to format.
Wipe Data in your #2 does pretty much the same thing as "Reset to factory defaults". They both wipe /data and /cache but do not touch /system.
The most thorough way of wiping that I use is via CWM.
I do all of this within CWM if I want to ensure a clean install of a new ROM and it has never failed.
- wipe data/factory reset
- wipe cache partition
- advanced / Wipe Dalvik Cache
- Mounts and Storage / format /system
I am not sure how NVFlashing a ROM does a clean install? As far as I know, it just flashes whatever it's told to flash. It wouldn't even touch /data if you were just flashing a ROM with it.
horndroid said:
Don't use super wipe script. A lot of people reported having problems of some ROMs not flashing correctly after using it. There is no reason to use the "full" version anyway. It formats the /media partition(your internal storage partition) which you don't want to nor need to format.
Wipe Data in your #2 does pretty much the same thing as "Reset to factory defaults". They both wipe /data and /cache but do not touch /system.
The most thorough way of wiping that I use is via CWM.
I do all of this within CWM if I want to ensure a clean install of a new ROM and it has never failed.
- wipe data/factory reset
- wipe cache partition
- advanced / Wipe Dalvik Cache
- Mounts and Storage / format /system
I am not sure how NVFlashing a ROM does a clean install? As far as I know, it just flashes whatever it's told to flash. It wouldn't even touch /data if you were just flashing a ROM with it.
Click to expand...
Click to collapse
I've tried ALL of the above methods - all with the exact same results, to be honest...
Even if I revert back to honeycomb (even after a full wipe), I STILL exhibit the reboot issues (it's not just me - look around). This was NOT happening before with the exact same version of Revolver. This tells me that there is still yet something else that was changed during the ICS updates. We know the bootloader was updated - i'm now testing ICS with the old bootloader.
Other than the bootloader, what else could have changed?? Unless they upgraded the firmware on a particular device during the ICS update (wifi chip, bluetooth chip, etc). Other than that, I just can't come up with an explanation as to why Honeycomb won't even run properly anymore!
Sent from my Transformer TF101 using Tapatalk
horndroid said:
I am not sure how NVFlashing a ROM does a clean install? As far as I know, it just flashes whatever it's told to flash. It wouldn't even touch /data if you were just flashing a ROM with it.
Click to expand...
Click to collapse
If you use the --create flag, nvflash will format ALL the partitions and then flash them. If you use the --download flag, it will just overwrite the partitions you send it.
That being said, I agree at your wiping method is more than enough. Most times, I don't bother wiping, especially data.
sent from my cyanogen(mod) vision
Related
Are there ever fragments left over in system that can cause bugs after a factory reset/ cache/davlik wipe?
rodion.zissou said:
Are there ever fragments left over in system that can cause bugs after a factory reset/ cache/davlik wipe?
Click to expand...
Click to collapse
The factory reset formats
/data
/data/data
/cache
/sd-aecs? (Something like that)
And maybe one other
The system is a separate portion called
/system
To wipe it using cwm you go to mounts&(I can't remember what maybe format) go to the format system option but just make sure you flash a ROM before you reboot because your system is empty until you flash something into it
If you forget sometimes the recovery is inside the /recovery partition which you can't format but I can't confirm this for all phones so flash a ROM before reboot after you format system
And yes if you don't format it and there isn't a file to replace a file with its exact name it stays
Such as in jelly bean I've seen the Google search called velvet.apk and quick search.apk
Not good if they both try to run
I hope this helps
Sent from my Samsung Infuse running Jelly Bean using the xda-developers app
Nice. Just what I wanted to know. Recently I did that by wiping/formatting everything I could in recovery. I used wugs toolkit to get me back to stock system so I could download and flash a ROMs. I feel I noticed a big difference in performance.
Do you think I could do it again but leave the ROM somewhere to flash before stock?
I tapd that
PA toro trinity 35
I've been using 4EXT Touch Recovery to wipe/format before flashing certain roms. Is there a right way on how to wipe/format using 4EXT Touch?
This is how I do it (correct me if I'm wrong):
1. wipe date/factory reset
2. wipe cache
3. wipe cache + dalvik
4. wipe dalvik cache
5. wipe battery stats
6. format system
7. format data
8. format boot
9. format all partitions (except sdcard)
10. format sdcard
11. flash rom
wh0d0es said:
I've been using 4EXT Touch Recovery to wipe/format before flashing certain roms. Is there a right way on how to wipe/format using 4EXT Touch?
This is how I do it (correct me if I'm wrong):
Click to expand...
Click to collapse
If you are flashing an update of the same ROM do "wipe dalvik cache + cache" (in case the Developer has not clearly stated that the update requires full wipe)
If you are flashing a new ROM use "wipe all partition (except sdcard)" it will do all the wipes from the wipe menu, no need to repeat it
And wiping the sdcard every time you install a ROM clearly does not make any sense, you are deleting all you pictures, music and all other files that are not related to any ROM you are using
amidabuddha said:
If you are flashing an update of the same ROM do "wipe dalvik cache + cache" (in case the Developer has not clearly stated that the update requires full wipe)
If you are flashing a new ROM use "wipe all partition (except sdcard)" it will do all the wipes from the wipe menu, no need to repeat it
And wiping the sdcard every time you install a ROM clearly does not make any sense, you are deleting all you pictures, music and all other files that are not related to any ROM you are using
Click to expand...
Click to collapse
I didn't know that "format all partition (except sdcard)" is the same from 1 to 8. I'll try using it from now on every time I install new roms. Also, I thought that wiping my sdcard every time I install rom is to make that rom fully utilized/functional. And that is why I back up all my pictures, music, and all other files in my laptop. Anyhow, thank you for your simple but very relevant response.
There are some ROM specific files on the SDcard but a full wipe (all partitions except sdcard) clears them too
Sent from my HTC Desire S
amidabuddha said:
There are some ROM specific files on the SDcard but a full wipe (all partitions except sdcard) clears them too
Sent from my HTC Desire S
Click to expand...
Click to collapse
This is noted... Thank you for all the info's... Greatly appreciated! :highfive:
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!
Thannk you we were long due for a format all zip
iSheep... iSheep... Meowww that's Apple VZW GSIII
I added a full wipe with factory reset zip to the OP and updated the post to reflect the changes.
About to test with twrp. Anyone else use them yet, or will I be taking them on their maiden voyage with the BETTER recovery?
Edit: would you be interested in making a fourth one for those of us who are OCD? Davlik, cache, and (complete) factory reset, wiping everything but the SD card, saving the super wipe script of yours for flashing to/from different rom bases (tw to aosp/cm).
Sent from my SCH-I535 using Tapatalk 2
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
added to my sd card...thank you!
dems86 said:
About to test with twrp. Anyone else use them yet, or will I be taking them on their maiden voyage with the BETTER recovery?
Edit: would you be interested in making a fourth one for those of us who are OCD? Davlik, cache, and (complete) factory reset, wiping everything but the SD card, saving the super wipe script of yours for flashing to/from different rom bases (tw to aosp/cm).
Confirmed working on TWRP.
What you ask for is what the full wipe zip does. Any directories that I haven't added to the script are usually empty, or are regenerated during install of a new ROM.
If you find anything I missed let me know and I will update the script.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
No way. I can't live without these.
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
Me too. I came from the t989 and when i got the i535 I looked and looked and asked but everyone said that it was stupid.
Karl said:
thanks i wanted this when the S3 came out and everyone said i was a dip**** for wanting it :highfive:
Click to expand...
Click to collapse
GalaxySII5191 said:
Me too. I came from the t989 and when i got the i535 I looked and looked and asked but everyone said that it was stupid.
Click to expand...
Click to collapse
yea i dont know about all that...
BUT
theoretically this is just the lazy way of getting it done. i appreciate it since i use TWRP..so i just load them up and sit back.
Bumping this because I used it earlier today and it worked like a charm
best toolset ever
Could you make a toolset to wipe dalvik, cache, and system?
Sent from my rOot3d Samsung Galaxy S3
SoCalSpecialist said:
yea i dont know about all that...
BUT
theoretically this is just the lazy way of getting it done. i appreciate it since i use TWRP..so i just load them up and sit back.
Click to expand...
Click to collapse
I guess everyone is lazy then cuz I can think of 5 other phones that had wipe zips
Sent from my Galaxy S III using Forum Runner
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.
I know I'm grave digging, but I'm not sure where else to put this. I've found a way to wipe everything in /data/ except media. I've tested and it works in TWRP but I'm not sure how it works in CWM. Here's the line:
Code:
run_program("/sbin/sh", "-c", "find /data/* -maxdepth 0 -type d ! -name 'media' -exec rm -rf {} +");
upndwn4par said:
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!
Click to expand...
Click to collapse
Hello thread. Never flash without this first. I think more people should know about it
Sent from my SCH-I535 using Tapatalk
upndwn4par said:
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!
Click to expand...
Click to collapse
Wipe Full Factory Reset
WILL THIS DESTROY MY PHONE FROM BOOTING?
I am curious about doing an internal data wipe before flashing a new Rom. I am using TWRP 2.5.5. I am on the 4.2 bootloader and am about to update to the new CROMi. I know that doing a factory reset wipes dalvik, cache, and system, am I wrong in thinking this still leaves some stuff left over on your internal SD? If it does, I want to format all of it. I have the 4.2.1 bootloader, the CROMi rom, and a 4.2.1 stock nandroid backup I made in TWRP all saved on my external SD. What I dont understand is if I format all the data on the internal, how will the tablet know what to do when I boot it back up? Will TWRP be lost? If it does boot back up, what will it boot back up to? I just dont quite understand this internal SD formatting thing so well, so I am asking for some help so I can avoid doing something stupid. I know this is possible because I have read about other people doing it in the CROMi thread, I just want to make sure I am not missing anything
Your tablet has the following partitions (and some others which are irrelevant for this discussion):
- Bootloader
- Recovery
- Linux kernel
- Cache partition (/cache)
- System partition (/system)
- Data partition (/data)
The internal SD card is an emulation that uses /data/media as storage. So if you format /data, that removes all user data including the contents of your "internal SD card" emulation. I don't know why the normal "factory reset" somehow deletes only the rest of /data excluding /data/media. It may be convenient but not what I would understand as "factory reset".
If you format /system (which is not touched by a factory reset), you won't be able to boot Android unless you install a new ROM before you reboot. You don't need to format /system, it's done by the CROMI installer anyway.
_that said:
Your tablet has the following partitions (and some others which are irrelevant for this discussion):
- Bootloader
- Recovery
- Linux kernel
- Cache partition (/cache)
- System partition (/system)
- Data partition (/data)
The internal SD card is an emulation that uses /data/media as storage. So if you format /data, that removes all user data including the contents of your "internal SD card" emulation. I don't know why the normal "factory reset" somehow deletes only the rest of /data excluding /data/media. It may be convenient but not what I would understand as "factory reset".
If you format /system (which is not touched by a factory reset), you won't be able to boot Android unless you install a new ROM before you reboot. You don't need to format /system, it's done by the CROMI installer anyway.
Click to expand...
Click to collapse
Aweomse! Thanks for helping me understand that a little better. My first ROM was CROMi 3.4.4 and I researched all this for about an entire week before I started this but I never fully understand the difference with formatting internal SD and factory reset. I have always installed the new ROM before rebooting anyway but it is nice to know CROMi does the system wipe for you. Didnt know that. If I were to do a complete wipe, would I need to install the most recent 4.2 bootloader prior to installing CROMi so it is there for CROMi to build on?
Oh, and btw your Kernels for CROMi are outstanding.
Turin87 said:
My first ROM was CROMi 3.4.4 and I researched all this for about an entire week before I started this but I never fully understand the difference with formatting internal SD and factory reset.
Click to expand...
Click to collapse
There is even official TWRP documentation about wiping: http://teamw.in/whattowipe
(I personally have never used any of the wipe options so far, so I am just repeating what I read about it)
Turin87 said:
If I were to do a complete wipe, would I need to install the most recent 4.2 bootloader prior to installing CROMi so it is there for CROMi to build on?
Click to expand...
Click to collapse
There is no "wipe bootloader" option, so there is no need to reinstall the bootloader. Wiping the bootloader would also brick your device and you would need nvflash to recover.
_that said:
There is even official TWRP documentation about wiping:
(I personally have never used any of the wipe options so far, so I am just repeating what I read about it)
There is no "wipe bootloader" option, so there is no need to reinstall the bootloader. Wiping the bootloader would also brick your device and you would need nvflash to recover.
Click to expand...
Click to collapse
Good to know. Glad I didnt attempt that. My firmware version was .30 so nvflash was not an option for me. Thanks again for your help.
Hi Everyone,
For some reason, TWRP is not able to format /Data.
It keeps saying "failed to mount /data (Device or resource busy)".
This doesn't prevent me from updating the ROM to 4.4.2-21.
However, once updated it keeps on booting over-and-over.
Is there a way to - sort-of - a forced format of the internal flash.
Or at least the /data partition as it seems to be corrept.
Thanks - Will
Hi,
With twrp use the wipe menu for installing kk 4.4.2
Wipe cache-dalvik cache-data-system-internal storage (if you need a complete clean install), after install menu, flash the rom and the gapps, return to wipe menu, wipe cache and dalvik cache again.reboot.you`ll run on the new rom
(Ps : don't used mount sd and format menu).
Sent from my Transformer TF101 using xda app-developers app
jh1969 said:
Hi,
With twrp use the wipe menu for installing kk 4.4.2
Wipe cache-dalvik cache-data-system-internal storage (if you need a complete clean install), after install menu, flash the rom and the gapps, return to wipe menu, wipe cache and dalvik cache again.reboot.you`ll run on the new rom
(Ps : don't used mount sd and format menu).
Sent from my Transformer TF101 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the (quick) response.
I'm coming from 4.4.2-19. However, on previous occasions I was able to upgrade without going through a clean install.
So I tried the same this time with 4.4.2-21. However, as it stands, this release tends to end up in an ever on-going boot sequence.
Even a clean install or going back to the previous version (4.4.2-19) doesn't work.
Compared to previous installs, the only difference I can see is an error stating that /data can not be wiped.
Any thoughts on this behavior?
Thanks - Will
NogNeetMachinaal said:
Thanks for the (quick) response.
I'm coming from 4.4.2-19. However, on previous occasions I was able to upgrade without going through a clean install.
So I tried the same this time with 4.4.2-21. However, as it stands, this release tends to end up in an ever on-going boot sequence.
Even a clean install or going back to the previous version (4.4.2-19) doesn't work.
Compared to previous installs, the only difference I can see is an error stating that /data can not be wiped.
Any thoughts on this behavior?
Thanks - Will
Click to expand...
Click to collapse
Hi, which release of TWRP do you use ? in 2.6.3.0 and lower release, on wipe menu you have an advanced wipe menu, go on it select format and type data, this will format data partition
jh1969 said:
Hi, which release of TWRP do you use ? in 2.6.3.0 and lower release, on wipe menu you have an advanced wipe menu, go on it select format and type data, this will format data partition
Click to expand...
Click to collapse
Tried formatting the data partition. It comes back with "failed" - no explanation.
Any other suggestion?