Cache and delvic cache - Galaxy 3 General

Dear All,
If I clean cache and delvic cache what will happened..?
Sent from my GT-I5800 using XDA App

If you wipe cache, nothing will happen. If you wipe dalvik-cache, the next reboot will take time to rebuild it

kyrillos13 said:
If you wipe cache, nothing will happen. If you wipe dalvik-cache, the next reboot will take time to rebuild it
Click to expand...
Click to collapse
hhhmm but what they both do exactly..??

hadi_xman said:
hhhmm but what they both do exactly..??
Click to expand...
Click to collapse
Cache is needed for the market downloads. 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.

Related

[Q] Will a factory reset or flashing a ROM erase my EMMC-files?

I'm thinking about wiping my Nook since I can't get WiFisleep to work anymore. But what will happen to all my books and comics stored on the EMMC then? I'm running cyanogen 7 from the internal memory with no traces of BN(the first thing you get when you boot is a small cyanogen logo). Do I have to back all those files up?
If you wipe data and Dalvik you most likely lose those files (depending on where you have stored this files to save). I would suggest backing them up to your uSD to be safe for now.
skeeterpro said:
If you wipe data and Dalvik you most likely lose those files (depending on where you have stored this files to save). I would suggest backing them up to your uSD to be safe for now.
Click to expand...
Click to collapse
Wiping Davlik will not delete those files. I wipe it every time I upgrade to a higher nightly. In fact, it is all that I wipe. The real question is will an update or reflash solve the problem? If it were me, I would flash an update using ROM Manager, wiping Davlik and including gaaps in the update. If that does not solve the issue I would then start from scratch since a system wipe will be needed. However, backing up the apps first using Titanium Backup (but not system settings) will get you back after the new flash.
pat is right, wipe Dalvik doesn't touch files but skeeter also right as wipe /data, everything most likely gone with the wind
votinh said:
pat is right, wipe Dalvik doesn't touch files but skeeter also right as wipe /data, everything most likely gone with the wind
Click to expand...
Click to collapse
Wiping /data will indeed wipe all downloaded applications and their associated settings but I think the OP is referring to media files stored on the emmc partition and this will not be touched by a data, system or cache wipe, just like SD card contents won't be touched.
I store some basic media files on internal emmc making use of about 4GB spare capacity. This gets scanned as well as the stuff stored on SD.

[Q] Full wipe nook color

When the guide says full wipe it means deleteing system, data, cache and davlik cache right?
Do i need to format my emmc too? What happens if i format it? TIA~
What guide? What are you trying to do?
just trying to confirm whether full wipe means formatting system data cache and dalvik cache
Miltani said:
just trying to confirm whether full wipe means formatting system data cache and dalvik cache
Click to expand...
Click to collapse
Generally that's what it means. But if you wipe the first three you have wiped dalvik.
One of the reasons we asked what you were trying to do, you asked about wiping emmc too. It makes a difference what you are trying to wipe whether you try to do anything to emmc.
Edit: By emmc, did you mean the emmc media partition or emmc as the whole device? I can think of only one reason to wipe the emmc media partition, and that is if you are transferring the device to someone else and you want none of your stuff on there. I think a "factory reset" wipes everything except /system.
Sent from my Nook Color running ICS and Tapatalk
i meant formatting my /emmc
That is because i saw some traces of my photos thumbnails there even though i've moved the photos to my computer.
Miltani said:
i meant formatting my /emmc
That is because i saw some traces of my photos thumbnails there even though i've moved the photos to my computer.
Click to expand...
Click to collapse
It won't hurt to erase everything in your media partition. Whatever the nook needs, it will rebuild. No need to format, just delete things with your file manager.
Sent from my Nook Color running ICS and Tapatalk

Need Help - Internal Memory LOW?

