Android Tablets Forum banner
41 - 60 of 128 Posts

·
Registered
Joined
·
296 Posts
Ok, I was able to get the permissions and everything changed to exactly the same as the other apk files since Better Terminal Pro does have chgrp as part of the addon package. I changed the user and group to "system" / 232 and the chmod to 777. It still is force closing before it even can load a page. I think this is the key (from the logs):

Code:
<br />
E/AndroidRuntime( 1401): java.lang.SecurityException: Permission Denial: writing<br />
com.google.android.gsf.settings.GoogleSettingsProvider uri<br />
 from pid=1401, uid=10057 <br />
requires com.google.android.providers.settings.permission.WRITE_GSETTINGS<br />
got to find this providers file somewhere?
Taken from a google search to here: http://www.market4android.com/stock-android-2-1-apps-list

GoogleSettingsProvider.apk = com.google.android.providers.settings
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #42 ·
Thank you for the link. Very useful stuff there! In fact, that helped me determine what files should be installed. I've created a couple scripts to install the stuff and am going to test them.
 

·
Registered
Joined
·
179 Posts
Ok, I've made some scripts and run them but now the tablet will just keep rebooting once it gets to the home screen and you try to do anything. These script is for use with gapps-passion-EPE54B-signed found at http://www.mediafire.com/?mjmmfmm0jez .

In the root gapps-passion-EPE54B-signed dir, create this script and call it adbpush.bat.

Code:
<br />
@echo off<br />
echo Installing Apps...<br />
adb push system\app\GoogleApps.apk /system/app<br />
adb push system\app\GoogleSettingsProvider.apk /system/app<br />
adb push system\app\MarketUpdater.apk /system/app<br />
adb push system\app\Vending.apk /system/app<br />
adb push system\app\GoogleCheckin.apk /system/app<br />
adb push system\app\GoogleSubscribedFeedsProvider.apk /system/app<br />
adb push system\app\gtalkservice.apk /system/app<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/app/GoogleApps.apk<br />
adb shell chown system /system/app/GoogleSettingsProvider.apk<br />
adb shell chown system /system/app/MarketUpdater.apk<br />
adb shell chown system /system/app/Vending.apk<br />
adb shell chown system /system/app/GoogleCheckin.apk<br />
adb shell chown system /system/app/GoogleSubscribedFeedsProvider.apk<br />
adb shell chown system /system/app/gtalkservice.apk<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/app/GoogleApps.apk<br />
adb shell chmod 777 /system/app/GoogleSettingsProvider.apk<br />
adb shell chmod 777 /system/app/MarketUpdater.apk<br />
adb shell chmod 777 /system/app/Vending.apk<br />
adb shell chmod 777 /system/app/GoogleCheckin.apk<br />
adb shell chmod 777 /system/app/GoogleSubscribedFeedsProvider.apk<br />
adb shell chmod 777 /system/app/gtalkservice.apk<br />
<br />
echo Installing Permissions...<br />
adb push system\etc\permissions\com.google.android.maps.xml /system/etc/permissions<br />
adb push system\etc\permissions\com.google.android.datamessaging.xml /system/etc/permissions<br />
adb push system\etc\permissions\com.google.android.gtalkservice.xml /system/etc/permissions<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/etc/permissions/com.google.android.maps.xml<br />
adb shell chown system /system/etc/permissions/com.google.android.datamessaging.xml<br />
adb shell chown system /system/etc/permissions/com.google.android.gtalkservice.xml<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/etc/permissions/com.google.android.maps.xml<br />
adb shell chmod 777 /system/etc/permissions/com.google.android.datamessaging.xml<br />
adb shell chmod 777 /system/etc/permissions/com.google.android.gtalkservice.xml<br />
<br />
echo Installing Framework Jars...<br />
adb push system\framework\com.google.android.maps.jar /system/framework<br />
adb push system\framework\com.google.android.gtalkservice.jar  /system/framework<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/framework/com.google.android.maps.jar<br />
adb shell chown system /system/framework/com.google.android.gtalkservice.jar<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/framework/com.google.android.maps.jar<br />
adb shell chmod 777 /system/framework/com.google.android.gtalkservice.jar<br />
<br />
echo Installing Libraries...<br />
adb push system\lib\libgtalk_jni.so /system/lib<br />
adb push system\lib\libinterstitial.so /system/lib<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/lib/libgtalk_jni.so<br />
adb shell chown system /system/lib/libinterstitial.so<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/lib/libgtalk_jni.so<br />
adb shell chmod 777 /system/lib/libinterstitial.so<br />
<br />
echo Copying chgrp script<br />
adb push data\chfiles /data/chfiles<br />
adb shell chmod 777 /data/chfiles<br />
<br />
echo Done! Disconnect tablet.<br />
echo Run /data/chfiles in Better Terminal Pro (su first) to finish installation.<br />
echo Reboot tablet when done.<br />
Create a 'data' directory in the root gapps-passion-EPE54B-signed dir.
In that directory create a chfiles file. Below is the code. Be sure to save this in linux CR/LF format.

