well i have app-privaate and apps in the sd card.. but when i install apps, internal memory still goes down.. after somesearching i found out that dalvik-cache and data folders also take up space when istalling apps.. will it be ok if i also move these into the sdcard?
You should use the new apps to sd script. Its way better. But if you don't want to then you can move the dalvik cache but donlt move the data. It'll make your system really unstable.
ohh ok thank youu
after i do that, is it safe to flash a theme on
and i heard the new apps to sd didnt work on haykuros 6.0r1
is that true?
How are you currently doing the apps to sd? are you using the symlinks? If so dalvik-cache should be fine. You can try the data as well but you might have to undo it if things start acting up.
yes i used symlinks.. i transfered apps, app-private, and dalvik cache.. im not transfering data.. ill keep it like this.. its running well thanks guys
i have one question tho.. will everything be fine if i flash a theme on it? the aero one for 6.0r1
I've been having this problem on and off for a while, mostly I believed it was related to something getting corrupted when I restored my apps to a new Rom with Titanium Backup.
I am happy to say, that after scouring the web for days, and trying a lot of wrong information, I finally figured out how to fix this.
It's real easy. All you need to do is remove any *.apk files located in the /cache directory on your phone (did not even need to remount- though I did it as root just in case).
I never did figure out why only some apps will have this problem or how the problem first comes about, but I have successfully done this twice and have since been able to install/update files that had this error before.
Update (3/3/11): OK - After scouring the Internet for over a month I finally figured it out. My info above was only part right. The problem is specifically with ROMs/Kernels that move the dalvik-cache to the /cache directory (HTC puts it in the /data dir).
In any case, when it's in /data, it is using app space, and therefore you usually run out of app space and know about it. However, because this is in /cache, you don't really know what you are using. As you load up on apps, your dalvik-cache grows, and since these apps need the .dex files in the cache, even if you clear your cache, it will just get re-created.
the /cache dir is also where the apps are temporarily stored while downloading from the market. So....
1. If you are getting immediate download fails, that means that your cache is so full that you don't even have space for the temp file.
2. If you get "Invalid Package" that likely means that there was not enough cache left to install the .dex files (the download is also taking up some of this space).
Unfortunately, the only way to fix this is to either remove some of your apps, or move your cache to your SD card.
HOWEVER, I found this great app on the market called Link2SD, that allows you to only move select apps to the SD card, and you can also move the dalvik-cache files associated with these apps.
see this thread for specifics: http://forum.xda-developers.com/showpost.php?p=10711328&postcount=1
it lets you select which apps to move. You will need to create a new partition on your card, though.
So far results have been great and I can finally update the 30+ apps that have been stuck for me for the last 2 months.
almost forgot, if you adb shell or use terminal emulator, you can type "df" to see how much space is left on all your mounts.
My phone has been doing the same thing with the whole package file is invalid bs. I tried to follow your instructions on going to the /cache folder. When I went to the folder, it was empty, so I wasn't able to remove any .apk files. So now what? How do I fix this?
If you use a File Managemet app like ASTRO, it will show the folder as empty because you need root access to see the dir. However, if you use Terminal Emulator or adb shell (as root) you will see that there are indeed other directories, and probably these orphaned .apk files.
Hi,
I'm also having the same issue with invalid package. I cleared the /cahch direcotry and still have the issue -- Is there something else i can try before wiping and starting over?
thanks
Rudey
It could also be caused by the .android_secure folder on your SD card. Clearing this folder and letting the market restore them solves issues a lot ofthe time.
As always use TiBackup or something to backup all your apps first too to be safe.
As the OP, I can tell you that I have, in fact, been unable to fix this problem.
Initially the suggestion I posted above worked, however a couple of days later is was no longer working again.
I have tried every trick on the web, including:
1. Removing SD card.
2. Deleting the above mentioned folder
3. clearing market cache
4. Clearing all caches in recovery
5. logging out and back in to google talk.
The only thing that fixes it is a complete factory reset.
I currently have a combination of 3 errors:
1. No download at all.
2. Download unsuccessful
3. Invalid Package
some apps will still update, but what is really weird is that I am even getting invalid package on new apps (so its not a corrupt app already installed on the phone).
One last thought. Once I am unable to update an app, even if I remove it, I can no longer restore the backup using Titanium.
oughta try reformating your SD card and let the phone reformat it too.
sgt. slaughter said:
oughta try reformating your SD card and let the phone reformat it too.
Click to expand...
Click to collapse
don't see why this is different than un-mounting the SD which should do the same thing and has been tried.
sw99 said:
don't see why this is different than un-mounting the SD which should do the same thing and has been tried.
Click to expand...
Click to collapse
na actually reformating it will fully wipe everything on the SD and having the phone do it is best always as its always better to format with the device your using the disk on the most in general.
Found the problem, updated in OP.
sw99 said:
I've been having this problem on and off for a while, mostly I believed it was related to something getting corrupted when I restored my apps to a new Rom with Titanium Backup.
I am happy to say, that after scouring the web for days, and trying a lot of wrong information, I finally figured out how to fix this.
It's real easy. All you need to do is remove any *.apk files located in the /cache directory on your phone (did not even need to remount- though I did it as root just in case).
I never did figure out why only some apps will have this problem or how the problem first comes about, but I have successfully done this twice and have since been able to install/update files that had this error before.
Update (3/3/11): OK - After scouring the Internet for over a month I finally figured it out. My info above was only part right. The problem is specifically with ROMs/Kernels that move the dalvik-cache to the /cache directory (HTC puts it in the /data dir).
In any case, when it's in /data, it is using app space, and therefore you usually run out of app space and know about it. However, because this is in /cache, you don't really know what you are using. As you load up on apps, your dalvik-cache grows, and since these apps need the .dex files in the cache, even if you clear your cache, it will just get re-created.
the /cache dir is also where the apps are temporarily stored while downloading from the market. So....
1. If you are getting immediate download fails, that means that your cache is so full that you don't even have space for the temp file.
2. If you get "Invalid Package" that likely means that there was not enough cache left to install the .dex files (the download is also taking up some of this space).
Unfortunately, the only way to fix this is to either remove some of your apps, or move your cache to your SD card.
HOWEVER, I found this great app on the market called Link2SD, that allows you to only move select apps to the SD card, and you can also move the dalvik-cache files associated with these apps.
see this thread for specifics: http://forum.xda-developers.com/showpost.php?p=10711328&postcount=1
it lets you select which apps to move. You will need to create a new partition on your card, though.
So far results have been great and I can finally update the 30+ apps that have been stuck for me for the last 2 months.
almost forgot, if you adb shell or use terminal emulator, you can type "df" to see how much space is left on all your mounts.
Click to expand...
Click to collapse
Didnt solve my issue.. I had reformatted my phone and SD card and reinstalled my apps. It was working fine again but now its back to some apps update fine.. some get DOWNLOAD UNSUCCESSFUL and some get PACKAGE FILE INVALID.. any ideas.. Im on sprint lovers rom (latest)
It appears th LINK 2 SD needs a second partition that I dont have nor use with SPRINT LOVERS ROM and 2.2 .... am I missing something??
To the OP,
The program you linked to seems to be a variation of dark tremor's a2sd method (http://forum.xda-developers.com/showthread.php?t=715116). His lets you move data, cache, and/or dc to the ext partition, but doesn't (at least I don't believe it does) give you granular control over which apps remain in the standard location.
In my own use, I chose to move all user installed apps to sd, but dc remained on the internal memory (albeit, not in /data, but in the /cache partition). I figured this way, even if the sd card is missing, the phone will still boot. I won't have access to anything I installed, but whatever the rom came with will still be accessible.
Follow the instructions on that thread and create the second partition. You won't need more than 500mb. apps2sd or link2sd is the only way you can fix this problem unless you want to remove some of your apps.
Sent from my PC36100 using XDA App
gpz1100 said:
To the OP,
The program you linked to seems to be a variation of dark tremor's a2sd method (http://forum.xda-developers.com/showthread.php?t=715116). His lets you move data, cache, and/or dc to the ext partition, but doesn't (at least I don't believe it does) give you granular control over which apps remain in the standard location.
In my own use, I chose to move all user installed apps to sd, but dc remained on the internal memory (albeit, not in /data, but in the /cache partition). I figured this way, even if the sd card is missing, the phone will still boot. I won't have access to anything I installed, but whatever the rom came with will still be accessible.
Click to expand...
Click to collapse
Yes that's true, and I eventually went the app2sd route. However, I was trying to avoid that because of the slow speed of my sd card.
Sent from my PC36100 using XDA App
sw99 said:
Yes that's true, and I eventually went the app2sd route. However, I was trying to avoid that because of the slow speed of my sd card.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I'm not sure which app2sd method you're referring to, but keep the following in mind. I discovered this after my backup images failed to restore properly.
In the past, i'd be backing up boot, system, and data partitions. Obviously with dt's a2sd, I need to include the ext partition now. No problem. BUT, when restoring, i'd run into issues where my apps were present, but all settings were lost. After much confusion and head scratching, I tried wiping cache and dc AFTER the restore, but before the initial boot. The restore was a success now!
Apparently, with a2sd on the ext3, some remnants of cache or dc remain when backing up, even if cache is not selected. As part of any good restore, first thing is to always wipe, so now we end up with a hodge podge of files in the cache which I think causes the OS to revert all the settings back to default.
Just something to keep in mind.
i wanted to go back how my dhd was.. lots of problem.. i havent fix my radio problem yet and now this invaled package thing *face palm*
My phone is HTC G7, and I use data2sd to get 1.5G rom space, now there is still about 1.2G left, but I also met the "invalid package file" problem. I can't find any *.apk in /cache, (root, with "ls -a"). But if I uninstall some apps, I could install or update other apps successfully. I could not use Link2sd for I already have data2sd and I guess it's not a problem of insufficient space, because I still have enough rom space.
Do you have any new solutions?
supericexu said:
My phone is HTC G7, and I use data2sd to get 1.5G rom space, now there is still about 1.2G left, but I also met the "invalid package file" problem. I can't find any *.apk in /cache, (root, with "ls -a"). But if I uninstall some apps, I could install or update other apps successfully. I could not use Link2sd for I already have data2sd and I guess it's not a problem of insufficient space, because I still have enough rom space.
Do you have any new solutions?
Click to expand...
Click to collapse
The problem is not the apps, its the /cache running out of space. I suspect that the app you are using cannot move the dalvik-cache files (and is really just a shortcut to android's app2sd - which is not the same as darktremor or link2sd).
in terminal us df -k to see how much space you have on each mount to confirm that there is little space in cache.
If you really have that much space in your apps mount, then I would suggest moving the dalvik-cache back to its original location (search for instructions, as the only way I know how to do it is by installing darktremor's app2sd). If you are still having problems, you really are limited to either partitioning your SD card and using apps2sd or link2sd or removing apps.
hope this helps.
I have been having this issue for a couple of months now - with a bit of a twist. After wiping my dalvik-cache, my apps began to sucsessfully update - except for Google apps.
I have no idea why just those apps, but going into settings/Applications/Manage applications, and selecting each app, then clearing that apps cache, allowed those apps to sucessfully update also.
I am thankful I did not have to resort to the above fix.
Any solution if not rooted?
I've just started to get this error when trying to update the Google+ app. The error is only happening with Google+, every other app I update/install works fine.
I haven't rooted my device, and I'm hoping there's a way to fix the issue without rooting?
Device: Nexus One
Rom: Stock Android
Version: 2.3.4
Although I couldn't see anything in the cache directories, I checked in /system/app and couldn't find any package that looked like it would be Google+.
I have 500MB left and whenever I'm trying to update/install apps from the Play Story it gives me this error!
I tried clearing the dalvik-cache which is like 450MB but it force closes the whole system and apps!
After rebooting... the dalvik-cache is still there! I'm guessing that it's rewritten itself...
I think dalvik cache rewrites itself after it's wipe
That's Why it takes a long time to boot after dalvik wipe
Sent from my GT-I5800 using XDA
allspark2020 said:
I think dalvik cache rewrites itself after it's wipe
That's Why it takes a long time to boot after dalvik wipe
Sent from my GT-I5800 using XDA
Click to expand...
Click to collapse
The real problem is how can I fix the "Insufficient Storage" error??!
xMini said:
I have 500MB left....
Click to expand...
Click to collapse
Where do you have only 500mb left? Meaning /data/media or /cache (not /dalvik-cache).
Try going into Setting>Apps> Gallery, Playstore, video player, music player and wiping the Cache there. Gallery is a cache hog, so is Browser and Playstore.
Once you get that cleaned out, you should be able to download something from the market. I suggest Cache Cleaner NG. It is a cache cleaner that you can set to run everyday, week, month. I have mine set to run every morning before I wake up so my tablet is fresh and clean and ready to use.
Woodrube said:
Where do you have only 500mb left? Meaning /data/media or /cache (not /dalvik-cache).
Try going into Setting>Apps> Gallery, Playstore, video player, music player and wiping the Cache there. Gallery is a cache hog, so is Browser and Playstore.
Once you get that cleaned out, you should be able to download something from the market. I suggest Cache Cleaner NG. It is a cache cleaner that you can set to run everyday, week, month. I have mine set to run every morning before I wake up so my tablet is fresh and clean and ready to use.
Click to expand...
Click to collapse
I have 500MB left from 16GB (Internal Storage) and for some reason it's 300KB now!
I cleared all the cache from the recovery...
xMini said:
I have 500MB left from 16GB (Internal Storage) and for some reason it's 300KB now!
I cleared all the cache from the recovery...
Click to expand...
Click to collapse
happened to me before. reflashed and it fixed. should have use root explorer to check which directory is used.
So now I have 400MB on the internal storage and I've cleared all the cache!
What should I do next?
The error is still there!
I can't even install apps to clean my system!
xMini said:
I cleared all the cache from the recovery...
Click to expand...
Click to collapse
Clearing cache from recovery is not the same. Go into those apps and wipe them there.
Also, take look in /data/log and see if anything is in there. I just read about someone yesterday that had 11gb of useless entries in there. If there is anything in that file, just delete it (it isn't needed) and the set the permission to User-R and the rest blank and you would get those files anymore.
If all else fails, just delete something from your internal that you can replace later on from your PC (like some music or video) and that way you'll clear out some space to download a cleaner from the market.
Woodrube said:
Clearing cache from recovery is not the same. Go into those apps and wipe them there.
Also, take look in /data/log and see if anything is in there. I just read about someone yesterday that had 11gb of useless entries in there. If there is anything in that file, just delete it (it isn't needed) and the set the permission to User-R and the rest blank and you would get those files anymore.
If all else fails, just delete something from your internal that you can replace later on from your PC (like some music or video) and that way you'll clear out some space to download a cleaner from the market.
Click to expand...
Click to collapse
Yeah... I checked all the apps and cache was deleted!
There's no "log" at all!
Also why would I need to delete something from my internal?
I deleted a lot from downloads...
Your internal and /data/media are the same thing. If you said that your internal is almost full and you are getting the error,....
Woodrube said:
Your internal and /data/media are the same thing. If you said that your internal is almost full and you are getting the error,....
Click to expand...
Click to collapse
I know!
But I deleted a lot of stuff! and now I have 400MB!
400MB should be enough to install an 800KB app!
Just trying to troubleshoot here man. Use a file explorer and look around to see if anything sticks out.
Might be time to do a factory reset and clean house (as a last resort) unless someone else has any ideas.
Good luck.
You need to have at least 512MB on your internal memory to be able to instal more programs. There is no fix for that.
Sent from my Transformer TF101
goodoane said:
You need to have at least 512MB on your internal memory to be able to instal more programs. There is no fix for that.
Sent from my Transformer TF101
Click to expand...
Click to collapse
This might be the answer...
I've deleted a lot of stuff and apps and now I have 1.2GB an I installed couple of apps successfully!
He is correct, 512 is the limit, you will also notice the system slows ALOT after this point, I like to use my MicroSD for alot of things for this reason.
Also glad I read the 'log' tip, I had a 600Mb log just sitting there. X.x
I get this insufficient space error when titanium backup runs a scheduled backup. I have 18gb free and when I manually do a backup it works like a charm. Odd behavior. Sorry, I don't have any suggestions; just wanted to let you know you are not alone.
Thing O Doom said:
He is correct, 512 is the limit, you will also notice the system slows ALOT after this point, I like to use my MicroSD for alot of things for this reason.
Also glad I read the 'log' tip, I had a 600Mb log just sitting there. X.x
Click to expand...
Click to collapse
I do use a 16GB microSD BUT the problem is that I have 10GB of apps/games! -_-
Try Apps2SD or a similar app.
I know for sure that the huge amounts of resource files used by games like Shadowgun and GTAIII can be stored on the MicroSD, freeing alot.
haberda said:
I get this insufficient space error when titanium backup runs a scheduled backup. I have 18gb free and when I manually do a backup it works like a charm. Odd behavior.
Click to expand...
Click to collapse
Probably /data is on the verge of running out of available inodes, do you have a lot of small files on it?
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,