Market error... - G1 Q&A, Help & Troubleshooting

I used "Android Commander" to restore all of my APPs.
NOW; my Market is completely screwed up... It shows that I have not installed APPs that are already on my phone.
Any way to correct this?

rbrainard said:
I used "Android Commander" to restore all of my APPs.
NOW; my Market is completely screwed up... It shows that I have not installed APPs that are already on my phone.
Any way to correct this?
Click to expand...
Click to collapse
The problem that you're running into is Android Commander didn't keep the market data for each APK. What you'll need to do is uninstall them and then download from the market, this will give you the correct market information. Here are some programs that backup the market information: Backup for root users, Titanium, My Backup Pro (to list a few)

You could also try the brute force method to rebuild the database. Make sure market is not running when trying this with something like andvanced task manager.
Terminal Emulator
$ su
# mount -o remount,rw /dev/block/mtdblock3 /system
# rm /data/data/com.android.vending/databases/*
# rm /data/data/com.android.vending/cache/*
# reboot
Once rebooted wait for it to fully load up and then open market/downloads and you shold be back up and running.

shadowch31 said:
Code:
$ su
# mount -o remount,rw /dev/block/mtdblock3 /system
# rm /data/data/com.android.vending/databases/*
# rm /data/data/com.android.vending/cache/*
# reboot
Click to expand...
Click to collapse
I thought about that, but wouldn't this only fix if the market is broken because the Market information was imported but not the APK's?

nolimit78 said:
I thought about that, but wouldn't this only fix if the market is broken because the Market information was imported but not the APK's?
Click to expand...
Click to collapse
One of the features added to the "white" market is that when it starts up for the first time, it will cross reference your installed packages against the packages available from the market in order to regenerate its database.

Related

FaceBook not installed. Market thinks it is. Need a fix.

So, I had facebook for android installed and recently update to cyanogens latest ad somehow it got deleted. Could have been a theme that removed it, as I didn't notice it until after I applied a theme. The icon was still on my home screen, but not in the app tray and the widget is gone.
Anyway I when into the market and it says its installed, its not and the option to uninstall or open is grayed out.
Any way to fix this?
In order to get it fixed for me I had to go into adb and
Code:
adb shell
rm -r /system/app/com.facebook.katana
rm -r /data/data/com.facebook.katana
exit
adp push Facebook.apk /system/sd/app
The app still didn't work but I was then able to uninstall it in the market and reinstall the market version and it has worked fine.
jairomeo said:
In order to get it fixed for me I had to go into adb and
Code:
adb shell
rm -r /system/app/com.facebook.katana
rm -r /data/data/com.facebook.katana
exit
adp push Facebook.apk /system/sd/app
The app still didn't work but I was then able to uninstall it in the market and reinstall the market version and it has worked fine.
Click to expand...
Click to collapse
I get "can not remove /system/app/com.facebook.katana"
The reason you're getting that, is because it doesn't exist in that directory, try the second command, and see if it gives you the same error.
put the apk on sd and try this :
1. Open a Terminal Window:
2. Type the following:
- su
- mount /system -o remount,rw
- cd /sdcard
- cp "appname".apk /system/app
rp1783 said:
The reason you're getting that, is because it doesn't exist in that directory, try the second command, and see if it gives you the same error.
Click to expand...
Click to collapse
Thats what I thought and I get the same error with the other command.
yozpalang said:
put the apk on sd and try this :
1. Open a Terminal Window:
2. Type the following:
- su
- mount /system -o remount,rw
- cd /sdcard
- cp "appname".apk /system/app
Click to expand...
Click to collapse
This was my next step, but, don't have the apk. Anyone care to upload it or send me a link?
http://www.androidspin.com/downloads...e=Facebook.apk
yozpalang said:
http://www.androidspin.com/downloads...e=Facebook.apk
Click to expand...
Click to collapse
Not Found
The requested URL /downloads...e=Facebook.apk was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
this is where i got it http://forum.xda-developers.com/showthread.php?t=582302
Got it! Thanks all for the help. Installed and working now.

Apps missing and won't let me re-install

