Porting Android Market - Touch CDMA Android Development

Hey guys, i trying to create my own eclair port, everything is working well, i have even solved the data problem on nike... I am trying to add the android market, does anyone know what files i need?
Thanks!

m0rph3us said:
Hey guys, i trying to create my own eclair port, everything is working well, i have even solved the data problem on nike... I am trying to add the android market, does anyone know what files i need?
Thanks!
Click to expand...
Click to collapse
Vending.apk ?

I have the vending.apk in the app folder, but once booted android it is not in the menu with the other applications, same thing happens for example with the terminal.apk...

m0rph3us said:
I have the vending.apk in the app folder, but once booted android it is not in the menu with the other applications, same thing happens for example with the terminal.apk...
Click to expand...
Click to collapse
Make sure you're using Market for 2.x.
You can also verify this by using Astro and attempt to install /system/app/Vending.apk.

The problem was that i had not installed gtalk service and some other dependencies, now the market is installed but whe i try to start it it closes immediately, logcat gives auth errors, maybe i have to setup a google account in the setupwizard first... Thank you.

Related

[NEW] Android Market v2.2.6

For those of you who didn't already know, a new Android Market was released today! The Market was updated to v2.2.6. It will gradually roll out to different phones. Those of you who want it now can install it with this easy .apk file.
Download
Click here
Have fun!
I installed after deleting the existing market apk. It force closes every time I try to use it. I cannot move it or copy it to system apps. I can put it in either internal memory or on the SD card. I can accept market terms and start it but then it force closes. I tried clearing data, cache and rebooting but same force close every time. I did not delete market updater apk. Any suggestions? I have the original market reinstalled until I can come up with a solution.
Woah, that's a huge change. o.o
I recommend getting the sgs tools app from the market. It has this included now and you don't have to worry about sideloading or moving the apk with a file manager or adv commands. The new market is really nice.
This is my captivate. There are many like it buy this one is mine.
works on cm6.1 beta 3
Worked on Perception 8. Just copied it over to my sdcard and installed it using the normal installer. Thanks man! It looks awesome.
Fortune090 said:
Worked on Perception 8. Just copied it over to my sdcard and installed it using the normal installer. Thanks man! It looks awesome.
Click to expand...
Click to collapse
Looks/works well but where's the update all button? Does it only appear only when there are more than one apps to update?
Sebring5 said:
I installed after deleting the existing market apk. It force closes every time I try to use it. I cannot move it or copy it to system apps. I can put it in either internal memory or on the SD card. I can accept market terms and start it but then it force closes. I tried clearing data, cache and rebooting but same force close every time. I did not delete market updater apk. Any suggestions? I have the original market reinstalled until I can come up with a solution.
Click to expand...
Click to collapse
flashman2002 said:
I recommend getting the sgs tools app from the market. It has this included now and you don't have to worry about sideloading or moving the apk with a file manager or adv commands. The new market is really nice.
This is my captivate. There are many like it buy this one is mine.
Click to expand...
Click to collapse
Works and looks great on Captivate and I also suggest using SGS Tools FTW.
Sebring5 said:
I installed after deleting the existing market apk. It force closes every time I try to use it. I cannot move it or copy it to system apps. I can put it in either internal memory or on the SD card. I can accept market terms and start it but then it force closes. I tried clearing data, cache and rebooting but same force close every time. I did not delete market updater apk. Any suggestions? I have the original market reinstalled until I can come up with a solution.
Click to expand...
Click to collapse
I am also having FC's when i try to run the new market after uninstalling the previous version using TB. i tried to go back to the one i backed up but couldn't get my back up to install so i went to downloaded and installed market 2.12 and tried to download sgs tools to install market 2.2.6. the market 2.12 which i downloaded and installed also FC'd on me. can anybody PM me sgs tools apk?
worked perfectly! THANK YOU!
I found an easy to flash signed zip somewhere that I used.
Maybe here:
http://forum.xda-developers.com/showthread.php?t=868767
Sweet thanks... Worked running cog 7
Sent from my SAMSUNG-SGH-I897 using XDA App
Anyone notice the search icon in the upper right and via the menu key doesn't respond?
I installed via sgs tools. (amazing app by the way)
Sent from my SAMSUNG-SGH-I897 using XDA App
New market seems like a step backwards in some ways. I can see the need to reduce the refund time, but 15 minutes is nuts. Also, removing the tabs? That's just a mess.
Bring the tabs back, and make refund time 3 hours, and I'm a happy guy.
I also think it's a step backwards in a lot of ways. Yeah, that nice green design header looks cool... but it dominates the damn screen. Annoying!
Sent from my SAMSUNG-SGH-I897 using XDA App
Update: Tried to go back to original version via SGS tools restore script and lost Market completely.
Reinstalled new apk via droid explorer and it reappeared, and now search functionality works as expected.
kennethpenn said:
I also think it's a step backwards in a lot of ways. Yeah, that nice green design header looks cool... but it dominates the damn screen. Annoying!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Yea... but you can scroll around and lose the header once you start browsing.
Didn't have any issues after installing it - search feature worked.
Just downloaded straight onto my phone and used the base installer (no droid explorer, astro etc..) and it worked fine.
Also you get the "update all" on the top button under your downloads if you have multiple updates - which I did
Thanks again for this.

