Refresh Market links - G1 Q&A, Help & Troubleshooting

Hi!
After a full wipe (including ext partition), and manually reinstall my applications using the APK, the Market Download's section show nothing. Only apps installed via Market after the wipe shows on this section.
Obviusly, my manually installed APK don't get updates because don't appear on this section.
There are any way to force Market to relink this manually installed apps so it reapears as installed ? Then I can get updates.
I already tried to delete the 'cache' folder under the /data/data/com.android.vending directory, with no lucky.
Any idea ?
Thanks!

The only way to backup your market-database is using the backuptool titanium backup.
btw: This thread belongs to Q&A!!!

Use ATrackdog (avaiable in market for free), it's a great app.

Related

can't reinstall an app from market

i have apps2sd enable. i installed an app from the market and then i uninstalled ith through linda's app manager. when i rebooted my phone and went back into the market to try to install the app again, i have no option to download it all.
peaman427 said:
i have apps2sd enable. i installed an app from the market and then i uninstalled ith through linda's app manager. when i rebooted my phone and went back into the market to try to install the app again, i have no option to download it all.
Click to expand...
Click to collapse
Use any option it gives you to uninstall the app, then reinstall it.
Similar issue.
I am having a similar issue.
I installed Toggle Settings (Donut) on my G1 (CM 4.2.5 I'm not using apps2SD) and then decided to uninstall it. Now when I go to the market and my downloads it shows that I have Toggle settings installed. The problem is that I don't and it gives me no options to do anything (open and uninstall are grayed out). Other apps install and uninstall normally with the market updating their status correctly. I don't know what to do to correct this. If you know how to remedy this, please help me.
I apologize if this is an inappropriate place to post this but I serched and this was the closest topic to my problem that I found.
Try finding it in the app-private folder or if its in any of yours apps as a .zip file. If so, back it up and delete it from the phone. see if that resolves the issue. if not try deleting the market cache
B-man007 said:
Try finding it in the app-private folder or if its in any of yours apps as a .zip file. If so, back it up and delete it from the phone. see if that resolves the issue. if not try deleting the market cache
Click to expand...
Click to collapse
Thanks for replying... It's not in any of my other apps and I've tried deleting the market cache (and deleting the market cache and power cycling the phone) and that isn't working. Where is (or should be) the app-private folder? I'm not finding that folder.
I'm starting to feel like my only hope is an update being put out for the app and then hopefully I can download that and go from there.
.A.J. said:
Thanks for replying... It's not in any of my other apps and I've tried deleting the market cache (and deleting the market cache and power cycling the phone) and that isn't working. Where is (or should be) the app-private folder? I'm not finding that folder.
I'm starting to feel like my only hope is an update being put out for the app and then hopefully I can download that and go from there.
Click to expand...
Click to collapse
app-private should be in the same folder as app
Had a similar problem
I wiped my phone and did a frech Cyan 4.2.5 install to help clear a problem with Gmail. I used backup for root users to get all my apps back, but it left a couple out - leaving me in the same situation you guys are in - can't install/uninstall from the market as the buttons are greyed out, but it's not actually on your phone.
i eventually stumbled over a solution of sorts when i reverted back to a themeless 4.2.5 - for me flashing the update again sorted out my market data and allowed me to install the missing apps again. either that, or go into a nandroided backup, extract the apks and manually push them to your current setup - buttons are magically no longer greyed out.
Thanks guys.
Thanks for your guys assistance.
I found another solution that worked. I had one of my coworkers download Astro File browser and then the Toggle settings app. I just backed up his toggle settings with the built in apps manager in Astro and then put his memory card in my phone and restored toggle settings with Astro. Then I went to the market and uninstalled toggle settings through the market and bingo no more ghost of Toggle settings problem. Thanks again for your assistance.

Installed Apps and Market DB out of sync...what to do?

Running Cyanogen 4.2.6 with apps2SD.
I ended up having to restore from a nandroid backup that was a week or so old.
Now I've noticed that the some apps that I installed in the interim are on my phone and installed, but don't show up in my "Downloads" list.
And the opposite is true as well.....apps that I removed in the interim appear in the "Downloads" section, but I am not able to uninstall or install from market.
Is there a way I can rebuild the Market database file?

Is there an app that restores missing market links ?

see title ^^
Apps restored from backup, but backup were corrupted.. could save app+data but no market link so no update notifications, doesnt wanna "over install" 40apps from market (search name, install though already installed)
aTrackDog e.g. shows all apps and if i click them , opens them in market.. but i didnt found a way that it just adds the market link to the allready installed application^^
bassbox said:
see title ^^
Apps restored from backup, but backup were corrupted.. could save app+data but no market link so no update notifications, doesnt wanna "over install" 40apps from market (search name, install though already installed)
aTrackDog e.g. shows all apps and if i click them , opens them in market.. but i didnt found a way that it just adds the market link to the allready installed application^^
Click to expand...
Click to collapse
Look up Titanium Backup.
Open the app, press Menu and select Market Doctor.
This would only restore market links from apps i've backed up with titanium backup with market links. But they come from nandroid and went missing :-/
Titanuim backup not restoring. Links for me. Donate version.
bassbox said:
This would only restore market links from apps i've backed up with titanium backup with market links. But they come from nandroid and went missing :-/
Click to expand...
Click to collapse
try installing a new app (you can unistall it later)
normally it will recover then.
hey, i wanted to find an answer to this as well. i don't think there's a way to do it if you didn't back up the links.
before flashing a new ROM, i pulled all the .apk's from my phone so that i could install them via "adb install" later. they installed fine, but didn't show up in market.
i think there's a database that holds links between the market and apps you install via the market. titanium backup will back up those links, and restore them later. it doesn't "create" missing links by scanning the apps you have installed and then linking them to the market. it only restores links that it backed up.
installing a new app to "refresh" the market links only works if you've restored previously backed-up links.
if someone can prove me wrong that would be great, cuz i hate installing from the market.. so damn slow cuz it tries to do a bunch of stuff all at once. plus it's easier to script the adb installs.
From settings go to Applications, Manage, click All select market and delete the data. Reboot phone and it should rebuild its databases
Sent from my HTC Dream using XDA App
There is one on the market for free, eris market fixer or similar.
Worked for me

CM7 wipe/reset contacts etc

I just flashed cm7 after a full wipe. Now I put all programs that i wanted to keep on my SD card, but i did lose all contacts (i backed up so no prb). I intentionally did not install the gapps and was trying to only install the market apk so that i could install the gapps manually ensuring they will update later.
how should i handle this? i dont have titanium backup or something, does that work? because I DO want to execute a good full wipe, but obviously I want important data like, sms's; contacts etc to be saved and automatically imported after i flashed cm7
if i transfered a program, for example barcodescanner to SD-card via the manage menu from settings, is that enough to get it back after wiping/factory reset? so I just use the OI file explorer and install the apk... I assume all the apk's are findable, because I am now restoring, so I cannot check, but the whatsapp apk was there and installing worked.
when the above indeed works, does that automatically ensure market updates? or will the programs appear as not yet installed in the market? that will be nasty for some paid apps.
and once again. can I, after a full wipe and flashing cm7, install the market apk from here: http://forum.xda-developers.com/showpost.php?p=10527774&postcount=1993
and then just install the gapps from the market? i want that because i could never update google-apps
Hope someone can help me out with these questions, shouldnt be to hard i hope.
edit; I now see that the apk's are not there. I just tried installing whatsapp after flashing cm7 and the apk was there, but apparently that was just about the only program which had a apk in its folder.
one: a wipe deletes the apps on the sd card as well.. so you won't have apps from the old rom on a new one.... use titanium backup.. it DOES work..
two: gapps is better if you *flash* it with the rom.. and they sure get updated.. (if not then you could use rom manager and download the latest gapps update in a zip)
edit: you could even make an update.zip with titanium backup having all the necessary apps that way it would be easier and as you say - automatic..
Sent from my Nexus One
Contacts are synced using Google cloud sync, built in Android. So is Gmail. So is Google calendar.
Everything else is erased, and kept nowhere. Moving apps to SD won't do a thing for you.
Use Titanium Backup for apps and their data, SMS Backup&restore for SMS, APN backup&restore for APN (if you had to enter one manually), Call backup & restore for call log.

[Q] Integrating updates of system apps (and/or downloaded apps) into ROM

Okay. I don't have a lot of knowledge on developing/tinkering on Android, but I think I've figured out how to integrate apps into the ROM (updates of system apps and/or downloaded apps). I used:
A stock cricKet 2.2.1 ROM, rooted (of course) w/Universal Androot
Root Explorer, and
ROM Manager (more on this later)
First thing is first, I did a TI backup; don't want to lose anything
I then opened Root Explorer
Mounted R/W, and
did a search for .apk.
Notice that the only directories the actual .apk files for INSTALLED apps should appear in (outside the SD card) are:
/cache
/data/app
/data/app-private (possibly)
/data/FLEX/app
/system/app
Ignore the following:
/cache
/data/FLEX/app
Now, you may already know this, but the system apps you're looking for are located in the /system/app directory, and downloaded apps (for the updated system apps) are located the /data/app directories that aren't being currently ignored (if you're following my instructions). Based on icon, filename, and common sense, I found which .apk files were the updates of already existing system apps (IE Market, Google Maps, Voice Search, etc.) in the /data/app directory, and the corresponding system app they updated in the /system/app directory. I then:
Copied the filename of the system app I was going to replace (rename copy all)
Moved over to the /data/app directory
Located the corresponding updated app
Renamed it what its corresponding system app was renamed (rename, delete existing name, paste)
Hit the 'move' option
Navigated to the /system/app directory
Deleted original system app (you may want to backup this file beforehand)
Pasted the updated system app
Within 30 seconds or so, you should get a (blah.blah.blah has unexpectedly shut down force close/report) popup. Just hit force close and you should be fine (Google Maps seemed to be a recurring FC). If you try to open the app before rebooting, it will force close on you. When you're finished, open ROM Manager. I know you're thinking 'This app is no good on the ZIO'; so stop. Hit 'Fix Permissions'. The reason for this is that it fixes a few rare force close issues. I don't know the mechanics of it, but it works, so I don't question it. Listen to the notification you'll see and reboot your phone after it finishes fixing the permissions. Now go into settings and manage applications, and you'll see that you can no longer uninstall whatever apps you moved to the /system/app directory.
FYI Renaming .apk files doesn't seem to make a bit of difference either way.
(Forgive my horrible perspective descriptions: I/you)
I haven't tested it yet, but I believe unrooting the device should make any apps moved to the /system/app directory that require root access would become non-functional (right?). The reason this thread is a question is that I'm wondering if i did this correctly, and if so, I want to find out if unrooting and factory resetting my phone would somehow delete the apps in the /system/app directory that weren't included in the stock ROM. (I'm not really willing to do that yet; I still have to download the SDK to my new computer so I can do a NANDROID backup.) Any help answering these from a more experienced developer would be great.
If you want to incorporate apps into a rom, the apps have to be free or you must get consent from the developer to include in your rom
Sent from my Zio using XDA Premium App
Only if it is a Public rom. Even free app developers should be credited in a public rom
Mattix724 said:
If you want to incorporate apps into a rom, the apps have to be free or you must get consent from the developer to include in your rom
Sent from my Zio using XDA Premium App
Click to expand...
Click to collapse
I'm operating under the assumption that you're using Google developed updates of system apps. I suppose I should have said something to that extent up top.
[UPDATE]
Okay, so I did a NAND and then factory reset my phone. Killed everything not in the /system/app directory. I'm sure you knew that would happen, but I guess I'm posting for the noobs. Easier to find, I guess.
Hi,
I've tried to integrate some apps using Titanium Backup but it stuch at 0% for more than 5mins so I cancelled the process. Is it normal that it was that slow? Does Titanium generate odex files too?
I've tried integrating updates for GoogleMaps, StreetView and Youtube using a recovery mode and ADB on my linux machine.
After the backup system data I've deleted original apk and odex files from /system/app/ and moved newer versions from /data/app/ to /system/app/.
I renamed the files from com.google.android.blah.blah.apk to old names (ie. Maps.apk, etc). I haven't generated the odex files.
Rebooted the phone (HTC Desire, 2.2, Orange UK) and these apps were not available. I couldn't run either GoogleMaps or Youtube. They weren't on the "All apps" list, but still were in the system app manager/uninstaller, but couldn't uninstall them as they were in system obviously.
Tried to clear Dalvik cache but no difference.
Then I've copied them with my user backed apk files (it went to /data/app and installed the newest versions) and all is fine - could launch them as usual.
Now using "adb push" method I copied my old system versions of these apps in the /system/app/ and all if fine. I could updated them to newer versions, but this obviously went to /data/app/, so didn't free the phone memory.
Any idea why integrated apps were not visible in the system?
Perhaps I shall just delete the old system apps and copy the ones from /data/app/ without renaming...
Much appreciate it.
Greg
edit:
All went fine now. Just deleted old files in the /system/app and moved newer version without renaming to from /data/app
use titanium backup and choose integrate updates into rom for the app
I don't want to pay for TB premium. I'm poor.
Sent from my Zio using XDA App
TB integrating not working on some phone (including mine) anyway.

Categories

Resources