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.
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.
I have just updated my device from 2.3.5 to 4.3. The installation instructions didn't mention what I should clear after upgrade (dalvik, data, battery stats, etc). So should I clear any of them?
mcnamaragio said:
I have just updated my device from 2.3.5 to 4.3. The installation instructions didn't mention what I should clear after upgrade (dalvik, data, battery stats, etc). So should I clear any of them?
Click to expand...
Click to collapse
Not a bad idea to clear data, if you have a backup.
At the least, I'd suggest you clear Cache and Davlik. Battery stats don't matter much.
Should I have cleared them before flashing the rom? If I clear them now will I have to reflash the phone?
mcnamaragio said:
Should I have cleared them before flashing the rom? If I clear them now will I have to reflash the phone?
Click to expand...
Click to collapse
No you can clear it after too, only data will be cleared, but the rom will still be on your phone.
I would advise you to clear data, dalvik cache and cache partition between gingerbread and ics (or any new major release for that matter), as well as wipe battery stats and fix permissions.
Between small updates within the same version just clearing dalvik cache is enough.
Hey guys,
I have had some issues with my current ROM. I want to change the ROM. I am looking to switch to OMEGA.
How would I do this, I currently have AROMA rom. Should I do a factory reset the just reboot into recovery mode and install that way? Or will just installing the ROM from zip work? Or if I do a factory reset do I need to root it again with Odin, or will I not need to root it?
Also for wiping the phone should I wipe my SD card? Or no?
Thank you I searched and found half answers for most of this.
You have to format /system partition and /data partition in order to get a clean ROM, otherwise you may run into some unforeseeable problems.
Don't have to wipe sdcard
Most ROM except stock are pre-rooted.
Sent from my GT-I9300 using xda premium
qtwrk said:
You have to format /system partition and /data partition in order to get a clean ROM, otherwise you may run into some unforeseeable problems.
Don't have to wipe sdcard
Most ROM except stock are pre-rooted.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Ok just to double check what your saying.
I should do a wipe using the built in android factory reset.
Then just install the ROM using the recovery boot.
I will not have to use ODIN or any other soft ware. Just factory reset and install rom.
AW: [Q] Switching ROM and wiping
I'd factory reset in recovery, wipe cache and dalvik, format system and then flash the new ROM from your external sdcard
Please report if that way worked for you
But be sure to backup your apps with titanium backup
|| Typed with my S4 Octa-Beast or my Note 10.1 ||
ch0ka said:
I'd factory reset in recovery, wipe cache and dalvik, format system and then flash the new ROM from your external sdcard
Please report if that way worked for you
But be sure to backup your apps with titanium backup
|| Typed with my S4 Octa-Beast or my Note 10.1 ||
Click to expand...
Click to collapse
Not to sound like a noob... but how do i wipe Cache and Dalvik? also what is dalvik?
Thank you, I will do it today hopefully.
Not sure which ROM I want to switch to. Any recommendations? I am thinking OMEGA.
morinr said:
Not to sound like a noob... but how do i wipe Cache and Dalvik? also what is dalvik?
Thank you, I will do it today hopefully.
Not sure which ROM I want to switch to. Any recommendations? I am thinking OMEGA.
Click to expand...
Click to collapse
He's talking about wiping in recovery.
Dalvik, is kinda Java virtual machine on android, it does concerns you...
About ROM, I suggest you try them out all, and then you will find your Mr.Right, or Ms.Right
Sent from my GT-I9300 using xda premium
morinr said:
Not to sound like a noob... but how do i wipe Cache and Dalvik? also what is dalvik?
Thank you, I will do it today hopefully.
Not sure which ROM I want to switch to. Any recommendations? I am thinking OMEGA.
Click to expand...
Click to collapse
1.boot into recovery, (make a backup , always be safe)
2.wipe data/factory rest
3.wipe cache partition
4.use volume rockers go into advanced , wipe dalvik cache , go back
5.go into mounts and storage , format/system (BE SURE YOU HAVE A ROM ON YOUR SD CARD), go back
6.Install zip from sd card , Choose zip from sd card , Choose rom and Click yes!
7
Nobody can tell you which rom is better .. All roms are amazing because of the work put into them try them out one by one.. you're not going to lose anything..
Ok cool. I installed OMEGA and I like that rom. I did a factory reset and wiped the Dalvik cache and cache. Will look around a bit more but so far so good....
however same issue with the phone. But now when the call ends it says process com.android.phone has stopped. Then i hit ok and phone is ok. It doesn't automatically restart then go really slow.
No idea about this, I searched however couldn't find a answer. Lots of phones and versions of android had this issue.
Any ideas would be great guys.
morinr said:
Ok cool. I installed OMEGA and I like that rom. I did a factory reset and wiped the Dalvik cache and cache. Will look around a bit more but so far so good....
however same issue with the phone. But now when the call ends it says process com.android.phone has stopped. Then i hit ok and phone is ok. It doesn't automatically restart then go really slow.
No idea about this, I searched however couldn't find a answer. Lots of phones and versions of android had this issue.
Any ideas would be great guys.
Click to expand...
Click to collapse
You need to go into mounts and storage in recovery and format system and data before you flash, as already explained
slaphead20 said:
You need to go into mounts and storage in recovery and format system and data before you flash, as already explained
Click to expand...
Click to collapse
Is that different from what I did?
I booted into recovery. Did a factory reset. Wiped Cache and the Dalvik Cache. Then I installed the rom, did I do this wrong?
morinr said:
Is that different from what I did?
I booted into recovery. Did a factory reset. Wiped Cache and the Dalvik Cache. Then I installed the rom, did I do this wrong?
Click to expand...
Click to collapse
Factory reset wipe data, but not system, you need to format system and data
slaphead20 said:
Factory reset wipe data, but not system, you need to format system and data
Click to expand...
Click to collapse
I just booted into recover did system format and data. However I still have the same issue. After phone call freezes for a second, vibrates then says com.android.phone has stopped working.
Follow exactly what I ve typed in the previous post... exactly that.. and which version of omega have you Downloaded
??
Hit thanks if I've helped
Sent from my GT-I9300 using xda app-developers app
why not you backup your current rom first then try to flash a new rom without wipe data. if you not facing any issue on the new rom, then it's ok.
if you facing any issue, you must flash again the new rom with wipe all data. if you not happy with both, then you restore back what you are backup before.:fingers-crossed:
galaxys3lover said:
Follow exactly what I ve typed in the previous post... exactly that.. and which version of omega have you Downloaded
??
Hit thanks if I've helped
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Yes I did. I factory reset. wiped cache and dalvik as well as formatting in the advanced options. I currently have Omega 44.2 installed. But I had the iphone app crashing with AROMA 30.1 and 30.4
Is there away to uninstall the phone app and then re install that cleanly?
I did this and still have the phone crashing issue.
Settings/apps/all/phone/wipe app data, likewise do same with contacts, reboot, see if that solves it
slaphead20 said:
Settings/apps/all/phone/wipe app data, likewise do same with contacts, reboot, see if that solves it
Click to expand...
Click to collapse
I clearned the cache, should I clear the whole app? If it uninstalls how do i re install the phone app?
morinr said:
I clearned the cache, should I clear the whole app? If it uninstalls how do i re install the phone app?
Click to expand...
Click to collapse
Lol....I didn't say wipe the cache,I didn't say uninstall it.....I said wipe data
slaphead20 said:
Lol....I didn't say wipe the cache,I didn't say uninstall it.....I said wipe data
Click to expand...
Click to collapse
There is no white data. only buttons available are force stop and clear data. If I press clear data it says all data will be deleted permanently including all files, settings accounts, databases. I assumed the files were the actual app.
I went to settings. Applciation manager and chose Phone.
......hit clear data then, do that for phone and contacts storage, the data bases get rebuilt the only thing you will have to set up again is which contacts to display and any ringtone options etc you may have chosen
---------- Post added at 08:05 AM ---------- Previous post was at 08:04 AM ----------
slaphead20 said:
......hit clear data then, do that for phone and contacts storage, the data bases get rebuilt the only thing you will have to set up again is which contacts to display and any ringtone options etc you may have chosen
Click to expand...
Click to collapse
Data is just that.....Data.....it is not the apk
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: