I have been scouring the interwebs trying to find the answer to my question, but nothing fits perfectly or completely confirms what I am looking for.
The Atrix currently has not custom recovery option, so we have no dedicated command to wipe just the Dalvik-Cache. In the stock recovery there is an option to Wipe Cache Partition. How do these two compare? Is the Wipe Cache Partition just as safe as wiping the Dalvik alone, and does it take care of the Dalvik?
I found a partial answer for a manual wipe, but it's instructions are incorrect for our file system. This is the Terminal code I could find:
Code:
$su
#cd /system/sd/dalvik-cache
#rm *
#exit
$exit
BUT, our Dalvik-Cache is not in system/sd, correct? I've only found it in /data. I can try this, but I just wanted to make sure I wasn't clearing out something I wasn't supposed to. Is this just the new file/folder structure for 2.2+?
This would be what I'd try:
Code:
$su
#cd /data/dalvik-cache
#rm *
#exit
$exit
This correct?
Thanks in advance for the help!
Really? Nobody can help? How are you guys wiping dalvik?
[Q] wipe dalvik cache
how to do a data/ dalvick cache wipe without a unlocked bootloader? by adb? many thanks!
Cache partition vs. Dalvik cache
das8nt said:
The Atrix currently has not custom recovery option, so we have no dedicated command to wipe just the Dalvik-Cache. In the stock recovery there is an option to Wipe Cache Partition. How do these two compare? Is the Wipe Cache Partition just as safe as wiping the Dalvik alone, and does it take care of the Dalvik?
Click to expand...
Click to collapse
Clear question, no answer! I stumbled over it because I have the exact same question.
Apparently, reading some vague information elsewhere, the two are not the same. The Dalvik cache can always be wiped---it will be rebuilt automatically. It contains the Java code that was translated on the fly by the just-in-time compiler.
I am not so sure about wiping the cache partition. Can that do damage?
http://lmgtfy.com/?q=can+wiping+the+cache+partition+in+android+do+damage?
Really? Waking up a dead thread for that..?
das8nt said:
I have been scouring the interwebs trying to find the answer to my question, but nothing fits perfectly or completely confirms what I am looking for.
The Atrix currently has not custom recovery option, so we have no dedicated command to wipe just the Dalvik-Cache. In the stock recovery there is an option to Wipe Cache Partition. How do these two compare? Is the Wipe Cache Partition just as safe as wiping the Dalvik alone, and does it take care of the Dalvik?
I found a partial answer for a manual wipe, but it's instructions are incorrect for our file system. This is the Terminal code I could find:
Code:
$su
#cd /system/sd/dalvik-cache
#rm *
#exit
$exit
BUT, our Dalvik-Cache is not in system/sd, correct? I've only found it in /data. I can try this, but I just wanted to make sure I wasn't clearing out something I wasn't supposed to. Is this just the new file/folder structure for 2.2+?
This would be what I'd try:
Code:
$su
#cd /data/dalvik-cache
#rm *
#exit
$exit
This correct?
Thanks in advance for the help!
Click to expand...
Click to collapse
We do have the option to wipe dalvik cache in the custom recovery options for Atrix both in Romracers or Rommanager 's recovery.
To access boot to the recovery and then go to advanced and then u should find wipe dalvik cache option.
Hope it helps.
Sent from my MB860 using Tapatalk
anupash said:
We do have the option to wipe dalvik cache in the custom recovery options for Atrix both in Romracers or Rommanager 's recovery.
To access boot to the recovery and then go to advanced and then u should find wipe dalvik cache option.
Hope it helps.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
The question was asked on the 2nd of March mate..
Related
I know what happens when you do a factory reset/wipe, but what exactly happens if I only wipe Dalvik Cache? (I'm about to flash a ROM, don't want to do a complete factory reset/wipe, but wondering if I can still help "eliminate ghosts" by wiping Dalvik Cache.)
Bump, is this just like a crazy question or something?
What exactly does wiping Dalvik cache do?
trunkstar1 said:
Bump, is this just like a crazy question or something?
What exactly does wiping Dalvik cache do?
Click to expand...
Click to collapse
dalvik is a virtual machine in android operating system that runs applications, which is similar java vm. dalvik builds some sort of cache of applications (i wouldn't go into details) to run them faster in dalvik cache space. you can clear them out, and android will rebuild the cache on the next boot. and the initial boot will take longer than usual once you wiped the dalvik cache because android needs to rebuild it.
So it's something that you can safely wipe on occasion right, just to clear up any bugs?
trunkstar1 said:
So it's something that you can safely wipe on occasion right, just to clear up any bugs?
Click to expand...
Click to collapse
when you flash a custom rom, usually the rom automatically wipes out dalvik cache to remove all that junk from the previous rom.. you do not need to wipe it regularly unless you flash apps or any other system modifications on top of the existing rom via clockworkmod recovery very often
But is there any "harm" in doing it? Any consequences other than a longer reboot time?
trunkstar1 said:
But is there any "harm" in doing it? Any consequences other than a longer reboot time?
Click to expand...
Click to collapse
Not at all. Apps will just be a little sluggish for a bit.
Sent from my SGH-T959 using XDA App
Using Kies to goto 2.2, does that wipes Dalvik cache? Koz I went to 2.2 from kies mini, then ODIN'd a Voodoo kernel and i never wiped it manually...
so should I?
many thanks
You are trying to not factory reset but any rom you will find will have a system, data, data_data and cache wipe built into it. You can try finding a Rom you like and remove the wipes from the update_script but those wipes are put there on purpose. Kies will wipe everything too.
or use root explorer go in to system and find dalvik cache and delete files =>
sir can i ask a question?
jaetm83 said:
dalvik is a virtual machine in android operating system that runs applications, which is similar java vm. dalvik builds some sort of cache of applications (i wouldn't go into details) to run them faster in dalvik cache space. you can clear them out, and android will rebuild the cache on the next boot. and the initial boot will take longer than usual once you wiped the dalvik cache because android needs to rebuild it.
Click to expand...
Click to collapse
is it normal to boot so long when i accidentally wipe dalvik cache? because im afraid and thinking my phone was brick what can i do to turn it back normal? wait to boot the system?
avie14 said:
is it normal to boot so long when i accidentally wipe dalvik cache? because im afraid and thinking my phone was brick what can i do to turn it back normal? wait to boot the system?
Click to expand...
Click to collapse
Yes it is normal for it to take longer than a normal bootup. It is rebuilding the Dalvik that was just wiped. #nosorcery
trunkstar1 said:
I know what happens when you do a factory reset/wipe, but what exactly happens if I only wipe Dalvik Cache? (I'm about to flash a ROM, don't want to do a complete factory reset/wipe, but wondering if I can still help "eliminate ghosts" by wiping Dalvik Cache.)
Click to expand...
Click to collapse
Thank you for this question, thank you guys now I know that wiping dalvik cache is not that bad at all.
When I try to download an application from the market, it get the notice "insufficient memory" but in the settings menu, I have 1.6 GB of application space. I'm running on a JK2 Froyo ROM. Thanks for any and all answers.
unfortunately /cache has only ~25 Mb free ... that place is used for downloading apps from market
if you are rooted you can just do
adb shell
su -
mkdir /mnt/sdcard/cache/
mount -o bind /mnt/sdcard/cache/ /cache/
that will use your phone storage for downloading cache
That's great, but is there any way to do it without ADB. Everytime I use it, I get really bad luck and end up with a brick even though I follow instructions to a T.
I just disable voodoo, it always works for me. I remember reading a while back in the i9000 forums that voodoo takes away some of the cache space from the market and can cause this issue.
Try wiping cache from red recovery that may do the trick.
Sent from my SGH-T959 using xda premium
I ran into this same issue today when trying to update google docs.
-Reboot into recovery
-wipe cache
-go to advanced
-wipe dalvik cache
-reboot (It will take longer to boot because of the dalvik wipe.)
Go back to the market, download app, rejoice.
bosox86 said:
I ran into this same issue today when trying to update google docs.
-Reboot into recovery
-wipe cache
-go to advanced
-wipe dalvik cache
-reboot (It will take longer to boot because of the dalvik wipe.)
Go back to the market, download app, rejoice.
Click to expand...
Click to collapse
Works like charm. Thanks.
is choosing option "wipe cache partition" enough? or must I find dalvik cache somewhere? (it isn't obvious, that's for sure)
Which recovery do you use?
Sent from my HTC Glacier using xda premium
stock one. simple recovery tool.
romuloxiii said:
Which recovery do you use?
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
yeah, just normal recovery. preparing for ota jelly bean update for razr. it has no option that says "clear dalvik cache", it only has "clear cache partition" or something similiar
Install Safestrap
Download and Install Safestrap. then access your recovery again and you will see te wipe option, click on it and there's a Davilk/Cache option.
You can do dalvic cache from bootmenu manager
Bootmenu manager for me is the best recovery.
But in any recovery which is not the standart, you have to look in "clean something" or "more". It's always like this.
Wiping Dalvik cash
Montanari said:
Bootmenu manager for me is the best recovery.
But in any recovery which is not the standart, you have to look in "clean something" or "more". It's always like this.
Click to expand...
Click to collapse
In BMM Recovery search for wipe and clean there you'll find wipe dalvik
Wiping dalvik cache
AverageFail said:
is choosing option "wipe cache partition" enough? or must I find dalvik cache somewhere? (it isn't obvious, that's for sure)
Click to expand...
Click to collapse
In the main menu of cwm recovery
There is an option named 'advanced'
Click it. :good:
Then you will see "Wipe Dalvik Cache"
:laugh:
I found same question in Dev forum but can't post as I'm still new. So I ask the same question here:
What is Davik Cache and what is normal Cache?
Are they the same thing or 2 different cache that must be wiped when flashing roms?
Normal Cache is any temporary information created or used by an app.
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.
When you full wipe the normal cache is being deleted automaticly. Dalvik cache is being deleted manually via any recovery. Under Advanced in CWM.
Sent from my Nexus 10 using Tapatalk HD
thanks
thanks
Thanks, now I understand better. I was wondering where is this Dalvik Cache as I couldn't find the clearing function, so it is only found in custom Recovery mode.
What about my factory default phone? Its stock recovery show up as Android system recovery <3E>, there's a wipe cache partition function. I tried it and all my apps still working ok.
Thanks!
Using flawless ics rom, and i started getting random reboots. Idk why, i didnt use titanium backup at all.
My apps are all useful right now so i dont wanna lose them. So how can i do like some soft wipe that doesnt delete all my apps? I dont want to do backups. Becoz it can lead to random reboot if i restore them.
Did wipe cache but no help.
Sent from my WT19i using xda app-developers app
Wipe Dalvik cache ...thats soft wipe...
Random reboots looks like more of kernel issue ...
The only things you can wipe without loosing data are cache and dalvik cache. But wiping dalvik cache won't change anything, because as far as I know the dalvik cache will be rebuilt on every boot
So try wiping cache or change the kernel for the rom
Sent from my Nexus 4 running Android 4.3
mihahn said:
The only things you can wipe without loosing data are cache and dalvik cache. But wiping dalvik cache won't change anything, because as far as I know the dalvik cache will be rebuilt on every boot
So try wiping cache or change the kernel for the rom
Sent from my Nexus 4 running Android 4.3
Click to expand...
Click to collapse
Dalvik cache is rebuilt only on first boot or if an app is changed via recovery or if you upgrade to higher OS (like ics to JB)...
Some times it gets corrupted and wiping helps...(like 1 in 10 times...) and the cache gets rebuilt (android is upgrading....)
Cache is wiped whenever you reboot so it's one of the most pointless thing to do in recovery for stock roms..(wiping batteystats is the most pointless thing...)
On CM roms ,system dalvik lies in /cache so wiping cache is equivalent to wiping dalvik for system apps..
@OP
Use titanium backup to backup all apps and do a complete wipe..
karandpr said:
Dalvik cache is rebuilt only on first boot or if an app is changed via recovery or if you upgrade to higher OS (like ics to JB)...
Some times it gets corrupted and wiping helps...(like 1 in 10 times...) and the cache gets rebuilt (android is upgrading....)
Cache is wiped whenever you reboot so it's one of the most pointless thing to do in recovery for stock roms..(wiping batteystats is the most pointless thing...)
On CM roms ,system dalvik lies in /cache so wiping cache is equivalent to wiping dalvik for system apps..
@OP
Use titanium backup to backup all apps and do a complete wipe..
Click to expand...
Click to collapse
give him a medal :good: