• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Android Market and AOSP

Search This thread

tekgek

Member
Jun 27, 2009
29
0
Hello, all,

I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.

Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.
 

carz12

Senior Member
Jan 25, 2010
687
167
Grande Prairie
Hello, all,

I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.

Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.

Have you tried just pushing with adb? By development do you mean cooking or compiling your own?
 

hilaireg

Moderator Emeritus
Jan 20, 2009
2,947
227
Please be respectful of others ...

I taken the time to cleanup this thread and move to Q&A where it should have been. If someone has an answer post a reply; plans to respond using trolling tactics are ill-advised.

If the thread goes OT again, a moderator will be forced to close it and likely remove it ... would be nice if it didn't have to come to that.

Regards,
 

tekgek

Member
Jun 27, 2009
29
0
And this is why I love this place :D. What you said about libraries and what carz12 said about adb helped a lot.

Here is what I knew:

AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.

What the forum helped me figure out:

The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:

./adb install alpha-1-signed/system/app/Vending.apk
898 KB/s (1274068 bytes in 1.384s)
pkg: /data/local/tmp/Vending.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.

EDIT: For all of you who are currently viewing this thread, how many of you would like a very fast (possibly faster than OpenEclair), stable, no-frills Android 2.1 ROM? I would like your opinions, because this will give me a good idea of how many people would be interested in this kind of thing.

Tekgek
 
Last edited:

JAguirre1231

Senior Member
And this is why I love this place :D. What you said about libraries and what carz12 said about adb helped a lot.

Here is what I knew:

AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.

What the forum helped me figure out:

The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:



This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.

Tekgek

It's good to know that you are missing libraries :D

Your best bet is to compile your rom, and then compare it to a rom that already has the google apps included (WesGarner build, CSDI, etc...) and see what libs are missing from yours, add them in and then try again
 

peshal

Senior Member
Oct 4, 2008
186
46
androidhappenings.blogspot.com
I was having the same problem too. I am gonna try this too.
And ya besides the libraries, the aosp build doesn't include some of the framework files and permission files too, like the framework files relating to gtalk and google maps should be added as well to the system/framework folder and the permission files in system/etc/permissions relating to gtalk and maps should be added as well.
 

tekgek

Member
Jun 27, 2009
29
0
College is more important than android, imho. whenever you get the chance :D.

I hope to get video working in the future, but not right now. My primary computer (the core i7 rig I use for all my computer work) needed an OS reinstall, so I have made no progress since my post on ADB. My fist priority is to get the basics working, then I'll work on the other issues, like video playback and the camera. However, as of right now, I am re-downloading the source, and hopefully building it in the very near future, expect an update tomorrow, and maybe even a finished product (keep in mind that this is ALPHA, so don't expect anything wonderful).
 
Last edited:

tekgek

Member
Jun 27, 2009
29
0
Alright, I got it... mostly. The market appears installed, now all I need to do is make it not crash. Whenever I select the market app, I get a white screen, and then the home screen. I'm also getting a force close on the gapps process. What am I doing wrong :confused:
 

tekgek

Member
Jun 27, 2009
29
0
I downloaded openeclair, pulled all the apps that had the word google in them, resigned the the market with another key, integrated them into a rom package, flashed, and voila, the market appears. I also added in a couple framework files, but I think I'm still missing something. Do you know what the name of the file is? I'm not sure what or where it is.
 

peshal

Senior Member
Oct 4, 2008
186
46
androidhappenings.blogspot.com
I downloaded openeclair, pulled all the apps that had the word google in them, resigned the the market with another key, integrated them into a rom package, flashed, and voila, the market appears. I also added in a couple framework files, but I think I'm still missing something. Do you know what the name of the file is? I'm not sure what or where it is.

ya its com.google.android.gtalkservice.jar
 

tekgek

Member
Jun 27, 2009
29
0
All permission files are in place, all gapps are resigned. The framework is in place. The setup wizard i also resigned, which now crashes. If anyone has any suggestions please post them. I am at my wit's end here.