[Q] *wipe* - G2 and Desire Z Q&A, Help & Troubleshooting

Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.

diassuncao said:
Hi all!!
I know it is a very very, VERY dumb question because seems that everyone knows the answer and mostly because i am in my 3rd ROM and most of then suggested/requsted a fullwipe. So I searched the forums and wiki but i don't have a clue about what is a full wipe or super wipe or *wipe*
Sorry for that quanstion and thanks if you could answer.
Click to expand...
Click to collapse
Full wipe: Format data, cache, dalvik cache. It does not touch your SDcard data.
Edit: Usually people also Wipe Battery Stats. I found it unnecessary so I forgot to include. It may also involve formatting your SDcard if you have funky stuffs in there. (apps2SD for example)
If you use ClockwordMod, for example, you would have to choose Format data/factory, then Advanced => Wipe Dalvik Cache and Wipe Battery Stats
Super wipe:
Fallen Spartan said:
Basically it does the following:
1) Call erase_image on CACHE, SYSTEM, USERDATA, and BOOT partitions
2) Mount /sd-ext (if it exists) and delete all files from it
3) Delete all files in the /sdcard/.android_secure directory which is where all the froyo apps2sd files live
4) Run e2fsck (file system repair) on the your ext partition
5) Log all output to the /tmp/wipe.log file (if you care)
You will need to power off and reboot back into recovery after running this to install a new rom....as you won't have one on device
If you forget and try to boot normally you will get stuck at splash screen, then you will have to pull battery to power off.
Click to expand...
Click to collapse
To super wipe you often need a zip file and flash it in recovery. Example:
http://forum.cyanogenmod.com/topic/19959-superwipe-for-g2-w-gps-fix/

an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later

demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
blimey...
out of interest should i be wiping anything when i restore from a backup?

Yes
Especially if there was data coruption
Sent from my HTC Vision using xda premium

Thanks
demkantor said:
an added note
fastboot wipe is still the cleanest wipe
<fastboot -w>
i tend to over kill so do fastboot wipe first
then boot into recovery and do a factory reset and wipe cache, dalvik cache again
then do a superwipe.
sounds like over kill? well it keeps me from having issues when changing roms - i change often so these 3minutes spent save me lots of time later
Click to expand...
Click to collapse
I Agree!
That's why i want to know about wipes.
Thanks a lot!

Related

[Q] Wiping Cache from Recovery? *PLEASE HELP*

Upon booting up via Vol. Down + Power, there are four options (fastboot, recovery, wipe cache, and simunlock). What happens when you wipe cache?
I just installed a new ROM (well updated), couldnt get it to boot as I was stuck on the custom boot screen, but after wipe cache it loads up?
Does this effect the functionality at all? Please help. Thanks
I believe this is a factory wipe, but is a dumbed down version, that does not wipe /sd-ext partitions etc. Just removes /data programs and user info, but won't touch any /system applications.
It is used to reset the phone without actually booting up the OS
Any particular reason why my ROM wouldnt boot up normally but requires a cache wipe in order to boot?
trenwei said:
Any particular reason why my ROM wouldnt boot up normally but requires a cache wipe in order to boot?
Click to expand...
Click to collapse
Soms roms will require you to wipe dalvik cache in order for the new rom to boot (conflicts can be caused), and wiping this cache would do it, however you can just wipe dalvik cache from recovery not this hboot menu.
For future reference when changing roms, especially when changing to someone elses rom (and especially especially when its a different base) you should be doing a full wipe
A full wipe is:
-Data (factory reset)
-Dalvik Cache
-Ext partition (although sometimes you can get away with skipping this one)
You should be able to wipe those three from both Amon-RA and Clockwork Mod recoveries.
NOTE: I am sleep deprived, so this will proberly not make alot of sense
I'm not that technical with the Android system (have worked with linux abit though)
Deleting the cache would remove any saved data from the system. These saved items may contain anything from images to which default program is loaded, to which widgets are loaded on the homscreen.
This is why after a new install the phone takes a little longer booting up, creating all the new files. If you need me to go into cache, use Google.
Another theory would be:
After an upgrade, some files and apps think that the system has changed owners, so their permissions change from read/write to read/only etc.
With this, some system files will become inaccessible, will be unable to be edited and so forth.
A way around this would be to "fix" the permissions of the data, changing the owner of the files allowing read/write permissions
Rom Manager has a nice little feature that allows you to fix permissions, and has come very helpful for me, with my switching to and from OD/Pinky, and restoring LauncherPro, which likes to FC at every restore -.-.

