Reinstalling Vending.apk aka Market after uninstalling through ADB - G1 Q&A, Help & Troubleshooting

I hope this is the right forum. Seems like I've run into a bit of a pickle. I used to have the tmobile market app but had to start a fresh. So after some thought and fiddling around I used unyaffs to go through my nandroid backups and compared each version that i had from each nandroid backup. Until I found one with a obex file and it was just under 200kb(apk)
In my wisdom to try to get tmobile market back I uninstalled the market app. It failed to install that Vending.apk so i tried to reinstall the Vending.apk I made a backup of before i uninstalled. I get this error in adb
C:\Andorid>adb install C:/Vending.apk
1127 KB/s (757904 bytes in 0.656s)
pkg: /data/local/tmp/Vending.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Click to expand...
Click to collapse
Any ideas without having to restore a nandroid backup? Thanks guys!
ps
For reference here's the error I got when trying to isntall the 200kb Vending.apk "stock" apk is 740kb
C:\Andorid>adb install C:/Vending.apk
968 KB/s (201467 bytes in 0.203s)
pkg: /data/local/tmp/Vending.apk
Failure [INSTALL_FAILED_DEXOPT]
Click to expand...
Click to collapse

try
Code:
adb push Vending.apk /system/app/

Thank you very much sir. That worked for some reason it didn't work when I tried it prior but must have been because I didn't reboot my phone. Still going to be experimenting with Vending.apk lol

whats is dab?
my g1 came rooted with out android market

mbrooke22 said:
whats is dab?
my g1 came rooted with out android market
Click to expand...
Click to collapse
ADB* is an android debugging interface that allows you to do a lot with pushing and pulling system apps and using the logcat to find the culprit of crashes and bootloops and such. To get the market download and flash the latest gapps, provided by Cyanogen. It'll give you the market, gmail, among other google apps.

Is vending.apk, and marketupdater all I need for the market to work? Because I avcidently uninstalled the original vending.apk that I had, and replaced it with a different vending.apk. and when I try to install it it says it can't be installed but its been copied to /system/apps. Do you know what's going on and could you help me? With adb will it also install it in my phone? Thanks!

Related

google goggles - what is google doing

???
just tried to load & install newest update of google goggles - install failed "insufficient storage available"....
running CM 4.2.9.1.....
does that mean google goggles "tries" to install itself into internal storage?
does that mean google found a way to circumvent apps2sd?
wtf
shmigao said:
???
just tried to load & install newest update of google goggles - install failed "insufficient storage available"....
running CM 4.2.9.1.....
does that mean google goggles "tries" to install itself into internal storage?
does that mean google found a way to circumvent apps2sd?
wtf
Click to expand...
Click to collapse
I didn't have any issues installing it. It didn't install on my G1's internal storage which currently has 79.52MB available.
shaithis01 said:
I didn't have any issues installing it. It didn't install on my G1's internal storage which currently has 79.52MB available.
Click to expand...
Click to collapse
weird...
just to check what is going on (whether something really wrong on my side), i installed another app (backgrounds), and the installation went fine.
another person in the market comments reported the same issue
...
I'd check your A2SD was actually working It might be installing as a system app, I'm not sure, and I don't know if your system apps are in sd\app_s or in system\app.
shmigao said:
weird...
just to check what is going on (whether something really wrong on my side), i installed another app (backgrounds), and the installation went fine.
another person in the market comments reported the same issue
...
Click to expand...
Click to collapse
it gets more weird... i just checked.
even if google goggles wants to install itself into the internal phone storage, there is still 59.73MB free...
i don't get it
question:
did you all try to install the latest update?
I use CM 4.2.9.1 as well and did not have any problems upgrading to Goggles 1.0.1.
Does "adb logcat" report anything interesting?
Hellek said:
I use CM 4.2.9.1 as well and did not have any problems upgrading to Goggles 1.0.1.
Does "adb logcat" report anything interesting?
Click to expand...
Click to collapse
logcat says:
- Failed to cache package shared libs
- java.io.IOException: Parent directory of file is not writable: /data/data/com.google.android.apps.unveil/lib/tmp20957tmp
- Package couldn't be installed in /data/app.com.google.android.apps
- com.android.vending.api.LocalAssetDatabase.notifyListener(): -5982560687551630360 / INSTALL_FAILED
-com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/download/84 failed: Insufficient storage available.
... that's the first time this happened to me
did a complete reinstall of CM ROM, etc., but still the same problem.
weird
next CM update i will wipe then it may work.
I search the file .apk (goggles 1.0.1). Thanks
I had this issue onCM4.2.9.1 as well but got around it by uninstalling 1.0.0 and installing 1.0.1. It didn't use any internal memory either.
shmigao said:
Parent directory of file is not writable: /data/data/com.google.android.apps.unveil/lib/tmp20957tmp
Click to expand...
Click to collapse
There's your problem. Uninstall Goggles and try installing it again from the Market. If you get the same error, do this:
Code:
adb remount
adb shell
su
rm -rf /data/data/com.google.android.apps.unveil
and then try installing it again.
Chahk said:
There's your problem. Uninstall Goggles and try installing it again from the Market. If you get the same error, do this:
Code:
adb remount
adb shell
su
rm -rf /data/data/com.google.android.apps.unveil
and then try installing it again.
Click to expand...
Click to collapse
it worked!
Thank you!
... any idea why i had this issue?
shmigao said:
it worked!
Thank you!
... any idea why i had this issue?
Click to expand...
Click to collapse
Can't say for sure, but somehow the permissions on that folder were different from what the app required. This can sometimes happen if you originally install the app manually (e.g. downloaded the APK from somewhere) instead of directly from the Market.
I search apk file (goggles v1.0.1)
This happens to me every once in a while. I usually just reboot and try the install again, and it works.
Chahk said:
Can't say for sure, but somehow the permissions on that folder were different from what the app required. This can sometimes happen if you originally install the app manually (e.g. downloaded the APK from somewhere) instead of directly from the Market.
Click to expand...
Click to collapse
well i didn't, but i did try to uninstall Amazon MP3 manually (via SU File Management System) - i might have hit the wrong file and messed up the permissions folders...
anyway, it works now
thanks
other people running 4.2.9.1 are seeing the same thing. it isn't google's app.