Everytime ive installed a new rom im able to install one app or two then later on i get internal memory low i always wipe data/ wipe cache and advanced wipe delvik cache always do them but still no difference and i only have 30mb of internal memory when ive installed a new rom and it says 90mb as been used what can i do
Thanks in advance.
MotorolaDefyLuke said:
Everytime ive installed a new rom im able to install one app or two then later on i get internal memory low i always wipe data/ wipe cache and advanced wipe delvik cache always do them but still no difference and i only have 30mb of internal memory when ive installed a new rom and it says 90mb as been used what can i do
Thanks in advance.
Click to expand...
Click to collapse
Search the forums, its been answered, there is a file in the system you need to delete..
Try sdmaid from market. It deletes tombstones, duplicate files, clears cache, etc.. . It's called sdmaid but mostly works cleaning the internal memory. Is only a couple of bucks for the pro.
It's /data/tombstones that above post referred to. Any root file manager will let you delete the folder contents manually.
MotorolaDefyLuke said:
Everytime ive installed a new rom im able to install one app or two then later on i get internal memory low i always wipe data/ wipe cache and advanced wipe delvik cache always do them but still no difference and i only have 30mb of internal memory when ive installed a new rom and it says 90mb as been used what can i do
Thanks in advance.
Click to expand...
Click to collapse
Try the AutoKiller app from the android market, I'm using it and it works great. You can set it to free up the memory on custom intervals.
Regards,

[Q] help with custom rom

I have just flashed my first rom on my s3, I have done a factory reset and cleared the cache but my internal memory is saying i have just under 4g out of 16 is that about right or have i messed up.
Thanks
Seems low, did you install a bunch of apps?
memory
disco1224 said:
Seems low, did you install a bunch of apps?
Click to expand...
Click to collapse
No that was before I installed any apps
ryanslb said:
I have just flashed my first rom on my s3, I have done a factory reset and cleared the cache but my internal memory is saying i have just under 4g out of 16 is that about right or have i messed up.
Thanks
Click to expand...
Click to collapse
Do you have pics, video, music or something on your internal sdcard? It doesn't get wiped (and it shouldn't) when doing factory reset or cache wipes. So if you wan't more space, backup important files to your pc and format internal sdcard.
Edit: All partitions (system, data, internal storage, cache) is in that 16gb flash chip, and if you make factory reset/data wipe and cache wipes, then only system, data and cache get wiped, not internal storage.
memory
jnr21 said:
Do you have pics, video, music or something on your internal sdcard? It doesn't get wiped (and it shouldn't) when doing factory reset or cache wipes. So if you wan't more space, backup important files to your pc and format internal sdcard.
Edit: All partitions (system, data, internal storage, cache) is in that 16gb flash chip, and if you make factory reset/data wipe and cache wipes, then only system, data and cache get wiped, not internal storage.
Click to expand...
Click to collapse
How would I do that and would I loose My ROM doing that. Thanks
memory
ryanslb said:
How would I do that and would I loose My ROM doing that. Thanks
Click to expand...
Click to collapse
No pictures or video
Please don't ask questions in General, there's a section dedicated to that

[Tip] Clearing (dalvik) cache and app cache before nandroid backup

Perhaps this is already obvious for everybody but thought I'd share it anyway as I only realised/discovered this (after years of android and flashing).
I have the 32GB version of the S6 and usually have about 2 nandroid backups on my device, I noticed that the size of my compressed backups was about 2.6-3GB which is pretty damn big for this phone (in the past I always had phones with sd-cards so plenty of space and never really bothered with it). Checking out if I could delete some temp and unnecessart stuff I found out that by deleting app cache manually and using (in my case TWRP) to delete dalvik and cache I managed to get this down to 1.6GB! So that means ~2.5GB if you have 2 backups on your device (this is with the xtrestolite v1.5 rom btw).
My steps (from now on)?
( 0. Install DiskUsage to identify main culprits: https://play.google.com/store/apps/details?id=com.google.android.diskusage )
1. Install App Cache Cleaner from the market: https://play.google.com/store/apps/details?id=mobi.infolife.cache
2. Run app cache cleaner and delete cache from apps where desired (I found out that my browser and the playstore had about 1GB of cache combined, so I cleared all app cache)
3. Reboot to recovery (TWRP) and clear cache and dalvik cache in there (in my case there was about 2.5GB of cache files)
4. Make a nandroid backup
The only downside (afaik) is that the first boot takes quite a bit longer because it's rebuilding a lot of (dalvik cache) stuff. But for me that is just a small price to pay for the increased remaining size
Hope this is usefull to some others as well!
I used SD Maid app, the paid version, on my rooted Oneplus One to do the cleaning before nandroid backup. My S6 is still stock and unrooted.
Sent from my SM-G920F using Tapatalk

Categories

Resources