So maybe I just don't understand what wiping cache and dalvik cache in recovery means exactly, BUT I just wiped both (something I've been recommended to do many times to help with various issues) and I just noticed that all my browser tabs are still open... Shouldn't they have been cleared out?
Just confused...
Sent from my myTouch_4G_Slide using xda app-developers app
polarbearmc said:
So maybe I just don't understand what wiping cache and dalvik cache in recovery means exactly, BUT I just wiped both (something I've been recommended to do many times to help with various issues) and I just noticed that all my browser tabs are still open... Shouldn't they have been cleared out?
Just confused...
Sent from my myTouch_4G_Slide using xda app-developers app
Click to expand...
Click to collapse
It's my understanding that the cache is for bits & pieces of info that the system uses over and over but not significant enough to be stored in the limited but much faster RAM. Kinda like the cache on your hard drive. The dalvik cache, I think, is for info related to your apps and how they are to interact with your system and ROM communications with each other.
Your browser tabs, google, e-mail info and the like is stored in the 'user data/factory reset' recovery selection which is why you still have all that. It's info that you have input after flashing your ROM & setting it up along with the location of your apps on your desktop pages.
I THINK.........LOL
Related
Hey guys,
Question from a noob here. When exactly should you wipe data and cache?
I noticed that when I recently installed the gala x theme from rom manager before the install I was given 2 options. Make a back up and wipe data and cache. I went ahead and of course made a back up but chose not to wipe data and cache.
What is the right thing to do?
Thanks in advance
no one???? Some one must know.
If you are on a clean rom with no themes and your installing a new theme then no. The only time you need to wipe date and cache is if you are going from one rom to another. The reason for that is because of conflicting info.
So yes you are good if just adding a new theme
Sent from my DROIDX using XDA App
Thank you good sir. that makes sense and is what i thought/hoped.
No prob. Any other questions just email me. I don't get to the post to often. [email protected] gmail.com
Sent from my DROIDX using XDA App
Just a side note here; I wipe my cache weekly. I noticed my phone getting slow after the 2.2 OTA. Also, I got all kinds of FC's and other problems. I wiped my cache ONLY and it fixed all of my problems. Your system will rebuild the cache again as needed, so the first load may take a little longer, but there is less junk to sort through, so it's quicker to load on the next request. Oh, and as long as you do NOT wipe the data you won't lose anything.
Would it be advisable to wipe data and cache before restoring a back up?
What kind data is deleted with "Wipe data" ?
I come from fixed sbf, because of black screen and white led.
After that I had internal memory 128mb.
Tried Factory reset and Wipe data, nothing.
I tried to do according to the Beginners guide.
But after installing CM7, and kernel Froyo and Gapps, there is not said, that wipe data is needed (in cm7 instructions).
So I got stuck on the Google logo screen.
Once again, from the beginning with fixed sbf.
Does it make difference, because I have 128mb internal memory or is Cache somewhere else? In ram ?
I posted this on rootzwiki a couple of days ago and have had absolutely no takers, so I'm posting it here (not sure who has a bigger active community).
Hi all, I have a question about the Dalvik cache:
I found this definition of what the Dalvik cache is:
http://www.shahz.net...lvik-cache.html
But...
I see this as an answer very often on all forums for all ROMs: wipe the dalvik cache, fixes everything. But why should we have to do this? Is android so broken as an OS that it can't manage its own cache properly? If I understand correctly, the dalvik cache is not something that is unique to custom ROMs, it's something that Google developed as part of the native android OS. Why would they develop something that needs to be micromanaged like this into an OS that is used by techies and non-techies alike across the world? If I understand correctly also, you can't even wipe the dalvik cache if you're not rooted. The majority of android devices running in the wild are NOT rooted, and I don't think Google intended android to be run rooted. So I can't imagine they'd ever intend anyone to have to wipe the dalvik cache in the first place.
That being said, it appears that wiping the dalvik cache does fix some issues for some people. maybe not the root cause of the issue, but at least the symptoms. so, is there an app that will automatically wipe the dalvik cache in the background at regular intervals so that you never have to do it yourself?
Thanks!
the wipe-dalvik-cache things is a long and old story that not true anymore. as some CM dev said, the cache got invalid after you flash a new ROM and the OS will recreate automatically.
Even if you have to wipe, it's not Android fault, why are you flash ROM from the start? My friend have a LG P500, she never root it, never know what recovery or flash is, the OS is not broken, it's your fault to hack it, and if you love to hack, learn to live with it.
Please understand, I'm not bashing android (trust me, I'm an avid android fan), I just want to understand why this is the first answer people give when others are having issues.
What I don't understand or agree with is the fact that people seem to indiscriminately resort to wiping the dalvik cache as a FIRST resort. It's like telling someone to reinstall their OS everytime they have an issue (yeah I know, it's not as much work, but you get my meaning). Well, no **** a total reinstall will probably fix it, but I'd rather not have to do it. I want to know what the root cause is and try to prevent it in the future.
So is wiping the dalvik cache something that people do on a regular basis? Or is it usually just a one-time fix for certain issues? Or something you do only once when flashing a new ROM? Or like you say, is it not even a valid fix anymore?
Funnnny said:
it's your fault to hack it, and if you love to hack, learn to live with it.
Click to expand...
Click to collapse
So are you implying that the "need" to wipe the dalvik cache is directly related to "hacking" (i assume you mean rooting/flashing) your device?
My wife and I both have the same phone, Droid X. She is running stock unrooted ROM, and I am the "tinkerer" who likes to try different ROMs. I've only tried 2 ROMs so far and I don't plan to flash anymore (currently using Vortex 2.9, which is not too far from stock). I notice that both of our phones have issues with random reboots, among other things, so I don't think the issues I'm having are directly related to my phone being flashed and rooted, since hers is not and she's having the same issues. I'm thinking this is something with android itself, or with certain apps. Should I root her phone too and try wiping the dalvik cache? Does the dalvik cache get rebuilt everytime you reboot your phone? I just want to understand.
And it would be nice to hear from someone who is an actual developer who understands the inner workings of android, rather than a "hacker" like me who only has anecdotal evidence to share.
Thanks!
Very good, logical nad brief answer found here:
http://www.shahz.net/android/what-is-dalvik-cache.html
According to the article, it should be safe to delete. Has anysone tried it?
It makes sense that it sould be wiped if you install/uninstall a lot of apps, since their classes.dex will be in cache and probably remain there.
Can anyone shed a light?
The Dalvik Cache is completely safe to wipe. You will only find this as an available option if you have installed CWM on your Android Device.
Think of it sort of as you would think of the Windows Temp Folder in Windows. It is completely fine to Wipe the Windows Temp folder, and in some cases, completely necessary to resolve an issue.
The same is true with the Dalvik Cache. When an APK is launched, it is extracted to the Dalvik Cache and run from there. It is a temporary file location.
The reason for clearing the Dalvik Cache after flashing a new ROM, is to clean up the Cache so that no temp files from the previous ROM Build are in there as clutter. There are some instances in which an App might not function or authenticate properly after flashng to a new ROM because some of the temp files in the Dalvik Cache are used, rather than a fresh copy that was extracted after the new build was installed on the device.
There is much more to the Dalvik Cache than I have described in this post, but what I have mentioned is a basic overview of the major functionality of the Dalvik Cache.
Cheers!
Great, so who knows where to find an app that auto deletes that meddling troublesome dalvik folder? I believe it is the culprit responsible for not allowing the phone at reboot to find a signal
You can only wipe the dalvik cache from recovery. For an apk to work it first has to be pushed onto the cache, so it can't delete the folder the apk itself is using.
syung said:
You can only wipe the dalvik cache from recovery. For an apk to work it first has to be pushed onto the cache, so it can't delete the folder the apk itself is using.
Click to expand...
Click to collapse
Not true. Titanium backup can delete the dalvik cache. You can also delete dalvik cache folder manually using a root file explorer.
However when you delete the dalvik cache it will rebuild itself upon the next boot.
Dalvik who?
So, can anyone really explain to me what the dalvik cache does, exactly?
It takes about 2.8 GB of my internal memory and i'm about to run out of free space. Is there a limit of dalvik-cache or will it grow bigger till forever?
Now I have Dalvik Cache folder with 3.13 GB in my Galaxy S4. Is its size unlimited and constantly growing?
Can I safely wipe it using TWRP?
clearing dalvik cache without root
pchoi94 said:
If I understand correctly also, you can't even wipe the dalvik cache if you're not rooted. The majority of android devices running in the wild are NOT rooted, and I don't think Google intended android to be run rooted. So I can't imagine they'd ever intend anyone to have to wipe the dalvik cache in the first place.
Thanks!
Click to expand...
Click to collapse
You can clear dalvik cache with stock recovery, just boot into recovery (the sequence varies for different phones), then choose the option that says "wipe dalvik cache" or "clear dalvik cache" or something like that. I don't remember how it's worded, but the option is there. On my phone it's the second option right below factory reset. I am curious whether it's safe to clear without root & with the factory ROM. I'm running low on storage, & thought of that as a way to recover some space. Is that safe & will it benefit me any?
Hello,
please check my latest app called 'Clear Cache':
With Clear Cache you can clear all the Android caches on your device. Just hit the button and the corresponding cache on your device will be cleared. This can speed-up your device and of course it also helps to get more free internal memory.
Features:
-Clear App cache
-Clear Partition cache (needs root)
-Clear Dalvik cache (needs root)
-Show the current sizes of all those three caches (needs root)
Google Play
Maybe it's useful to someone
Very useful indeed. Thanks:good:
Seems pretty effective. Nice and simple too. Thanks.
thx for your replies
On my old android device with low free internal memory clearing the caches helped to speed to it up a bit.
That's why i created this app finally
after clearing dalvik im stuck on my boot logo (N7000 4.1.2 XXLT4) :/
is it building a new cache or what because after i cleared the cache the phone was really laggy and thats why i "killed" it so now its not booting :/ but i still have access to cwm
Thanks man
Sent from my MITO A50 using XDA Premium 4 mobile app
mindfck1337 said:
is it building a new cache or what because after i cleared the cache the phone was really laggy
Click to expand...
Click to collapse
The app only clears the caches (=removes the cached files).
If you cleared the Dalvik-Cache the first boot after clearing could take a while, because Android will create this cache again. For example on Android 4+ this rebuilding process then is shown as something like "Optimizing Apps".
App and partition cache will be rebuilt on the fly by Android (if the system needs something cached).
nr1 said:
The app only clears the caches (=removes the cached files).
If you cleared the Dalvik-Cache the first boot after clearing could take a while, because Android will create this cache again. For example on Android 4+ this rebuilding process then is shown as something like "Optimizing Apps".
App and partition cache will be rebuilt on the fly by Android (if the system needs something cached).
Click to expand...
Click to collapse
yup thought that
it booted now after waiting for like 10 minutes and its faster now
mindfck1337 said:
it booted now after waiting for like 10 minutes and its faster now
Click to expand...
Click to collapse
ok, great
I got fed up with Clean master app. Should I use this one instead or is there a better one too?
Pretty useful. Thanks buddy!
So i lost around 1GB of internal storage, i read a post that suggesti to clear dalvik cache, is there any risk of wiping dalvik cache?? Like bootloop?? And btw im using stock rom and rooted thanks
Edit
Did I say anything?
Iasashvili said:
Cache and dalvic/art cache won't to anything to your personal data and /system...
http://en.wikipedia.org/wiki/Dalvik_(software)
After you reboot, Dalvik cache and Cache are re-created.
Click to expand...
Click to collapse
wrong....
you can loosr every cache related data from your apps..... eg:
if you are signed in XDA app and have set some params (like color= dark theme) then those stuff goes into dalvik cache...(art in cm12) those stuff will be loosed
depending on "how" your app does savegames you can also loose savegames (most games will save it in other folders so its not often)
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
wrong....
you can loosr every cache related data from your apps..... eg:
if you are signed in XDA app and have set some params (like color= dark theme) then those stuff goes into dalvik cache...(art in cm12) those stuff will be loosed
depending on "how" your app does savegames you can also loose savegames (most games will save it in other folders so its not often)
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
But from this thread http://forum.xda-developers.com/xperia-l/general/solved-memory-problems-xperia-l-t2496895 it said that cleaning dalvik cache is the solution for internal memory leak.
Do you have any solution?? as you can see from my screenshot that a system files take around 1GB space and XL only have 4GB
I have just recently rooted my old Kindle Fire HD 2012 7" model and after making a backup before getting android on it, I wiped it due to slow performance and only 21mb of data remaining.
When I was greeted with the setup screen I got to the " Choose a wifi network " screen and was confused to find that it said that there were no nearby wifi networks to connect to. I knew
something was up with the device because on all my other devices, the wifi was working just fine. I skipped the setup and tried getting wifi but saw that tapping the wifi on button was greyed out
for an unknown reason. Also, I did this all on the kindle without a computer. I'm very new to rooting kindles and android devices and to these forums so could someone please help me resolve this issue?
MSD615 said:
I have just recently rooted my old Kindle Fire HD 2012 7" model and after making a backup before getting android on it, I wiped it due to slow performance and only 21mb of data remaining.
When I was greeted with the setup screen I got to the " Choose a wifi network " screen and was confused to find that it said that there were no nearby wifi networks to connect to. I knew
something was up with the device because on all my other devices, the wifi was working just fine. I skipped the setup and tried getting wifi but saw that tapping the wifi on button was greyed out
for an unknown reason. Also, I did this all on the kindle without a computer. I'm very new to rooting kindles and android devices and to these forums so could someone please help me resolve this issue?
Click to expand...
Click to collapse
Boot to TWRP and choose the advanced wipes, then select cache partition and Dalvik/ART cache, do not select any other partitions listed. Then swipe the slider at the bottom, let it finish wiping then reboot the device.
***NOTE***Do not factory reset, that's not what you want. It would work also but it will wipe your user data and settings, you only want to wipe the cache partitions. Wiping just Dalvik/ART cache would probably fix it but for safe measure, wipe the regular cache also. You will not lose any data doing this, it only clears cache so that when you reboot it loads all your apps from a fresh start with no cached data from things that aren't there anymore.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
Boot to TWRP and choose the advanced wipes, then select cache partition and Dalvik/ART cache, do not select any other partitions listed. Then swipe the slider at the bottom, let it finish wiping then reboot the device.
***NOTE***Do not factory reset, that's not what you want. It would work also but it will wipe your user data and settings, you only want to wipe the cache partitions. Wiping just Dalvik/ART cache would probably fix it but for safe measure, wipe the regular cache also. You will not lose any data doing this, it only clears cache so that when you reboot it loads all your apps from a fresh start with no cached data from things that aren't there anymore.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
I followed your instructions but the wifi is still greyed out. I should also mention that I may have messed something up before making this thread, I made the mistake of doing the equivalent of picking at a wound by clearing everything ( the dalvik cache, data, internal storage, cache, and system ) however I did restore the system from a backup but I couldn't restore the data because the backup failed previously.
MSD615 said:
I followed your instructions but the wifi is still greyed out. I should also mention that I may have messed something up before making this thread, I made the mistake of doing the equivalent of picking at a wound by clearing everything ( the dalvik cache, data, internal storage, cache, and system ) however I did restore the system from a backup but I couldn't restore the data because the backup failed previously.
Click to expand...
Click to collapse
If you messed something up before this then you need to take your question/issue to the Kindle Fire HD forum here. The Kindle forum here covers different models of kindle so make sure you're getting the right information for your specific version of kindle.
Sent from my SM-S903VL using Tapatalk