What exactly is the Dalvik Cache and when do I need to clear it? Is it something that should be done when you replace one rom with another or is a data wipe all you need to do?
Any clarity on what a Dalvik cache is would be greatly appreciated. I just want to know the basics of what it is and when I do or do not need to use it.
Thanks
The Following 5 Users Say Thank You to Tamasabian For This Useful Post:
What exactly is the Dalvik Cache and when do I need to clear it? Is it something that should be done when you replace one rom with another or is a data wipe all you need to do?
Any clarity on what a Dalvik cache is would be greatly appreciated. I just want to know the basics of what it is and when I do or do not need to use it.
Thanks
im not exactly clear either, ui think it has to do with the application data though. from my work with the a2sd, the dalvik cache is a part of getting the apps to work. i say, any time you do a data wipe, do a dalvik wipe too
got an answer
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 a optimization of the running program. Sounds confusing. It's similar to the prefetch files in Windows.
The Following 24 Users Say Thank You to andrizoid For This Useful Post:
got an answer
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 a optimization of the running program. Sounds confusing. It's similar to the prefetch files in Windows.
Ok. So I should just clear it when I do a data wipe to flash a new rom? Will it be a problem if I just do a data wipe and flash a new rom without doing the dalvik cache?
Ok. So I should just clear it when I do a data wipe to flash a new rom? Will it be a problem if I just do a data wipe and flash a new rom without doing the dalvik cache?
i have had issues when i dont clear the dalvik cache, but never had issues when i do. just cear it, nothing bad will happen and only good can come of it
is wiping the dalvik cahce the same as doing a 'wipe cache partition' when in ClockworkMod Recovery mode?
Thanks in advance
-g
Simply put: no, not in every case; it depends a great deal on the ROM you are using.
There are circumstances where it would have the same effect - for custom ROMs which are using cache2cache, it would have the effect of wiping the dalvik-cache for market apps only - and if it is a CyanogenMod6 ROM (e.g. many of the Eris "Froyo" ROMs), then it would wipe the dalvik-cache for the pre-installed or "system" apps.
I'm not trying to confuse you - it's just that your question, as posed - doesn't have a "one size fits all" answer.
The most general piece of advice that can be given is this: try to wipe as much as possible prior to installing a new ROM and avoid doing "upgrade" installs. If you want to be more clever than that (to avoid the hassles of re-configuring a new ROM), then you ought to understand how each of the ROMs (both the "before" and "after") are using /cache to see what you can "get away with".
eu1
__________________
Please don't send me PMs - post your questions so others may benefit from any answers given.
Last edited by erisuser1; October 21st, 2010 at 03:22 PM.
Reason: grammar
The Following 4 Users Say Thank You to erisuser1 For This Useful Post:
Device(s): Incredible 2, stock 2.3.4
Eris, rooted, with XtrSense
Carrier: Not Provided
Thanks: 63
Thanked 23 Times in 11 Posts
think the Davlik cache or Davlik zone was first introduced by Star Trek and originally carried the name of Delphic Expanse .
It is a narrow patch of space located between the Klingon Neutral Zone and the Cardassian Demilitarized Zone. It was mainly used as a recovery place when a temporaly anomaly occured.
think the Davlik cache or Davlik zone was first introduced by Star Trek and originally carried the name of Delphic Expanse .
It is a narrow patch of space located between the Klingon Neutral Zone and the Cardassian Demilitarized Zone. It was mainly used as a recovery place when a temporaly anomaly occured.
Or something like that.
Peter
I thought it where the Time Lord's (Dr. Who) arch-enemy Davros from planet Skaro kept his Daleks
Quote from this link: Dalvik, like the rest of Android, is open-source software. It was originally written by Dan Bornstein, who named it after the fishing village of Dalvík in Eyjafjörður, Iceland, where some of his ancestors lived.
Don't even try to pronounce that, lol! I have a friend from Iceland that I used to play soccer with who could probably tell me all about it (none of us could even pronounce his name properly, which was Hafsteinnen, so we called him "Haf" (and he didn't pronounce like it would read if it were German)).
Device(s): Incredible 2, stock 2.3.4
Eris, rooted, with XtrSense
Carrier: Not Provided
Thanks: 63
Thanked 23 Times in 11 Posts
Now seriously:
Biff Dalvik 3rd, was a 2nd rate software architect of the 1st version of Android at Google.
He actually did nothing useful at the company and the only reason they kept him there that he was a distant second cousin of Mr Google himself.
At his retiremnt party they honored him by naming a (then) useless piece of empty memory patch between the screen memory area and the keyboard driver - the Dalvik Cache.
That very area later became a valuable real esate of the phone memory.
.P.
Titanium has it as an option. Im not installing a rom or anything. Is it ok/good/bad to wipe the cache during normal operation? (rooted)
Well, in my case it was a miracle that helps me. I have Sony Ericsson X10 mini come with pre-installed Office Suite. After failed updating, it always showing error when trying to update. So i rooted my phone and use titanium backup to wipe data (Office Suite & Office Suite Service Updater). Voila!! Office Suite return to its previous normal state and updating was working (just make sure have a stable connection so downloading update won't stop in the middle and causing that errror again) i need
Last edited by Erietha88; March 17th, 2011 at 02:49 AM.
had "read only" error wit radio rip/spartacus rex (awesome streaming recorder btw) and when trying to download in net browser, even tho astro would still (mostly) see card and access files.
error check didn't fix it.
successfully fixed it by wiping cache/dalvik cache!
Thanks for all those who've added to the documentation of errors and fixes; I'm using rooted Evo via unrevoked3 and stock ui.
And thanks for explaining, I'm one of those that doesn't really grok and remember stuff unless I'm told WHAT it is and does and it makes sense.
Well, in my case it was a miracle that helps me. I have Sony Ericsson X10 mini come with pre-installed Office Suite. After failed updating, it always showing error when trying to update. So i rooted my phone and use titanium backup to wipe data (Office Suite & Office Suite Service Updater). Voila!! Office Suite return to its previous normal state and updating was working (just make sure have a stable connection so downloading update won't stop in the middle and causing that errror again) i need
Tried with titanium wants non free app. So I skipped it.
I did dl ng cleaner thanks for that recommendation..
I was trying to install the latest ROM from CM and I was having trouble with the phone booting into boot, then to fastboot, only to find that it couldn't seem to find any image. After reading this thread I grew some balls and chose all 3 check boxes (backup current Rom, clear data and cache, and clear dalvik cache).
all of a sudden, worked like charm!
fair warning though, I lost all of my apps and all settings were reset. In comes google to save the day as I have been using the option to sync my device with google and it went and reinstalled everything over a 10 minute sync operation all by itself. I love my little pocket robot!
fair warning though, I lost all of my apps and all settings were reset.
This is par for the course, except in some very specific circumstances:
- you are going from stock to a very-close-to-stock ROM, such as xtrSENSE, Evil Eris, Plain Jane, or CondemnedSoul's 666th Sense. You generally should wipe Dalvik, but you can usually get away with not wiping data and be all set. (Note: xtrROM is *not* one of these ROMs - you need to wipe data/factory reset when you install this ROM, unless ...)
- usually (though not always) you can upgrade from one version of a ROM to another with just a Dalvik cache wipe.
We all who know this should apologize for not making this very clear to people rooting their phone for the first time.
Device(s): LG Ally :( too long till I can upgrade without paying full price. I don't recommend this phone.
Carrier: Not Provided
Thanks: 0
Thanked 0 Times in 0 Posts
App2SD
App2SD will also let you clear your cache and move apps to your SD card which could help. It's not been a total solution for me, but it has helped with this whole LG Ally not having enough memory thing.
App2SD will also let you clear your cache and move apps to your SD card which could help. It's not been a total solution for me, but it has helped with this whole LG Ally not having enough memory thing.
App2SD will also let you clear your cache and move apps to your SD card which could help. It's not been a total solution for me, but it has helped with this whole LG Ally not having enough memory thing.
Welcome to the AndroidForums, CussinSailor (and thanks for not cussing, LOL ).
Yeah, you are going to see a big jump in performance when you get your next device. Bigger, better screens, more storage for apps, etc.
The Eris devs certainly did a lot with building apps2sd into a lot of the custom ROMs as I'm sure the Ally root guys did, too.
Be sure to check-out the Ally root sub-forum if you haven't already: