Android Tablets Forum banner
1 - 20 of 128 Posts

·
Registered
Joined
·
179 Posts
Discussion Starter · #1 ·
I thought I'd start a separate topic so that responses and work on this is easy to find.


I have tried without success to get Android Marketplace to work. I had exported the app from Shad's 4.3 ROM before flashing but can't get that one to work. Also can't get the one that comes in the http://www.mediafire.com/?mjmmfmm0jez package to work either.

I'm still working on this. Somehow Shad got it working in his 4.3. Would like to know how he did it so we could maybe adapt the steps and get it working in 2.2?
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #2 ·
Here are some steps I took using the exported app from Shad's 4.3. If anyone knows where to actually download the vending.apk please post here.

I copied the vending.apk to /system/app then restarted the tablet.
Went into applications and tapped on Market. Then I went on with the terms stuff.

From there it tried to load then I got this error:

Sorry!
The application Market (process com.android.vending) has stopped unexpectedly. Please try again.

[Force close]
It would do that at random a couple times after that. But I can never get connected to the market.
 

·
Registered
Joined
·
296 Posts
Tikac,

I replied this in another thread but since you have a thread thought I'd put the info here too....you wanted to check any logs...you can do an "alogcat" via adb to view the system log to see if anything shows up when the app is force closing.
 

·
Registered
Joined
·
43 Posts
I said this in the other "Craig to release 2.2" thread, but sharing it again here where it fits better.

Maybe someone more knowledgeable on Android and ROMs than me can take a look over on Android Tablet Zone (I think you'll need to register to see this thread) and see what you think of the process used for the Coby. I've dabbled with building my own WinMo 6.5 ROMs, but being new to Android I might be missing something that a more experienced person might catch. We already have access to a rooted ROM (THANK YOU!!), so I'd think if this process can be adapted for us we'd be able to skip the rooting part if we're already running that ROM?

Rooting and Google Market Install
The method I see in the Coby thread involves recovery.img/ClockworkMod Recovery, a terminal emulator, and gapps-passion-EPE54B-signed.zip. So far I can't figure out if any of the software pieces I read about are Coby-specific.
 

·
Registered
Joined
·
296 Posts
I said this in the other "Craig to release 2.2" thread, but sharing it again here where it fits better.

The method I see in the Coby thread involves Recovery, a terminal emulator, and gapps-passion-EPE54B-signed.zip. So far I can't figure out if any of the software pieces I read about are Coby-specific.
Clockworkmod is a backup software used by some android devices. It will not work on the craig without a modified bootloader and doesn't have anything to do with the market app....the gapps zip is just a collection of apk's for the google apps.
 

·
Registered
Joined
·
69 Posts
Wish I could be more help. I've been trying to google and find other angles...any ideas on using the web based market instead of the apk version?
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #10 ·
I tried the web based market and it wouldn't initiate the download even though it said it was sending it to the device. I wish Market would allow one to just download the apk to their computer for transferring to the device instead of direct to the device.
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #11 ·
I goofed and replied in the other thread.
Anyway...

adb isn't installed in this ROM. I tried it in Better Terminal and there's no such command as "alogcat". So I tried to download ADB and got one that's v6.59.22. But when I get to the Press to begin ADB connection it tells me that it finished the installation and to pull out the battery for ADB to work! Of course you can't pull the battery out of this device!

Anywhere I can get the correct ADB version?
 

·
Registered
Joined
·
296 Posts
I goofed and replied in the other thread.
Anyway...

adb isn't installed in this ROM. I tried it in Better Terminal and there's no such command as "alogcat". So I tried to download ADB and got one that's v6.59.22. But when I get to the Press to begin ADB connection it tells me that it finished the installation and to pull out the battery for ADB to work! Of course you can't pull the battery out of this device!

Anywhere I can get the correct ADB version?
Take a look at adbWireless which you can access via wifi. I have 3 android devices so occasionally get confused as to which has what since I'm currently also working on an old AT&T Tilt I put android on.

Pulling out the battery is just another way to tell you to do a hard reset....clicking the switch to OFF on the side of the tablet while usb is NOT connected would do the same thing...then click back to on.
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #14 ·
Ok, I'm attaching the log file of what I got when I tried to run the marketplace app. I think there was a permission denied error in there. Being I'm quite versed with various versions of Linux, I can try and track this down but I do need a little help and ideas if anyone has any to what I should be looking at. I've already been getting acquainted with the files and folders on the system using Better Terminal. Maybe we need to fiddle with some config options somewhere or set permissions for something? But what and what permissions? Maybe something has to be set to user/group of some kind?

View attachment 872
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #16 ·
Ok, here's a portion of the log that I think is the problem:

D/GoogleLoginService( 997): onBind: Intent { act=android.accounts.AccountAuthen
ticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
I/SamplingProfilerIntegration( 997): Wrote snapshot for com.google.process.gapp
s in 127ms.
D/GoogleLoginService( 997): onBind: Intent { act=android.accounts.AccountAuthen
ticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
E/vending ( 1205): [38] AccountManagerHelper.getAuthTokenBlocking(): authenticat
ion failed

I/SamplingProfilerIntegration( 997): Wrote snapshot for com.google.process.gapp
s in 183ms.
E/DatabaseUtils( 997): Writing exception to parcel
E/DatabaseUtils( 997): java.lang.SecurityException: Permission Denial: writing
com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.
settings/partner from pid=1205, uid=10059 requires com.google.android.providers.
settings.permission.WRITE_GSETTINGS


Looks like an authentication problem. Seems I remember seeing an XML file somewhere of items that have access to authentication... Wonder if that's a file where we need to add something?
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #17 ·
Ok, I found a /system/etc/permissions directory. I looked at one of the files in there, namely com.google.android.maps.xml and found this:

Code:
<br />
<permissions><br />
   <library name = "com.google.android.maps"<br />
            file = "/system/framework/com.google.android.maps.jar" /><br />
</permissions><br />
Now, there is none for market. I managed to grab a copy of the gapps-passion-EPE54B-signed so I copied the files from the lib, framework and etc/permissions to the appropriate areas in /system. Then I copied the MarketUpdater.apk and Vending.apk to /system/app. Restarted the tablet and nope. Still getting the same error message on the tablet screen.

Note I did all this in Better Terminal. I do have the android sdk and the adb.exe and all that, as that is what I used to get the logs with. But I don't know how to use adb to update stuff on the tablet (yet). Still, even with that, there probably is something else that is missing.

I think it's a permission file but it points to the framework file and there isn't a .jar for the market app (that I could find).

I'm going to see if I can see what's in that jar. I think folks are about to laugh because I never worked with .jar or java apps like that before.
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #18 ·
Last post for the night as I really should get to bed.
Anyway, I dexdumped the classes.dex for the maps to see what it is all about. Nothing that I can see that could be thought of as useful in making a .jar for market.

So... what I'm thinking of doing is either reflashing with Shad's 4.3 ROM or somehow dumping the image so I can browse it outside the tablet (I believe I read somewhere of a way to do that, not sure) and see how he did all that, then see if I can adapt it somehow to the 2.2 Froyo that flushback666 made (since that one is rooted and probably would be a good ROM to start with).

I'll post more on my findings and stuff.
 

·
Registered
Joined
·
296 Posts
BTW, thank you for the wifi ADB idea. That's perfect!
Code:
<br />
 java.lang.SecurityException: Permission Denial: writing<br />
com.google.android.gsf.settings.GoogleSettingsProvider uri [URL=content://com.google]content://com.google[/URL].<br />
settings/partner from pid=1205, uid=10059 requires com.google.android.providers.<br />
settings.permission.WRITE_GSETTINGS<br />
E/DatabaseUtils(  997):         at android.content.ContentProvider$Transport.enf<br />
orceWritePermission(ContentProvider.java:348)<br />
E/DatabaseUtils(  997):         at android.content.ContentProvider$Transport.ins<br />
ert(ContentProvider.java:196)<br />
E/DatabaseUtils(  997):         at android.content.ContentProviderNative.onTrans<br />
act(ContentProviderNative.java:146)<br />
E/DatabaseUtils(  997):         at android.os.Binder.execTransact(Binder.java:28<br />
<img src='http://www.slatedroid.com/public/style_emoticons/<#EMO_DIR#>/dirol.gif' class='bbc_emoticon' alt='8)' /><br />
E/DatabaseUtils(  997):         at dalvik.system.NativeStart.run(Native Method)<br />
W/dalvikvm( 1205): threadid=24: thread exiting with uncaught exception (group=0x<br />
4001d7d0)<br />
I/Process ( 1205): Sending signal. PID: 1205 SIG: 9<br />
I/ActivityManager(  826): Process com.android.vending (pid 1205) has died.<br />
Ok so there's the permission error....by the by...adb over usb DOES work...you have to uncheck "host mode" under usb settings....I'll eyeball things and see if I can see something obvious....if someone that has a working market and has adb can do an "adb shell ls -l /system/app" and post the results we could see if the owner, group and attributes need adjusting.

Stormygal, you asked earlier if I knew what was different about the Coby...I didn't want to sound snarkish by saying "If I knew what was different Market would be working" but it's the simple truth so don't take as me snapping at you.


In browsing the image via adb shell I notice there is an /etc/permissions folder...in that I see a com.google file for google maps...I'm wondering if there should be one for market....will have to look at the files on my AT&T Tilt which has a working market.

I browsed a system app dir on my tilt...ideally we need one from shad's 4.1-4.3 rom.....and saw several apk's we may need to add such as GooglePartnerSetup.apk, MarketUpdater.apk etc.....

You'd add a file via adb as such:

adb push Vending.apk /system/app

Vending.apk would need to be in the current dir on pc.
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #20 ·
I was thinking the same in my post too. However, check also to see if there's anything for market or vending in /system/framework since that is where a permissions file for maps was pointing to. If there is, we will need that file. I can't seem to locate one. But like I said, I plan to poke around Shad's 4.3 ROM (which had Market on it) to see if I can find out what is in there that we don't have.
 
1 - 20 of 128 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top