Code:
<br />
chgrp 232 /system/app/GoogleApps.apk<br />
chgrp 232 /system/app/GooglePartnerSetup.apk<br />
chgrp 232 /system/app/GoogleSettingsProvider.apk<br />
chgrp 232 /system/app/MarketUpdater.apk<br />
chgrp 232 /system/app/Vending.apk<br />
chgrp 232 /system/app/GoogleCheckin.apk<br />
chgrp 232 /system/app/GoogleSubscribedFeedsProvider.apk<br />
chgrp 232 /system/app/gtalkservice.apk<br />
chgrp 232 /system/etc/permissions/com.google.android.maps.xml<br />
chgrp 232 /system/etc/permissions/com.google.android.datamessaging.xml<br />
chgrp 232 /system/etc/permissions/com.google.android.gtalkservice.xml<br />
chgrp 232 /system/framework/com.google.android.maps.jar<br />
chgrp 232 /system/framework/com.google.android.gtalkservice.jar<br />
chgrp 232 /system/lib/libgtalk_jni.so<br />
chgrp 232 /system/lib/libinterstitial.so<br />
On the tablet, install adb or adbWireless and BetterTerminalEmulator Pro (required for chfiles to work). Or, busybox or something that will give you the chgrp command.

Next, in connect the adb from the Android SDK so it's connected to your tablet (USB or wireless).

Create a shell in the root gapps-passion-EPE54B-signed dir and run the adbpush.bat script.

Then go into the terminal on the tablet and run the chfiles script.

One note: I have added the C:\Program Files\Android\android-sdk\platform-tools to my Windows path environment variable so I can run it from any directory.

Now, if I could only get it to stop rebooting all the time. :-/ Looks like another reflash with flushback666's ROM and try again. Though maybe I'll have to omit files that are already on the tablet and not replace them with the new ones?

I've added the scripts below as well. Just rename adbpush.txt to adbpush.bat and chfiles.txt to just chfiles and put them in the directories as I mentioned above.
 

·
Registered
Joined
·
296 Posts
Ok, I've made some scripts and run them but now the tablet will just keep rebooting once it gets to the home screen and you try to do anything. These script is for use with gapps-passion-EPE54B-signed found at .

In the root gapps-passion-EPE54B-signed dir, create this script and call it adbpush.bat.

Code:
<br />
 off<br />
