[Q] Do I need to clear any cache before update? - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi, do I have to clear dalvik cache before I update my ROM?

whiteyaksa said:
Hi, do I have to clear dalvik cache before I update my ROM?
Click to expand...
Click to collapse
It doesn't really matter. You're supposed to clear Dalvik cache and wipe the cache partition after the update, but I've forgotten to do it before and I haven't noticed any bugs so I would say just do it if you remember but if you forget it shouldn't make any difference.

in addition to the above ... most roms these days have those tasks done automatically as the rom installs! :-D
cheers

Related

what does wipe cache partition and cache dalvik do?

Do they actually delete any physical data?
Whats the differences between the two really?
Please advice
with friendly greet
The cache partition stores temp data and downloads from the market and htc hub. And the dalvik cache is created by the dalvik vm, its used so android can run apps with optimal bytecode. If you wipe the dalvik cache, the dalvik vm will rebuild it on boot
Sent from my Desire HD using Tapatalk
grrr ... first time i dont do a full backup before updating and im stuck on the boot animation .... not rebooting, just the animation going on and on and on ... waited 20 mins before taking the battery out. tried several times and managed to get into android but then SPB hung on a blank screen and i couldnt do anything !
battery out again and tried reflashing (again) - this time wiping the cache first ... 10 mins and still boot animation
anyone got any thoughts before i give up and revert to a month old backup ?
ignore - wrong thread ... ADMIN remove ?
Hello!
Can you please tell me how to wipe cache partition and cache dalvik?
Thanks in advance
to wipe cache partition its in the recovery menu and to wipe dalvik its under "advanced" menu of the recovery menu
Hi DanteGR
DanteGR said:
Hello!
Can you please tell me how to wipe cache partition and cache dalvik?
Thanks in advance
Click to expand...
Click to collapse
As Xepht says you need to Boot in to recovery.
Take Care
TheQuest
Thank you very much for your answers
Sent from my Desire HD using Tapatalk

Dalvik Cache

I'm wondering how often i should delete Dalvik Cache, is it something that people do regular or only occasionally, and does it matter,etc?
Thanks
You should wipe the dalvik cache , along with the partition and data,just before installing a new ROM .
Sent from my HTC HD2 using XDA Premium App
jonny68 said:
I'm wondering how often i should delete Dalvik Cache, is it something that people do regular or only occasionally, and does it matter,etc?
Thanks
Click to expand...
Click to collapse
Hi Jonny,
When installing a new ROM and you don´t delete the cache, and I do a factory reset, along with repartitioning my sd card, there will be old stuff left over from the old ROM. So when we talk about a clean flash, that´s what we mean.
So is it recommended i only delete dalvik cache only when downloading / updating a new build?
jonny68 said:
So is it recommended i only delete dalvik cache only when downloading / updating a new build?
Click to expand...
Click to collapse
Yes only delete the Dalvik cache befor you flash a new ROM,check my guide I have linked in my sig to get a better understanding what the Dalvik cache is and it's function, well at least a good general understanding of it.
I personally always run a Task 29 and then reflash MAGLDR and CWM then my room just to be extra sure.
T-Macgnolia said:
Yes only delete the Dalvik cache befor you flash a new ROM,check my guide I have linked in my sig to get a better understanding what the Dalvik cache is and it's function, well at least a good general understanding of it.
I personally always run a Task 29 and then reflash MAGLDR and CWM then my room just to be extra sure.
Click to expand...
Click to collapse
thanks for your assistance here.

[Q] About installing CM7 Nightly builds

Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
It will wipe everything and it will be a fresh install.
Sent from my LG Optimus V using Tapatalk
If you update, just wipe cache
It wipes the /data partition but doesn't wipe /sdcard /sd-ext or /met/emmc.
Sent from my MB860 using xda premium
EGM92 said:
Hey guys just a quick question about installing nightly builds on the nook. When Rom Manager asks whether to wipe data/cache and what not, if I select it, will it wipe the internal memory completely? leaving no user files behind? or will it only wipe the system files?
Click to expand...
Click to collapse
Just wipe Davlik.
if boot is longer than normal after wipe, it's normal!
votinh said:
If you update, just wipe cache
Click to expand...
Click to collapse
patruns said:
Just wipe Davlik.
Click to expand...
Click to collapse
So... just wipe Davlik Cache is what you guys are saying?
Good question helped out a newb here
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Correct
Sent from my LG Optimus V using Tapatalk
Jiv_au said:
So... just wipe Davlik Cache is what you guys are saying?
Click to expand...
Click to collapse
Note: wipe cache and wipe Dalvik cache are 2 different things.
+ wipe cache is a quick way to clean the current running ROM
+ wipe Dalvik is a completely clean.
After wipe Dalvik, next time it boots, it will take a lot longer time due to the device has to re-compile the whole thing before ROM start running and booting.
I think I need to drop a few lines about wipe cache/Dalvik.
As I posted above, I said it wiped clean.
Apparently, I am NOT 100% correct.
I just updated to nb198, wiped cache (formatting /cache) then wipe Dalvik cache.
After done updating ROM, booting up, I expected everything clean, completely fresh.
It's not the case, I went to Market and all old search history were still shown. Not only with Market but other apps too.
So
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Okay, I did a quick read of the FAQ for CWR, and came across these:
Wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
So, I'm taking this guide on board and will wiping Cache AND Davlik. So that's two steps prior to installing a new CM7 nightly build.
votinh said:
I think I need to drop a few lines about wipe cache/Dalvik. *snip*
a. either wipe cache/Dalvik is NOT completely clean wipe or
b. it was completely clean but somehow, those old cache info, which stored somewhere I don't know, get automatically restored back.
Click to expand...
Click to collapse
You didn't happen to store them in uSD card? Or perhaps app data/cache are separate from system data/cache...
Will look into it further...

