[Q] Wiping Dalvik - EVO 4G Q&A, Help & Troubleshooting

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

Related

[Q] How to clear cache after RM apk in Clockwork Recovery

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

[Q] Dalvik Cache and Clockworkmod Questions

In Clockworkmod 2.6.0.1
Why is Clearing Dalvik Cache in Adavanced and not side by side with other Clearing items on main menu?
Why isn't Dalvik Cache cleared with a full Data/Cache Clear?
What's in Dalvik Cache vs Cache?
Anyone have any idea why when I select Clear Dalvik in Clockworkmod that sometimes it takes a while to display the "Are you Sure" page? Seems completely random. Most of the time it comes up instantly as all confirmation pages. But once in a while it just sits there for a while and then it pops up.
my answers are as follows
1. don't know
2. not sure
3. I'll leave that to an expert
All I know is that all of the problems I was having went away when I switched to Amon. Probably not the answer you're looking for, but you may want to look into Amon if you are having recovery concerns.
When I used Clockwork, it did seem like the Dalvik cache wipe really didn't do anything, and according to a lot of the Devs, it doesn't. I always had major problems with clockwork, even considered unrooting because the phone had so many post wipe/flash issues.
If it ain't broke don't fix it.
If I have a problem I'll check out Amon but the delay I see when choosing it is not a problem as far as I know, I was just curious what it was. Perhaps it's the order I might do something.
I also wanted to understand more about what it actually is.
mswlogo said:
In Clockworkmod 2.6.0.1
Why is Clearing Dalvik Cache in Adavanced and not side by side with other Clearing items on main menu?
Why isn't Dalvik Cache cleared with a full Data/Cache Clear?
What's in Dalvik Cache vs Cache?
Anyone have any idea why when I select Clear Dalvik in Clockworkmod that sometimes it takes a while to display the "Are you Sure" page? Seems completely random. Most of the time it comes up instantly as all confirmation pages. But once in a while it just sits there for a while and then it pops up.
Click to expand...
Click to collapse
From Android Forums: "Dalvik cache is a program cache area for the program dalvik. Dalvik is a java based virtual machine that is the bases for running your programs (the ones that have the .apk extension). In order to make access times faster (because there's not JIT (just in time) compiler installed by default), the dalvik-cache is the result of dalvik doing an optimization of the running program. Sounds confusing. It's similar to the prefetch files in Windows."
As for why Dalvik is located where it is in CW 2.6...have no idea but wish it was located out of the Advanced section to make it easier to get to. However, I believe 2.6.0.1 is wiping Dalvik properly even though sometimes it doesn't confirm it. Still think AR 1.8 is best recovery of all.
CCallahan said:
From Android Forums: "Dalvik cache is a program cache area for the program dalvik. Dalvik is a java based virtual machine that is the bases for running your programs (the ones that have the .apk extension). In order to make access times faster (because there's not JIT (just in time) compiler installed by default), the dalvik-cache is the result of dalvik doing an optimization of the running program. Sounds confusing. It's similar to the prefetch files in Windows."
As for why Dalvik is located where it is in CW 2.6...have no idea but wish it was located out of the Advanced section to make it easier to get to. However, I believe 2.6.0.1 is wiping Dalvik properly even though sometimes it doesn't confirm it. Still think AR 1.8 is best recovery of all.
Click to expand...
Click to collapse
Thanks, it always prompts and it always confirms it's cleared. It just that the prompt page (Yes/No Page) sometimes takes a while and it's not doing anything between choose clear dalvik and the confirm page asking Are You Sure. You know, the Page where you have to push Down/Down/Down... and select. That page sometimes just doesn't pop up. But every other place that same confirm page pops up always comes up immediately. Just the Dalvik flavor of that confirm page is sometimes very slow to come up.
All I can think of is sometimes I just did Clear Data and Clear Cache just before and perhaps something needs to be rebuild before it can display that page. And other times I might do it in a different order. Say Dalvik first then the other clearing.
Just seems wierd and curious if others ever ran into it.
mswlogo said:
Thanks, it always prompts and it always confirms it's cleared. It just that the prompt page (Yes/No Page) sometimes takes a while and it's not doing anything between choose clear dalvik and the confirm page asking Are You Sure. You know, the Page where you have to push Down/Down/Down... and select. That page sometimes just doesn't pop up. But every other place that same confirm page pops up always comes up immediately. Just the Dalvik flavor of that confirm page is sometimes very slow to come up.
All I can think of is sometimes I just did Clear Data and Clear Cache just before and perhaps something needs to be rebuild before it can display that page. And other times I might do it in a different order. Say Dalvik first then the other clearing.
Just seems wierd and curious if others ever ran into it.
Click to expand...
Click to collapse
I experience the same thing. Sometimes it takes a bit to clear it and other times it doesn't. Depends on how long it has been since last change/wipe. With AR it gives the little progress dots and CW it doesn't so looks like it isn't doing anything when it actually is.

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

Dalvik cache clearing problem

I'm trying out a few ROMs today but now I think I cannot clear the dalvik cache.
In recovery, when I go to advanced -> wipe dalvik cache it says
E:unknown volume for path [/sd-ext]
I still get to choose "Confirm wipe? No No No.... Yes - Wipe Dalvik Cache" but I'm starting to think this has something to do with some ROMs not working (properly). Anyone knows how to get around this? Thanks!
I think there is a function for it in Titanium Backup. Sorry if it's not exactly what you're looking for.
Thanks I'll try that, do I need titanium backup pro for that?
I've got a relatively stable ROM now so I'll try it later when I have more time.
Carolief said:
I'm trying out a few ROMs today but now I think I cannot clear the dalvik cache.
In recovery, when I go to advanced -> wipe dalvik cache it says
E:unknown volume for path [/sd-ext]
Click to expand...
Click to collapse
do it again and it wont say the E:unknown path thing... at least mine doesn't...
Or you could always do it manually. ES File Explorer is a good app. Dalvik cache is safe to remove because the only thing that can happen to you is that it will be created again. Also, the pro version of Titanium backup (that, in my humble opinion, is absolutely worth the money) has functions like integrate dalvik to rom and undo the integration, which do come in handy if you're changing roms and tweaking them up.
you clean it directly by link2sd...there is the specific option

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

Categories

Resources