Installing Nightlies. Wiping cache - Nexus 5 Q&A, Help & Troubleshooting

I'm in the habit of installing Carbon Nightlies. Most of the time its everyday or every other day. I always wipe Delvik cache and Cache before I install. I was wondering if all this cache i delete, is essential for saving data, because I have a data cap. Or do I not know what I'm talking about?

augoza said:
I'm in the habit of installing Carbon Nightlies. Most of the time its everyday or every other day. I always wipe Delvik cache and Cache before I install. I was wondering if all this cache i delete, is essential for saving data, because I have a data cap. Or do I not know what I'm talking about?
Click to expand...
Click to collapse
first off, when you flash a rom it automatically wipes your dalvik and cache, so you wiping it again is pointless. and it has nothing to do with your data cap. your dalvik rebuilds when booting up, hense the android is upgrading. and you fill up the apps cache as you use your apps.

simms22 said:
, when you flash a rom it automatically wipes your dalvik and cache, so you wiping it again is pointless. and it has nothing to do with your data cap. your dalvik rebuilds when booting up, hense the android is upgrading. and you fill up the apps cache as you use your apps.
Click to expand...
Click to collapse
Thanks. So when I flash the nightly it automatically wipes the cache. Does it wipe cache in apps, for instance, like Chrome browser?

augoza said:
Thanks. So when I flash the nightly it automatically wipes the cache. Does it wipe cache in apps, for instance, like Chrome browser?
Click to expand...
Click to collapse
yup, when you flash, the cache is automatically wiped(the app cache is what gets wiped when you manually wipe cache as well).

simms22 said:
yup, when you flash, the cache is automatically wiped(the app cache is what gets wiped when you manually wipe cache as well).
Click to expand...
Click to collapse
Am I being anal. Because now I have to rebuild the cache i normally built over time by manually going to the websites I frequently visit..Thus using more data. Compared to never flashing again\never wiping cache again. Or is it such a miniscule amount of data that I won't notices the MBs on my bill

augoza said:
Am I being anal. Because now I have to rebuild the cache i normally built over time by manually going to the websites I frequently visit..Thus using more data. Compared to never flashing again\never wiping cache again. Or is it such a miniscule amount of data that I won't notices the MBs on my bill
Click to expand...
Click to collapse
it usually is just tiny bit of data, but i understand the being anal part. going to your websites would probably use more data. plus, most of that data in the cache isnt data you download, but data the comes up just from use of the apps.

Related

[Q] Update question?

