Just curious is it normal for android 5.0 to use so much dalvik cache mine is about 450mb I used titanium backup clear dalvik cache after restart android optimizing again at boot up.
TiBu seems to have been abandoned by the developer, I just tried to email them about not being able to write to my external SD card and it was returned as a bad address. If it is still in active development, it's not ready for Lollipop yet. It told me my dalvik cache is loaded with over 300MB of unnecessary files, but I know that isn't true.
Thanks, unable to write SD card has to do with android is not with TiBu you need to find way to enable SD card writibility. Not only TiBu shows dalvik cache loaded over 450mb I'm able find the folder with root explorer in my system it lol like user apps are associated in dalvik cache.
Yeah. I used es file Explorer to try to write to SD and it opened a file manager from lollipop and said to unhide the SD card so I did and now I can write to it.
MadJoe said:
TiBu seems to have been abandoned by the developer, I just tried to email them about not being able to write to my external SD card and it was returned as a bad address. If it is still in active development, it's not ready for Lollipop yet. It told me my dalvik cache is loaded with over 300MB of unnecessary files, but I know that isn't true.
Click to expand...
Click to collapse
Lollipop did not totally abandon dalvik cache. All it did it is to write pre compiled files to dalvik folder when installing while back in KitKat the system did not compile apps during installation but compile them just before them run (JIT). If you somehow delete/cleared all/some cached dalvik files in lollipop, system will try to re-compile the corresponding app so that you don't have to compile before they run.
Whenever an app updates via google play system compiles it during installation. However, when apps are updated via system update (Odin, ZIP flashing, OTA,you name it) , system will recompile the new apps which is why the first boot of lollipop takes so much time ( It is compiling all upgraded app!!).
Because TiBackup does not compile apps when restoring them, when you try to run the restored app, lollipop will try to find the pre-compiled file under dalvik cache directory but the correct one is not there. Therefore the app will not run properly. This is why after TiBackup restore in lollipop, always clear dalvik cache and cache and reboot. The restored app will be compiled correctly after during rebooting~ The same applies to Zip/Odin flashing too.
Related
Can anyone help me out here?
I'm on the stable unofficial cm7.2 from alquez. Now the nightly builds are being released, but everytime I update by installing the zip via cwm my link2sd goes all nuts.
When I reboot after flash I get a mount warning, so I do a reboot.. then I try all sorts of things but all the liniks seem to be messed up and my internal memory goes full to capacity.
Does anyone know how to update without messing up my link2sd? I have to restore my nandroid everytime and so I don't get to use the nightlies.
I'm using an 8GB SD partitioned ext4 to 1GB.
Getting back up and running from a CM7 Nightly Update
1/ NANDROID BACKUP TO GET BACK TO WHERE YOU WERE IF YOU HAVE TO
2/ Titanium backup of all apps/data and system data
4/ Backup Titanium backup, ES File Explorer and LINK2SD apk's to SD card (Always have them there anyways!) using ES File Explorer
3/ Full wipe and install of new nightly and gapps
4/ Use CM7 File Explorer to reinstall TB, ES File, and LINK2SD
5/ Run Link2SD and relink SD Ext
6/ Turn on autolinking in settings
7/ Reboot
8/ Full titanium restore (files will auto relink to SD Ext with autolink on)
9/ Mass unlink the files you want on the Internal memory
10/ Redo your widgets on desktop
All your settings including WiFi, Google accounts, apps settings and data, System and Cyanogenmod settings will be retained.
Like I said. Pretty much all you have to redo is widgets.
*se-nsei. said:
Can anyone help me out here?
I'm on the stable unofficial cm7.2 from alquez. Now the nightly builds are being released, but everytime I update by installing the zip via cwm my link2sd goes all nuts.
When I reboot after flash I get a mount warning, so I do a reboot.. then I try all sorts of things but all the liniks seem to be messed up and my internal memory goes full to capacity.
Does anyone know how to update without messing up my link2sd? I have to restore my nandroid everytime and so I don't get to use the nightlies.
I'm using an 8GB SD partitioned ext4 to 1GB.
Click to expand...
Click to collapse
After flashing new build of CM7
go to link2sd, then recreate mount script choosing your correct partition (ext4 in this case)
fully reboot (not quick reboot)
all your app should now shown correctly
alexyie said:
After flashing new build of CM7
go to link2sd, then recreate mount script choosing your correct partition (ext4 in this case)
fully reboot (not quick reboot)
all your app should now shown correctly
Click to expand...
Click to collapse
Sometimes you can lose some but not all of your linked apps and they won't relink dalvik or libraries.
Last attempt at a normal update and remount script I lost 69 apps that refused to relink.
If you want to be safer than sorry...
d33ps1x said:
1/ NANDROID BACKUP TO GET BACK TO WHERE YOU WERE IF YOU HAVE TO
2/ Titanium backup of all apps/data and system data
4/ Backup Titanium backup, ES File Explorer and LINK2SD apk's to SD card (Always have them there anyways!) using ES File Explorer
3/ Full wipe and install of new nightly and gapps
4/ Use CM7 File Explorer to reinstall TB, ES File, and LINK2SD
5/ Run Link2SD and relink SD Ext
6/ Turn on autolinking in settings
7/ Reboot
8/ Full titanium restore (files will auto relink to SD Ext with autolink on)
9/ Mass unlink the files you want on the Internal memory
10/ Redo your widgets on desktop
All your settings including WiFi, Google accounts, apps settings and data, System and Cyanogenmod settings will be retained.
Like I said. Pretty much all you have to redo is widgets.
Click to expand...
Click to collapse
OMg. That's the same as installing any custom ROM, just keeping the settings (which I backup anyway). I can't do this nightly! I might as well just update when there are major major improvements such as kernal, etc.
Can't we like, use a patch or something that saves all the links when updating, or something like that?
*se-nsei. said:
OMg. That's the same as installing any custom ROM, just keeping the settings (which I backup anyway). I can't do this nightly! I might as well just update when there are major major improvements such as kernal, etc.
Can't we like, use a patch or something that saves all the links when updating, or something like that?
Click to expand...
Click to collapse
I'll work something out.
I too, always do full backup with Titanium, then full wipe, clear dalvik cash, install new CM build, then restore app using Titanium again.
My question is, why when I reinstall new build, gapps are always present, I don't have to install them again? I always do factory reset, clear cash partition and dalvik cash before update.
Wildfire S powered by CM 7.2
No.12 said:
I too, always do full backup with Titanium, then full wipe, clear dalvik cash, install new CM build, then restore app using Titanium again.
My question is, why when I reinstall new build, gapps are always present, I don't have to install them again? I always do factory reset, clear cash partition and dalvik cash before update.
Wildfire S powered by CM 7.2
Click to expand...
Click to collapse
They're present because you included them in the full titanium backup.
--
Cool if you can d33p
d33ps1x said:
I'll work something out.
Click to expand...
Click to collapse
that would be great, thanks in advance.
I'm basically trying to move to the dalvik cache to my sd card for space reasons. I'm trying to format my sdcard for use with link2sd and other programs like it but I'm unable to do so in cwm. whenever i choose partition sdcard, it gives me the dialog like it does it correctly but nothing actually happens. I tried to partition the card on my pc but none of the link2sd programs recognize it. its as if the only thing those programs recognize is the internal storage and to my knowledge I can't do anything with that. if i can do it manually and avoid using the programs that'd be awesome. can anyone point me in the right direction?
...I'm kind at a loss for why you would want a virtual machine cache on an sd-card and not emmc. Perhaps I am 'not getting it'...care to explain?
i've had this problem for a couple of weeks now...downloads from the market over a certain size just won't go through. "insufficient space" "invalid package file" errors like those would pop up. i went to term. emulator and to check the mount sizes and my dalvik cache was 98% full. in titanium backup i saw an option to "integrate sys dalvik into ROM". i enabled that and it moved over 150 items from the dalvik to someplace in the system. that cleared up some space and now i'm only using 82% of the dalvik and i'm able to download and update from the market like normal. i know this problem is gonna come back and i'm trying to avoid it by moving the dalvik to the sd card where the space is plentiful.
hobomusashi said:
i've had this problem for a couple of weeks now...downloads from the market over a certain size just won't go through. "insufficient space" "invalid package file" errors like those would pop up. i went to term. emulator and to check the mount sizes and my dalvik cache was 98% full. in titanium backup i saw an option to "integrate sys dalvik into ROM". i enabled that and it moved over 150 items from the dalvik to someplace in the system. that cleared up some space and now i'm only using 82% of the dalvik and i'm able to download and update from the market like normal. i know this problem is gonna come back and i'm trying to avoid it by moving the dalvik to the sd card where the space is plentiful.
Click to expand...
Click to collapse
I've never encountered this problem...I flash like crazy...I also migrate over all of my apps via TB...so...I have like 4 or 5 phones worth of apps following me around from rom to rom.....I don't have many big apps, so, of course YMMV--and likely will--but....perhaps this isn't, in fact, the actual problem but a symptom of another problem.
Have you had this issue with multiple roms? When was the last time you did a full wipe? On every phone I have either the stock rom or my favorite rom that I always go back to, no matter what, more than any other rom.....via nandroid....and I have never encountered this problem....any other customizations we should know about?
I've never had this issue before. I'm on the latest Calkulin ROM since I've switched from my HD2. This is the first time I've had this error pop up and I resolved it by moving some things around in the dalvik and freeing up some space. As stated earlier TB moved around 150 items and afterwards I was instantly able to download/update from the market. I don't really customize my phone other than the random theming here and there. I've switched ROMs back and forth to see if it was in fact the ROM and not something I did but the issue came back as soon as I restored my backed up apps via TB. I'm guessing the cache filled up with the data from the apps that are backed up with TB.
Here's one solution/quick fix: manually delete your dalvik cache with a file manager and then just flash an odexed Rom: Then your space issues would be solved, and there's not the issue of Dalvik taking up any room in the first place.
["hip", "hip"]
mazook98 said:
Here's one solution/quick fix: manually delete your dalvik cache with a file manager and then just flash an odexed Rom: Then your space issues would be solved, and there's not the issue of Dalvik taking up any room in the first place.
["hip", "hip"]
Click to expand...
Click to collapse
...and I have always preferred odex'd roms. makes sense.
so there's no way of installing the programs mentioned in the first post?
CM supports init scripts, right? Download Calkulin's ROM from the Dev section, extract it and check system/etc/init.d for a dalvik2cache (going by memory here, might not be the exact name) script. Might be able to use that.
Sent from my SPH-D710 using Tapatalk
I have run into problems updating apps on the market (such as GoLauncher..)
I am on DarkForest ROM RC2... I moved the Dalvik Cache to /Cache.
I get the errors:
"There is insufficient space on the device"
and
"The package file is invalid"
when trying to update apps.
I have tried using Root Explorer to delete everything from /data/dalvik-cache/ and /cache/dalvik-cache.
I have tried using Titanium backup to clean out the Dalvik Cache.
I have tried booting into recovery mode and wiping both Cache and Dalvik-Cache and battery stats.
I have a rooted, bootloader unlocked, R800i in the UK on Orange.
According to Titanium Backup Pro, my space is as follows:
System ROM: 130MB free
Internal: 172MB free
SD Card: 10.9GB Free
I have also tried using MarketFix, and wiping the Market and Market Updater, and Download Manager Caches, removing updates from Market and Market Updater (and this helped once, but I don't want to keep doing this!)
Can anybody please tell me why this happens?
It should be noted that within Root Explorer, cache/Dalvik-cache and data/dalvik-cache are practically full every time I check, even after reboots.
Edit:
I did something on Titanium Backup where I integrated updates of system apps into ROM, and now I can't remove my Market updates.. :/
After reading this, it appears this may have been a mistake.....
Ideas?
danieljamie said:
I have run into problems updating apps on the market (such as GoLauncher..)
I am on DarkForest ROM RC2... I moved the Dalvik Cache to /Cache.
I get the errors:
"There is insufficient space on the device"
and
"The package file is invalid"
when trying to update apps.
I have tried using Root Explorer to delete everything from /data/dalvik-cache/ and /cache/dalvik-cache.
I have tried using Titanium backup to clean out the Dalvik Cache.
I have tried booting into recovery mode and wiping both Cache and Dalvik-Cache and battery stats.
I have a rooted, bootloader unlocked, R800i in the UK on Orange.
According to Titanium Backup Pro, my space is as follows:
System ROM: 130MB free
Internal: 172MB free
SD Card: 10.9GB Free
I have also tried using MarketFix, and wiping the Market and Market Updater, and Download Manager Caches, removing updates from Market and Market Updater (and this helped once, but I don't want to keep doing this!)
Can anybody please tell me why this happens?
It should be noted that within Root Explorer, cache/Dalvik-cache and data/dalvik-cache are practically full every time I check, even after reboots.
Edit:
I did something on Titanium Backup where I integrated updates of system apps into ROM, and now I can't remove my Market updates.. :/
After reading this, it appears this may have been a mistake.....
Ideas?
Click to expand...
Click to collapse
MOST likely reason is due to - I am on DarkForest ROM RC2... I moved the Dalvik Cache to /Cache. - moving the dalvik cache to cache on 2.3.4 is not good.
Was going to say can I reverse moving dalvik... but screw it..
I'm moving onto DarkForest RC3 tonight...
danieljamie said:
Was going to say can I reverse moving dalvik... but screw it..
I'm moving onto DarkForest RC3 tonight...
Click to expand...
Click to collapse
thank me I have helped.
also you can edit a init.d script and remove a file but can't remember where.
Sent from my R800i using Tapatalk
I have thanked now, sorry mate
I installed DarkForest 3.0.5, dalvik is now back to normal, and market works as normal.
Thanks
I have been using Link2sd for a while now and just wanted to know is there a way to get all my apps/games back after flashing a new rom and performing a full data wipe, cache wipe, after factory resetting...etc my phone.
There should be coz all the apps and there data, .dex files and lib files etc, are already there on the second partition. Isn't there anything I can do. I just dont want to reinstall everything again.
Q. I upgraded/changed my ROM and I can not see my linked apps, their files are on the 2nd partition but the system can not see the apps. How can I make them available, do I need to reinstall and relink them again?
No, if you didn't wipe data when updating ROM the only thing you need to do is to run "Recreate mount scripts" from "menu -> more" within Link2SD and do a normal (not quick) reboot.
If you wiped data, after executing "Recreate mount scripts" and rebooting, run "Relink all application files" from "menu -> more" and then reboot. All of your linked apps should be available again after reboot.
If you also wiped dalvik-cache, in addition to the above step run "Link dalvik-cache files".
Found this on the link2sd site... i did as its told here... but when i "relink all application files" it says no files found to relink ... :/ what do i do..
Was I not supposed to wipe the cache and/or ART cache in TWRP? Because, to try and fix a stupid problem, I did wiped that and created a lot of other problems. STUPID!
Facebook/Messenger keep force closing when opened...
Amplify also keeps force closing when opened...
Xposed no longer works, it says it's installed and active but it does nothing. Tells me to check the log, but there is no error file (it can't create the file).
I get a 404 error when Xposed tries to download the modules list.
I made a System + Data + Boot backup but I've read that since "Data" is encrypted on the HTC 10 with proprietary algorithms, that it's not possible to restore it. I could just restore "System" and "Boot", but will that do anything? And shouldn't I clear Cache and ART Cache after doing that anyway?
What the hell did I do to my phone? Save
I might have fixed this...
I just uninstalled a bunch of root apps (AdAway, Xposed, SuperSU, Greenify), apps that change the "system" (although they were systemless) and restored my boot image. Cleared Cache and ART Cache again, rebooted and reinstalled Facebook/Messenger. They are now working again
I'm going to reinstall everything else back, one by one and see if everything is fixed...
Everything seems to be fixed