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.
Jolest said:
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.
Click to expand...
Click to collapse
Moved here, for better assistance.
Related
Hi there
as I asked, I really want to know how these things actually work.
From my understanding, even though we have App2SD, the internal memory is still decreased everytime we install new app because it will generate the cache for that application (I tried install 5mb app, and what i get is i lost around 1mb of internal memory) is what I understand correct??
Now I currently have 150+ app installed in my phone with App2SD and I have 27mb internal memory left. If I move the dalvik-cache, my internal memory will boost up to 98mb. And if I install more apps, the internal memory won't be decreased anymore. but should I move the dalvik-cache?
According to some thread, it said that we shouldn't move dalvik-cache since it will make phone slower. But in my case I only have 27mb left in my internal memory so I can only install around 30 more apps. What do you suggest in this case?
Thx so much
PS. I attach the photo, pls have a look, why there are so much memory used in Data? thx
moving /data/data to sd would better than dalvik cache
tempo10 said:
moving /data/data to sd would better than dalvik cache
Click to expand...
Click to collapse
Thank you, I did it but still... when I install apps, my internal memory is deceased Because dalvik-cache still affects my internal memory right? But I think I lost less internal memory compare to before(without moving /data/data to sd)
Is this mean I have limited of app installation even though I have app2sd?
thx
yes,
http://en.wikipedia.org/wiki/Dalvik_virtual_machine
you may take at look at DalvikVM so you would know what does dalvik-cache do actually.
Rather than moving /data/data,
you may try to delete market, google map, browser cache and make a symlink to sdcard as well
tempo10 said:
yes,
http://en.wikipedia.org/wiki/Dalvik_virtual_machine
you may take at look at DalvikVM so you would know what does dalvik-cache do actually.
Rather than moving /data/data,
you may try to delete market, google map, browser cache and make a symlink to sdcard as well
Click to expand...
Click to collapse
Where is the cache located for market and browser? What folder/files do you actually symlink to sd card and how do you do it?
Goose247 said:
Where is the cache located for market and browser? What folder/files do you actually symlink to sd card and how do you do it?
Click to expand...
Click to collapse
yeah, I would like to know how as well haha
Can you teach us how to delete market, google map, browser cache and make a symlink to sdcard?
thank you
i would like to know too.. please do tell
I've been having problems with the internal memory on my hero getting very low, and my phone seems to be slowing down a lot as a result.
I have apps2sd set up, and that seems to be working fine, however looking through the folders on my phone, the /system/xbin one seems very very large (582,031,812 bytes according to Astro).
What is this folder, and is there anything I can do to free up space? Would deleting the contents be a good idea?
if i'm not totally wrong that would be around 580mb, which just can't be true. besides that the internal memory is in /data, while /system/xbin is in /system, so totally different partitions (it is like asking "my space on d:\ is getting low, should i delete c:\xyz?"). last but not least you will most certainly break your system if you delete stuff from there. and the contents of everything inside /system ususally doesn't change, except you do it manually or use any kind of update.zip (new rom, theme, etc).
try wiping dalvik-cache from recovery, that might free a few mb.
Thanks.
I thought it didn't make any sense, and that it must be in a different place to the internal memory. Ok, I'll look through data to work out if anything is taking up more space than expected.
What will I lose by wiping dalvik-cache?
Why would my memory keep on shrinking? My apps are on my sd card, so it shouldn't be them...
Sausageman said:
What will I lose by wiping dalvik-cache?
Click to expand...
Click to collapse
nothing, it is recreated on boot. the problem is that when you uninstall an app the optimized "copy" of the app is not deleted from dalvik-cache.
Sausageman said:
Why would my memory keep on shrinking? My apps are on my sd card, so it shouldn't be them...
Click to expand...
Click to collapse
for once through dalvik-cache, everytime you install an app it takes some space in dalvik-cache, though not as much as the app itself. besides that the app data (settings, savegames etc) is stored in /data, as well as system settings.
Hmm, deleting the dalvik-cache didn't make any difference.
I created a partition of 512 MB on my 16GB card to install LINK2SD but eventually ended up formatting my whole data. I did install Link2sd and then moved up all the huge apps like Yahoo Messenger with the plugin and other games and stuff. I had free internal space of about 77MB, I switch off my phone and I turn it on and its 33MB. What to do?
have you do titanium backups or nandroids before using link2sd? it is possible to damage your system severely and you shall have done that.
second, for ur issue, try checking the memory displays in link2sd
are you sure the app "link2sd" is placed in the phone storage? it may have moved back the apps after a reboot
did you note down what was the internal memory space before performing link2sd? was it 33mb?
hope i helped and good luck
Miasmic said:
have you do titanium backups or nandroids before using link2sd? it is possible to damage your system severely and you shall have done that.
second, for ur issue, try checking the memory displays in link2sd
are you sure the app "link2sd" is placed in the phone storage? it may have moved back the apps after a reboot
did you note down what was the internal memory space before performing link2sd? was it 33mb?
hope i helped and good luck
Click to expand...
Click to collapse
Yeah I restored my titanium backup. Before installing link2sd it was around 28 MB. After moving the apps it was around 77MB and now after a restart its like 33MB. Yes I did check from the storage info option of link2sd.
I heard [Read rather] somewhere that Link2SD sometimes unlinks the libraries after a reboot, If you had cleared the dalvik cache, the dalvik cache of all the linked apps would have also been unlinked. So, if you link all the apps again, It will again free the space on your Phone memory. I have to do it everytime I clear the dalvik cache or I reboot my phone for some reason. It is irritating because I have 93 apps and It is time consuming to do all manually everytime.
KaKkaR0T said:
I heard [Read rather] somewhere that Link2SD sometimes unlinks the libraries after a reboot, If you had cleared the dalvik cache, the dalvik cache of all the linked apps would have also been unlinked. So, if you link all the apps again, It will again free the space on your Phone memory. I have to do it everytime I clear the dalvik cache or I reboot my phone for some reason. It is irritating because I have 93 apps and It is time consuming to do all manually everytime.
Click to expand...
Click to collapse
ahaha, true true
so i recommend app2sd+ instead of link2sd or whatever2sd, of course only if your rom supports it
I've never had Link2SD unlink anything. If you have any apps on the sdcard prior to use, it screws up, and if you move widgets it will as well, but I've been using Link2SD with stock LGP509T rom for months now with 0 issues like what you're describing.
If you wiped dalvik cache, you need to relink it. For libraries, do not bother, they will just get extracted back no matter what, so...
Just a noob question
What happens if I delete all the folders on my sd card, (not external sd card)
I assumed that every time i did a wipe the folders would go but I end up with folders of apps i deleted a while ago.
I guess you are wrong, my friend
Whenever i do a wipe data,wipe cache and wpe delvik cache and flash a custom rom. Soon after 1st boot, if i go and check "My files", i can find the apps folders still there. i think its not getting removed at all. So even i am curious and have asked in 1 of the thread about this. need to get a reply.will update here as well. I actually want to remove all the folders etc when i flash a WIPE ROM. but just by doing wipe data, app folders are not getting deleted from internal card.Maybe we nned to system format in CWM. But i have doubt if root also will get removed or something. Then we cant flash any ROMS at all. If you find out about this, do post.
Thanks
Format sd card wipes all data on the card and means phone no longer boots .
Far easier to just delete the files you don't want via USB mass storage /
Wipe is wiping system and data not sd card .
jje
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.)