Hi All,
This is my first post here, sorry if this thread is duplicate but I was unable to find a similar thread.
I have a SGS9000 that I bought from Turkey, since Market and YouTube is not bundled here, I rooted the official 2.2 update with Z4 and pushed Vending.apk and YouTube.apk. The problem is my Market application is FCing after updating or installing applications. I install an application, installation finishes and I get an FC. Then, when I open the installed application for the first time, I get another Market FC. Then everything works fine.
I didn't wipe the system after installing 2.2 update but wiped cache from recovery. Since I pushed the latest versions of the applications, there are no updates to remove. Also clearing cache or stored information doesn't help either.
Is this a known bug or are there any solutions?
Thanks in advance.
P.S: I'm a seasoned Linux admin and programmer and I'm probably able to pull most of the tricks you can propose.
I am having the same problem with my galaxy s too. I followed the same procedure you described. I heard you are bound to get FCs this way. Apparently you should install google apps by applying update.zip via recovery. However, I have recovery 3e and it does not have the capability to use unsigned update.zip. It seems you need to have 2e and I don't have that so I could not do it. As you are a capable linux admin, maybe you can figure out how to revert back to 2e and can share with us.
Sent from my GT-I9000 using XDA App
Actually this is kinda absurd because the g-apps package doesn't have any files related to market besides the Vending and MarketUpdater apks and when you put the packages to the /system/app, they are installed by the phone anyway. I'll try to find some logs in the phone. Maybe then I can understand the real cause of the problem and dig deeper.
It might have something to do with some permissions etc. set by some sys files. I heard something about conflicts/permissions issue with market causing FCs. If you can check the sys logs and figure out th rd problem, that would be great.
Also I read somewhere in these forums who had the same issue solved it via update.zip way.
Sent from my GT-I9000 using XDA App
I had time to debug the problem and I isolated the problem. I have both good news and bad news.
The good news is, the problem looks like a simple permission problem. adb logcat spilled all the guts of the problem and it looks like it:
Code:
E/DatabaseUtils(25977): Writing exception to parcel
E/DatabaseUtils(25977): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=8129, uid=10008 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/DatabaseUtils(25977): at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:337)
E/DatabaseUtils(25977): at android.content.ContentProvider$Transport.insert(ContentProvider.java:173)
E/DatabaseUtils(25977): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils(25977): at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils(25977): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 8129): threadid=11: thread exiting with uncaught exception (group=0x4001d7d0)
E/AndroidRuntime( 8129): FATAL EXCEPTION: UpdateCheckinDatabaseService
E/AndroidRuntime( 8129): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=8129, uid=10008 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 8129): at android.os.Parcel.readException(Parcel.java:1260)
E/AndroidRuntime( 8129): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 8129): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 8129): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
E/AndroidRuntime( 8129): at android.content.ContentResolver.insert(ContentResolver.java:587)
E/AndroidRuntime( 8129): at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putString(GoogleSettingsContract.java:55)
E/AndroidRuntime( 8129): at com.google.android.gsf.GoogleSettingsContract$Partner.putString(GoogleSettingsContract.java:126)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService.updateCheckinDatabase(UpdateCheckinService.java:140)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService.access$000(UpdateCheckinService.java:34)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService$ServiceHandler.handleMessage(UpdateCheckinService.java:85)
E/AndroidRuntime( 8129): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8129): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 8129): at android.os.HandlerThread.run(HandlerThread.java:60)
I/PowerManagerService( 2475): Light Animator Finished curIntValue=32
W/ActivityManager( 2475): Force finishing activity com.android.vending/.SearchAssetListActivity
I/ ( 2475): dumpmesg > /data/log/dumpstate_app_error.log
The bad news is, I'm not familiar to the internal workings of the android yet and I was unable to modify the permissions. I tried /system/etc/permissions and added some xml files that contained proper syntax but that was unable to solve the problem.
I'll be glad if someone more experienced can give me some hints because I want to solve this annoying problem.
Cheers and thanks in advance to all.
[SOLVED] Market FCs after installing applications.
Nevermind, just use the new market app, updating solves all the problems.
I copied APK to my sdcard, became root from adb shell and moved the APK to /system/app, then ran "pm install -r Vending.apk" and now everything is silky smooth.
Hey man,
I tried to do what you've described but when I tried to install the vending.apk
I got the following error:
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
Can you describe the procedure step by step for a noob please ?
thearif
Ok I found another solution that works. Simply install Sgstools from market (this will be your last FC) and update market from there. Not only will you have the latest market but you will get rid of FCs as well.
Note that you need to have root (i had temporary Z4root). That is it.
Sent from my GT-I9000 using XDA App
thearif said:
Ok I found another solution that works. Simply install Sgstools from market (this will be your last FC) and update market from there. Not only will you have the latest market but you will get rid of FCs as well.
Click to expand...
Click to collapse
This worked well until I rebooted. After the reboot FCs were back. Logcat is identical to yours:
Code:
I/ActivityThread( 1151): Publishing provider com.android.vending.SuggestionsProvider: com.android.vending.SuggestionsProvider
D/vending ( 1151): [1] VendingApplication.onCreate(): Resetting ServiceLocator from app
D/GoogleLoginService( 409): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
I/ActivityManager( 259): Displayed activity com.android.vending/.AssetBrowserActivity: 906 ms (total 906 ms)
D/ResourceType( 1151): calling getConfigurations
D/ResourceType( 1151): called getConfigurations size=230
I/dalvikvm( 409): Jit: resizing JitTable from 4096 to 8192
D/dalvikvm( 1151): GC_FOR_MALLOC freed 6455 objects / 553792 bytes in 53ms
E/DatabaseUtils( 409): Writing exception to parcel
E/DatabaseUtils( 409): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1151, uid=10025 requires com.google.android.providers.settings.permis
sion.WRITE_GSETTINGS
E/DatabaseUtils( 409): at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:348)
E/DatabaseUtils( 409): at android.content.ContentProvider$Transport.insert(ContentProvider.java:196)
E/DatabaseUtils( 409): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils( 409): at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils( 409): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 1151): threadid=11: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 1151): FATAL EXCEPTION: Thread-12
E/AndroidRuntime( 1151): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1151, uid=10025 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 1151): at android.os.Parcel.readException(Parcel.java:1260)
E/AndroidRuntime( 1151): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 1151): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 1151): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
E/AndroidRuntime( 1151): at android.content.ContentResolver.insert(ContentResolver.java:592)
E/AndroidRuntime( 1151): at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putString(GoogleSettingsContract.java:55)
E/AndroidRuntime( 1151): at com.google.android.gsf.GoogleSettingsContract$Partner.putString(GoogleSettingsContract.java:126)
E/AndroidRuntime( 1151): at com.android.vending.compat.MarketCheckinHelper.updateCheckinDatabase(MarketCheckinHelper.java:12)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.sendContentSyncViaCheckin(CheckinUpdater.java:219)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.performCheckin(CheckinUpdater.java:176)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.access$000(CheckinUpdater.java:38)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater$1.run(CheckinUpdater.java:109)
E/AndroidRuntime( 1151): at com.android.vending.util.WorkService$1.run(WorkService.java:37)
W/ActivityManager( 259): Force finishing activity com.android.vending/.AssetBrowserActivity
W/ResourceType( 259): Skipping entry 0x7f040006 in package table 0 because it is not complex!
W/ResourceType( 259): Skipping entry 0x7f040005 in package table 0 because it is not complex!
I/Process ( 1151): Sending signal. PID: 1151 SIG: 9
I dont know what is causing your problem to come back after reboot. The very first thing that I checked was to is to see if the problem would pop back up after a reboot but it did not.
So you were on a rooted phone when you did this and gave root access to the sgstools app. If this is the case, maybe you can try clearing your cache.
thearif
Sent from my GT-I9000 using XDA App
Related
Not sure what started it, but the market will download an app and then force close while trying to install.
Code:
D/vending ( 2920): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver.ha
ndleDownloadCompletedAction(): Got a download completed intent.
D/vending ( 2920): com.android.vending.api.LocalAssetDatabase.notifyListener(): 2730644506
555660122 / INSTALLING
W/dalvikvm( 2920): threadid=23: thread exiting with uncaught exception (group=0x4001e170)
E/AndroidRuntime( 2920): Uncaught handler: thread Thread-19 exiting due to uncaught except
ion
E/AndroidRuntime( 2920): java.lang.SecurityException: Neither user 10003 nor current proce
ss has android.permission.INSTALL_PACKAGES.
E/AndroidRuntime( 2920): at android.os.Parcel.readException(Parcel.java:1246)
E/AndroidRuntime( 2920): at android.os.Parcel.readException(Parcel.java:1234)
E/AndroidRuntime( 2920): at android.content.pm.IPackageManager$Stub$Proxy.installPa
ckage(IPackageManager.java:1738)
E/AndroidRuntime( 2920): at android.app.ApplicationContext$ApplicationPackageManage
r.installPackage(ApplicationContext.java:2341)
E/AndroidRuntime( 2920): at com.android.vending.AssetDownloader$DownloadManagerBroa
dcastReceiver.installFromUri(AssetDownloader.java:370)
E/AndroidRuntime( 2920): at com.android.vending.AssetDownloader$DownloadManagerBroa
dcastReceiver$1.run(AssetDownloader.java:243)
E/AndroidRuntime( 2920): at java.lang.Thread.run(Thread.java:1096)
I/Process ( 151): Sending signal. PID: 2920 SIG: 3
I/dalvikvm( 2920): threadid=7: reacting to signal 3
Something about permissions? I think fix_permissions would fix, but any other ideas?
Update: ran fix permissions with no changes, log is still the same. Reflashed cyan, nothing. Any ideas?
lukekirstein said:
Update: ran fix permissions with no changes, log is still the same. Reflashed cyan, nothing. Any ideas?
Click to expand...
Click to collapse
its from the new market pushed out by T-Mo.Unistall it via manage apps in settings.
I need Sim Tookit to manager my SIM card, but Nexus One doesn't have one.
I've seen thread 618491(I can't post links), the STK_2.1.apk in which can't be installed(INSTALL_FAILED_UPDATE_INCOMPATIBLE).
Are there any Solutions now?
I was looking for that too...did not find anything useable, only thing I read is that an update for Nexus One will fix this soon
I've done.
I've solved it.
Download STK.zip, unzip it. Put Stk.apk into /system/app/ of one ROM package, and then SIGN it, then flash it. After reboot you will see SIM Tookit in your menu of Nexus One.
I've tried it with CM 5.0 beta3 and it works well.
------
I'm sorry for my poor English...
li129667 said:
I've solved it.
Download STK.zip, unzip it. Put Stk.apk into /system/app/ of one ROM package, and then SIGN it, then flash it. After reboot you will see SIM Tookit in your menu of Nexus One.
I've tried it with CM 5.0 beta3 and it works well.
------
I'm sorry for my poor English...
Click to expand...
Click to collapse
Cant you just adb push it?
setzer715 said:
Cant you just adb push it?
Click to expand...
Click to collapse
It does work by adb pushing it. Just tried.
li129667 said:
I've solved it.
Download STK.zip, unzip it. Put Stk.apk into /system/app/ of one ROM package, and then SIGN it, then flash it. After reboot you will see SIM Tookit in your menu of Nexus One.
I've tried it with CM 5.0 beta3 and it works well.
------
I'm sorry for my poor English...
Click to expand...
Click to collapse
how to sign stk.apk?
Sim toolkit for android 2.1 might not be ready yet? The install seems fine, and the icon is there in the launcher, but when I receive a sim message it fails:
Code:
I/ActivityManager( 89): Starting activity: Intent { flg=0x58840000 cmp=com.android.stk/.StkDialogActivity (has extras) }
I/ActivityManager( 89): Displayed activity com.android.stk/.StkDialogActivity: 379 ms (total 379 ms)
I/ActivityManager( 89): Starting activity: Intent { act=android.intent.action.VIEW flg=0x10040000 cmp=com.android.stk/.StkInputActivity (has extras)
}
D/dalvikvm( 145): DexOpt: couldn't find field Lcom/android/internal/telephony/gsm/stk/Input;.iconSelfExplanatory
W/dalvikvm( 145): VFY: unable to resolve instance field 32
D/dalvikvm( 145): VFY: replacing opcode 0x55 at 0x004d
D/dalvikvm( 145): Making a copy of Lcom/android/stk/StkInputActivity;.configInputDisplay code (456 bytes)
D/AndroidRuntime( 145): Shutting down VM
W/dalvikvm( 145): threadid=3: thread exiting with uncaught exception (group=0x4001b170)
E/AndroidRuntime( 145): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 145): java.lang.NoSuchFieldError: com.android.internal.telephony.gsm.stk.Input.iconSelfExplanatory
E/AndroidRuntime( 145): at com.android.stk.StkInputActivity.configInputDisplay(StkInputActivity.java:291)
E/AndroidRuntime( 145): at com.android.stk.StkInputActivity.onCreate(StkInputActivity.java:148)
E/AndroidRuntime( 145): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 145): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/AndroidRuntime( 145): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/AndroidRuntime( 145): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime( 145): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime( 145): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 145): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 145): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 145): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 145): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 145): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 145): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 145): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 89): Sending signal. PID: 145 SIG: 3
I/dalvikvm( 145): threadid=7: reacting to signal 3
It's working fine for me,
However, I do get some odd carrier specific popups every once in a while welcoming me back although I wasn't roaming
I can access the menu and check my credit and billing stuff
install Zip to nexus one
Hello li129667
I'm not familiar with the install process of this zip, can u further eloborate on it? Am I just dragging the whole thing into /system/app/ and click on stk.apk file?
--------------------
Originally Posted by li129667
I've solved it.
Download STK.zip, unzip it. Put Stk.apk into /system/app/ of one ROM package, and then SIGN it, then flash it. After reboot you will see SIM Tookit in your menu of Nexus One.
I've tried it with CM 5.0 beta3 and it works well.
------
I'm sorry for my poor English...
I need STk(Sim Tookit) to manager my SIM card.
Anyone can help?
Hello!!!
How can install this stk in my nexus one?
I'm newbie in android.
Thanks in advance
I tried to push it to /system/app and restarted, it doesn't show up in the apps drawer.
I went to Astro file manager and found it in /system/app and i tapped it and chose install but it fails and says application not installed... what am I doing wrong?
To adb push it you would go to the folder you downloaded it, right click the folder and select open command prompt here. Assuming you have set up adb already. In command prompt you would type.
Adb remount
Adb push STK.apk /system/app
Then you would use andexplorer or filemanager of your choice to navigate to the /system/app folder and find the STK.apk there and click it, install, done.
If you dont know if you can use adb then you can't. You can read more about adb by searching or on googles d.android.com
I did that, but it wont install.
C:\android-sdk-windows\root & rom\nexus one>adb install Stk.apk
771 KB/s (67151 bytes in 0.085s)
pkg: /data/local/tmp/Stk.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Click to expand...
Click to collapse
Same issue with me, with latest (Update1) of 2.1 sofware. I tried stk21.apk , but still claims uncompatibility.
adb push STK.apk /system/app
did it
installed
but were can I get to the sim menu ?
How do you access the toolkit after installation
I've made an update.zip to install STK.apk. Works fine on Cyan's roms.
Any way to make this work with Enom's The Official 1.7.1 ROM?
Thanks in advance.
I updated to Froyo from CM.
Some market updates/installs are fine. Some cause this crash and the Android GUI restarts (the whole N1 doesn't reboot however).
D/VoldCmdListener( 54): asec list
I/PackageHelper( 652): Size of container 2 MB 689299 bytes
W/dalvikvm( 83): threadid=11: thread exiting with uncaught exception (group=0x4001d7f0)
E/AndroidRuntime( 83): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
E/AndroidRuntime( 83): java.lang.SecurityException: Requires android.permission.ASEC_CREATE permission
E/AndroidRuntime( 83): at android.os.Parcel.readException(Parcel.java:1247)
E/AndroidRuntime( 83): at android.os.Parcel.readException(Parcel.java:1235)
E/AndroidRuntime( 83): at com.android.internal.app.IMediaContainerService$Stub$Proxy.copyResourceToContainer(IMediaContainerService.java:164)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$SdInstallArgs.copyApk(PackageManagerService.java:5341)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$InstallParams.handleStartCopy(PackageManagerService.java:4956)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$HandlerParams.startCopy(PackageManagerService.java:4815)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$PackageHandler.doHandleMessage(PackageManagerService.java:470)
E/AndroidRuntime( 83): at com.android.server.PackageManagerService$PackageHandler.handleMessage(PackageManagerService.java:415)
E/AndroidRuntime( 83): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 83): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 83): at android.os.HandlerThread.run(HandlerThread.java:60)
I believe I get the same issue and log messages when I try to move applications to my sdcard either from the applications menu or by adb command. :/
I have the same error when trying to install the latest version of Neocore.
I have the same problem. Is there a solution ? Would full data wipe help ?
Just did a full data wipe, and it helped for me.
Yeah, have to do full wipe to fix it.
Isn't there any other solutions ?
I don't really feel like wiping now.. :s
So I have been an android user for about 3 days now and just signed up for the forums. So I cannot post this to the dev section.
Anyway.
So I'm trying to port the new Gtalk to 2.3.3 from 2.3.4.
I have used adb push to move the appropriate apk and odex files as well as moved the libtalk_jni.so
The app loads and it looks new and all but there is no video option.
So I decompile the apk and there seems to be some reference to video in the AndroidManifest
com.google.android.talk.permission.VIDEO_CHAT_SERVICE
Can someone get me up to speed? Am I missing something?
Well i am not as lucky as you,man. MIUI just cannot recognize new version gtalk.
Sent from my Google Nexus S using XDA Premium App
xiambax said:
So I have been an android user for about 3 days now and just signed up for the forums. So I cannot post this to the dev section.
Anyway.
So I'm trying to port the new Gtalk to 2.3.3 from 2.3.4.
I have used adb push to move the appropriate apk and odex files as well as moved the libtalk_jni.so
The app loads and it looks new and all but there is no video option.
So I decompile the apk and there seems to be some reference to video in the AndroidManifest
com.google.android.talk.permission.VIDEO_CHAT_SERVICE
Can someone get me up to speed? Am I missing something?
Click to expand...
Click to collapse
where to find the .so file? could you post a link please?
elban said:
where to find the .so file? could you post a link please?
Click to expand...
Click to collapse
Here are the files,, can anyone deodex the apks please
I was thinking the same thing, so I did a bit of research into this.
I was able to successfully deodex and recompile the app, however it doesn't show up in the launcher. I think because it's Talk2.apk it needs to be launched from "Talk". Looking at the update, there are patches for Talk.apk and Talk.odex, which confirm that suspicion.
Looking at the manifest however, it looks like there is some new video service, so I'm not sure if just installing the updated talk app will work.
If someone would like to upload a dump of their /system on 2.3.4 I can try deodexing the new talk and talk2 apks, and we can try that, but otherwise there isn't much I can do since I don't have a NS in my possession right now.
edude03 said:
I was thinking the same thing, so I did a bit of research into this.
I was able to successfully deodex and recompile the app, however it doesn't show up in the launcher. I think because it's Talk2.apk it needs to be launched from "Talk". Looking at the update, there are patches for Talk.apk and Talk.odex, which confirm that suspicion.
Looking at the manifest however, it looks like there is some new video service, so I'm not sure if just installing the updated talk app will work.
If someone would like to upload a dump of their /system on 2.3.4 I can try deodexing the new talk and talk2 apks, and we can try that, but otherwise there isn't much I can do since I don't have a NS in my possession right now.
Click to expand...
Click to collapse
Talk.apk isn't present after the update, updater-script deletes it entirely. It's never replaced and not present in /system/app any longer. There is not a single call to patch Talk.apk in the updater-script that I can find nor do I see the .p patch under the patch dir of the packaged update.
Talk2.apk and Talk2.odex are then extracted to /system/app (they are present in the update in their entirety, they are not patches). libtalk_jni.so is extracted to /system/lib (also present in its entirety in the update).
Here's Talk2.apk, Talk2.odex and libtalk_jni.so directly from the update.
krohnjw said:
Talk.apk isn't present after the update, updater-script deletes it entirely. It's never replaced and not present in /system/app any longer. There is not a single call to patch Talk.apk in the updater-script that I can find nor do I see the .p patch under the patch dir of the packaged update.
Talk2.apk and Talk2.odex are then extracted to /system/app (they are present in the update in their entirety, they are not patches). libtalk_jni.so is extracted to /system/lib (also present in its entirety in the update).
Here's Talk2.apk, Talk2.odex and libtalk_jni.so directly from the update.
Click to expand...
Click to collapse
The app has to be deodexed to be useful. For that we need the whole rom dump (well /system).
blunden said:
The app has to be deodexed to be useful. For that we need the whole rom dump (well /system).
Click to expand...
Click to collapse
Dumping system now - I'll upload when finished.
edit: Uploading now - this will take a little while. I'll post a link when it's finished.
And completed: https://docs.google.com/leaf?id=0B_...IxZTktNWQzNGFmYTExY2Y1&hl=en&authkey=CL2J6csE
Thanks for the dump krohnjw and thanks for the correction. I was looking at the wrong version of the OTA (I was looking at the 2.3.2 -> 2.3.3 OTA :s)
EDIT 2: Here's the de-odexed APK, signed with testkeys. http://dl.dropbox.com/u/9720998/Talk2.apk. As of right now, on GRI40 and XXJVK (android 2.3.3 on a GT-i9000) it gives me a permission error. I've tired adb install and adb push /system/app; chmod 644 Talk2.apk. '
Almost there, though for some reason it's getting a permission error even though I'm running it from /system/app
Code:
flg=0x10200000 cmp=com.google.android.talk/.SigningInActivity } from pid 446
I/ActivityManager( 307): Start proc com.google.android.talk for activity com.google.android.talk/.SigningInActivity: pid=2035 uid=10067 gids={3003, 1015, 1006}
D/dalvikvm( 260): GC_EXPLICIT freed 12K, 53% free 2580K/5379K, external 1625K/2137K, paused 67ms
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 100ms
D/szipinf ( 2035): Initializing inflate state
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 76ms
I/ActivityThread( 2035): Pub com.google.android.talk.SuggestionProvider: com.google.android.talk.SuggestionsProvider
V/PlayerDriver( 261): HandleInformationalEvent: 23
I/ActivityManager( 307): Starting: Intent { dat=content://com.google.android.providers.talk/accounts/1 cmp=com.google.android.talk/.SigninActivity } from pid 2035
W/ActivityManager( 307): Trying to launch com.google.android.talk/.SigninActivity
D/dalvikvm( 2035): GC_EXTERNAL_ALLOC freed 115K, 51% free 2715K/5447K, external 2120K/2137K, paused 22ms
D/AndroidRuntime( 2035): Shutting down VM
W/dalvikvm( 2035): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/AndroidRuntime( 2035): FATAL EXCEPTION: main
E/AndroidRuntime( 2035): java.lang.SecurityException: Need GTalk_SERVICE permission: Neither user 10067 nor current process has com.google.android.gtalkservice.permission.GTALK_SERVICE.
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1322)
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 2035): at com.google.android.gtalkservice.IGTalkService$Stub$Proxy.getImSessionForAccountId(IGTalkService.java:252)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.signInAccount(SigninActivity.java:414)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.access$200(SigninActivity.java:52)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity$1.run(SigninActivity.java:165)
E/AndroidRuntime( 2035): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 2035): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2035): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2035): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 2035): at dalvik.system.NativeStart.main(Native Method)
E/ ( 307): Dumpstate > /data/log/dumpstate_app_error
W/ActivityManager( 307): Force finishing activity com.google.android.talk/.SigninActivity
I/dumpstate( 2047): begin
W/ActivityManager( 307): Activity pause timeout for HistoryRecord{40be0658 com.google.android.talk/.SigninActivity}
edude03 said:
Almost there, though for some reason it's getting a permission error even though I'm running it from /system/app
Code:
flg=0x10200000 cmp=com.google.android.talk/.SigningInActivity } from pid 446
I/ActivityManager( 307): Start proc com.google.android.talk for activity com.google.android.talk/.SigningInActivity: pid=2035 uid=10067 gids={3003, 1015, 1006}
D/dalvikvm( 260): GC_EXPLICIT freed 12K, 53% free 2580K/5379K, external 1625K/2137K, paused 67ms
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 100ms
D/szipinf ( 2035): Initializing inflate state
D/dalvikvm( 260): GC_EXPLICIT freed <1K, 53% free 2580K/5379K, external 1625K/2137K, paused 76ms
I/ActivityThread( 2035): Pub com.google.android.talk.SuggestionProvider: com.google.android.talk.SuggestionsProvider
V/PlayerDriver( 261): HandleInformationalEvent: 23
I/ActivityManager( 307): Starting: Intent { dat=content://com.google.android.providers.talk/accounts/1 cmp=com.google.android.talk/.SigninActivity } from pid 2035
W/ActivityManager( 307): Trying to launch com.google.android.talk/.SigninActivity
D/dalvikvm( 2035): GC_EXTERNAL_ALLOC freed 115K, 51% free 2715K/5447K, external 2120K/2137K, paused 22ms
D/AndroidRuntime( 2035): Shutting down VM
W/dalvikvm( 2035): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/AndroidRuntime( 2035): FATAL EXCEPTION: main
E/AndroidRuntime( 2035): java.lang.SecurityException: Need GTalk_SERVICE permission: Neither user 10067 nor current process has com.google.android.gtalkservice.permission.GTALK_SERVICE.
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1322)
E/AndroidRuntime( 2035): at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 2035): at com.google.android.gtalkservice.IGTalkService$Stub$Proxy.getImSessionForAccountId(IGTalkService.java:252)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.signInAccount(SigninActivity.java:414)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity.access$200(SigninActivity.java:52)
E/AndroidRuntime( 2035): at com.google.android.talk.SigninActivity$1.run(SigninActivity.java:165)
E/AndroidRuntime( 2035): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 2035): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2035): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2035): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2035): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
E/AndroidRuntime( 2035): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 2035): at dalvik.system.NativeStart.main(Native Method)
E/ ( 307): Dumpstate > /data/log/dumpstate_app_error
W/ActivityManager( 307): Force finishing activity com.google.android.talk/.SigninActivity
I/dumpstate( 2047): begin
W/ActivityManager( 307): Activity pause timeout for HistoryRecord{40be0658 com.google.android.talk/.SigninActivity}
Click to expand...
Click to collapse
Have you tried to fix permissions or clear data for Talk? Sounds like a permission or UID error.
I've pushed the apk but it doesn't get loaded (no dex in dalvik cache), unfortunately no errors in logcat.
I think it's because it's not signed.
No I did sign it, let me clear the caches and data though just to make sure.
Sent from my GT-I9000 using XDA App
On cm 7 I can confirm it opens starts running then force closes.
Sent from my HTC Glacier using XDA Premium App
xiambax said:
Mine doesn't force close
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
You already have the update for the nexus s meaning you are on 2.3.4 cm7 runs 2.3.3
Sent from my HTC Glacier using XDA Premium App
Can you tell me exactly where you push the files? Talk is system app and lib would go into system lib correct?
Sent from my HTC Glacier using XDA Premium App
edude03 said:
Thanks for the dump krohnjw and thanks for the correction. I was looking at the wrong version of the OTA (I was looking at the 2.3.2 -> 2.3.3 OTA :s)
EDIT 2: Here's the de-odexed APK, signed with testkeys. http://dl.dropbox.com/u/9720998/Talk2.apk. As of right now, on GRI40 and XXJVK (android 2.3.3 on a GT-i9000) it gives me a permission error. I've tired adb install and adb push /system/app; chmod 644 Talk2.apk. '
Click to expand...
Click to collapse
I installed it successfully,, but I don't see the option for video calling ?!
I'll look into why that is as soon as I can get it working myself, probably because of some check for the video service.
What OS are you on Nokia7Vista?
edude03 said:
I'll look into why that is as soon as I can get it working myself, probably because of some check for the video service.
What OS are you on Nokia7Vista?
Click to expand...
Click to collapse
Android 2.3.3 on Galaxy S
I copied the .so file and your apk to their appropriate locations and removed the old talk.apk version and it worked,, but no video calling option
OK. I got it running now, it was a permission error.
That said it has a weird graphical glitch and doesn't show any contacts.
I'll investigate when I get home.
Sent from my GT-I9000 using XDA App
Hi to all! I'm writing here now because i have a problem with a launcher that i would to replace with the stock... Let me explain.
I'm editing a ROM and i would to replace the twlauncher with MX Home so i have delete tw from system/app and i have insert here the new launcher. And here the problem. At first boot after the flash of the ROM it has a force close! How can I fix?
Thx
many applications do this "trick" if put in system/app... I am also looking for a solution but I think it's necessary to recompile the app for it to work on our Galaxy S.
However I'm interested too
sgsever said:
Hi to all! I'm writing here now because i have a problem with a launcher that i would to replace with the stock... Let me explain.
I'm editing a ROM and i would to replace the twlauncher with MX Home so i have delete tw from system/app and i have insert here the new launcher. And here the problem. At first boot after the flash of the ROM it has a force close! How can I fix?
Thx
Click to expand...
Click to collapse
Instead of just guessing what the problem might be, look at the logs. It may help you more.
And where is the log? Because when I boot up the phone is stuck at the force close because the "stock launcher" don't work... Help me
Can you get a shell into the phone using adb shell?
xxbeanxx said:
Can you get a shell into the phone using adb shell?
Click to expand...
Click to collapse
Perhaps yes but I have Linux... But I've come up with an idea. I don't know if it will work. If I boot up the phone, wait the FC and after I will go in recovery and mounting the internal SD i take the log? It is a good idea?
sgsever said:
Perhaps yes but I have Linux... But I've come up with an idea. I don't know if it will work. If I boot up the phone, wait the FC and after I will go in recovery and mounting the internal SD i take the log? It is a good idea?
Click to expand...
Click to collapse
The log file is not stored on the internal SD. Also I don't think it persists a reboot (I may be wrong about this).
What does having Linux have to do with anything? There is a Linux SDK available from Google.
xxbeanxx said:
The log file is not stored on the internal SD. Also I don't think it persists a reboot (I may be wrong about this).
What does having Linux have to do with anything? There is a Linux SDK available from Google.
Click to expand...
Click to collapse
Perhaps I have the log:
Code:
W/dalvikvm( 8000): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/neomtel/mxhome/SmaxInterface;
D/AndroidRuntime( 8000): Shutting down VM
W/dalvikvm( 8000): threadid=1: thread exiting with uncaught exception (group=0x40015578)
E/AndroidRuntime( 8000): FATAL EXCEPTION: main
E/AndroidRuntime( 8000): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 8000): at com.neomtel.mxhome.SmaxView.init(SmaxView.java:169)
E/AndroidRuntime( 8000): at com.neomtel.mxhome.SmaxView.<init>(SmaxView.java:88)
E/AndroidRuntime( 8000): at com.neomtel.mxhome.Launcher.setupViews(Launcher.java:1559)
E/AndroidRuntime( 8000): at com.neomtel.mxhome.Launcher.onCreate(Launcher.java:379)
E/AndroidRuntime( 8000): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 8000): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
E/AndroidRuntime( 8000): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
E/AndroidRuntime( 8000): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 8000): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
E/AndroidRuntime( 8000): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8000): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 8000): at android.app.ActivityThread.main(ActivityThread.java:3687)
E/AndroidRuntime( 8000): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8000): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 8000): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
E/AndroidRuntime( 8000): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
E/AndroidRuntime( 8000): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8000): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load SmaxEngine: findLibrary returned null
E/AndroidRuntime( 8000): at java.lang.Runtime.loadLibrary(Runtime.java:429)
E/AndroidRuntime( 8000): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 8000): at com.neomtel.mxhome.SmaxInterface.<clinit>(SmaxInterface.java:99)
E/AndroidRuntime( 8000): ... 17 more
W/ActivityManager( 2736): Force finishing activity com.neomtel.mxhome/.Launcher
E/ ( 2736): Dumpstate > /data/log/dumpstate_app_error
I/dumpstate( 8009): begin
D/PowerManagerService( 2736): onSensorChanged: light value: 1000
W/ActivityManager( 2736): Activity pause timeout for HistoryRecord{40882a00 com.neomtel.mxhome/.Launcher}
W/su ( 8027): request rejected (0->0 /system/bin/sh)
W/PowerManagerService( 2736): Timer 0x7->0x3|0x0
I/PowerManagerService( 2736): Ulight 7->3|0
D/LightsService( 2736): BUTTON : 0
D/VoldCmdListener( 85): asec list
I/dumpstate( 8009): done
D/UsbStorageActivity( 4556): onResume !!!
Let me know... and thx for your patience!
I believe the error stems from the incompatibility between the launcher and the framework...
And nobody know how to fix this?
sgsever said:
And nobody know how to fix this?
Click to expand...
Click to collapse
I don't have a solution but here's what I would try.. Without having the app you are talking about to look at I'm only guessing from the log.
A Java UnsatisfiedLinkError occurs when the VM is trying to load a libary that isn't available. It would seem that perhaps the apk contains some libraries that get extracted by the Android installer when you first install the app.
Try using a tool like 'apktool' to decode the apk into a format that you can actually look at, then see if there are such libraries inside. If so you would want to extract these and put them somewhere that Dalvik can read them, for instance /system/lib.
I may be way off the mark here, like I said this is just a guess. Maybe later if I get some time I'll grab the apk and try to do exactly what you're doing. I'll post back if I do.
Okay so I downloaded the launcher and had a look in the apk using root explorer and sure enough, found lib/armeabi/libSmaxEngine.so.
Try extracting that file and putting it in /system/lib. Root explorer gives me the option to extract the file, and I tried it on an xml file and got back a readable file, so that may be the easiest option for you. I think apktool would do it too but it's been a while since I used that.
If that doesn't work I'm sure there is a way to do it. I've never had this problem before so it's new to me.
Okay so I copied the apk to /system/app and copied the extracted .so to /system/lib (extracted it with root explorer).
I then uninstalled the downloaded version of mxhome and rebooted. It worked fine. No FCs.
Looks like that's your solution.