[Q] Error during Install: "Package file is invalid". Help? - myTouch 3G Slide Q&A, Help & Troubleshooting

Hey guys, I'm starting have some problems when installing applications on my mt3gs.
First I thought it was the apps, because only like 2 apps wouldn't install, but now NO apps will install.. I keep on getting the error, "Package file is invalid.". I have no idea what it means, I was hoping I could get some help..
Here's some details,
I'm using the "SLIDE MR1.v4 With Eclair" rom.
I've had it for a few months, haven't had any problems with it.
Then about 2 or 3 days before the 14th of august, I set up my sd card and phone for Apps2SD, it worked.
I don't know if the rom is the issue, or the app2sd is the issue, but I'm just looking for some help.
If you need anymore information about the phone, just ask I'll glady provide you guys with it. I REALLY need the help, because as of now; I'm unable to install any applications.

Got It...
What I did to fix this was...
Clear Market Cache (Settings->Applications->All->Market->Clear Cache)
Clear System Cache
Clear Dalvik Cache
The step that did it for me was clearing dalvik cache. Just posted this so it was up for anyone who needed to find it (one of the first pages on google). Couldn't find the proper solution anywhere else.
P.S. Your phone has to be rooted to do the last two steps. (Google "Android Clear Dalvik Cache")
P.S.S Your phone will take a while to reboot after clearing the Dalvik Cache. That's normal.

Related

[Q] Cm 6/7 gapps/framework question.

After about one day running either rom my gapps or google services framework gets constant force closes. I've tried clearing the cache through settings and wiping through titanium backup and it just keeps happening. How can I go about fixing this?
really No one wants to try and help? It is seeming to happen every time I install flash from the market anyone think of any suggestions how to go about fixing it?
Run a FORMAT_ALL.zip and only use the official gapps packages from http://goo-inside.me/gapps/#versions
Note that a FORMAT_ALL.zip (search in this forum to find it) does exactly what it says: Formats all of your internal partitions (except WiMax, of course); /system, /data, /cache, and /boot.

Insufficient Space/Invalid Package File

I've been having this issue for the past couple of weeks and I don't know how to resolve it. At first I thought it might have been my ROM so I wiped everything clean and flashed a new ROM but the problem still exists. I read on a forum that the cache partition could be full so I used Terminal Emulator to check the disk usage and I'm reading that my /cache is 98% full. I also have a dalvik cache in the cache folder as well as a dalvik cache in my /data folder both of which are close to 300mb in size. I tried to clear the cache and dalvik cache in recovery before resorting to the full wipe and each time both cache rebuilt themselves. I'm completely at a loss and I'd really appreciate some help with this issue. Thanks in advance.
So you're out of space? Perhaps you have several backups from CWM taking up all the room. They are pretty large files. I myself keep my stock backup and my most recent, the rest of them rest on my pc.
Sent from my Blazing ET4G
thats not the case here. i dug around a bit and saw that my cache and dalvik cache are 98% full. as stated earlier i tried deleting the dalvik cache but it regenerates itself. i looked around in titanium backup and saw an option to integrate some of the cache to the system. i enabled that and it moved around 150 items around and freed up some space. i'm still around 88% full and i know this problem is gonna rear it's ugly head very soon so I'm trying to install programs like link2sd and as2d+. none of these programs are working though...they all require partitioned sd cards (which i have) but none of these programs are seeing the partitioned card. i've tried repartitioning under recovery but that does absolutely nothing. anyway e4gt users can take advantage of these programs?
I had the same issue and it was driving me crazy. I just downloaded Cache Fixer and ran it and now I am good. Turns out my cache was 95% full, wiped it using that tool and I can now update and download.
I want to add that after it cleared, I could update but some of the other apps on the phone did no work (Google Music and Dolphin Browser to nae a few). I re-boot and the cache is back to pre clearing levels and no other issues. It does temporarily fix the isse bt I do not have a permanent fix.
If anyone has one, I would love to know what that may be.
i just want to say that I am having the same exact issue and performed the same steps the OP did. Only when I wipe the cache with cache fixer it everything forces closes so i can't update anything. So i am really stuck.
The only success that I have temporarily is uninstalling the app then resinstalling it. But thats not a permanent solution and sucks for apps like beautiful widgets.
PLEASE HELP
EDIT: on calkulins 3.0 rom and self updated google play