something weird happened on my phone when I installed the SuperD 1.9.3 rom. I've never had this problem before, so see if you can help me. I installed Chompsms and Acontacts amongst a variety of other apps. Well, I was texting earlier, when my phone froze. No biggy, I popped the battery out, placed it back in, and turned it on. Well I got the green boxes in place of the the logos for Chomp and Acontacts. I clicked on them and it said that the apps weren't installed? um, ok. I have aps2sd with ext3, so I figure something must have corrupted the file, no biggy, I'll just redownload it. So I go to the market, and it says the program is installed. I click on the program to try to reinstall, and the bottom where it says "open, uninstall" are greyed out. So the app isn't installed, but it is, so I can't uninstall and re-install. Anyone, help please? I really use these 2 apps!
Delete the apk's from /system/sd/
It also sounds like your marketdb file is still there too. I've had this problem with Backup for root users. It'll import the marketdb but sometimes it won't import the APK's. So that leaves you with no apps and the market seeing that you already have it. I'm trying to find where the program is pulling that file, and i'll let you know. If anyone else knows where it's at feel free to jump in.
nolimit78 said:
If anyone else knows where it's at feel free to jump in.
Click to expand...
Click to collapse
/data/data/ I think.
evilkorn said:
/data/data/ I think.
Click to expand...
Click to collapse
That's what I was thinking but I didn't see it there...
While Im still looking for that file, you could also do the following:
Code:
Use switchrom and save your rom
flash a new rom
download the apks that are giving you problems (if its not too many)
use linda to save the apks to your SD card
switchrom back to the old rom
download and use linda to install the apks you saved.
It's not pretty but it'll get the job done.
Had a little time to look at the phone, did you try to delete the folder in /data/data/com.android.vending/?
Goto terminal emulator.
Type - mount -o remount,rw /dev/block/mtdblock3 /system (enter)
Type - rm /data/data/com.android.vending/databases/* (enter)
Type - reboot (enter)
Words in bracket are instructions and not to be typed.
shadowch31 said:
Goto terminal emulator.
Type - mount -o remount,rw /dev/block/mtdblock3 /system (enter)
Type - rm /data/data/com.android.vending/databases/* (enter)
Type - reboot (enter)
Words in bracket are instructions and not to be typed.
Click to expand...
Click to collapse
yeah I found that it was in the vending/databases folder, I just hadn't had time to post until now. Good job!
i had the same problem and it worked...at first the terminal emulator went like 'are you root' and im like whaaat...i have cynogen 4.2.14.1...so had to type su before the 3 lines of codes...it worked

Issue with market and apps

Hey guys...
I bought a new mini-SD card for my rooted G1. I have the latest CM on it. So now i decided to install my nandroid-backup.. but now i have a problem with downloading all of my old apps from android market. In the market it says that all of my apps are installed, though they aren't. In the app-list of my phone my old apps are still shown and when i click on them it says: This App is not installed on your phone (sorry i'm using a german g1, so i have to translate the messages). So as you can see, my problem is that I can't download any of my old apps from market and i can't delete those entries or like the "rest of the app thats still on my phone". Any ideas ? I don't want to factory reset my phone... cause i love the way it is now (except this issue haha)
Try this. There is a similar issue there the apps don't exist but the Market DB still does, which gives you the problem of not being able to install but cannot uninstall it, because it doesn't exist. Below should help you out.
Code:
Type - mount -o remount,rw /dev/block/mtdblock3 /system (enter)
Type - rm /data/data/com.android.vending/databases/* (enter)
Type - reboot (enter)
Words in bracket are instructions and not to be typed.

remove stock apps

I am willing to pay someone if someone can figure out how to remove factory apps like
facebook
footprints
peep
quickoffice
stock
visual vm
stock massages
i never use them for some reason they run in the background
Just take a look at this thread from the android forums
http://androidforums.com/all-things-root-eris/53646-unwanted-apps.html
NOTE: you MUST have ROOT in order to remove those apps.
If the instructions in that thread about "adb" are too complicated for you, then go buy the Root Explorer app, navigate to the folders you were told to in the thread, click the "r/w" button at the top of the app, then long press on the files you are told to delete.
Deleting system apps is risky if you delete the wrong ones. As usual, you are responsible if anything happens.
As I see it, you must have root to modify system files on your ROM (anyone correct me if I'm wrong)
But I was able to use Titanium Back up (downloaded from the Android market, free) to see all installed programs and I successfully deleted Visual VM, Peep, and stock messages... I use the others...
now so far, my ROM that is installed [2.1 version .3] hasn't had any problems with the removal of these system programs, So I think it is a safe method.
I believe this is a good alternative to adb commands... since you know what you are deleting.
and of course, I am not responsible if you do happen to mess your phone up.
C:\Users\admin\Desktop>cd android-sdk-windows
C:\Users\admin\Desktop\android-sdk-windows>cd tools
C:\Users\admin\Desktop\android-sdk-windows\tools>adb shell
$ mount -0 rw,remoun /dev/block/mtdblock3 /system
mount -0 rw,remoun /dev/block/mtdblock3 /system
mount: invalid option -- '0'
BusyBox v1.15.0 (2009-08-25 15:17:43 BST) multi-call binary
Usage: mount [flags] DEVICE NODE [-o OPT,OPT]
Mount a filesystem. Filesystem autodetection requires /proc be mounted.
Options:
-a Mount all filesystems in fstab
-f Dry run
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE Filesystem type
-O OPT Mount only filesystems with option OPT (-a only)
-o OPT:
loop Ignored (loop devices are autodetected)
[a]sync Writes are [a]synchronous
[no]atime Disable/enable updates to inode access times
[no]diratime Disable/enable atime updates to directories
[no]relatime Disable/enable atime updates relative to modification ti
me
[no]dev (Dis)allow use of special device files
[no]exec (Dis)allow use of executable files
[no]suid (Dis)allow set-user-id-root programs
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
bind Bind a directory to an additional location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing its flags
ro/rw Read-only/read-write mount
There are EVEN MORE flags that are specific to each filesystem
You'll have to see the written documentation for those filesystems
$ cd /system/app
cd /system/app
$ 1s
1s
1s: permission denied
$
this is what i get am i doing something wrong here
Type adb shell than su and tell me what happens.
binny1007 said:
Type adb shell than su and tell me what happens.[/QUOTE
never mind i got it to work i used different method i bought the titanium backup. show all the installed apps easy to uninstall it works great now my phone is running much faster thanks for all the help
Click to expand...
Click to collapse
FYI, you were typing the commands wrong.
Right after you do "adb shell" you'll need to type "su" and the $ prompt should change to a # prompt. Check your phone as well after typing "su" as you should see a popup asking for permission.
$ mount -0 rw,remoun /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
should be: mount -o rw,remoun /dev/block/mtdblock3 /system
The -o is the letter o, not a zero.
$ 1s
Click to expand...
Click to collapse
Should be: ls
That's the letter l (lowercase L), not a one.
grdlock, I believe there is a "t" missing in your post:
mount -o rw,remount /dev/block/mtdblock3 /system
Ahh, ya, you're right. I just copied/pasted what he wrote and didn't catch that.
ampinc said:
binny1007 said:
Type adb shell than su and tell me what happens.[/QUOTE
never mind i got it to work i used different method i bought the titanium backup. show all the installed apps easy to uninstall it works great now my phone is running much faster thanks for all the help
Click to expand...
Click to collapse
Glad to know it works for someone else as well
Click to expand...
Click to collapse
I just downloaded Titanium Backup and deleted the "worldclock.apk" and I have to say it's a nice app, (Titanium that is)
So far, from the VanillaDroid ROM, I've deleted the following with no ill effects:
Stocks
Weather ( I use WBug)
Visual Voicemail
Browser ( I use Dolphin)
Quickoffice
MMS
Talk
Mail
Deskclock
I would like to delete the following but am having some difficulty finding the correct "apk"
Camcorder (I think it's built into the camera?)
Call History
People Search
Settings (just the app in the drawer, another NAND before I do this I guess)
Voice Dialer
Voice Search
Voice Record
NaviPanel ***Anyone know if this will mess with Maps?***
FACEBOOK !!!! I deleted the "Facebook.apk" but the FB app is still in the drawer and it still works fine. If anyone could help me with deleting this one I would be forever greatful! Trying to delete it using Titanium, it says: "cannot find Facebook.apk" But it's still friggin there......argh!
Edit: Woohoo! Facebook is gone.
Titanium tells me it needs root acess and that's out of question. Then again, I'm on the lg ally and it might be different... idk. Any other suggestions?

[Q] Google Music apk sideloading?

Hi all, I'm trying to sideload the new Google Music apk onto my CM7 Nook Color. As i reside outside the US, I don't have it available through the market. I did sign-up for the invite through a proxy network though and got the invite a few days back. Now don't ask me how, but after receiving the invite, somehow the new google music app appeared as a manual update on my Nexus One(2.3.4) and it works like an absolute charm on it. I 'adb pulled' this Music app off my Nexus One and tried to install it on my Nook Color through adb. Here's the steps I followed:
- Connected through adb wireless first.
- Tried 'adb install' first. That didn't work.
$ ./adb install MusicGoogle.apk
493 KB/s (375498 bytes in 0.742s)
pkg: /data/local/tmp/MusicGoogle.apk
Failure [INSTALL_FAILED_DEXOPT]
- Then tried transferring the apk to /system/app
$ adb push MusicGoogle.apk /data/local/tmp/
$ adb shell
# su
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p5 /system
# chmod 777 /system/app
# cp /data/local/tmp/MusicGoogle.apk /system/app/
# chmod 755 /system/app
# mount -o ro,remount -t ext4 /dev/block/mmcblk0p5 /system
This didn't work either. The icon failed to show up in the app-drawer.
Where am I going wrong here? Is it becuase I took the apk from my N1?..I hardly think that should be a problem. Could someone from the US post their apk which they installed on their NC, from the Android Market?
Thanks.
Sorry if this is a dumb question, but is there any reason you don't just use Market Enabler?
MickMcGeough said:
Sorry if this is a dumb question, but is there any reason you don't just use Market Enabler?
Click to expand...
Click to collapse
I could always do that, but is there a reason why the above method shouldn't work? I've followed the above method many times to install apps on my rooted N1.
hungryTux said:
I could always do that, but is there a reason why the above method shouldn't work? I've followed the above method many times to install apps on my rooted N1.
Click to expand...
Click to collapse
I don't know if there's any reason that wouldn't work. I'm using Google Music Beta in Canada for a week or so now and I spent less time setting it up on my NC than I've spent replying in this thread
I'm not sure if the apk coming from your nexus one is being the reason the apk is not installing but sideloading is vary easy. all you have to do is place the apk on the root of your sd card and navigate from a file manager app like astro to the apk and press on it. the app manager will appear and ask if you'll like to install it, say yes. there, you're all done.
cm7 n111 6/18 OC kernel 300/600/800/1100/1200 conservative

Categories

Resources