Dalvik cache question (clearing between flashes)

Soo, somewhere I read that I should clear the dalvik cache each time I flash a new rom.
1) Why should I clear the cache?
2) Is it sufficient to clear (factory restore) the dalvik cache AFTER I flashed the rom?
Shebee said:
Soo, somewhere I read that I should clear the dalvik cache each time I flash a new rom.
1) Why should I clear the cache?
2) Is it sufficient to clear (factory restore) the dalvik cache AFTER I flashed the rom?
Click to expand...
Click to collapse
http://thexdaway.webs.com/
Look under the "What to wipe" section towards the bottom of the page.
norml said:
http://thexdaway.webs.com/
Look under the "What to wipe" section towards the bottom of the page.
Click to expand...
Click to collapse
hehe but if I understood it correctly, it is perfectly okay if I clear the dalvik cache after the flash, no?
This is just in general.
http://forum.xda-developers.com/showpost.php?p=43157965&postcount=999
&
http://teamw.in/whattowipe
Wiping instructions are usually in the specific ROM OP.
norml said:
This is just in general.
http://forum.xda-developers.com/showpost.php?p=43157965&postcount=999
&
http://teamw.in/whattowipe
Wiping instructions are usually in the specific ROM OP.
Click to expand...
Click to collapse
Hmm, I used no wipe, and there was no mention about clearing anything.
Did you even read the twrp site? They cover that. You been a member for 5 yrs, wtf?!!? You should know this stuff.
norml said:
Did you even read the twrp site? They cover that. You been a member for 5 yrs, wtf?!!? You should know this stuff.
Click to expand...
Click to collapse
How can I check if my rom wiped system?

CM12 - black screen after enter my PIN :(

I have a weird issue with my N9005 (hlte). I just got it new and am still a little inexperienced with flashing it. Preblem occurs when flashing ANY CM12 based rom. Flashing works well with TWRP 2.8.5.0 but once Android booted just after enetring my PIN the display turns off and I can't do anything and have to hard reboot my phone. CM11 runs without any issues
I'd relly like to go for CM12 so any help will be appreciated.
LS.xD said:
I have a weird issue with my N9005 (hlte). I just got it new and am still a little inexperienced with flashing it. Preblem occurs when flashing ANY CM12 based rom. Flashing works well with TWRP 2.8.5.0 but once Android booted just after enetring my PIN the display turns off and I can't do anything and have to hard reboot my phone. CM11 runs without any issues
I'd relly like to go for CM12 so any help will be appreciated.
Click to expand...
Click to collapse
Did you wipe data and cache? After installation
kenny1991 said:
Did you wipe data and cache? After installation
Click to expand...
Click to collapse
I performed a full wipe before flashing. Any advantages wiping again, once flashed?
LS.xD said:
I performed a full wipe before flashing. Any advantages wiping again, once flashed?
Click to expand...
Click to collapse
If you read installation instructions from temasek it says clear dalvik and cache. For good measure. No full wipe after flash. Only cache and dalvik
If i full wipe my phone after flashing ... i got no System at all ...
It looks like -> this <-
e1n3r said:
If i full wipe my phone after flashing ... i got no System at all ...
It looks like -> this <-
Click to expand...
Click to collapse
Lol
Haha I did correct myself and told you to not full wipe after flash. Only do that before flashing. Wipe dalvik cache and cache after flashing.
Do a clean install and try again. Full system, data wipe and caches in recovery. Use twrp doing that. Then flash and wipe cache and dalvik. Reboot. Use the latest build 8.7
kenny1991 said:
Lol
Haha I did correct myself and told you to not full wipe after flash. Only do that before flashing. Wipe dalvik cache and cache after flashing.
Do a clean install and try again. Full system, data wipe and caches in recovery. Use twrp doing that. Then flash and wipe cache and dalvik. Reboot. Use the latest build 8.7
Click to expand...
Click to collapse
Yes Sir thats the way i do any time look my Video there is no full wipe after Install only Cache, Dalvik (Factory reset)
greets

Categories

Resources