Is there a cache other than Dalvik? - Droid Eris Q&A, Help & Troubleshooting

I read in a lot of threads where people recommend wiping "cache and Dalvik-cache" to fix a variety of problems. I know apps have their own cache but does the Eris have a cache other than Dalvik? I'm using GSB 3.8 and I don't see another cache, but maybe I'm not looking in the right place.

Dalvik-cache files are split up into two different locations. The dex files for your system apps are in /cache/dalvik-cache and the dex files for your installed apps are in /data/dalvik-cache. The popular cache2cache script moves the files from data/dalvik-cache to the cache partition to provide more space on the data partition.
Besides dalvik-cache files, the /cache partition is also where market apps are temporarily downloaded before being installed.
Hope that helps.

OK, I use Zach's C2C script so clearing one dalvik location clears both and I was aware of the temp download location also. I guess I'm not missing anything, but I wanted to be sure. Thanks.

Related

Clearing caches on the SD card

Hi,
I have rooted my phone and have moved most of the caches to the SD card. My question is: how to clear these caches on the SD card? Previously, I used to go to Settings >> Applications >> Manage Applications, and cleared the caches I wanted to. What to do now? Manual delete?
Cheers.
You should still be able to clear the caches through the Manage Applications helper. If you are using something like Move Cache for Root Users, the cache is linked to it's original on-board mount point (so it doesn't look any different to the application otherwise the application would break). So the original cache clearing methods will still work.
BlueHawk said:
You should still be able to clear the caches through the Manage Applications helper. If you are using something like Move Cache for Root Users, the cache is linked to it's original on-board mount point (so it doesn't look any different to the application otherwise the application would break). So the original cache clearing methods will still work.
Click to expand...
Click to collapse
But whenever I try to clear the caches the "old way" via Manage apps, it appears as ZERO. It gives me the option to clear DATA, but not caches.
I used TA utility (aka Caches 2 SD) to move caches.
Any help!!!

Wiping Dalvik Cache in Recovery Error.

Solved. Mod please close.
Thanks for the help....
Just got a new Thunderbolt. Rooted. When I wipe Dalvik cache I get a line that says E: invalid directory or file. Is there something I need to do to my internal storage or sdcard first before downloading a new rom, wiping data cache dalvik and then flashing? Recovery doesn't seem to be wiping dalvik cache. Any help is apreciated. Thanks.
Hey! Let me tell you something.
EricNotpc said:
Just got a new Thunderbolt. Rooted. When I wipe Dalvik cache I get a line that says E: invalid directory or file. Is there something I need to do to my internal storage or sdcard first before downloading a new rom, wiping data cache dalvik and then flashing? Recovery doesn't seem to be wiping dalvik cache. Any help is apreciated. Thanks.
Hey! Let me tell you something.
Click to expand...
Click to collapse
Did you delete the cache partition first? I believe the dalvik cache is often stored there, so if you wipe the partition first, you'll get an error if you attempt to wipe the cache afterwards. Either way, if it isn't there, it shouldn't cause a problem with a new ROM.
I found a file named cache, it had 2 files. One was called download.apk, the other was Recovery.txt. The Recovery.txt file was just a log of my last flash. The download.apk would not open. It was 1kb. In the data dir. there is a David cache file. It has all the data from the user apps. I deleted the cache file but still got the error, then deleted both, and still the same. After reboot, both files were there with the same info. Should I re-root, format sdcard with a ext-3 partition then update to a GB Rom? Thanks
Hey, the Ol' Lady stole my T-bolt
It always says that, for me at least. You have to do two clicks in Recovery for it to work, if you know what I mean. After I click "Clear Dalvik Cache" the first time, I get that "error" and a list of more options, one being Wipe Dalvik Cache, and the other 13 being the same. I click Wipe Dalvik Cache, and the feed at the bottom says Dalvik Cache cleared.
That is when.it looks for a EXT partition. If one was not create it will say that.
It is typically used for Apps2SD and by having them on the SD there would be a dalvik directory.
Sent from my ADR6400L using XDA App
Solved. Mod please close.
Thanks everyone...
My Ol' lady stole my Thunderbolt.

[cm]Disable moving of system dalvik cache to /cache?

In cm roms, dalvik cache of system apps are generated in /cache but those data/apps are generated in /data. Is there any way to disable this behaviour? Cache partition in our phones is too small. In AOSP and AOKP and stock roms, dalvik cache is always generated in /data no matter whether its a system app. any way to achieve this in cm roms?
arnab321 said:
In cm roms, dalvik cache of system apps are generated in /cache but those data/apps are generated in /data. Is there any way to disable this behaviour? Cache partition in our phones is too small. In AOSP and AOKP and stock roms, dalvik cache is always generated in /data no matter whether its a system app. any way to achieve this in cm roms?
Click to expand...
Click to collapse
Open build.prop, and remove the line
Code:
dalvik.vm.dexopt-data-only=1

Manually build dalvik cache without rebooting

Hi
Perhaps this is an unusual question: can be dalvik cache be manually built without rebooting?
I explain:
I have a "critical" link2sd usage (many more apps linked respect to internal memory capacity).
I have some problems with my terminal, which is unstable (sometimes freezes after boot, see this thread); due to this I safety boot without SD inserted; then I insert SD, in link2sd i relink app files, it does correctly, but apps obviously still do not work due to dalvik cache is not built (but symlinks are present).
Just to try, which is the command that makes dalvik cache building at boot, and after an apk installation(something like dexopt...)?
Can I try to apply it when device is in use?
If I reboot when I suffer this instability problems both /data partition could be filled by .dex files and the device could freeze after boot.
Thanks (and tell me if this is bull****)

Problems clearing Dalvik when using adoptable-storage

I'm running Marshmallow and have a 64GB internal microSD card mounted as "adopted storage". When I tell TWRP (3.0.2-0) to clear the Dalvik cache, only a few apps (about 9) get regenerated ("optimized") on the next reboot. The remaining 100+ apps are not optimized on the next reboot. I've tried deleting the /data/dalvik-cache folder myself and get the same results. So, I assume that the oak/etc. files for the other 100+ apps are stored "somewhere else". Any idea where?
Thanks.
(PS: Yes, I know Marshmallow is an Art system, not a Dalvik system. The term "dalvik cache" is used in many places as a generic term to refer to the place where Android keeps optimized apps. Marshmallow still uses the /data/dalvik-cache folder for this purpose. Marshmallow's obviously just not as ... consistent about using it as earlier versions of Android.)

Categories

Resources