Market 1713

It may be because of my service provider (Cox) but my current market version is 1712. By searching Google, I've downloaded the Vending.apk version 1713 and tried installing it from my sd card and I get the message "Application not installed". So I figured "Hey, there might be some kind of issue, I'll uninstall the current Market," so I did so with TitaniumBackup (Nandroid first), which completely fudged it to hell as well as giving me the same error "Application not installed". So I restored from the nandroid and am back on the 1712 version.
My question is, is the 1713 update Sprint specific? Or am I doing something wrong?
PS: The apk I was using is below.
kwheel596 said:
It may be because of my service provider (Cox) but my current market version is 1712. By searching Google, I've downloaded the Vending.apk version 1713 and tried installing it from my sd card and I get the message "Application not installed". So I figured "Hey, there might be some kind of issue, I'll uninstall the current Market," so I did so with TitaniumBackup (Nandroid first), which completely fudged it to hell as well as giving me the same error "Application not installed". So I restored from the nandroid and am back on the 1712 version.
My question is, is the 1713 update Sprint specific? Or am I doing something wrong?
PS: The apk I was using is below.
Click to expand...
Click to collapse
I'm not sure what the differences are, but have you tried 'pushing' the app to /system/app/ ? I know that some apps aren't able to be installed by clicking on them (within the gui), but that some have to be manually added to the /system/app/ directory via adb.
Code:
adb push c:\Whereitslocated\Vending.apk /system/app/
Maybe that'll help ya out?
Always nandroid first just in case
I'll definitely give that a try...when I can. I turned off my phone to do a nandroid first and now it wont boot into recovery or normally. I can get to the fastboot screen but not into recovery. It just goes to the white screen with HTC in green....
what recovery 'were' you using? (which isn't currently working as you can see, lol)... you may need to flash a newer version of whatever recovery u'r using. u can do so via fastboot using instructions from XDA.
http://forum.xda-developers.com/showpost.php?p=4898505&postcount=1
I was using Darchstar's "Unofficial Amon_RA 1.7" recovery and it was working fine for over a month. Ill have to reflash it when I get home I guess.
Androidious said:
I'm not sure what the differences are, but have you tried 'pushing' the app to /system/app/ ? I know that some apps aren't able to be installed by clicking on them (within the gui), but that some have to be manually added to the /system/app/ directory via adb.
Code:
adb push c:\Whereitslocated\Vending.apk /system/app/
Maybe that'll help ya out?
Always nandroid first just in case
Click to expand...
Click to collapse
By the way this worked once I got my recovery fixed.

[Q] missing google apps

i've tried updating my google apps using the file downloaded from http://wiki.cyanogenmod.com/index.php?title=Latest_Version. It is the HDPI version for CM6 (20101114). I didn't upgrade to CM6, but applied this update zip anyway. Now i have FB and Market but my gmail and talk have disappeared.
i've tried manually installing by copying the file over to system/app but that didn't work. neither did trying to install them using astro (file could not be read as apk).
also tried applying the update EPE54B for CM5 instead but was unable to.
any solutions on how to get gmail back?
qwertyboiz said:
i've tried updating my google apps using the file downloaded from http://wiki.cyanogenmod.com/index.php?title=Latest_Version. It is the HDPI version for CM6 (20101114). I didn't upgrade to CM6, but applied this update zip anyway. Now i have FB and Market but my gmail and talk have disappeared.
i've tried manually installing by copying the file over to system/app but that didn't work. neither did trying to install them using astro (file could not be read as apk).
also tried applying the update EPE54B for CM5 instead but was unable to.
any solutions on how to get gmail back?
Click to expand...
Click to collapse
try using adb with this command "adb install -r <the name of the apk file here>"
naresh9876 said:
try using adb with this command "adb install -r <the name of the apk file here>"
Click to expand...
Click to collapse
hey thanks for the suggestion. i've tried it and it says "install failed older sdk". i'm guessing it's because i'm on 2.1 while the apps are for cm6 (2.2).
however, i also cannot flash the apps for CM5 (2.1) and extracting them from the zip then trying to install gives me "Install Parse Failed No Certificates"..
any idea where i can find a compatible gapps?
any solutions? i found a youtube.apk from xda which installed.. but still no gmail...
Not entirely sure how to fix your problem but I would suggest doing a Nand backup before flashing GAPPS next time. I guess you can try deleting all the apks that the Latest CM6 GAPPS installed and try flashing EPWhatever again. Hope this helps

[Q] Missing Dialer 2.2.2 (phone.apk i think?)

Hi
I accidently removed dialer 2.2.2 from the device using Titanium Backup, and i need to restore it in order for my phone calls to work.
I tried downloading some froyo Phone.apk but i cant install. It stops fast and syas "Application not installed" when i click it.
I put it in /system/app/ using adb. I didnt work either to install it through adb. It said cannot find file.
I need a original copy of Phone.apk and maybe some explanation of how to install it as it were before i removed it.
http://forum.xda-developers.com/showthread.php?t=960374 has a complete dump of 2X global version. You can find the dialer in there.
There are several threads about the joys of reinstalling system apps (usually ppl killed the launcher) among them are http://forum.xda-developers.com/showthread.php?t=992945
EDIT: next time freez in stead of uninstalling... frozen apps will be restored by a simple factory reset. uninstalled won't.
Thx I am downloading and hoping it will work with the original Phone.apk
vivet said:
Thx I am downloading and hoping it will work with the original Phone.apk
Click to expand...
Click to collapse
it should work.
I downloaded the package and pushed the Phone.lnk to the /system/app/ directory. After that i went to a file browser on the phone and tried to execute the Phone.apk file.
It came with the same message. Do i need to install through adb or hard reset?
vivet said:
I downloaded the package and pushed the Phone.lnk to the /system/app/ directory. After that i went to a file browser on the phone and tried to execute the Phone.apk file.
It came with the same message. Do i need to install through adb or hard reset?
Click to expand...
Click to collapse
You don't need to install apk when putting in /system/app.
Copy apk to sd, download and install rootexplorer copy apk forom sd with rootexplorer go to system/app push button “mount R/W“ paste apk and reboot the phone. Done
Well isnt that the same as using adb.
I have the Phone.apk from the optimus 2x dump in the /system/app/ folder now, but i doesnt fix the problem. It doesnt seem to get installed when rebooting.
How can i see if its installed. I checked Titanium Backup, which still shows the Dialer 2.2.2 grey with strike-through (Data backed up, with no possiblity of restore).
How do i force it to "reinstall" upon reboot.
I tried restoring a widget that i removed, and that worked, so maybe the phone.apk is installed after i pushed it to /system/app, but something else is wrong.
What could be the problem? Missing data or something, which i need to restore somehow?
Isn't there a way to reflash the device with original rom?
Any ideas?
I downloaded the Global System.zip from this forum. I successfully went to the android recovery menu on the phone. I can choose to update the phone using System.zip on sdcard.
Is that the way to go?
have solved the problem?
Is possible to edit the phone.apk? the stock "incall" app is simple orrrrrrible
i too am missing my dialer app. whenever i touched the phone icon it would crash and go to home screen i thought if i uninstalled it and reinstalled it with titanium pro it would fix it. but it now wolnt let me reinstall. ive been searching the forum and trying different ways to fix the issue but nothing is working so far ... how can i get this is work?
Phone.apk
Did you guys figure this out? I installed

Signing error reinstalling kindle apk after root

So I just got my Revo and rooted it immediately. Yaay! Simple, easy, happy. Many thanks to those who made it so easy. Then I did something so stupid, it impressed even me.
I used Titanium Backup to restore a bunch of apps from my prior phone (an HTC Thunderbolt), and then went to the Market to get any recent updates. I saw that there appeared to be an update for the Kindle app, so I tried installing it. That didn't work, so I thought maybe I screwed up with the restore, and went back into Titanium Backup and uninstalled the Kindle app it found. Without backing it up first. Yeah, I know, I'm a genius.
Now I can't install ANY version of the Kindle app. I found an apk in this thread (com.amazon.kindle.v.3.0.0.56.apk, md5sum: 2e6bbdaf65ac2cd774fc46bfe6e20b7f) and tried installing it manually:
emschwar$ ./adb install ~/Downloads/com.amazon.kindle.v.3.0.0.56.apk 6116 KB/s (4915186 bytes in 0.784s)
pkg: /data/local/tmp/com.amazon.kindle.v.3.0.0.56.apk
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
Google tells me this is a package signing error-- the phone thinks there is a Kindle app installed that was signed with a different key. I tried downloading it from the Amazon Appstore app, but the install failed, presumably for the same reason.
The problem is, there is no kindle app installed! I fired up an adb shell and verified that there is no file in /system with the word 'kindle' in it (at least, unencrypted). Any other suggestions as to how to debug this problem or where to find an apk that will not have this signing error will be greatly appreciated.
This may or may not help but check out:
http://forum.xda-developers.com/showthread.php?t=1125531
Thanks, that was exactly it.

Categories

Resources