unable to format sdcard in cwm

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

[Q] SGH-T989 frozen in time, advice requested, any ideas?

Hello, everybody. I have a T-Mo SGS2 SGH-T989 that's frustrating me, and I'm hoping one of you might understand what's happening and how to fix it. Its software seems to be frozen in time. Every time I reboot it, no matter what I've done to it, it opens on the homescreen I had in place as of last Thursday (6 September). As soon as it boots it downloads updates for every app that's had an update come out since then. Any apps I have tried to install since then give me a "could not be downloaded due to an error. (492)" message, and any already-installed apps I delete magically reappear unchanged as soon as I reboot. Not only that, but all the app cache data is frozen in time, too; Poweramp opens with the player cued to the middle of a track I had last listened to over Bluetooth in my car last Thursday, the Kindle app opens to a page within a book I had read last Thursday, etc. I can't make any permanent changes to my phone for no obviously apparent reason, though it's for the most part functional. To top it all off, though, after being powered on for a few hours, apps start randomly force closing until I reboot it again! I've been running essentially the same software environment on it for a couple of months, and up until last Thursday it was rock-solid reliable. I'm not a complete n00b, but I don't have nearly as much time as I'd like to devote to progressing beyond rank amateur status, and having my phone not completely functional is bugging the spit out of me. I've been trawling this and other forums as much as I can since then, and I can't make head or tail of this problem. Anybody have any ideas?
I've already tried wiping the cache and dalvik cache, I've tried restoring a backup from cwm, I've tried doing a factory reset and data wipe, I've tried darkside super wiping it, I've tried flashing new recoveries, I've tried to update the firmware through Kies, I've tried to flash it back to stock with ODIN, and I even downloaded the Android SDK so I could open an adb shell over USB and chmod all the file permissions to read/write! I keep encountering error messages in cwm and adb saying error mounting /sdcard, error mounting /sd_ext, error mounting sdcard/android.secure, etc. What really blows my mind is that everything seems to be working just fine in ODIN while I'm flashing it - until the phone reboots and shows me exactly the same environment it had before I flashed it. I had avast! Anti-Theft installed, and I disabled its device administrator privileges and uninstalled it before I made any of these attempts to fix it, but it keeps reappearing too. I'm at a loss.
Device details:
Phone: T-Mobile Samsung Galaxy S II SGH-T989 (rooted)
Android: 4.0.3
ROM: DARKSIDE.EVOLUTION.3 v5 (out-of-date, I know, but it had been working flawlessly for months, and if it ain't broke....)
Kernel: 3.0.8-perf-T989UVLE1-CL508451 (it says "[email protected] #1" on the line after that in the kernel version block of the "About phone" settings page)
Recovery: ClockWorkMod Recovery v5.0.2.7 (again, I know it's out-of-date, but if it ain't broke.... and now it won't let me re-flash it!)
Baseband: T989UVLE1
Selected Installed Apps: AdFree, Amazon Market, Amazon Kindle, ADWLauncherEX, avast! Mobile Security, Beautiful Widgets, BusyBox Pro, Dolphin Browser, Dropbox, DSPManager, KeePassDroid, Kies air, MX Player Pro, Poweramp, PriceCheck, QR Droid Private, ROM Toolbox Pro, Shazam, Superuser, TeslaUnreadPlugin, Titanium Backup, Widget Locker
Nizrael said:
Hello, everybody. I have a T-Mo SGS2 SGH-T989 that's frustrating me, and I'm hoping one of you might understand what's happening and how to fix it. Its software seems to be frozen in time. Every time I reboot it, no matter what I've done to it, it opens on the homescreen I had in place as of last Thursday (6 September). As soon as it boots it downloads updates for every app that's had an update come out since then. Any apps I have tried to install since then give me a "could not be downloaded due to an error. (492)" message, and any already-installed apps I delete magically reappear unchanged as soon as I reboot. Not only that, but all the app cache data is frozen in time, too; Poweramp opens with the player cued to the middle of a track I had last listened to over Bluetooth in my car last Thursday, the Kindle app opens to a page within a book I had read last Thursday, etc. I can't make any permanent changes to my phone for no obviously apparent reason, though it's for the most part functional. To top it all off, though, after being powered on for a few hours, apps start randomly force closing until I reboot it again! I've been running essentially the same software environment on it for a couple of months, and up until last Thursday it was rock-solid reliable. I'm not a complete n00b, but I don't have nearly as much time as I'd like to devote to progressing beyond rank amateur status, and having my phone not completely functional is bugging the spit out of me. I've been trawling this and other forums as much as I can since then, and I can't make head or tail of this problem. Anybody have any ideas?
I've already tried wiping the cache and dalvik cache, I've tried restoring a backup from cwm, I've tried doing a factory reset and data wipe, I've tried darkside super wiping it, I've tried flashing new recoveries, I've tried to update the firmware through Kies, I've tried to flash it back to stock with ODIN, and I even downloaded the Android SDK so I could open an adb shell over USB and chmod all the file permissions to read/write! I keep encountering error messages in cwm and adb saying error mounting /sdcard, error mounting /sd_ext, error mounting sdcard/android.secure, etc. What really blows my mind is that everything seems to be working just fine in ODIN while I'm flashing it - until the phone reboots and shows me exactly the same environment it had before I flashed it. I had avast! Anti-Theft installed, and I disabled its device administrator privileges and uninstalled it before I made any of these attempts to fix it, but it keeps reappearing too. I'm at a loss.
Device details:
Phone: T-Mobile Samsung Galaxy S II SGH-T989 (rooted)
Android: 4.0.3
ROM: DARKSIDE.EVOLUTION.3 v5 (out-of-date, I know, but it had been working flawlessly for months, and if it ain't broke....)
Kernel: 3.0.8-perf-T989UVLE1-CL508451 (it says "[email protected] #1" on the line after that in the kernel version block of the "About phone" settings page)
Recovery: ClockWorkMod Recovery v5.0.2.7 (again, I know it's out-of-date, but if it ain't broke.... and now it won't let me re-flash it!)
Baseband: T989UVLE1
Selected Installed Apps: AdFree, Amazon Market, Amazon Kindle, ADWLauncherEX, avast! Mobile Security, Beautiful Widgets, BusyBox Pro, Dolphin Browser, Dropbox, DSPManager, KeePassDroid, Kies air, MX Player Pro, Poweramp, PriceCheck, QR Droid Private, ROM Toolbox Pro, Shazam, Superuser, TeslaUnreadPlugin, Titanium Backup, Widget Locker
Click to expand...
Click to collapse
This sounds like an Android virus... Did you download anything "suspicious" recently?
whatiznt said:
This sounds like an Android virus... Did you download anything "suspicious" recently?
Click to expand...
Click to collapse
Yeah what he said.. You could always try a virus scan, however I have heard they aren't that reliable.. Easiest fix would be get a warranty replacement and be done with it.
VoiD_Dweller said:
Yeah what he said.. You could always try a virus scan, however I have heard they aren't that reliable.. Easiest fix would be get a warranty replacement and be done with it.
Click to expand...
Click to collapse
+1
Oh, dear.
I wouldn't have thought I had downloaded anything especially sketchy. I won't install an app unless it's got a lot of positive reviews, but I suppose that's no guarantee of absence of malware. The trouble with sending it in for warranty service is, I've voided my warranty by rooting it and installing a custom ROM, and I can't flash it back to stock.
Nizrael said:
I wouldn't have thought I had downloaded anything especially sketchy. I won't install an app unless it's got a lot of positive reviews, but I suppose that's no guarantee of absence of malware. The trouble with sending it in for warranty service is, I've voided my warranty by rooting it and installing a custom ROM, and I can't flash it back to stock.
Click to expand...
Click to collapse
What are you talking about, you can ALWAYS flash back to stock
Sent from my SGH-T989 using Tapatalk 2
Nizrael said:
I wouldn't have thought I had downloaded anything especially sketchy. I won't install an app unless it's got a lot of positive reviews, but I suppose that's no guarantee of absence of malware. The trouble with sending it in for warranty service is, I've voided my warranty by rooting it and installing a custom ROM, and I can't flash it back to stock.
Click to expand...
Click to collapse
If you already have a back up try this out. Format system, Format data, Format cache. Wipe cache partition, Wipe dalvik, Wipe data/Factory Reset. Do all these twice not once but twice then reinstall backup rom and reboot. See if this fixes the problem.
No Joy
richardlibeau said:
If you already have a back up try this out. Format system, Format data, Format cache. Wipe cache partition, Wipe dalvik, Wipe data/Factory Reset. Do all these twice not once but twice then reinstall backup rom and reboot. See if this fixes the problem.
Click to expand...
Click to collapse
Creating a backup was the first thing I did after I rooted it, so I did what you suggested. The first four steps went well enough:
Reboot to recovery ---> mounts and storage ---> format /system ---> Yes - Format ---> Done. (x2)
mounts and storage ---> format /data ---> Yes - Format ---> Done. (x2)
mounts and storage ---> format /cache ---> Yes - Format ---> Done. (x2)
wipe cache partition ---> Yes - Wipe Cache ---> --Wiping cache... Formatting /cache... Cache wipe complete. (x2)
When I went to wipe dalvik, I got this error the first time:
advanced ---> Wipe Dalvik Cache ---> E:unknown volume for path [/sd-ext]
So I tried it again, and it seemed to work:
Wipe Dalvik Cache ---> Dalvik Cache wiped.
Just to be sure, I tried it a third time and got the error again:
advanced ---> Wipe Dalvik Cache ---> E:unknown volume for path [/sd-ext]
After several more tries, it seems to be alternating back and forth between telling me it works and giving me an error message, so I moved on:
wipe data/factory reset ---> Yes -- delete all user data --->
It seemed to partially work, but also gave me an error:
-- Wiping data...
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android.secure...
Error mounting /sdcard/.android.secure!
Skipping format...
Data wipe complete.
I tried it again three more times and got the same results, error mounting /sdcard/.android.secure. Moving on, I tried to restore a backup:
- backup and restore ---> restore ---> E:Can't mount /sdcard (x4)
The thought occurred that it might be trying to access an external SD card rather than internal storage, so I re-installed the one I had removed prior to mucking about trying to wipe things and tried again:
- backup and restore ---> restore ---> Couldn't open directory. No files found.
This was new, so I went back to the wipe data/factory reset step:
wipe data/factory reset ---> Yes -- delete all user data --->
This time it seemed to work without any errors:
-- Wiping data...
Formatting /data...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android.secure...
Data wipe complete. (x2)
Since that seemed to work, I repeated all steps from the beginning and moved on to the restore step:
- backup and restore ---> restore ---> Couldn't open directory. No files found. (x2)
I tried the restore from internal sdcard option:
- backup and restore ---> restore from internal sdcard ---> Couldn't open directory. No files found. (x2)
I then tried the "- advanced restore" and "- advanced restore from internal sdcard" but with the same results ---> Couldn't open directory. No files found. (x2)
Then I rebooted it:
- reboot system now --->
And yet again, it behaves as though it's been powered down since Thursday before last.

[Q] Can't use Gmail app, Can you help me?

I recently updated my CM7 rom... I didn't checked the "erase dalvik cache" option...
So everything went fine... But now phone goes white everytime I open Gmail... I tried uninstalling it but then I can't download it from play store because when my PC it says that app is already installed. And I can't access play store from my phone since I need to sync my gmail account.
How to fix it... I mean maybe downloading the right Gmail app
And thanks for taking the time to read and help my problem
I didn't checked the "erase dalvik cache" option...
Click to expand...
Click to collapse
And here lies your problem, wiping dalvik cache is a crucial thing to be done when installing a new ROM or when updating your currently installed ROM.
ALWAYS WIPE BOTH CACHE AND DALVIK CACHE.
So, i've got two solutions for you.
1 - Uninstall Gmail app, clean Play Store's app data, reboot into recovery and wipe both cache AND dalvik cache.
If the solution above does not work, do this:
2 - Format everything (cache, data, boot and everything else) and reinstall your ROM. (this one is fail-proof, I mean, it WILL work but will erase EVERYTHING in your PHONE)
Skyheiser​

Categories

Resources