echo Installing Apps...<br />
adb push system\app\GoogleApps.apk /system/app<br />
adb push system\app\GoogleSettingsProvider.apk /system/app<br />
adb push system\app\MarketUpdater.apk /system/app<br />
adb push system\app\Vending.apk /system/app<br />
adb push system\app\GoogleCheckin.apk /system/app<br />
adb push system\app\GoogleSubscribedFeedsProvider.apk /system/app<br />
adb push system\app\gtalkservice.apk /system/app<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/app/GoogleApps.apk<br />
adb shell chown system /system/app/GoogleSettingsProvider.apk<br />
adb shell chown system /system/app/MarketUpdater.apk<br />
adb shell chown system /system/app/Vending.apk<br />
adb shell chown system /system/app/GoogleCheckin.apk<br />
adb shell chown system /system/app/GoogleSubscribedFeedsProvider.apk<br />
adb shell chown system /system/app/gtalkservice.apk<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/app/GoogleApps.apk<br />
adb shell chmod 777 /system/app/GoogleSettingsProvider.apk<br />
adb shell chmod 777 /system/app/MarketUpdater.apk<br />
adb shell chmod 777 /system/app/Vending.apk<br />
adb shell chmod 777 /system/app/GoogleCheckin.apk<br />
adb shell chmod 777 /system/app/GoogleSubscribedFeedsProvider.apk<br />
adb shell chmod 777 /system/app/gtalkservice.apk<br />
<br />
echo Installing Permissions...<br />
adb push system\etc\permissions\com.google.android.maps.xml /system/etc/permissions<br />
adb push system\etc\permissions\com.google.android.datamessaging.xml /system/etc/permissions<br />
adb push system\etc\permissions\com.google.android.gtalkservice.xml /system/etc/permissions<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/etc/permissions/com.google.android.maps.xml<br />
adb shell chown system /system/etc/permissions/com.google.android.datamessaging.xml<br />
adb shell chown system /system/etc/permissions/com.google.android.gtalkservice.xml<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/etc/permissions/com.google.android.maps.xml<br />
adb shell chmod 777 /system/etc/permissions/com.google.android.datamessaging.xml<br />
adb shell chmod 777 /system/etc/permissions/com.google.android.gtalkservice.xml<br />
<br />
echo Installing Framework Jars...<br />
adb push system\framework\com.google.android.maps.jar /system/framework<br />
adb push system\framework\com.google.android.gtalkservice.jar  /system/framework<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/framework/com.google.android.maps.jar<br />
adb shell chown system /system/framework/com.google.android.gtalkservice.jar<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/framework/com.google.android.maps.jar<br />
adb shell chmod 777 /system/framework/com.google.android.gtalkservice.jar<br />
<br />
echo Installing Libraries...<br />
adb push system\lib\libgtalk_jni.so /system/lib<br />
adb push system\lib\libinterstitial.so /system/lib<br />
<br />
echo Setting Permissions...<br />
adb shell chown system /system/lib/libgtalk_jni.so<br />
adb shell chown system /system/lib/libinterstitial.so<br />
<br />
echo Setting Attributes...<br />
adb shell chmod 777 /system/lib/libgtalk_jni.so<br />
adb shell chmod 777 /system/lib/libinterstitial.so<br />
<br />
echo Copying chgrp script<br />
adb push data\chfiles /data/chfiles<br />
adb shell chmod 777 /data/chfiles<br />
<br />
echo Done! Disconnect tablet.<br />
echo Run /data/chfiles in Better Terminal Pro (su first) to finish installation.<br />
echo Reboot tablet when done.<br />
Create a 'data' directory in the root gapps-passion-EPE54B-signed dir.
In that directory create a chfiles file. Below is the code. Be sure to save this in linux CR/LF format.

Code:
<br />
chgrp 232 /system/app/GoogleApps.apk<br />
chgrp 232 /system/app/GooglePartnerSetup.apk<br />
chgrp 232 /system/app/GoogleSettingsProvider.apk<br />
chgrp 232 /system/app/MarketUpdater.apk<br />
chgrp 232 /system/app/Vending.apk<br />
chgrp 232 /system/app/GoogleCheckin.apk<br />
chgrp 232 /system/app/GoogleSubscribedFeedsProvider.apk<br />
chgrp 232 /system/app/gtalkservice.apk<br />
chgrp 232 /system/etc/permissions/com.google.android.maps.xml<br />
chgrp 232 /system/etc/permissions/com.google.android.datamessaging.xml<br />
chgrp 232 /system/etc/permissions/com.google.android.gtalkservice.xml<br />
chgrp 232 /system/framework/com.google.android.maps.jar<br />
chgrp 232 /system/framework/com.google.android.gtalkservice.jar<br />
chgrp 232 /system/lib/libgtalk_jni.so<br />
chgrp 232 /system/lib/libinterstitial.so<br />
On the tablet, install adb or adbWireless and BetterTerminalEmulator Pro (required for chfiles to work). Or, busybox or something that will give you the chgrp command.