[Q] Wiping Dalvik

When reboot my phone and go into Clockwork Recovery to install a new ROM, i do a 2x Wipe of data and then 1x Cache Wipe and 1x Dalvik, but the Dalvik does not do anything, i hit the power button and try to run it and nothing happens, no words scroll saying wipe complete or anything...
Please Help
Im running Ava v6
Thanks
I'll be polite: This has been discussed a number of times. Search first, ask questions later.
SilverZero said:
I'll be polite: This has been discussed a number of times. Search first, ask questions later.
Click to expand...
Click to collapse
Thank you for not tearing me a new one, I forgot to do a search
Thanks
I found this in a thread, It was a post from you.
Thanks
Originally Posted by antiphon
ClockworkMod DOES indeed wipe the dalvik cache. I think the reason why many people are confused is that it only takes a second or two for the dalvik cache to wipe on CWM, whereas it takes longer on RA. However, the reasoning behind this is simple- most people wipe the cache partition before wiping the dalvik cache. When you wipe the cache partition, you are wiping everything on that partition, including the dalvik cache. So in essence, when people go to the Advanced menu in CWM to directly wipe the dalvik cache, they are essentially wiping a blank folder.
If you don't believe me, try this:
1. Reboot into recovery
2. Go to the CWM partitions menu and mount the cache partition
3. adb shell
4. cd /cache/dalvik-cache
5. Type "ls-a" and note all the files.
6. Exit adb shell
7. Wipe the cache partition in CWM
8. adb shell
9. cd /cache
10. Type "ls-a". This time there should be no dalvik-cache directory.
I posted this exact test and result a couple of weeks ago, with the same reasoning. People don't care, they believe what they want to believe.
It would be at least compelling if somebody from the other camp would post proof that CWM does NOT wipe their dalvik cache.
Actually, just the response at the bottom was mine, but yeah, now you know. The answer is still somewhat unclear. I would assume it's working (since you are wiping /data anyway . . . twice, because you're OCD or something ) unless you have problems. Some say it works fine, some say it doesn't, but I haven't seen anything beyond the "there are reports that it doesn't" thing - it's always a friend of a friend.
"It's the Kentucky Fried Mouse." (Name that movie!)

[Q] Complete Wipe?

