Wipe caches / wipe Dalvik caches before or after? - Xiaomi Mi 10 Questions & Answers

Ok stupid question, but I rather be sure than sorry. When I update the same Rom
(from xiaomi.eu_multi_MI10_21.3.10_v12-11 to xiaomi.eu_multi_MI10_21.3.17_v12-11)
Do I have to do the wipe caches and Dalvik before or after I install the Rom?
If I do a wipe data that means I have to configure everthing again like mail accounts etc?
Thanks

Short and simple. No. You are only updating security patch.

Thanks shivadow

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.

Improve aokp rom performance

I recently flashed aokp carbon rom on my galaxy sl.
But the performance is weak. Is there any general settings for all aokp rom which will increase performance ? In the rom control option i go to scrolling cache if i need best scrolling what should i set it to
Force enable
Default enable
Default disable
or Force disable ?
thank you guys sorry i am noob
Default enable should do. If that still doesn't improve scrolling, try force enable. Just try the options for yourself and see, that's the best way. You need to give more details about your issue. Elaborate on the 'weak' performance. Also, did you wipe cache & dalvik cache before installing the ROM?
Sent from my Desire HD using xda premium
No i was on cm9 before so i did not wipe anything. i directly installled. should i wipe dalvik cache and cache , factory reset ?
now i am on aokp so can i reinstall it again after wiping cche and dalvik cache ? will it mprove the perfomace ?
Change the kernel
sorry but there is only one kernel for ics any other suggestion ?
Yes. You should always wipe dalvik cache and cache when installing a new ROM. Even if it's just a version update of an already installed ROM. It's always better to wipe to avoid usual FC problems. Dalvik cache mainly. The only thing is that your phone will take around 5-6 minutes to boot the first time after you wipe dalvik cache, because it's rebuilding the cache. After that it'll boot normally every other time until you wipe dalvik cache again.
CM9 and AOKP are two different ROMs so when changing between them you should do a full wipe i.e. wipe everything (system, data, cache, dalvik cache and .android_secure folder on the SD card). Otherwise you'll get a lot of FCs. If you do a full wipe all your apps will be gone so you might want to take a Titanium Backup of them or just set them up again when they re-download automatically on the new ROM. Make sure to not restore data of any system apps using Titanium Backup in the new ROM. Once you install the AOKP ROM, upgrading to a newer version won't need a full wipe but only dalvik cache and cache wipe.
About the kernel, just use the one that came with your ROM.
Sent from my Desire HD using xda premium
wiping cache/dalvik are a must when flashing any new kernels

[Q] What to clear after ICS upgrade

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.

Difference between Dalvik Cache vs Normal Cache

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!

[Q] How do you do a full wipe on TWRP?

Does factory reset count as a full wipe/clean slate?
I know under the wipe option there are many things to check, and i usually only check cache and davlik.
Should i check all and wipe? Like data, system, etc....
Thanks in advance.

Categories

Resources