App Installation Problems - EVO 4G Q&A, Help & Troubleshooting

I'm currently having two problems installing apps on my phone:
1) When I try to install Go SMS, I get "package file is invalid".
2) When I try to install Facebook Messenger, I get "Insufficient Storage Available".
I feel like both of these are related. I am currently running Synergy RLS1 (no God-mode) w/ a2sd. According to Titanium Backup, I have the following amounts of space available:
System ROM: 367MB (15.1MB free)
Internal: 448MG (312MB free)
SD Card: 7.17GB (3.93GB free)
SD Card (a2sd): 719MB (495 free)
Plenty of other apps of various sizes install and uninstall without incidence, but for some reason, I can't get these two apps to install.
I tried to first wipe cache and dalvik-cache, and I've tried a full wipe and reinstall and I'm still having the same issue.
Any ideas?

FYI. I resolved this issue by reformatting my SD Card.
For some reason, there was a bad .apk stuck in /system/sd/app that when I tried to remove via adb shell, gave me some kind of input/output error.
Reformatting and repartitioning my SD Card finally resolved the issue.

Related

[Q] Major Issues with EVO

I have a rooted EVO w/ Froyo. Last night, I installed Cyanogen CM6 Stable Release ROM on phone, and all seemed well.
Earlier today, I was in the process of moving some of my apps to SD card by using Titanium Backup. I started alphabetically, and made it to System Panel. System Panel never finished moving to SD card, and the gray splash screen that reads "Please Wait" with the rotating progress circle on the left side of the screen never went away. I had to go into Manage Application and Force Stop TB.
After that, I noticed I could not install or uninstall ANY apps. I tried deleting TB so I could reinstall it, but TB would not delete.
There was plenty of space left on SD card and adequate space in internal of phone (4gb and 200mb respectively. I pulled SD card from phone, uploaded contents to PC, formatted SD card on PC, downloaded content back onto SD card, reinstalled, but still had same poblem.
I tried updating busybox through TB with same results. I booted to Amon Ra recovery, deleted cache and dalvik cache, rebooted, with same results.
I then booted to recovery and restored a Nandroid b/u of a 3.29 ROM I had, but after restoring, I still have same problem. I also tried several different Nandroid backups, all with same results. And I did a full wipe b/w restorations.
I then flashed CM6 back and fixed permissions via ROM Manager, but after a reboot/clr cache/clr dlavik cache still had same problems.
Logcat gives this error continually about once a minute:
Tethering: attempting to remove unknown iface (usb0), ignoring
Logcat gives these two errors whenever I try to install/uninstall apps:
Statfs: /dbdata failed, errno: 2
Statfs: /sdcard/ sd failed, errno: 2
I am at a loss as to what to try next.
Now getting FCs!
I now get a FC whenever I try to open Settings/Sound on CM6. So I can't change ringtone or anything I guess.
flash the RUU to unroot and turn it normal, if it still has problems then take it in for swap
btw you don't need to move anything to sd card, the phone works fine with everything internal

Android Market: Insufficient Storage Space Issue

Hello, I seem to be having a common problem, but so far no solutions have worked:
When initially downloading or updating a large app (Iron Man digital comic, Temple Run, Where's my Water, etc.) in the Google Play Store, I get the error "Insufficient Space on the Device". However, when I check my free space, I have more than enough space on the system rom, internal space, and internal and external SD cards. Regarding the common solutions, I have tried wiping the cache and data on my play store and download manager apps, wiping cache and dalvik cache, and even using both wifi and cell connections. Oddly enough, I was able to download the Iron Man digital comic over the amazon app store (which doesn't help me with the apps requiring updates through Google Play).
For reference, I am using Calk's EL29 v2.9.2 rom with the EL29 radio and standard kernel.
Thank you for your help in advance.
unmount sd card, install apps, remount sd
I'm still trying to find a fix for this... been having this insufficient space issue for weeks now.
.Do like dices said and un mount sd card then download. If that doesn't work, back up your data and format your sd. Then return data and download.
If you've installed the programs before try sd maid from the store. Check for 'corpses' and remove.
Sent from my SPH-D710 using xda premium
Finally
None of the above solutions worked for me. I had to go and free up a gig of internal space... yes, internal space not sd card space.. so I could install and update large apps. When I was getting the insufficient space error I had..
800+ megs internal space
3.51 gigs on internal sd card
1.75 gigs on external sd
I tried remounting installing app and remounting, clearing play store cache, uninstalling market updates, and wiping davlik cache with no results.
So basically free up a buttload of internal space to get rid of the "insufficient space" error code from Google Play.
Hope this helps somebody from pulling their hair out like I did... wait, I dont have any hair
Thank you for all of your help to posted. I was able to download and update the apps previously mentioned only by unmounting, removing, and rebooting my phone. However, now I'm still having the same problem. I have even tried the SD maid app, freeing up internal memory space to nearly 2GB, and even redownloading and re-applying the rom, with no success. In addition, I now randomly get a "package file is invalid" message.
Since the only resolution that worked involved removing the SD card, I'm assuming the SD card is the culprit. However, I can't do that every time I need to update an app. I'm also assuming that backing up, reformatting, and reloading everything onto the card would leave me with the same issues. Does anyone know what the actual root cause is and how to permanently fix it?
Thank you in advance.
@ op next time just uninstall titanium backup if you have it installed, then reinstall it and should fix your problem.
Sent from my LG-P999 using xda premium
i had this issue a few weeks ago. In my situation, juice defender was somehow conflicting with my rom and giving me that error. I uninstalled juice defender and everything was fine
Hi ,
This morning I had the same issue with my phone.
I tryed all sort of things and nothing worked.
What did work at the end was to boot in recovery menu and clear the cache and the dalvik cache as well.
Boot back on (slow to start as it has to rebuild the caches) then all worked again, can now install apps.
Most easy fix, if you are rooted and you have a root explorer installed. Just delete the .odex file of that package in your /Data/App folder
or if you are rooted but dont have root explorer,
Open Terminal
Code:
su
cd /data
cd /app
ls
rm (package exact name).odex
It happens that u have previously installed package, u unisntall it but its previous odex stays there. If you do a fresh install again, and odex is corrupted one, you end up in insufficient storage.
dark_prince said:
Most easy fix, if you are rooted and you have a root explorer installed. Just delete the .odex file of that package in your /Data/App folder
or if you are rooted but dont have root explorer,
Open Terminal
Code:
su
cd /data
cd /app
ls
rm (package exact name).odex
It happens that u have previously installed package, u unisntall it but its previous odex stays there. If you do a fresh install again, and odex is corrupted one, you end up in insufficient storage.
Click to expand...
Click to collapse
This happens on almost all android phones why don't Google just let you choose the option of downloading to your SD card though?
The way I understand it is, only custom roms are privileged to be odexed, and thats why we land into problems.

[Q] Half used SD-EXT is full? - Invalid Packages

Edit: Question now: I tried stock a2sd with Y, Y, Y and after installing a load of apps it says "Insufficient storage available" for each new app (apart from a few small apps dotted around the middle of the sea of Insufficient storage available errors). Titanium Backup says that every partition has loads of free space.
In recovery it says the "Cache" partition is nearly full. How can I move this to the sd-ext partition (not the dalvik cache)?
Also, does stock a2sd with Y, Y, Y, do the same thing as data2sd and do I need to do a2sd install each time I install a new app?
-----
I used a2sdx in ICS for Desire in aroma and after successfully installing some apps from the Google Play store, everything I try and install after downloading says "Package is invalid"! It happens no matter how many times I try and install the apps.
After fixing permissions and scanning for errors in 4EXT (said sd ext (1GB ext 4) had errors and then fixed them) nothing is different.
When I cleared both caches, it allowed me to install about 3 more before the errors appeared again, but clearing the caches again makes no difference!
Can anyone help please?
EDIT: To save people reading through all the pages, I've added important info from them below.
EDIT 2: I've removed irrelevant information and added more info.
When installing apps, aLogcat says:
D/dalvikvm( 2421) Zip inflate: partial write (will retry): (28632 of 32768)
E/dalvikvm( 2421): Zip inflate: write failed: No space left on device
W/dalvikvm( 2421): Dex0ptZ: extraction of classes.dex from /data/app/appname.apk failed
W/installd( 131): DexInv: --- END '/data/app/appname.apk' --- status-0xff00, process failed
E/installd( 131): dexopt failed on '/data/dalvik-cache/[email protected]@[email protected]' res - 65280
W/PackageManager( 200): Package couldn't be installed in /data/app/appname.apk
I/ActivityManager( 200): Force stopping package appname uid-10109
Looking at the page for amarullz a2sdx (called amarullz ad2sdx there) it says that 3rd Party App Data, System App Apk and 3rd Party Apk is on the SD-ext partition, which the system reads at the internal memory. The System App Data and Dalvik Cache is on the actual internal memory. Is it that with 100 or so apps that I have installed that the Desire's internal memory is too small to cope with it? Because whenever I clear the Dalvik Cache, I can install a few more apps because it clears what the system thinks is "a2sd" (sd maid).
According to SDMaid (after using it and clearing the Dalvik cache, as the "App2SD" is usually full):
Partition: (used/total)
Android OS: 213MB/250MB
Internal Data: 430MB/1.97GB
Sdcard: 402MB/13.05GB
App2SD 138MB/148MB
http://www.thespicygadgematics.com/2011/12/fix-android-package-file-is-invalid.html
Tried that already and didn't work.
All methods?
I had the same problem and the link posted by MatDrOiD didn't work either. (Following all methods)
I only seemed to get the issue after using Titanium Backup to restore my apps (I was using with data). On a clean install of Sandvold ISC 0.7 it worked fine until I started restoring apps.
I was able to fix it by doing the following. I'm not sure if this will work but it worked for me.
1.Clear the cache for play store and uninstall updates
2. Settings | Backup & reset
Unchecked automatic restore
3. In Titanium Backup
More | Clean up the Dalvik cache
MatDrOiD said:
All methods?
Click to expand...
Click to collapse
Yep. Reinstalling the rom on top only allows about 4 more downloads before it says every one is corrupt. I never had this problem before I switched to a2sdx.
yaythan said:
I had the same problem and the link posted by MatDrOiD didn't work either. (Following all methods)
I only seemed to get the issue after using Titanium Backup to restore my apps (I was using with data). On a clean install of Sandvold ISC 0.7 it worked fine until I started restoring apps.
I was able to fix it by doing the following. I'm not sure if this will work but it worked for me.
1.Clear the cache for play store and uninstall updates
2. Settings | Backup & reset
Unchecked automatic restore
3. In Titanium Backup
More | Clean up the Dalvik cache
Click to expand...
Click to collapse
I didn't get a chance to install TB.
Started a complete fresh with Beta 0.8, and after filling 0.5GB out of now 2GB of the sd-ext with loads of apps, it's saying "Invalid Package" with everything.
Free space:
system: 45.3 MiB
data 142.8 MiB
cache 38.9 MiB
sdcard 97.9 MiB
sd-ext 1.5 GiB
I HATE that error message so much - I'm wasting a lot of time on this. I've tried everything in that stupid article. Any ideas?
Repartition SD card with max 1,5GB EXT-partition.
Then run full wipe 2x and flash Rom with a2dsdx.
If this does not help, full wipe and use stock a2sd.
Sent from my HTC Desire using XDA
Just used aLogcat and it says:
D/dalvikvm( 2421) Zip inflate: partial write (will retry): (28632 of 32768)
E/dalvikvm( 2421): Zip inflate: write failed: No space left on device
W/dalvikvm( 2421): Dex0ptZ: extraction of classes.dex from /data/app/appname.apk failed
W/installd( 131): DexInv: --- END '/data/app/appname.apk' --- status-0xff00, process failed
E/installd( 131): dexopt failed on '/data/dalvik-cache/[email protected]@[email protected]' res - 65280
W/PackageManager( 200): Package couldn't be installed in /data/app/appname.apk
I/ActivityManager( 200): Force stopping package appname uid-10109
How can the space there be full after just clearing both caches? :S
MatDrOiD said:
Repartition SD card with max 1,5GB EXT-partition.
Then run full wipe 2x and flash Rom with a2dsdx.
If this does not help, full wipe and use stock a2sd.
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
I had only a 1GB partition before and I wiped 3 times before installing fresh - I did this 2 times. Is there any way to fix from the above log information?
Which software did you use to partition SD card?
4EXT Recovery Touch v1.0.0.5 RC 3.
Is dalvikvm where it's trying to extract the file?
Any ideas?
Last time I had that issue I had a corrupt sd-ext partition. In recovery go to tools->file system check or something like that. It repaired my sd-ext and the problem was fixed
Sent from my HTC Desire using xda premium
00Scott00 said:
Last time I had that issue I had a corrupt sd-ext partition. In recovery go to tools->file system check or something like that. It repaired my sd-ext and the problem was fixed
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Like I said in my first post, I already tried that. However, just to be sure I rebooted into recovery, and it did say the sd-ext "filesystem contains errors!" After fixing and rebooting it made no difference. Every time I reboot into recovery, it says the file system contains errors so it doesn't appear to be fixing them even though it says it has. After it says it's fixed, checking it again without rebooting says the file system is fine.
Anything else I can use to fix it?
Ok, sounds like your SD card is on the way out...
Does nobody really know how to solve this issue?
00Scott00 said:
Ok, sounds like your SD card is on the way out...
Click to expand...
Click to collapse
I highly doubt that. It works just fine with the FAT32 partition and Apps would install fine before I used a2sdx. Plus it's brand new.
It sounds like your sd-ext is buggered beyond what 4EXT can fix
Have you tried deleting your sd-ext partition then recreating a new one? You will lose its contents but its worth a try.
In the past when I have had sd-ext problems I just backed up the contents of the SD then in gparted removed all partitions, recreated the partitions and formatted to the FAT32 for the main partition then EXT3/4 for the 2nd partition. Then restored the data on the FAT32 partition
yaythan said:
It sounds like your sd-ext is buggered beyond what 4EXT can fix
Have you tried deleting your sd-ext partition then recreating a new one? You will lose its contents but its worth a try.
In the past when I have had sd-ext problems I just backed up the contents of the SD then in gparted removed all partitions, recreated the partitions and formatted to the FAT32 for the main partition then EXT3/4 for the 2nd partition. Then restored the data on the FAT32 partition
Click to expand...
Click to collapse
I tried doing that before but the same problem occurs again.
I've just used SDMaid to clear everything it could, and now I can install a few apps.
In Titanium Backup and SDMaid, the free space conflicts with what 4Ext said before (after updating 4ext, it now says the same as below. The names for internal and sd-ext are swapped round because I'm using a2sdx):
System Rom: 262 MB (47.5 MB free)
Internal: 2.11 GB (1.61 GB free)
SD Card: 264 MB free)
SD card (a2sd): 154 MB (3.51 MB free) Before I used SDMaid this was full. It did say the same in aLogcat - "No free space!" when installing apps.
Obviously with a2sdx it swaps round the internal with sd-ext, but it looks as if it's not using the 2.11 GB partition very much but filling the 154 MB one.
I don't understand why it's not filling what it thinks is the internal partition. Is there any way to move the apps and stop others from installing there?
EDIT: Just wiped everything including partitions, redid the partitions, started complete fresh with 0.10.1 and it happens again. This is really starting to annoy me a lot.
Right, looking at the page for amarullz a2sdx (called amarullz ad2sdx there) it says that 3rd Party App Data, System App Apk and 3rd Party Apk is on the SD-ext partition, which the system reads at the internal memory. The System App Data and Dalvik Cache is on the actual internal memory. Is it that with 100 or so apps that I have installed that the Desire's internal memory is too small to cope with it? Because whenever I clear the Dalvik Cache, I can install a few more apps because it clears what the system thinks is "a2sd" (sd maid).
According to SDMaid (after using it and clearing the Dalvik cache, as the "App2SD" is usually full):
Partition: (used/total)
Android OS: 213MB/250MB
Internal Data: 430MB/1.97GB
Sdcard: 402MB/13.05GB
App2SD 138MB/148MB

[Q] M2SD SD Card Issue + Insufficient storage available

I selected to move everything to sd-ext with the script Mounts2SD.
Problem 1: After installing about 100 apps, it says, "Insufficient storage available" when I try to install a new app (however, in the list it cycles through, only 1 or 2 small apps install successfully).
In Titanium Backup, it says:
Partition: Total: Free:
System ROM 262 MB 43.3 MB
Internal: 154 MB 150 MB
SD Card 14.0 GB 12.0 GB
SD Card (a2sd) 2.11 GB 1.68 GB
In 4ext Recovery it says:
Partition: Total: Free:
system 250.0MiB 41.3MiB
data 147.6MiB 143.3MiB
cache 40.0MiB 38.MiB
sdcard 13.1GiB 11.2GiB
sd-ext 2049MiB 1.6GiB
Setting the script to move the cache makes no difference and clearing both caches (dalvik cache and cache) also makes no difference.
Problem 2: After restoring apps with Titanium Backup, in android "Manage apps" showed some on the SD card and when I mounted my SD card to my PC, it warned about apps not working when I mount.
After running the script again, it didn't warn about it. However, in both cases, "Manage apps" shows some apps on the SD card and after unmounting my SD card, it takes AGES before I can see all apps (this is the same after booting) - only some apps (some 3rd party and all system) are there. Directly after unmounting and going to "Manage apps", the apps that it says are on the SD card say "com.amazon.kindle..." for example, then return to normal when they appear in the menu.
If I go to Titanium Backup straight after booting, it says that the external storage is not mounted and the backup directory is not available. Yet apps continue to try and install (and fail with insufficient space).
Also, it keeps saying "Process system is not responding." (said this after running the script).
Do I need to run the script every time I install a new app and after restoring apps with Titanium Backup?
Any ideas why this is happening?
Thanks.
I used alogcat when installing an app and after loads of lines that look fine, it says:
W/Finsky (2246): [1] FinskyApp.getDfeApi: Fall back to primary account.
Then loads more of lines that look fine, after which it says:
W/NetworkManegmentSocketTagger( 1056): untagSocket)53_ failed with errno -22
W/NetworkManegmentSocketTagger( 935): No content provider found for permission revoke: file///data/data/com.android.providers.downloads/cache/downloadfile-2.apk

[Q] Market Downloading Issue

I have my SD card partitioned for dta2sd and have successfully been running it that way for quite some time now. Mind you that I flash ROMs on a regular basis. But recently after trying the Meko OS (I forgot the name) and then flashing back to a MIUI 2.3 build, I can't download anything from the market. It keeps giving me an "insufficient space" error. The odd thing is I usually have about 250mb+ system memory available and about 60mb+ sdext memory. I've flashed a few ROMs that I usually use as dailies and its giving me the same error when downloading from market. Also I can't restore any apps that aren't on my sdext currently nor install an app off of my SD.
I've tried: fixing permissions, reinstalling the apps to SD via terminal emulator, and flashing DTa2sd again.
also i'm using an ext3
Thanks in advanced
It's complaining about not enough space on your data partition.
Try moving Dalvik-cache to your sdcard.
Sent from my PC36100 using Tapatalk 2

Categories

Resources