[Q] How to clear cache after RM apk in Clockwork Recovery - G2 and Desire Z Q&A, Help & Troubleshooting

So I've removed some apps thru ADB SHELL and I was informed that it's best to clear cache in Recovery as well. The question is, which option do I select? When I'm in Clockwork Recovery I see two options:
Wipe Cache Partition
or
Wipe Dalvik Cache
Which one am I supposed to select?

Well I decided to go with "Wipe Cache Partition" - not sure if that was the right one but from searching the net it seems like that was the right option - if not then i guess y'all will let me know

Even if u delete all of dalvik system will recompile it upon reboot. If I want fresh slate without a wipe I format both cache and dalvik. Doesn't matter they all rebuild.
htc vision

Related

[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!)

Wipe cache only in ROM Manager

Why isn't wiping cache only an option in ROM Manager? Isn't this recommended when flashing ROM upgrades of the same ROM?
Just do it through the recovery. Rom manager is quite buggy when it comes to that stuff.
I'm flashing a new kernel. When you are in recovery to wipe cache and davlik-cache, do you select wipe cache partition? After that screen it just says "Area you sure" with a bunch of no options. When will i see the davlik-cache option?
irl5fan said:
I'm flashing a new kernel. When you are in recovery to wipe cache and davlik-cache, do you select wipe cache partition? After that screen it just says "Area you sure" with a bunch of no options. When will i see the davlik-cache option?
Click to expand...
Click to collapse
you will go into advanced options in the recorvery press the davlik option...it will take a few moments the give you the option to wipe davlik which inturn takes a few moments also.

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

[Q] *wipe*

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!

any way to wipe device cache without custom recovery?

with my H815 i can't boot into recovery (stock) to wipe the device cache. is there any way to this without twrp installed?
EDIT: so i cleared the cache under settings/storage. is there any way to clear dalvik cache without custom recovery? i'm guessing not
Download lucky patcher apk, Grant root permission go to toolbox there's an option to clear DALVIK CACHE
Dalvik Cache can be cleared with Titanium Backup... Settings Storage cleans the apps cache but not the system cache. System cache can be cleaned by power off the phone. With phone off, press the power and down buttons at the same time and a menu will come up.
flashfire Add >> wipe >> choose whatever you want to wipe
http://forum.xda-developers.com/showthread.php?t=2700146

Categories

Resources