Ok, I don't know what I'm doing wrong, but I can never get rid of stuff completely.... like my Gapps are still there after everything and all I install is CM
I tried:
Wipe data/user settings
Wipe Cache
Wipe Davlik Cache
I also tried:
Wipe data/user settings
Wipe Cache
Wipe Davlik Cache
Format Data (in Partitions)
Format Cache (in Partitions)
Format Boot (in Partitions)
Format System (in Partitions)
I have tried both these options and I am still left with remnants of previous ROMs. Any suggestions? Do I have to load PC36IMG.zip and then root everytime to have a clean install? Seems a little extreme...
hurricane350 said:
Ok, I don't know what I'm doing wrong, but I can never get rid of stuff completely.... like my Gapps are still there after everything and all I install is CM
I tried:
Wipe data/user settings
Wipe Cache
Wipe Davlik Cache
I also tried:
Wipe data/user settings
Wipe Cache
Wipe Davlik Cache
Format Data (in Partitions)
Format Cache (in Partitions)
Format Boot (in Partitions)
Format System (in Partitions)
I have tried both these options and I am still left with remnants of previous ROMs. Any suggestions? Do I have to load PC36IMG.zip and then root everytime to have a clean install? Seems a little extreme...
Click to expand...
Click to collapse
amon ra or clockwork and what version
iitreatedii said:
amon ra or clockwork and what version
Click to expand...
Click to collapse
Clockwork 2.5 (previously), but I just switched to RA Recovery v2.2.2 still have Gapps on my phone... CM doesn't include Gapps right? I remember having to install them before unless something changed
Can't get rid of gapps, dude. CM requires it that they be there so they're protected files that you can't erase (unless you flash a new rom, which has all the gapps built in anyway).
I hope you like Google programs, because you are stuck with em
AbsolutZeroGI said:
Can't get rid of gapps, dude. CM requires it that they be there so they're protected files that you can't erase (unless you flash a new rom, which has all the gapps built in anyway).
I hope you like Google programs, because you are stuck with em
Click to expand...
Click to collapse
I love Gapps! I just suspect some of my FCs is because I had an older version of them. I am running CM7 now and I have the new GB Gapps but I thought it was odd that Gmail, Maps, etc was still on there before I even flashed the new Gapps
So to answer my original question, there is no way to completely wipe short of reimaging with PC36IMG and rooting again?
Run FORMAT_ALL from the post below. Once its down booting your new install, do not put your information into the setup wizard (just keep hitting skip). This will get you a clean install. REMEMBER FORMAT ALL WILL ERASE EVERYTHING ON YOUR PHONE (not sdcard/recovery/boot/s-off).
http://forum.xda-developers.com/showthread.php?t=785271&highlight=format
bwcorvus said:
Run FORMAT_ALL from the post below. Once its down booting your new install, do not put your information into the setup wizard (just keep hitting skip). This will get you a clean install. REMEMBER FORMAT ALL WILL ERASE EVERYTHING ON YOUR PHONE (not sdcard/recovery/boot/s-off).
http://forum.xda-developers.com/showthread.php?t=785271&highlight=format
Click to expand...
Click to collapse
I'll give it a go, but according to Caulkin's thread all it is doing is what I did already! (wipe data, cache & format boot/system) I will try it out though. Thanks!
I did never try skipping the setup wizard... Hmm
hurricane350 said:
I did never try skipping the setup wizard... Hmm
Click to expand...
Click to collapse
This is the key, it will not restore the old apps, if you skip the wizard.
Well, I did it! Yippee!
I did the following this time around:
Wipe data/user settings
Wipe cache
Wipe Davlik cache
Ran Caulkin's Format_all.zip
Installed CM7 nightly
Funny thing is, it bypassed the setup altogether... I'm guessing because Gapps were finally gone! It brought me right to the home screen, I opened up apps and no Gmail, no Market, nothing! Finally!
So I rebooted Recovery, installed GB Gapps and I am running smooth as butter (No FCs yet!)
Thanks everyone! Especially bwcorvis for the link to Caulkin's script
Glad i could help

Need help flashing ROM

So, I've rooted and S-off'd now i want to flash a ROM - this one: http://forum.xda-developers.com/showthread.php?t=1143456
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
- Wipe ALL userdata
- Wipe only /data
- Wipe only /sd-ext
- Wipe only /sdcard/ .android_secure
- Wipe only /cache
- Wipe only Dalvik-cache
- Wipe only battery stats
- Wipe only rotate settings
So when the tutorial tells me to wipe data/factory reset, does it mean "Wipe ALL userdata" or "Wipe only /data"?
I would ask the question in the ROM's thread, but i do not have enough posts to post in the android development area
numb92 said:
So, I've rooted and S-off'd now i want to flash a ROM - this one: http://forum.xda-developers.com/showthread.php?t=1143456
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
- Wipe ALL userdata
- Wipe only /data
- Wipe only /sd-ext
- Wipe only /sdcard/ .android_secure
- Wipe only /cache
- Wipe only Dalvik-cache
- Wipe only battery stats
- Wipe only rotate settings
So when the tutorial tells me to wipe data/factory reset, does it mean "Wipe ALL userdata" or "Wipe only /data"?
I would ask the question in the ROM's thread, but i do not have enough posts to post in the android development area
Click to expand...
Click to collapse
Wiping everything is the recommended procedure for most roms. Wiping only data, for example, leaves data on the sd-ext partition which might result in problems. Basically wipe all in an option which spares you the time to do manually all the wipes necessary to install a ROM.
numb92 said:
But one of the first things i have to do, is wipe data/factory reset. But i have the recovery-RA-desire-v2.0.0-CM.img recovery image, so when i want to wipe, i get the following options:
Click to expand...
Click to collapse
If I were you I'd use fastboot to erase boot, system, userdata and cache.. yes the, boot & system files are technically overwritten when you install a new ROM, and everything else is "deleted" (if you choose to delete it from recovery), however it's a more "cleaner" install that way (as in use fastboot to erase boot & system), and most of the time ROMs appear to work better.
You can use several tools with fastboot.. you can use cmd, however commands are specific and it takes a while to learn them (there are a lot of guides, but it takes practise), and there are some software platforms. Personally, I prefer to use fastboot commander as it gives me the most features, it however requires java JDK and android SDK (possible you already have this so check before installing.. if you are going to install it in the first place)
Gotta love the helpful people in this community
Sent from my CM7.1 Desire using XDA Premium App

