Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Galaxy Watch4 Manager is crashing #9

Open
MarkusTieger opened this issue Jun 23, 2024 · 3 comments
Open

Galaxy Watch4 Manager is crashing #9

MarkusTieger opened this issue Jun 23, 2024 · 3 comments

Comments

@MarkusTieger
Copy link

MarkusTieger commented Jun 23, 2024

OS: LineageOS 21 (your unofficial build, latest version)
Device: Samsung Galaxy S10+ (beyond2lte)
GApps: Litegapps Lite (installed via Magisk. Also tested Nikgapps Core. same effect)

The Galaxy Watch4 Manager does crash when trying to pair a device.

I assume its because of the different app signature.

Interesting lines from the logs:

06-23 16:01:45.723 20572 20572 W WatchApi: com.google.android.gms.common.api.ApiException: 10: SecurityException: GoogleCertificatesRslt: not allowed: pkg=com.samsung.android.waterplugin, sha256=[95e539df7706f24044a67557e9b3124919aee26ff8679215a66684f2e78d1ef7], atk=false, ver=242213038.true (go/gsrlt)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.internal.ApiExceptionUtil.fromStatus(com.google.android.gms:play-services-base@@18.1.0:3)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.internal.zap.onComplete(com.google.android.gms:play-services-base@@18.1.0:4)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.BasePendingResult.zab(com.google.android.gms:play-services-base@@18.1.0:7)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.BasePendingResult.setResult(com.google.android.gms:play-services-base@@18.1.0:6)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.BaseImplementation$ApiMethodImpl.setFailedResult(com.google.android.gms:play-services-base@@18.1.0:5)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.zae.zae(com.google.android.gms:play-services-base@@18.1.0:3)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.zae.zaf(com.google.android.gms:play-services-base@@18.1.0:2)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.zabq.zaJ(com.google.android.gms:play-services-base@@18.1.0:2)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.zabq.zaL(com.google.android.gms:play-services-base@@18.1.0:2)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.zabq.zap(com.google.android.gms:play-services-base@@18.1.0:3)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at com.google.android.gms.common.api.internal.GoogleApiManager.handleMessage(com.google.android.gms:play-services-base@@18.1.0:64)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at android.os.Handler.dispatchMessage(Handler.java:103)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at android.os.Looper.loopOnce(Looper.java:232)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at android.os.Looper.loop(Looper.java:317)
06-23 16:01:45.723 20572 20572 W WatchApi: 	at android.os.HandlerThread.run(HandlerThread.java:68)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: Failed to get service from broker.
06-23 16:01:45.889 20572 20606 E GoogleApiManager: java.lang.SecurityException: com.samsung.android.waterplugin is not authorized
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3182)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Parcel.createException(Parcel.java:3166)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Parcel.readException(Parcel.java:3149)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Parcel.readException(Parcel.java:3091)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at com.google.android.gms.common.internal.zzac.getService(com.google.android.gms:play-services-basement@@18.1.0:9)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at com.google.android.gms.common.internal.BaseGmsClient.getRemoteService(com.google.android.gms:play-services-basement@@18.1.0:14)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at com.google.android.gms.common.api.internal.zabt.run(com.google.android.gms:play-services-base@@18.1.0:7)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Handler.handleCallback(Handler.java:959)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Handler.dispatchMessage(Handler.java:100)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Looper.loopOnce(Looper.java:232)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.Looper.loop(Looper.java:317)
06-23 16:01:45.889 20572 20606 E GoogleApiManager: 	at android.os.HandlerThread.run(HandlerThread.java:68)

The crash itself:

