Page 2 of 5 FirstFirst 12345 LastLast
Results 26 to 50 of 103
Like Tree2Likes
  1. Thread Author  Thread Author    #26  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Okay, that is definitely not the same one I had on here. I don't think my other one even had an ENVset. I deleted that one and installed the one above. Thanks

    I ran ENVset and it seemed to work right (it had a long list of the environmental variables in a command prompt), then rebooted the computer. Here's what adb devices spit out:

    Code:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    c:\SDK\platform-tools>adb devices
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    List of devices attached
    
    
    c:\SDK\platform-tools>
    Once again, no serial number. I tried in two different USB ports I checked the Environmental variables, and C:\SDK\platform-tools\ is at the end of it.

    I'm still completely lost as to what's going on here. Is my phone possibly bugged? I still appreciate all the help you're giving me regardless - thanks much! Hoping I can find out what's wrong here... else I'll have to do a factory reset :/
  2. #27  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Try deleting the LG USB drivers and re-installing, Make sure the phone is not plugged in. Reboot right after install, then plug in phone after it fully reboots to complete install.
    After the drivers complete install try and open a command prompt (Do not cd to the platform-tools folder, or anywhere elese) and type in:
    Code:
    adb devices
    Don't show serial number in post, just let me know if it listed it.
    Sent from my LG-VM670 using AC Forums mobile app
  3. Thread Author  Thread Author    #28  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Woah. I got a number! HEY!

    It matches my MEID, too! Finally some progress!

    So... what next? I want precise instructions instead of messing it up on my own. Like... where do I install things from? Is that even the next step? I appreciate all your help
  4. #29  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Alllriight!
    Plug phone into computer (Make sure USB debugging is checked).
    Open a command prompt in the platform-tools folder. Do not cd to it, it needs to be opened in the folder (Right click the folder to see if option is there, if not open folder and right click empty spot).
    Then type in:
    Code:
     
    adb install (exact and full name of apk)
    Sent from my LG-VM670 using AC Forums mobile app
  5. Thread Author  Thread Author    #30  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    It's shift+right click to get the command window open, so it at least works. I tried the Google Play Services first (which I had to rename because if the filename has a space, it doesn't work) and:
    Code:
    C:\SDK\platform-tools>adb install com.google.android.gms_3.2.25-(761454-12).apk
    887 KB/s (7439775 bytes in 8.183s)
            pkg: /data/local/tmp/com.google.android.gms_3.2.25-(761454-12).apk
    Failure [INSTALL_FAILED_DEXOPT]
    
    C:\SDK\platform-tools>
    The Google Play APK:
    Code:
    C:\SDK\platform-tools>adb install com.android.vending-4.3.11.apk
    2559 KB/s (6038575 bytes in 2.304s)
            pkg: /data/local/tmp/com.android.vending-4.3.11.apk
    Failure [INSTALL_FAILED_ALREADY_EXISTS]
    
    C:\SDK\platform-tools>
    Neither worked for different reasons. I haven't changed my settings at all, so USB debugging was enabled. And the phone was plugged in before the Command Prompt was opened. I don't know what "Dexopt" means at all and apparently I can't update Google Play to a more recent version... should I uninstall updates and try again, or is that potentially disastrous?

    I'm kind of at a loss of what to do at this point :/
  6. #31  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Try installing something you don't have on your phone. Let me see what I got handy. How about bz.ktk.clipbot_1.2.apk, do you have that are not?
    We need to see if it will install an apk, then go from there.
  7. Thread Author  Thread Author    #32  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    I don't think I have a Clipbot program... I don't have Google Play Services, either, though, but some data from its initial install may still be there.

    I can try to find an APK or two as well and try it. The more I try, the better. Might want to try some of different sizes, too.


    EDIT: I tried a Root Uninstaller apk via opening a command prompt right from the window, and... well:
    Code:
    C:\SDK\platform-tools>adb install Root-Uninstaller-Pro-v3.3.apk
    714 KB/s (1532351 bytes in 2.093s)
            pkg: /data/local/tmp/Root-Uninstaller-Pro-v3.3.apk
    Failure [INSTALL_FAILED_DEXOPT]
    
    C:\SDK\platform-tools>
    It also occurred to me to check adb devices in that window, and it worked. I'm not sure what the issue is, then...
    Last edited by SomeoneVeryConfused; 10-04-2013 at 10:05 PM. Reason: Added a try in
  8. #33  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Where did you get the apk's from?

    Do you want me to send you clipbot?

    Sent from my VM670 using Android Central Forums
  9. #34  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Hmm. This frequently happened to me on the backside-iho rom but when I upgraded to mirage due to a comment by AndyOpie it never happened again.

    Now my phone works better than ever before.

    ---------
    This is my signature. Without me, my signature is nothing. Without my signature, I am nothing.
  10. #35  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    After Nandroid backup, and SD backup to computer (right after nan) I flashed 4 things in ZenGarden Touch Recovery -

    Kernel that came from the MiRaGe post, then MiRaGe cm7.2, then gapps for 2.3.5/2.3.7 from the link in the MiRaGe post, then lastly the entropy tool that AndyOpie150 suggested.

    I've yet to find a single problem and I'm pretty thorough about these things. Then again I read your baseband is ZV5? Mine is ZV4. I rely on wifi only though and have no clue if it'll make a difference.

    I can surely go step by step with you if you want to try my exact results...

    ---------
    This is my signature. Without me, my signature is nothing. Without my signature, I am nothing.
  11. #36  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    And this is how I'm doing so far @ 95 apps.



    ---------
    This is my signature. Without me, my signature is nothing. Without my signature, I am nothing.
  12. Thread Author  Thread Author    #37  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Hmm, thanks for the tips here, first of all

    Yes, I have a ZV5 baseband. Not sure if that makes a difference for this or not. It could for all I know.

    I am pretty sure that the Gapps I installed was the one from the Mirage post. I could be wrong, but the ZIP I have is the 20110828 one. I have the most recent Mirage build and kernel as well, so I don't think that's the problem. The problem could be in my baseband... is there any way to change that to a ZV4?

    And I'm not sure which entropy tool you're talking about... my head is going in circles with this that it's all becoming a blur to me.

    AndyOpie, if you could send me that APK, I'd appreciate it. It's worth a try

    Thanks to both of you! Sorry to keep you waiting again...
  13. #38  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Quote Originally Posted by SomeoneVeryConfused View Post
    I'm not sure which entropy tool you're talking about... my head is going in circles with this that it's all becoming a blur to me.
    It was mentioned by AndyOpie150. He can tell you the name... I had to Google it. The gapps you have is correct by the way. The only difference I see is the baseband...

    If you figure it all out I can teach you loads about Link2SD it's a godsend! Hope things work out.

    ---------
    This is my signature. Without me, my signature is nothing. Without my signature, I am nothing.
  14. #39  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    I also have a tutorial on how to properly set up the SD partition and Link2SD.

    "The entropy_n_rngd-tool"
    For MiRaGe ROM use the entropy.zip which is in the first post of the thread with the same name as above.

    Makes the ROM smoother and faster feeling.

    No, you can't change your baseband from ZV5 to ZV4.
    The ZV4 phones use the Novatek screen and drivers.
    The ZV5 phones use the Hitachi screen and drivers (with the exception of the first few ZV5 phones which still used the Novatek screen and drivers).
    This means if you try to downgrade you will get the "Blackscreen of Death"

    All your problems where caused by you, not the ROM.
    I'm not quite sure everything you have done or not done (from the ROM pre-installation wipe and format up to when you deleted Google play services), but rest assured, it is not the baseband or the ROM.

    Personally: Just go to recovery and wipe and format everything but the SD card. Then re-flash the ROM and the 20110828 Gapps.
    This time, once you have everything setup just how you like it, with all your apps just where you want them, make a backup before deleting anything.
    Sent from my LG-VM670 using AC Forums mobile app
    Last edited by AndyOpie150; 10-09-2013 at 10:49 PM.
  15. Thread Author  Thread Author    #40  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    I'm not blaming the ROM! It was one error, geez, don't make me feel any dumber than I already do!

    I do have backups, they just don't seem to include the Google Play Services. The MyBackup doesn't have it listed, and the recovery backup files just have this:


    There's one from July... do you think that one could come in handy somehow? I highly doubt it (it never occurred to me that this could be related) but it's worth a try.

    If this doesn't do anything, I'm gonna reflash it and hope it works.
  16. #41  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Google Play Services are not included in the Gapps. You will only be able to download them once you are signed into your Google account and it is synced with your phone. Then they still won't be downloaded until needed (like trying to use YouTube app).
    You still have not determined if you can actually install an apk thru ADB or not.
    I'm going to install an apk to my phone using ADB. Then I will send you that in a zip with an MD5 sum generated so you can make sure it didn't become corrupted on downloading.
    If it installs then we know everything is working properly and we can go from there.

    EDIT: Here you go:
    I added more info in a readme.txt
    MD5sum: 90e96e85bf36cf4160ce41b01c7cd118

    PS: If for some reason you already have the apk on your phone, delete from phone then try to install using ADB.
    Also make double sure you completly deleted the Google Play Services from your phone.
    One other thing: Have you tried going into the menu/settings/applications/all, then going to the PlayStore app and deleting all data (this will return you to a PlayStore app that has not been updated)?If you are then able to get into the PlayStore, move the dalvik cache to the sd card and reboot the phone. Then delete and re-install the YouTube app. Open up the YouTube app. It should then ask you to download the Goggle Play Services.

    Sent from my LG-VM670 using AC Forums mobile app
    Last edited by AndyOpie150; 10-10-2013 at 10:34 AM.
  17. #42  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Quote Originally Posted by SomeoneVeryConfused View Post
    I'm not blaming the ROM! It was one error, geez, don't make me feel any dumber than I already do!

    I do have backups, they just don't seem to include the Google Play Services. The MyBackup doesn't have it listed, and the recovery backup files just have this:


    There's one from July... do you think that one could come in handy somehow? I highly doubt it (it never occurred to me that this could be related) but it's worth a try.

    If this doesn't do anything, I'm gonna reflash it and hope it works.
    Here's a stress reliever - if all else fails - even IF you get any things-of-death, you can always start fresh from scratch.

    I recommend the fresh start. It feels nice to have something fresh and clean. Again I can give you a guided walk-through - treat it as if it were my phone. I'm very thorough and careful.

    ---------
    This is my signature. Without me, my signature is nothing. Without my signature, I am nothing.
  18. Thread Author  Thread Author    #43  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Code:
    C:\SDK\platform-tools>adb install com.antutu.ABenchMark_2.9.apk
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    436 KB/s (2738693 bytes in 6.127s)
            pkg: /data/local/tmp/com.antutu.ABenchMark_2.9.apk
    Success
    
    C:\SDK\platform-tools>
    it worked!

    Google Play Services #1 FAILED - DEXOPT.
    Google Play Services #2 FAILED - DEXOPT.
    Google Play Services #3 FAILED - DEXOPT.

    Is this possibly related to my need to rename the files because it displays a message saying "Can't find (845709-16).apk to install." In other words, it ignores the first half of the filename, so I have to change it so it recognizes the entire file.

    I don't think I've wiped ALL my data for Google Play. I have clicked "Clear Data" but not "Uninstall Updates." Should I try the latter?

    I also don't believe I have a YouTube app here... surprisingly, it didn't come with Gapps. Trying to install it from Google Play failed, of course.

    Gonna try an APK from here:


    Code:
    C:\SDK\platform-tools>adb install com.google.android.youtube-5.0.21.apk
    422 KB/s (6887779 bytes in 15.924s)
            pkg: /data/local/tmp/com.google.android.youtube-5.0.21.apk
    Failure [INSTALL_FAILED_DEXOPT]
    
    C:\SDK\platform-tools>
    It failed, of course. This file was not renamed, so I would THINK that the renaming of the earlier files had nothing to do with it.

    Questions this time:
    Should I try to Uninstall Updates from Google Play, effectively retconning it to Android Market?
    Was the APK I downloaded (I got the link via Android Police) a good one?


    This clearing of the updates may be my last-ditch effort here before reflashing, which MIGHT be a good idea considering my latest problem with the lock screen refusing to display after an app pops up over it once (Handcent SMS, my alarm clock, etc.). I know full well now not to make any stupid decisions xD

    Thank you both for all your help - I think this is finally almost over.
  19. #44  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Regarding SDK, I am of no possible help lol hope the nightmare ends today for ya =)

    ---------
    This is my signature. Without me, my signature is nothing. Without my signature, I am nothing.
  20. #45  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    I just installed the 3.2.66.apk through ADB by doing this:
    Right click the apk and choose to rename it. Only delete everything in the () and the ().
    Open a terminal in the platform-tools folder where the apk is (don't cd into). Type in this:
    Code:
    mv_ (the full name of the .apk)_google_play_services.apk
    Now type in that same terminal:
    Code:
    adb install google_play_services.apk
    Took a little longer to install than most apk's but it did install it.

    Don't type in the red _'s there just there to indicate where the spaces should be.
    (the full name of the .apk) is the full name of the .apk after you renamed it with the right click option.
    Last edited by AndyOpie150; 10-11-2013 at 12:44 PM.
  21. Thread Author  Thread Author    #46  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Code:
    C:\SDK\platform-tools>mv com.google.android.gms_3.2.66.apk google_play_services.apk
    'mv' is not recognized as an internal or external command,
    operable program or batch file.
    
    C:\SDK\platform-tools>adb install google_play_services.apk
    can't find 'google_play_services.apk' to install
    
    C:\SDK\platform-tools>
    What the heck is this message? Why am I getting it? Did I make an error somewhere? I keep getting this message though... odd. Any insight would be appreciated!
  22. #47  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Sorry. mv is a linux command (Silly rabbit, Trix are for kids).
    Replace mv with rename.
  23. Thread Author  Thread Author    #48  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Code:
    C:\SDK\platform-tools>rename com.google.android.gms_3.2.66.apk google_play_servi
    ces.apk
    
    C:\SDK\platform-tools>adb install google_play_services.apk
    1618 KB/s (8200316 bytes in 4.947s)
            pkg: /data/local/tmp/google_play_services.apk
    Failure [INSTALL_FAILED_DEXOPT]
    
    C:\SDK\platform-tools>adb install google_play_services.apk
    1933 KB/s (8200316 bytes in 4.142s)
            pkg: /data/local/tmp/google_play_services.apk
    Failure [INSTALL_FAILED_DEXOPT]
    
    C:\SDK\platform-tools>
    Didn't work. I note how the rates were different in each of my two attempts... and the /data/local/tmp/ thing kind of concerns me. Is this perhaps the issue? It renamed the file without a problem, but when extracting... it doesn't exactly work.

    Anything to make of this would be appreciated!
  24. #49  
    AndyOpie150's Avatar

    Posts
    1,151 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Go to your recovery and wipe cache partition and dalvik cache.
    Check in /data/app and make sure there is no google play services.
    Check in /data/dalvik-cache
    Check in /data/data
    Check in /data/local/download and in /temp
    Check in /data/user/0

    Then try again.

    Note: You never mentioned weather or not the terminal command worked to rename the apk.

    Let me try to rename apk and install apk in Windows instead of Linux (Linux is so much better than Windows + no need for all that antivirus and malware junk).
  25. #50  

    Default Re: "Package File Is Invalid" - Neverending nightmare

    Quote Originally Posted by AndyOpie150 View Post
    Go to your recovery and wipe cache partition and dalvik cache.
    Check in /data/app and make sure there is no google play services.
    Check in /data/dalvik-cache
    Check in /data/data
    Check in /data/local/download and in /temp
    Check in /data/user/0

    Then try again.

    Note: You never mentioned weather or not the terminal command worked to rename the apk.

    Let me try to rename apk and install apk in Windows instead of Linux (Linux is so much better than Windows + no need for all that antivirus and malware junk).
    If checking, aside from checking /data he could also check /system

    ---------
    This is my signature. Without me, my signature is nothing. Without my signature, I am nothing.
Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Moto X screen is unresponsive
    By Bill VonDerHeide in forum Moto X
    Replies: 7
    Last Post: 10-22-2013, 04:56 PM
  2. Which is better Exynos 5 Octa SoC or Snapdragon800
    By milesmcever in forum Samsung Galaxy Note 10.1 (2014)
    Replies: 13
    Last Post: 10-01-2013, 11:37 AM
  3. help! screen is unresponsive need to reset counter before return
    By 1moneymark in forum Sprint Galaxy S3 Rooting, ROMs, and Hacks
    Replies: 2
    Last Post: 09-12-2013, 02:16 PM
  4. See how the Moto X is made
    By nemov in forum Moto X
    Replies: 2
    Last Post: 09-12-2013, 08:42 AM
  5. [Q]Which Baseband is the best ?
    By iankicksurass in forum General Help and How To
    Replies: 0
    Last Post: 09-12-2013, 06:29 AM

Posting Permissions

B