Hi people, just a quicky! If you update NSCollab 1.0.38 to 1.0.39, do you have to delete data & dalvik cache (factory restore!) like it's a new installation, or can you just do a delete dalvik cache? Only I did the delete dalvik cache ONLY method for the update & had no problems, but I'm now presuming that if you don't do the full wipe, then really in essence you're effectively not really fully updating the whole system as you would be if wiping it first (through ClockworkMod Recovery,(RomManager!)!?
TIA!
There is no need to fully wipe when doing that minor upgrade to 1.0.39. I think you only need to fully wipe when changing ROMs. You probably do not even have to wipe Dalvik cache but since it only takes a few minutes to reload it, I would do it anyway.
Data wipe is completely overkill, however.
Apolyxon said:
There is no need to fully wipe when doing that minor upgrade to 1.0.39. I think you only need to fully wipe when changing ROMs. You probably do not even have to wipe Dalvik cache but since it only takes a few minutes to reload it, I would do it anyway.
Data wipe is completely overkill, however.
Click to expand...
Click to collapse
Thanks Apolyxon for your quick reply! I had thaught as much, as I knew wiping data also would effectively commit a factory restore & I would lose all my apps, settings etc! Just wanted to be sure!

Cache... Davlick and others

Hi All,
What exactly does Davlik cache do and is there a correct order to wipe the caches?
sushiguy732 said:
Hi All,
What exactly does Davlik cache do and is there a correct order to wipe the caches?
Click to expand...
Click to collapse
those 2 are to to wipe the phone previus a theme install. it will NOT erase your apps DATA wipe or Factory reset will erase everything including apps.
i wipped those 2 always before installing a new theme or a rom based on my same android version (2.3.5) and my apps and google accounts are always there in my new room like they were before
carsalbuja said:
those 2 are to to wipe the phone previus a theme install. it will NOT erase your apps DATA wipe or Factory reset will erase everything including apps.
i wipped those 2 always before installing a new theme or a rom based on my same android version (2.3.5) and my apps and google accounts are always there in my new room like they were before
Click to expand...
Click to collapse
is there a correct order in which to wipe wipe first?
The app cache will be rebuild when the apps start the next time.
The dalvik-cache will be rebuild on reboot.
You might get some FCs until you rebooted, after you wiped the dalvik-cache.
tl:dr there is no correct order.

[Q] CWM: What do all the different "wipes" do?

Hi all,
I have a quick question. What do all the wipes in ClockWorkMod actually wipe?Specifically, what do the following actually wipe?
- wipe data/factory reset?
- wipe cache partition?
- wipe Dalvik Cache?
I did do a search, and have installed many roms, and although I follow all the instructions, I have never known what these actually do.
Wipe data means your ROM setting and date and time such things will be deleted
Wipe cache means wiping the cache of user and system apps.for every application it allocate some space for cache that well be removed
Wipe dalvic cache is wiping compilation cache.in Android having a dalvic compiler.
Hope you get it...this is what i know about this
Xperian8~ click thanks if it helps...
Wiping data means deleting all the apps unrelated to system application, and in addition, it also deletes most the saved data for all applications (from /data/data) folder.
Wiping cache means deleting all those files left by installation process or any other temporary mean. In general it is safe to do so without getting anything reset.
Wiping dalvik cache (/data/dalvik-cache) means deleting all the cached files generated by compiler. In general it is safe to do so without getting anything reset. This is also epic useful when you face force close error. It may have something to do with the dalvik cache.
Is wipe data and factory reset the same?
I see a lot of roms say wipe cache, wipe data, and wipe dalvik cache. In TWRP on my Note 2, I see wipe cache and dalvik cache but not data. Is wiping data the same as factory reset? If not should I just ignore "wipe data"?

[Q] CWM Commands?

So, we all know how to flash a ROM and the various steps you should do to ensure a clean install.
Dalvik, cache, data, and system should be wiped. Minus factory reset (which does data and system) for updated builds of a ROM.
My question, which was prompted by installing Google Now, is what do each of these things actually do? It would be useful for example to know if I should clean the Dalvik cache when trying to install a less buggy version of the app, but as I have no idea what Dalvik is I have no way of knowing.
Would any knowledgeable person like to quickly break down what clearing the cache, data, system and Dalvik do?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
yes whenever you install a new ROM its better to have a good clean up before doing so...
factory rest will format or wipe cache and data...dalvik is inside cache so no need to do it again..the same for battery stats...format system is clearly just wiping system partition clean

clearing dalvik cache without root.

Is it safe to clear the dalvik cache, & what exactly is cleared when I clear it? I know it can be cleared with the stock recovery, because I just helped a friend factory reset their phone who has the same phone as me (both unrooted Galaxy On5 with stock ROM) & I saw an option in the list in recovery.
tsaxda said:
Is it safe to clear the dalvik cache, & what exactly is cleared when I clear it? I know it can be cleared with the stock recovery, because I just helped a friend factory reset their phone who has the same phone as me (both unrooted Galaxy On5 with stock ROM) & I saw an option in the list in recovery.
Click to expand...
Click to collapse
Only cached data gets cleared, more specifically, cached data used by your system apps and services. This cached data will automatically be rebuilt when you reboot the device, you may or may not see a message saying "optimizing apps" while the device is rebuilding dalvik/ART cache during the boot process.
Sent from my SM-S767VL using Tapatalk
What I mean is do I lose anything important like settings/data within apps etc;. & is there any risk of my phone not booting properly? I have backed up what data I could. I've seen posts on quora, asking about different problems they had after clearing dalvik, including one who seemed to think their phone had died, but they all seem to involve rooted phones, because the solution given is always to flash another ROM/reboot to TWRP recovery. I was tempted to do it because I'm running out of space, & somebody online said there dalvik folder was 300MB.
tsaxda said:
What I mean is do I lose anything important like settings/data within apps etc;. & is there any risk of my phone not booting properly? I have backed up what data I could. I've seen posts on quora, asking about different problems they had after clearing dalvik, including one who seemed to think their phone had died, but they all seem to involve rooted phones, because the solution given is always to flash another ROM/reboot to TWRP recovery. I was tempted to do it because I'm running out of space, & somebody online said there dalvik folder was 300MB.
Click to expand...
Click to collapse
No, you won't lose anything, as I said, it is only a type of temporary data, data that is used in the background while the device is running, temporary in a similar kind of way as RAM data with the exception that RAM data doesn't necessarily persist from one reboot to the other whereas cached data does persist after reboot, unless wiped, in which case, that cached data will automatically be rebuilt exactly as it Is needed when each app loads at startup on the next reboot after the wipe.
As long as you aren't wiping the system partition or the data partition, you won't lose anything. Wiping cache is nothing to sweat over, it is a very common and necessary process when making changes to your device.
Failing to wipe when making changes to the system are what causes problems, wiping is necessary to avoid having bugs and issues caused by cached data from before the changes conflicting with the changes that you made. Wiping cache then rebooting allows the device to build the cached data the way it needs to incorporate the new changes that you made.
I called samsung to ask whether they recommended clearing it & she very sternly said "we are not clearing dalvik". It made me wonder whether she simply didn't know what dalvik is, because she asked how to spell it as though she was looking it up, or if there was some other reason.
tsaxda said:
I called samsung to ask whether they recommended clearing it & she very sternly said "we are not clearing dalvik". It made me wonder whether she simply didn't know what dalvik is, because she asked how to spell it as though she was looking it up, or if there was some other reason.
Click to expand...
Click to collapse
The option to wipe dalvik cache is not an option in stock recovery or any other stock or non-root, non-custom option. It is typically only an option if you have a custom recovery such as TWRP.
Only a developer or someone that is familiar with root and custom android software would be familiar with wiping dalvik cache. A standard employee of a manufacturer or customer support agent would not be familiar with wiping dalvik cache.
Sent from my SM-S767VL using Tapatalk
i flashed twrp and majisk yesterday but my apps was playing up so i did a delvick cache wipe and now my phone is no longer rooted and no longer has majisk do i need to install twrp and majisk again or just flash majisk again
When you reboot, bóth the Dalvik ( correct: ART ) cache and the System Cache are re-created. So no benefits at all.

Categories

Resources