[Q] I stupidly uninstalled gmail, how to get it back?

Long story short, gmail kept freezing on me so I used Titanium to uninstall it and now gmail doesn't show up in the market and the apk's that I download don't give me the option to install them.
Any ideas?
I was able to get the Android email program to sync with gmail, but I still can't figure out how to get the actual gmail program back on.
Sorry, didn't mean to hit "Thanks". Don't know where you got the gmail apks, but try putting one of them in system/app then reboot.
You also might want to try http://forum.xda-developers.com/showthread.php?t=937752 but just run the commands for gmail
tunwear said:
Sorry, didn't mean to hit "Thanks". Don't know where you got the gmail apks, but try putting one of them in system/app then reboot.
Click to expand...
Click to collapse
I'm kind of a noob with all this. Where exactly would I find system/app? I don't see it in Astro. Thanks.
defconrock said:
Long story short, gmail kept freezing on me so I used Titanium to uninstall it and now gmail doesn't show up in the market and the apk's that I download don't give me the option to install them.
Any ideas?
Click to expand...
Click to collapse
I assume you're running stock rooted.
Try this,
1. Download the signed Gapps.zip from here forum.xda-developers.com/showthread.php?t=642189 its in the second post.
2. Now from the zip file you downloaded. Extract the Gmail.apk and GmailProvider.apk. Using root explorer. Copy those files into system/app
(of course make sure you mount r/w)
4. Reboot your nook and you should have Gmail again.
Make sure you back everything up as always.
It worked for me. Hope it works for you as well.
Sent from my "NookDroid" using XDA App
defconrock said:
I'm kind of a noob with all this. Where exactly would I find system/app? I don't see it in Astro. Thanks.
Click to expand...
Click to collapse
I'd recommend doing what racks11479 said. But to see the system folder, get Root Explorer. It lets you see the deeper folders. Just don't break anything while you are down there.
racks11479 said:
I assume you're running stock rooted.
Try this,
1. Download the signed Gapps.zip from here forum.xda-developers.com/showthread.php?t=642189 its in the second post.
2. Now from the zip file you downloaded. Extract the Gmail.apk and GmailProvider.apk. Using root explorer. Copy those files into system/app
(of course make sure you mount r/w)
4. Reboot your nook and you should have Gmail again.
Make sure you back everything up as always.
It worked for me. Hope it works for you as well.
Sent from my "NookDroid" using XDA App
Click to expand...
Click to collapse
I got Root Explorer, followed those steps, and nothing. I can't figure out what I'm doing wrong.
You might not have the correct permissions set.
If you are able to ADB to your device. I've modified the honeycomb market install script from "jleecong" @ http://forum.xda-developers.com/showthread.php?t=937752 for the Eclair Gmail only.
All you gotta do is extract the zip to your adb directory and run (double click) "GmailInstall.cmd" and you should be good to go.
**As always *Use at your own risk* and make sure you've backed up.**
Hope this works for you.
racks11479 said:
You might not have the correct permissions set.
If you are able to ADB to your device. I've modified the honeycomb market install script from "jleecong" @ http://forum.xda-developers.com/showthread.php?t=937752 for the Eclair Gmail only.
All you gotta do is extract the zip to your adb directory and run (double click) "GmailInstall.cmd" and you should be good to go.
**As always *Use at your own risk* and make sure you've backed up.**
Hope this works for you.
Click to expand...
Click to collapse
That worked perfectly. Thanks for the help everybody!
New Question
Since the OP's issue was resolved, I hope you won't mind me hijacking this thread. Does anyone know what the highest version (as in x.xx) off Gmail that will run on eclair rooted?
defconrock said:
That worked perfectly. Thanks for the help everybody!
Click to expand...
Click to collapse
Awesome. Glad that your issue was resolved.
Sent from my" NookDroid" using XDA App
Wondering if the gmail from eclair might be the answer to a similar problem I have. Been rooted since version 1.0 and gmail app would sync nicely. Rooted 1.1 using the nookdev instructions and that is working fine except gmail simply doesn't sync unless I go into accounts, reenter my account data and the sync screen comes up and then it'll sync. The android email app works just fine. Syncs seamlessly. So would replacing things help?
You could always google it
Sent from my SGH-T959 using XDA App
I was wondering why I'm not able to reply to anything but this thread, sorry if this is off topic
Sent from my SGH-T959 using XDA App
Nevermind I figured it out
Sent from my SGH-T959 using XDA App
racks11479 said:
You might not have the correct permissions set.
If you are able to ADB to your device. I've modified the honeycomb market install script from "jleecong" @ http://forum.xda-developers.com/showthread.php?t=937752 for the Eclair Gmail only.
All you gotta do is extract the zip to your adb directory and run (double click) "GmailInstall.cmd" and you should be good to go.
**As always *Use at your own risk* and make sure you've backed up.**
Hope this works for you.
Click to expand...
Click to collapse
Question about your script.... I have a Nook Color that I have rooted and all set up. I'd like to pass it over to my buddy, but need to change my gmail info for his. Would this essentially allow me to do that without having to unroot, restore, reroot then reregister?
I am looking for a way to completely root a device with my B&N and gMail info, then allow someone else to register/set-up the device with their info. Possible?
If you just go into settings and About Device and do a "Erase and Deregister" you should still have root. And once rebooted they will have the option of registering the device for the first time.
They will have to go through the LogicZoom welcome process as well. So you might want to guide them in that direction if they don't know what needs to be done to get youtube and market working for the first time.
I've just done it myself to see if it works and yes it does.
Please use my suggestions as a guide. All actions you take are "solely your responsibility"
Just make sure you do a backup "just in case" before you try this.
racks11479 said:
If you just go into settings and About Device and do a "Erase and Deregister" you should still have root. And once rebooted they will have the option of registering the device for the first time.
They will have to go through the LogicZoom welcome process as well. So you might want to guide them in that direction if they don't know what needs to be done to get youtube and market working for the first time.
I've just done it myself to see if it works and yes it does.
Please use my suggestions as a guide. All actions you take are "solely your responsibility"
Just make sure you do a backup "just in case" before you try this.
Click to expand...
Click to collapse
Thanks, I will try this again with them. I wish I could be in person, but this is a phone support situation for me (grrr).
From the way they described to me, the "Erase and Deregister" worked for the B&N part but my gmail account was still there. So it didn't completely remove their stuff. Google Talk and the Calendar are still stuck on my gmail and not theirs.
Will try again though, and if anyone else has input I would appreciate it, thanks!
racks11479 said:
I assume you're running stock rooted.
Try this,
1. Download the signed Gapps.zip from here forum.xda-developers.com/showthread.php?t=642189 its in the second post.
2. Now from the zip file you downloaded. Extract the Gmail.apk and GmailProvider.apk. Using root explorer. Copy those files into system/app
(of course make sure you mount r/w)
4. Reboot your nook and you should have Gmail again.
Make sure you back everything up as always.
It worked for me. Hope it works for you as well.
Sent from my "NookDroid" using XDA App
Click to expand...
Click to collapse
I renamed my the stock Gmail.apk to Gmail.apk.old and the same for the stock GmailProvider.apk.
Then I did as you suggested through Root Explorer. Now I have no Gmail at all in my apps list after a reboot.
I tried to launch it directly from Root Explorer but it says "There was an error parsing the package."
I renamed the new files Gmail.apk.new and GmailProvider.apk.new and renamed old files back to their original. I rebooted and Gmail popped up again in my apps list.
Why did your method for the new Gmail files work for someone else but not for me? What went wrong?

