[Q] What is a dalvik Cache? - Android Q&A, Help & Troubleshooting

Hello guys i would like to ask what is a dalvik cache because i want to install this ROM For My Samsung Galaxy Y
Code:
http://forum.xda-developers.com/showthread.php?t=1602299

If you want to know what it is you can search Google or Wikipedia:
http://en.wikipedia.org/wiki/Dalvik_(software)
As far as installing ROMs go its recommended to clear the davlik cache each time you install a new ROM. On most android phones this is done from within Clockworkmod.

As far as installing ROMs go its recommended to clear the davlik cache each time you install a new ROM. On most android phones this is done from within Clockworkmod.
Click to expand...
Click to collapse
How do i do it in Clockworkmod. Would you kindly give me some instructions?

rara23 said:
How do i do it in Clockworkmod. Would you kindly give me some instructions?
Click to expand...
Click to collapse
Boot into CWM recovery, it should be under the "wipe". Look for "wipe dalvik-cache" option

Or under the tab: Advanced

Dalvik-cahce
Ive always somewhat wandered what the dalvik cache was never really bothered to look into it. but now i have its nice to know that when i wiped the cache each time i flashed a new ROM it was for good reason. Thanks

spunker88 said:
If you want to know what it is you can search Google or Wikipedia:
http://en.wikipedia.org/wiki/Dalvik_(software)
As far as installing ROMs go its recommended to clear the davlik cache each time you install a new ROM. On most android phones this is done from within Clockworkmod.
Click to expand...
Click to collapse
It does not mention the cache
Am i wrong to assume it's a bitcode of everything dalvik ever run/saw installed?

gcbxda said:
It does not mention the cache
Am i wrong to assume it's a bitcode of everything dalvik ever run/saw installed?
Click to expand...
Click to collapse
Search for what the cache is, read the Dalvik then link them together.

Related

[Q] Wipe Dalvik Cache?

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.

[Q] Kernel Manager

I'm running Adrynalyne's Das BAMF 1.4 with his 4.3a Kernel. I just downloaded the Kernel Manager app and i'm curious if I should first boot into CWM, clear the dalvik cache, then reboot and install the new 4.4.2 Kernel in Kernel Manager or will Kernel Manager give me the option to clear the dalvik/cache when I click "Download & Flash Kernel"?
Any help would be appreciated.
Also, i'm not sure i'm 100% clear on the dalvik cache vs regular cache. I thought I had an understanding, but I want to be sure i'm taking all the right steps when installing new Roms and Kernels.
I see an option in CWM (under Advanced) to "Wipe Dalvik Cache." Is this the only necessary step when installing a new Rom/Kernel? The way i've been doing it is is by doing a factory reset, then clearing Dalvik Cache, then installing Rom, then installing the Kernel.
Are these the right steps? Is there anything else I should be doing?
Thank you XDA, i was only recently introduced to Android and XDA, but I'm starting to learn ADB (manually rooted my phone and have pushed files to SD Card, still learning all the possibilities). This forum is awesome.
ask him yourself. click the link http://forum.xda-developers.com/showpost.php?p=11403269&postcount=7 and then click on web chat towards the bottom. adrynalyne was in the chat.
I was going to ask this same question
BurnOne77 said:
I was going to ask this same question
Click to expand...
Click to collapse
Well, after a little Googling, I found that if you click the "Menu" button when you're in Kernel Manager, then click "Advanced Options," you'll be given the option to have Kernel Manager clear both the caches when you flash the new Kernel.
So we should be cool using this approach. Cheers
Dalvik cache is for Google's Dalvik Virtual Machine (their way of implementing a Java-to-bytecode).

[Q] What does "Wipe cache" do?

Hi.
What is beeing wiped when we apply "Wipe cache" option from recovery menu? So what does "cache" in the recovery menu refers to? Is doing this useful, without firmware update or wipe data-factory reset?
Thanks.
_lightning_ said:
Hi.
What is beeing wiped when we apply "Wipe cache" option from recovery menu? So what does "cache" in the recovery menu refers to? Is doing this useful, without firmware update or wipe data-factory reset?
Thanks.
Click to expand...
Click to collapse
The cache (cache - another useful article; It's basically the same in android) is being wiped . It refers to all those those files created used as cache. It may be useful to free up some memory (usually not too much though).
Theonew said:
The cache (cache - another useful article; It's basically the same in android) is being wiped . It refers to all those those files created used as cache. It may be useful to free up some memory (usually not too much though).
Click to expand...
Click to collapse
Thanks. I basically know what the cache is. And I took a look at those articles but I don't think that I need such detailed info about caching. Actually, I wanted to know which cache is being wiped. System cache, disk/memory cache, installed apps' cache etc. ?
up
I think that only files from /cache partition are deleted after wipe
Sent using r800i with DoomKernel v14 (1.21ghz)
What are all wiped ?
Theonew said:
The cache (cache - another useful article; It's basically the same in android) is being wiped . It refers to all those those files created used as cache. It may be useful to free up some memory (usually not too much though).
Click to expand...
Click to collapse
hi ,
will the user info game stats contacts are wiped when we "wipe catch"?
vignesh2 said:
hi ,
will the user info game stats contacts are wiped when we "wipe catch"?
Click to expand...
Click to collapse
Nope. One of purpose of cache partition is to keep some data when you do update through recovery
is this going to work for me http://androidteen.com/htc-one-update-to-android-4-2-2-jelly-bean-official-firmware/ ??? sorry im noob in flashing roms i know basics only...if you have the 4.1.2 ruu please provide me with instructions...thanks a lot
Ashraf M said:
is this going to work for me http://androidteen.com/htc-one-update-to-android-4-2-2-jelly-bean-official-firmware/ ??? sorry im noob in flashing roms i know basics only...if you have the 4.1.2 ruu please provide me with instructions...thanks a lot
Click to expand...
Click to collapse
I don't know if it'll work for you since you haven't even stated your device . It also seems that you are ahead of yourself at the moment . Read through and learn more before attempting anything or else you may screw up your device.
P.S. - Your question doesn't belong in this thread.
Sent from my Nexus 4

Question regarding installing .ZIPs via CWM

Hi guys,
I have a question regarding installing ZIP files from CWM.
When I am wanting to instal numerous ZIP files do I need to wipe Dalvik cache and reboot my phone in between each one?
This has been my standard procedure but it is very annoying, especially when I have 5 to install in a row!
So can I just install each one straight after the other, then simply wipe dalvik cache and reboot?
Thank you
Obagleyfreer said:
Hi guys,
So can I just install each one straight after the other, then simply wipe dalvik cache and reboot?
Thank you
Click to expand...
Click to collapse
Yes.
Actually, this is the normal standard

How to install updates for BLISSPOP ROM

Today I received a msg for the disponibility of an update for BlissPop-v4.0.3-i9300-NIGHTLY-20151008-0524 already installed on my I9300.
How can I flash it?
Thanks in advance
Go to recovery wipe cache & dalvik cache. Install new version. Reboot...
But clean install is best.
Sureshtuty said:
Go to recovery wipe cache & dalvik cache. Install new version. Reboot...
But clean install is best.
Click to expand...
Click to collapse
But I lose all apps, games and settings that I had installed?
umberto santulli said:
But I lose all apps, games and settings that I had installed?
Click to expand...
Click to collapse
No. Wiping cache & dalvik cache won't lose nothing. Only wiping data make u lose
Sureshtuty said:
No. Wiping cache & dalvik cache won't lose nothing. Only wiping data make u lose
Click to expand...
Click to collapse
Done !! All OK.

Categories

Resources