Originally Posted by rohan.
Sir i want to know that what actually is catche and dalvik catche. And what does it contain!!
I pinched this from an android forum.
" It's my understanding that the Dalvik cache is a place where the Android OS re-compiles the executable programs the first time to optimize them. It only needs to do it once which explains the "cache" part -- unless you make a major change like replace the kernel.If you do that, you want to manually clear the Dalvik cache to force Android to recompile the apps for the the new kernel.
I also believe the main data Cache is used by the Android OS at runtime towrite temporary files for specific reasons. You want to clear this out when you try a new ROM so it doesn't re-used that cached data.
Manually clearning both caches out allows the new ROM to be installed in a "cleaner" environment."
Sent from my GT-I9003 using xda premium
Xperia Z1 (C6902 Android 4.4.2 Stock UB+Rooted)
Motorola Moto G (XT 1033 Android 4.4.2 Stock UB+Rooted)