Movie studio not installed?

I just got the 3.1 update for my Motorola Xoom OTA and everything seems to be working fine except for the movie studio app which seems to not be installed, I already tried the APK here which refuses to install, is there a more recent copy of the APK somewhere around?
Are you trying to start the application with the desktop shortcut ? Have you tried to start it with the shortcut present in the application drawer list ?
Player-X said:
I just got the 3.1 update for my Motorola Xoom OTA and everything seems to be working fine except for the movie studio app which seems to not be installed, I already tried the APK here which refuses to install, is there a more recent copy of the APK somewhere around?
Click to expand...
Click to collapse
I had this issue ever since I first started messing around with my Xoom, I'm now on 3.1 and it was still borked but just do the following, because it solved my Books, Movie Studio and YouTube problems:
Settings>Applications>Manage Applications>All>Google Partner Setup and click on "Clear Data." Shut down your Xoom and turn it back on and you should be good to go.
arpel said:
Are you trying to start the application with the desktop shortcut ? Have you tried to start it with the shortcut present in the application drawer list ?
Click to expand...
Click to collapse
I tried to start it from the desktop but it says "application not installed" and it wasn't in the drawer list.
spdapimp217 said:
I had this issue ever since I first started messing around with my Xoom, I'm not on 3.1 and it was still borked but just do the following, because it solved my Books, Movie Studio and YouTube problems:
Settings>Applications>Manage Applications>All>Google Partner Setup and click on "Clear Data." Shut down your Xoom and turn it back on and you should be good to go.
Click to expand...
Click to collapse
Didn't work
edit: nevermind it worked, thanks
Have the same issue and tried the solution posted by spdapimp217....still no luck. Did you have to do anything different other than clear data in manage applications and restarting?
rajkumarvc said:
Have the same issue and tried the solution posted by spdapimp217....still no luck. Did you have to do anything different other than clear data in manage applications and restarting?
Click to expand...
Click to collapse
No that's all I did and it worked fine. Are you on 3.1? I don't think that should make a difference though.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
Yes...I am on 3.1. The issue started since the OTA update.
So, I freaked out too because I had a desktop shortcut that no longer worked. I didn't even think to look in the app drawer, so I found a thread which posted the original 3.0 apk and adb pushed it to /system/app and then chmod'ed it to 644. It worked just fine, but then I noticed that I had 2 Movie Studio icons in my app drawer. So I went into adb shell in /system/app and noticed two files: VideoEditor.apk (which I installed from the download on the thread) and VideoEditorGoogle.apk.
So, in summary, I rm VideoEditor.apk from the /system/app directory and attached the VideoEditorGoogle.apk to the original thread here: http://forum.xda-developers.com/showpost.php?p=13890443&postcount=11
So, if you're still missing the Movie Studio, feel free to adb push this into /system/app and make sure to chmod 644 /system/app/VideoEditorGoogle.apk
i can't seems to see the video editor under my app drawer.
any ideas?
i am running on Xoom 3g UK (rooted).
i have chmod it to 644, still no luck.