--------- beginning of crash
06-23 16:01:46.035 20572 20572 E AndroidRuntime: FATAL EXCEPTION: main
06-23 16:01:46.035 20572 20572 E AndroidRuntime: Process: com.samsung.android.waterplugin, PID: 20572
06-23 16:01:46.035 20572 20572 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/sec/android/app/CscFeature;
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.system.service.sdl.impl.SdlCscFeatureImpl.getString(SdlCscFeatureImpl.kt:39)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.system.service.sdl.impl.SdlCscFeatureImpl.<init>(SdlCscFeatureImpl.kt:18)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.system.service.sdl.impl.SdlSystemServiceImpl$cscFeature$2.invoke(SdlSystemServiceImpl.kt:10)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.system.service.sdl.impl.SdlSystemServiceImpl$cscFeature$2.invoke(SdlSystemServiceImpl.kt:7)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.system.service.sdl.impl.SdlSystemServiceImpl.getCscFeature(Unknown Source:2)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.system.service.sdl.impl.SdlSystemServiceImpl.getCscFeature(SdlSystemServiceImpl.kt:7)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.device.AppTracker.displaySystemService(AppTracker.kt:20)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule.provideSystemService(WeatherModule.kt:120)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule_ProvideSystemServiceFactory.provideSystemService(WeatherModule_ProvideSystemServiceFactory.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule_ProvideSystemServiceFactory.get(WeatherModule_ProvideSystemServiceFactory.java:37)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule_ProvideSystemServiceFactory.get(WeatherModule_ProvideSystemServiceFactory.java:14)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.database.di.DatabaseModule_ProvideDatabaseFactory.get(DatabaseModule_ProvideDatabaseFactory.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.database.di.DatabaseModule_ProvideDatabaseFactory.get(DatabaseModule_ProvideDatabaseFactory.java:16)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.database.di.DatabaseModule_ProvideSettingDaoFactory.get(DatabaseModule_ProvideSettingDaoFactory.java:33)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.database.di.DatabaseModule_ProvideSettingDaoFactory.get(DatabaseModule_ProvideSettingDaoFactory.java:13)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.companionapps.weather.di.LocalDataSourceModule_ProvideSettingObserveDataSourceFactory.get(LocalDataSourceModule_ProvideSettingObserveDataSourceFactory.java:42)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.companionapps.weather.di.LocalDataSourceModule_ProvideSettingObserveDataSourceFactory.get(LocalDataSourceModule_ProvideSettingObserveDataSourceFactory.java:15)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.data.di.DataModule_ProvideSettingsRepoFactory.get(DataModule_ProvideSettingsRepoFactory.java:43)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.data.di.DataModule_ProvideSettingsRepoFactory.get(DataModule_ProvideSettingsRepoFactory.java:15)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule_ProvideForecastProviderManagerFactory.get(WeatherModule_ProvideForecastProviderManagerFactory.java:69)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule_ProvideForecastProviderManagerFactory.get(WeatherModule_ProvideForecastProviderManagerFactory.java:21)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.data.di.DataSourceModule_ProvideWeatherRemoteDataSourceFactory.get(DataSourceModule_ProvideWeatherRemoteDataSourceFactory.java:68)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.data.di.DataSourceModule_ProvideWeatherRemoteDataSourceFactory.get(DataSourceModule_ProvideWeatherRemoteDataSourceFactory.java:20)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.data.di.DataModule_ProvideWeatherRepoFactory.get(DataModule_ProvideWeatherRepoFactory.java:53)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.weather.data.di.DataModule_ProvideWeatherRepoFactory.get(DataModule_ProvideWeatherRepoFactory.java:17)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule_ProvideCompanionConnectorFactory.get(WeatherModule_ProvideCompanionConnectorFactory.java:94)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.WeatherModule_ProvideCompanionConnectorFactory.get(WeatherModule_ProvideCompanionConnectorFactory.java:26)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.DaggerAppComponent$ConnectionReceiverSubcomponentImpl.injectConnectionReceiver(DaggerAppComponent.java:2407)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.DaggerAppComponent$ConnectionReceiverSubcomponentImpl.inject(DaggerAppComponent.java:2402)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.waterplugin.di.DaggerAppComponent$ConnectionReceiverSubcomponentImpl.inject(DaggerAppComponent.java:2388)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.android.DispatchingAndroidInjector.maybeInject(DispatchingAndroidInjector.java:113)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.android.DispatchingAndroidInjector.inject(DispatchingAndroidInjector.java:134)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.android.AndroidInjection.inject(AndroidInjection.java:181)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at dagger.android.AndroidInjection.inject(AndroidInjection.java:152)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.samsung.android.companionapps.weather.receiver.ConnectionReceiver.onReceive(ConnectionReceiver.kt:19)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4663)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2357)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:232)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:317)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8501)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
06-23 16:01:46.035 20572 20572 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.sec.android.app.CscFeature
06-23 16:01:46.035 20572 20572 E AndroidRuntime: 	... 55 more

Let me know if you need anything else.

@UnitTHK
Copy link

UnitTHK commented Aug 28, 2024

I'm having the same issue here, anyone got any suggestion?

@MarkusTieger
Copy link
Author

MarkusTieger commented Aug 28, 2024

I'm having the same issue here, anyone got any suggestion?

As a workaround there is this lsposed module: https://github.com/Simon1511/WearableSpoof (which allows the play store version to be used). But I would prefer to get rid of LSPosed.

@UnitTHK
Copy link

UnitTHK commented Aug 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants