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
Related
Hi all,
I've search the other posts similar to my issue but haven't found the answer.
Recently, I moved apps to SD card in MIUI using the move to SD card function from with Programs (not apps 2 sd).
I rebooted into recovery to flash a hotfix for the ROM, wiped cache, dalvik and ran caulkin clear temp.
Upon rebooting, apps on CD card are not accesable (error launching activity) as well when I look at the apps in programs, I get a screenshot with com.program name etc (very similar to this screenshot http://i.imgur.com/YSfEl.png
I tried fixing permissions via terminal but i get this error (for apps on SD):
/mnt/asec/com.realarcade.CL4-1/pkg.apk does not exist (103 of 143). Reinstall...
/mnt/asec/com.amazon.mShop.android-1/pkg.apk does not exist (104 of 143). Reinstall...
/mnt/asec/com.dragonplay.blackjack-2/pkg.apk does not exist (105 of 143). Reinstall...
/mnt/asec/com.poynt.android-1/pkg.apk does not exist (106 of 143). Reinstall...
/mnt/asec/dk.logisoft.aircontrol-1/pkg.apk does not exist (107 of 143). Reinstall...
The only fix I have found was to uninstall and reinstall all apps on SD.
I've had to do this twice in the past week and would like to avoid this!!!
I did find in one of the other posts the mention that I should be backing up the SD-ext (amon ra). IF I got this error again, could i simply restore that backup (only the sd-ext)?
Thanks again, I really am stuck on this one.
Since you're using the built in Android method of moving apps, you're not using the ext partition (if you even have one). Instead you can backup .android_secure, but I've never had a need to move apps so I'm not really familiar with it.
I'm thinking it might be the clear temp zip that's doing it. You should be able to open it up & see if it's wiping .android_secure. If so, you can either not use it or try backing up & restoring afterwards.
Sent from my PC36100 using Tapatalk
plainjane said:
Since you're using the built in Android method of moving apps, you're not using the ext partition (if you even have one). Instead you can backup .android_secure, but I've never had a need to move apps so I'm not really familiar with it.
I'm thinking it might be the clear temp zip that's doing it. You should be able to open it up & see if it's wiping .android_secure. If so, you can either not use it or try backing up & restoring afterwards.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
I think it's the clear temp!!
I just flashed a new kernel, wiped cache and dalvik (didn't run the clear temp and i'm ok!!)
thanks agaiin
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'm starting to get an "Out of space" message when installing apps. It happened a couple of times from Market, and now its happening when I side load apps. From all indications I have plenty of space (11 GB free). I've cleaned cache, force stopped Market and Google Frameworks clearing their cache, rebooted into recovery and wiped cache, wiped dalvic, and fixed permissions. Its getting to the point that Market updates are hit and miss as to whether they will install. Is this a RAM issue? What can I do next? Running JR6 w/ Franco #264. Thanks.
v12xke said:
I'm starting to get an "Out of space" message when installing apps. It happened a couple of times from Market, and now its happening when I side load apps. From all indications I have plenty of space (11 GB free). I've cleaned cache, force stopped Market and Google Frameworks clearing their cache, rebooted into recovery and wiped cache, wiped dalvic, and fixed permissions. Its getting to the point that Market updates are hit and miss as to whether they will install. Is this a RAM issue? What can I do next? Running JR6 w/ Franco #264. Thanks.
Click to expand...
Click to collapse
Check if you have a .odex file in /data/data (from Titanium Backup)
if you do, delete it. That caused some issues for me.
Sent from my Galaxy Nexus using xda premium
Thanks for the suggestion. I do use TiBu but seaching with Root Explorer, I did not have any odex files in that folder. I do have less than 20 odex files total, most located in the /data/app/ folder, ranging in size from a few kB up to 3 MB. Are they safe to delete? Not even sure if I go back to an earlier nandroid, I may still end up with the same problem. Its not crippling at the moment, so I'll hang on for a while to see if there are any other ideas I can try before wiping and reloading.
EDIT:
OK, one of the odex files in the /data/app folder was from the program I could not install. I deleted it, and was then able to install the program. WTH? I tested deleting one of the other odex files (to see if I could just delete them all) and the program would just FC immediately. I guess the only odex files that are safe to delete are of apps you no longer use. Not sure why the odex file kept me from installing the program, but at least it is fixed. Thanks to Lesicnik1 for putting me on the right track. Cheers.
After installing http://forum.xda-developers.com/showthread.php?t=1998428 I decided to try official MIUI 3.4.26 as well. In both cases for some apps I keep getting this error (title).
I tried many things from reinstalling gapps (+deleting cache, updates and data) to full reinstalls of roms (+ deleting cache, Dalvik Cache and data) but nothing seems to work. Maybe only the apps that give the error (ex. Facebook works on official MIUI while it doesn't on the Custom MIUI).
PS. I really want to fix MIUI because I love it. If it's not possible, I'll sadly change the rom.
rareshutzu said:
After installing http://forum.xda-developers.com/showthread.php?t=1998428 I decided to try official MIUI 3.4.26 as well. In both cases for some apps I keep getting this error (title).
I tried many things from reinstalling gapps (+deleting cache, updates and data) to full reinstalls of roms (+ deleting cache, Dalvik Cache and data) but nothing seems to work. Maybe only the apps that give the error (ex. Facebook works on official MIUI while it doesn't on the Custom MIUI).
PS. I really want to fix MIUI because I love it. If it's not possible, I'll sadly change the rom.
Click to expand...
Click to collapse
Use a root explorer, then go to datadata and delete the folders of apps you wanna install and reinstall those apps from playstore
Otherwise from recovery, Go to mounts and storage and format datadata!
hit thanks if it helped
hussam91 said:
Use a root explorer, then go to datadata and delete the folders of apps you wanna install and reinstall those apps from playstore
Otherwise from recovery, Go to mounts and storage and format datadata!
hit thanks if it helped
Click to expand...
Click to collapse
Hi, @hussam91 may I ask what do you mean by datadata? I can't find this directory. I have deleted the relevant folders from Android/obb (it's a game).
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.