Next, in connect the adb from the Android SDK so it's connected to your tablet (USB or wireless).

Create a shell in the root gapps-passion-EPE54B-signed dir and run the adbpush.bat script.

Then go into the terminal on the tablet and run the chfiles script.

One note: I have added the C:\Program Files\Android\android-sdk\platform-tools to my Windows path environment variable so I can run it from any directory.

Now, if I could only get it to stop rebooting all the time. :-/ Looks like another reflash with flushback666's ROM and try again. Though maybe I'll have to omit files that are already on the tablet and not replace them with the new ones?

I've added the scripts below as well. Just rename adbpush.txt to adbpush.bat and chfiles.txt to just chfiles and put them in the directories as I mentioned above.
TikaC,

If you extract Shad's froyo rom you should be able to find versions of the apk and support files we know worked on the craig...perhaps they would work more reliably then the version you are using and prevent the boot loop....however this might be why you have to put the files in the image and flash it....I believe you need to wipe the cache and dalvik-cache to have the packages work if you had previously tried to use the market.
 

·
Registered
Joined
·
54 Posts
I had that happen too. What I did when I got to the screen where it said I need Java to install, I hit the back button on that screen then hit the Next button and it seemed to take and went ahead and installed the SDK system.
Thanks TikaC that worked.
 

·
Registered
Joined
·
54 Posts

·
Registered
Joined
·
151 Posts
TikaC,

If you extract Shad's froyo rom you should be able to find versions of the apk and support files we know worked on the craig...perhaps they would work more reliably then the version you are using and prevent the boot loop....however this might be why you have to put the files in the image and flash it....I believe you need to wipe the cache and dalvik-cache to have the packages work if you had previously tried to use the market.
thats very important that you clear the dalvik-cache. Without you get reboots or it wont boot up.

bye flush
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #51 ·
Thanks, but I have those and Shad's 4.3 (the most recent stable Eclair). I'm working with flushback666's rooted 2.2 actually. Today I been busy so I haven't had time to play around with it more.
 

·
Registered
Joined
·
151 Posts
I will have a look in it as soon as i i have time. Also writing you the detailed commands then.
I am too busy, right now working on custom rom for my onetab(based on lionhearts froyo)
 

·
Registered
Joined
·
10 Posts
Thanks, but I have those and Shad's 4.3 (the most recent stable Eclair). I'm working with flushback666's rooted 2.2 actually. Today I been busy so I haven't had time to play around with it more.
Hi, it seems like you are trying to get the Google Market working on Froyo with the Eclair market. I'm using the Craig 2.2 ROM to build a rom for the Archos HT7V2, and i'm using the 2.2 market apps, you can find them here: Market 2.2. Just do some tweaking of your scripts, and give it a try.
 

·
Registered
Joined
·
179 Posts
Discussion Starter · #54 ·
Thanks everyone for the tips. I'm going to be checking out the 2.2 Market. My hard drive crashed on my main laptop I use everyday (thankfully I had a Knoppix Live CD to get the data from the HD that I didn't back up). So I'm working on an older laptop that doesn't have the Android utilities, etc. on it (yet). I'll have to install those soon and try this stuff out.
 

·
Registered
Joined
·
179 Posts
@flushback666 - Awesome!
Will you be uploading a ROM for us soon? I'm not able to do much with it since I am busy trying to fix my "main" everyday-use laptop.

I've got a bad HD on my main computer died completely. Still trying to fix it. I have another one and don't know if it's good (got to test it yet). If it's dead, I will be using my backup laptop until I get a new hard drive for the other one some day.

Besides, it's probably better someone who has experience in the procedure makes the ROM.
 

·
Registered
Joined
·
151 Posts
hi,

here is my image with market integrated, could you please try it.

Link

MD5:

cmp738a_firmware2.2_rooted_market.update.zip
9ff05f9a1e7b515d305d822264bbb3ac

cmp738a_firmware2.2_rooted_market.update.img
65ec571facb0709af941924bc6b8803a

bye flush
 
  • Like
Reactions: craigsmack
41 - 60 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