Full cleaning method ...

Hi every, I want to make a FULL cleaning of my phone because I want to install a fresh ROM. I use Wipe data/factory and also wipe cache partition (CWM 6.0.1.1) and repeat several times but surprise I install the new ROM all the old settings was there meaning games data, google emails, sms messages, why? Exists any better method to clean all the old data for leave the new ROM clean install?
Cheers and thanks in advance
reynierpm said:
Hi every, I want to make a FULL cleaning of my phone because I want to install a fresh ROM. I use Wipe data/factory and also wipe cache partition (CWM 6.0.1.1) and repeat several times but surprise I install the new ROM all the old settings was there meaning games data, google emails, sms messages, why? Exists any better method to clean all the old data for leave the new ROM clean install?
Cheers and thanks in advance
Click to expand...
Click to collapse
The steps to a clean flash are:
-wipe cache
-wipe dalvik
-make backup (just in case)
-wipe data/factory reset
-format system (under mounts/storage)
-flash ROM
-flash gapps
-reboot
-ENJOY
Hope that helps.
Sent from my Galaxy Nexus using xda app-developers app
I can't find where "wipe dalvik" is
reynierpm said:
I can't find where "wipe dalvik" is
Click to expand...
Click to collapse
Under advanced.
reynierpm said:
I can't find where "wipe dalvik" is
Click to expand...
Click to collapse
it's under advanced in CWM
Lock the bootloader and then root again. This will wipe EVERYTHING!! I repeat, EVERYTHING will be erased. ALL OF YOUR DATA will be gone!
That is the only way to ensure you won't have traces of anything left over.
Sent from my iPad using Tapatalk HD
z06mike said:
Lock the bootloader and then root again. This will wipe EVERYTHING!! I repeat, EVERYTHING will be erased. ALL OF YOUR DATA will be gone!
That is the only way to ensure you won't have traces of anything left over.
Sent from my iPad using Tapatalk HD
Click to expand...
Click to collapse
What you wrote is misleading.
"Rooting" does not wipe anything.
Unlocking the bootloader will wipe data, but that's it. It will not erase /system, /boot, or /cache.
Sent from my Galaxy Nexus using Tapatalk 2
Just curious. Have you un-checked Settings -> Backup & reset -> Automatic restore?
Lol.. if you want a functional wipe then do my steps. It was needed with the incredible.
CWM - 6.
1.) Wipe data/Factory reset
2.) Mounts & Storage > Format SYSTEM - make sure it's SYSTEM and not Sdcard.
This helps clean the residue left from other roms
3.) Use superwipe if needed or just want to use it
4.) Flash Rom, gapps
5.) Wipe cache/dalvik if given instructions to.
Those are the proper wiping methods.
If your doing a flash over -
1.) Wipe cache and dalvik
2.) Install Rom and if necessary gapps
3.) Fix permissions?
Reboot
Sent from my Galaxy Nexus using Tapatalk 2
withbloodskies said:
Lol.. if you want a full wipe then do my steps. It was needed with the incredible.
CWM - 6.
1.) Wipe data/Factory reset
2.) Mounts & Storage > Format SYSTEM - make sure it's SYSTEM and not Sdcard.
This helps clean the residue left from other roms
3.) Use superwipe if needed or just want to use it
4.) Flash Rom, gapps
5.) Wipe cache/dalvik if given instructions to.
Those are the proper wiping methods.
If your doing a flash over -
1.) Wipe cache and dalvik
2.) Install Rom and if necessary gapps
3.) Fix permissions?
Reboot
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Even that doesn't do a complete wipe, as it doesn't wipe the kernel, nor does it wipe the data in /sdcard (in which some apps store their settings).
If you want to fully wipe, transfer the files/data you want to keep to your PC, reboot into fastboot mode and type:
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Even that doesn't do a complete wipe, as it doesn't wipe the kernel, nor does it wipe the data in /sdcard (in which some apps store their settings).
If you want to fully wipe, transfer the files/data you want to keep to your PC, reboot into fastboot mode and type:
fastboot erase system
fastboot erase boot
fastboot erase userdata
fastboot erase cache
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Don't think boot is an option in CWM "dunno why" lol, I suppose if you wanted to go through those steps
CWM should add a few more options such as those.
Sent from my Galaxy Nexus using Tapatalk 2

Categories

Resources