New Google Music App Won't Install

I just got my Google Music invite and I'm in the process of uploading my library. While I was waiting I tried to install the Google Music app on my N1. It downloads, then tries to install itself and then I get the message Installation unsuccessful. Application cannot be installed in the default install location. My phone is completely stock. Not rooted or anything. It's running 2.3.4 GRJ22 with Launcher Pro. What's going on here?
tardman91 said:
I just got my Google Music invite and I'm in the process of uploading my library. While I was waiting I tried to install the Google Music app on my N1. It downloads, then tries to install itself and then I get the message Installation unsuccessful. Application cannot be installed in the default install location. My phone is completely stock. Not rooted or anything. It's running 2.3.4 GRJ22 with Launcher Pro. What's going on here?
Click to expand...
Click to collapse
It probably needs to be installed in /system/apps which is where the original is located. Without it coming to you from Google Ota, I am not sure how to move the file without root.
I wonder why it would be available to download from the market if that was the case.
Just give it a few tries. Mine is installed in /data, and it works fine...
Make sure that your default install location is set to internal or automatic (I think that is an option with stock Gingerbread). I remember reading that this failed if you had it set to install things to external.
bassmadrigal said:
Make sure that your default install location is set to internal or automatic (I think that is an option with stock Gingerbread). I remember reading that this failed if you had it set to install things to external.
Click to expand...
Click to collapse
Do you know where I find this option? I didn't see anything.
tardman91 said:
Do you know where I find this option? I didn't see anything.
Click to expand...
Click to collapse
I was thinking this was also in a stock install. I guess it is a CyanogenMod only thing. I'd guess this isn't your problem if you don't even have the option to change.
Good. I noticed you found the other post that I had seen about this. (I had the hardest time trying to find that, because I wanted to reference it for this thread.)
But for others, plug your phone into the usb and make sure you have adb set up (this isn't the place for a tutorial, there are lots that can be found through google). And make sure USB Debugging is turned on. Then enter this command on your computer.
Code:
adb shell pm setInstallLocation 0
Rod3 said:
It probably needs to be installed in /system/apps which is where the original is located. Without it coming to you from Google Ota, I am not sure how to move the file without root.
Click to expand...
Click to collapse
Thanks Rod3, I was having the same problem not being able to install from the market. As it turns out I had my Installation Location set to "External". After changing the setting to "Internal", Google Music was able to install.
I'm using CM7.
__________________
Rooted Nexus One - CM7 RC4 [T-mobile]
I can't for life of me figure this out I've never rooted my phone my set install should be at 0. But every time I download the music app from the market i get an error cannot install in default location
Sent from my Nexus One using XDA Premium App

[SOLVED] Change default google account w/o hard reset

How do I change the linked google account of my phone.. I don't want to do a hard reset. I tried clearing the data of all the google apps, but that didn't help... m on froyo 2.2 ...xxkb3... any ideas?
Edit > issue solved, just rename the accounts.db in data/system to something else and reboot... The registration procedure will start again...
All credit to Jrhoop....
Sent from my GT-I9003 using XDA Premium App
The first account set becomes the default account. You cannot change the default account without hard reset
I needed to do this and didnt want to do a hard reset so found a simpler way - i9000 but im sure it will be the same!
http://forum.xda-developers.com/showthread.php?t=1087496
Only thing i found was that the market didnt show installed apps because its a different account. But you can still search for the apps and then update them. Once you have done that they are linked to the new account.
Jrhoop said:
I needed to do this and didnt want to do a hard reset so found a simpler way - i9000 but im sure it will be the same!
http://forum.xda-developers.com/showthread.php?t=1087496
Only thing i found was that the market didnt show installed apps because its a different account. But you can still search for the apps and then update them. Once you have done that they are linked to the new account.
Click to expand...
Click to collapse
To show the market apps, clear the market data from manage apps
Thanks a tonne, jrhoop, that worked flawlessly..
Sent from my GT-I9003
anziclone said:
How do I change the linked google account of my phone.. I don't want to do a hard reset. I tried clearing the data of all the google apps, but that didn't help... m on froyo 2.2 ...xxkb3... any ideas?
Edit > issue solved, just rename the accounts.db in data/system to something else and reboot... The registration procedure will start again...
All credit to Jrhoop....
Sent from my GT-I9003 using XDA Premium App
Click to expand...
Click to collapse
My phone is rooted and still i cant see the folder system inside data folder .Please help . When i tried to ls in terminal emulator from data folder its showing permission denied.. How to get super user permission?
Did u flash any firmware aftr rooting?
If so u need to root again aftr flashing a firmware
[email protected] said:
My phone is rooted and still i cant see the folder system inside data folder .Please help . When i tried to ls in terminal emulator from data folder its showing permission denied.. How to get super user permission?
Click to expand...
Click to collapse
anziclone said:
How do I change the linked google account of my phone.. I don't want to do a hard reset. I tried clearing the data of all the google apps, but that didn't help... m on froyo 2.2 ...xxkb3... any ideas?
Edit > issue solved, just rename the accounts.db in data/system to something else and reboot... The registration procedure will start again...
All credit to Jrhoop....
Sent from my GT-I9003 using XDA Premium App
Click to expand...
Click to collapse
I had observed that many a times when I applied a new theme I lost the google account and had to sign in again. Once, after applying a new theme, I signed in using a wrong account and of course no apps showed up in market. So I again copied Market (vending.apk) from this theme to /system/app and rebooted, but nothing changed. Then I copied settings.apk to /system/app but same result. Then in one go I copied "Contacts.apk", "DialerTabActivity.apk", "MMS.apk", "Settings.apk", "Vending.apk", "framework-res.apk" and "twframework-res.apk" to respective locations and on rebooting found that I had to sign in again. So it is definitely one of these files which caused the wrong account to be removed. If you have any of these original files or from a theme you like, just replace them and see.
[email protected] said:
My phone is rooted and still i cant see the folder system inside data folder .Please help . When i tried to ls in terminal emulator from data folder its showing permission denied.. How to get super user permission?
Click to expand...
Click to collapse
I was also wondering about same.
For some reason data folder is shown to be empty.
Instead of tapping data ,type "/data/system" in explorer (I am using OI file manager
).
You will get where you want
Use root explorer... works pretty nicely.. simple and powerful...
Thank you.
Works every time. Thank you!
jesrani said:
I had observed that many a times when I applied a new theme I lost the google account and had to sign in again. Once, after applying a new theme, I signed in using a wrong account and of course no apps showed up in market. So I again copied Market (vending.apk) from this theme to /system/app and rebooted, but nothing changed. Then I copied settings.apk to /system/app but same result. Then in one go I copied "Contacts.apk", "DialerTabActivity.apk", "MMS.apk", "Settings.apk", "Vending.apk", "framework-res.apk" and "twframework-res.apk" to respective locations and on rebooting found that I had to sign in again. So it is definitely one of these files which caused the wrong account to be removed. If you have any of these original files or from a theme you like, just replace them and see.
Click to expand...
Click to collapse
Its the framework-res.apk that links the accounts. If you change this on any ROM you will loose the google account. Back up the accounts.db in two locations on your phone:
/data/system/accounts.db
and another one somewhere I can't think of now? Its possibly in my bookmarks on my root explorer?
hey there Sorry....i know its sloved but still i got Some Problm....
i tyed every think......odin....update.....But my Kites dont connect mt i9003.....i want some Real Good Help......(first i want to format my mobileee) ohz yeah i know how too do it......switch off and press some Key then Recovery mod....Wipe....yeah it show wipe.....but nothink is getting change data is still there in mobileeee......i don t want any think............and mad now....how to format this gt-i9003 !!!
i dont want any pic or data......And even i cant remove or delete some one google account !!!....after format still same think......Do....samsung mobile also have Software like Deepfreez same like pc ??? it dont delete data untill u...delete that software...its some think like that in my mobile.....i dont know wht tooooo dooo.....i just want my mobile Like ...New !!! Now Current Ver...in my mmbile is....2.3.6 frimware(meny error Like(close program force,facebook close,google closed....meny Error))baseband version I9003JXKP3 kernel version 2.35.7-CL98297 GINGERBREAD.JPKPH..................................Thanks and Sorry For Bad English...((( i want helpp plzzz([email protected] or fb ()minhal8142119)
you can change it via KIES ! its more simple !
AbOoM said:
you can change it via KIES ! its more simple !
Click to expand...
Click to collapse
well as i said i cant connect to kies......Its just showing Loading....then Connect in usb debugging....Same Error again and again...(SOrry!)The application Google Services framework(processcom.google.process.gpps)has stopped unexpectedly please try again..... :crying::crying::crying::crying::crying::crying::crying: i WANT tooo format......or downgrade:crying::crying:

Categories

Resources