Thank you for this. It works with my Xiaomi mi5. The problem is that i cant make any backup, the option is grayed out. And the Samsung Health app doesn't sync.... Any help would be much appreciated! Thanks
Hello guys,
For those who cannot sync their Gear with SHealth; try to install only the modded Samsung Gear application, without installing the modded Gear S Plugin, SHealth and Accessory Service. Go thru the pairing process and there is the chance that the modded Gear app will not fail and will download all the other ones after pairing. After that, install the SHealth app from the Store and see if it syncs.
I came across the not syncing issue and tried for several days to make them work on LeeDroid and ViperRom on my HTC 10 with all the modded apps but it did not work. But last night, I tried the above and now it syncs without any issues.
Hope it helps!
PS: Thank you @j to the 4n for spending the time to make our modded phones work with Samsungs "mistake".
..well, there also must be the fit2 app already installed then.Tried installing the Samsung Gear 2.2.17022862-resigned.apk on my Samsung Galaxy Note 4, which has a fresh install of Lineage OS 14.1 on it. App fails to install with error: The package conflicts with an existing package by the same name.
I don't have any Gear apps installed on this phone....
Edit: Disregard. I had some rogue Samsung apps that were installed from my backup. I uninstalled them and Samsung Gear installed with no problems!
---------- Post added at 05:25 PM ---------- Previous post was at 04:41 PM ----------
Ok, need the Gear Fit2 plugin. Did not see that in your Google Drive...
Just to clarify, the Gear Fit2 plugin will not install from the Play Store, says it is incompatible with my device. I downloaded the apk from another site and tried to side load it, but it gave me a "The package conflicts with an existing package by the same name" error. Frustrating!
..well, there also must be the fit2 app already installed then.
@j to the 4n Do you only provide updates from PlayStore or from apkmirror, too?
Because it looks like Samsung releases updates now in the Gear app itself, not in PlayStore.
https://www.apkmirror.com/apk/samsu...msung-gear-2-2-17082261-android-apk-download/
Wow thanks, that was fast.
Wow thanks, that was fast.
Unfortunately I can't install it and I don't know if it's a problem with the app or something else on my side.
If I try to install it, I get the message "App not installed. The package appears to be corrupted."
Sent from my HTC 10 using XDA Labs
nope, sth is messed up.
will check.
Edit: check the new version
Yes, it's working now. Thank you.
But I'm still a bit confused, because it still shows me an update inside the app...
Edit: Okay, the update button is for gear s plugin. But after updating, the plugin crashes every few seconds.
So I deinstalled every samsung app and reinstalled all latest versions. Resetted my watch and configured it. Everything was fine, until I finisehd the configuration. Now the plugin starts crashing again.
I made a logcat, maybe you can have a look at it @j to the 4n
Process: com.samsung.android.gearoplugin, PID: 4463
java.lang.RuntimeException: java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings.
at com.samsung.android.sdk.accessory.SASocket$3$1.run(SASocket.java:546)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
[B][COLOR="Red"]Caused by: java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings[/COLOR][/B].
Code:Process: com.samsung.android.gearoplugin, PID: 4463 java.lang.RuntimeException: java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings. at com.samsung.android.sdk.accessory.SASocket$3$1.run(SASocket.java:546) at android.os.Handler.handleCallback(Handler.java) at android.os.Handler.dispatchMessage(Handler.java) at android.os.Looper.loop(Looper.java) at android.app.ActivityThread.main(ActivityThread.java) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java) [B][COLOR="Red"]Caused by: java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings[/COLOR][/B].
Nothing I can do about.
Just system apps are allowed to do that.
you could move com.samsung.android.gearoplugin to /system that should fix the issue.
That's why you don't buy ****sungI made a quick Magisk module and moved all relevant apps to /system. But Gear S Plugin is still crashing
Thanks for the reply. I wish it were that simple, but I verified that there is/was no Fit2 plugin app installed.
The Fit2 plugin app is conflicting with your Gear app. I uninstalled your Gear app and the Fit2 plugin app installed with no issues. However, now your Gear app won't install with the same conflict message. I believe that it is either a signature conflict or there is a file shared between the two apps.
UPDATE
There is a new Gear S Plugin update available in PlayStore. They fixed the crashes, everything is working now.
Looks like even the modded gear app is not needed anymore. But I will check this later.
Sent from my HTC 10 using XDA Labs
Can confirm, updated to the latest Gear S Plugin and latest unmodded Gear App and everything is working properly on my HTC 10.
Gear App 2.2.17022862
Gear S Plugin 2.2.03.17101142N
-27 21:10:15.357 E/AndroidRuntime(6044): FATAL EXCEPTION: main
11-27 21:10:15.357 E/AndroidRuntime(6044): Process: com.samsung.android.app.watchmanager, PID: 6044
11-27 21:10:15.357 E/AndroidRuntime(6044): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/samsung/android/feature/FloatingFeature;
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.samsung.android.app.watchmanager.sdllibrary.FloatingFeature.getEnableStatus(FloatingFeature.java:11)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.samsung.android.app.twatchmanager.log.LoggerUtil$Builder.<clinit>(LoggerUtil.java:95)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.samsung.android.app.twatchmanager.util.HostManagerUtils.startPluginActivity(HostManagerUtils.java:551)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.samsung.android.app.watchmanager.setupwizard.HMConnectFragment.callPluginActivity(HMConnectFragment.java:377)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.samsung.android.app.watchmanager.setupwizard.HMConnectFragment.callPluginActivityWithDelay(HMConnectFragment.java:365)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.samsung.android.app.watchmanager.setupwizard.HMConnectFragment.access$200(HMConnectFragment.java:67)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.samsung.android.app.watchmanager.setupwizard.HMConnectFragment$1.handleMessage(HMConnectFragment.java:315)
11-27 21:10:15.357 E/AndroidRuntime(6044): at android.os.Handler.dispatchMessage(Handler.java)
11-27 21:10:15.357 E/AndroidRuntime(6044): at android.os.Looper.loop(Looper.java)
11-27 21:10:15.357 E/AndroidRuntime(6044): at android.app.ActivityThread.main(ActivityThread.java)
11-27 21:10:15.357 E/AndroidRuntime(6044): at java.lang.reflect.Method.invoke(Native Method)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
11-27 21:10:15.357 E/AndroidRuntime(6044): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
11-27 21:10:15.357 E/AndroidRuntime(6044): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.samsung.android.feature.FloatingFeature" on path: DexPathList[[zip file "/data/app/com.samsung.android.app.watchmanager-1/base.apk"],nativeLibraryDirectories=[/data/app/com.samsung.android.app.watchmanager-1/lib/arm64, /system/fake-libs64, /data/app/com.samsung.android.app.watchmanager-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
11-27 21:10:15.357 E/AndroidRuntime(6044): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
11-27 21:10:15.357 E/AndroidRuntime(6044): at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
11-27 21:10:15.357 E/AndroidRuntime(6044): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
11-27 21:10:15.357 E/AndroidRuntime(6044): ... 13 more
.method public static isSamsungDevice()Z
.locals 1
invoke-static {}, Lcom/samsung/android/app/twatchmanager/TWatchManagerApplication;->getAppContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/samsung/android/app/twatchmanager/util/InstallationUtils;->hasInstallPermission(Landroid/content/Context;)Z
move-result v0
return v0
.end method
.method static constructor <clinit>()V
.locals 2
invoke-static {}, Lcom/samsung/android/app/twatchmanager/util/HostManagerUtils;->isSamsungDevice()Z
move-result v0
if-eqz v0, :cond_0
invoke-static {}, Lcom/samsung/android/app/twatchmanager/util/FloatingFeatureFactory;->get()Lcom/samsung/android/app/watchmanager/libinterface/FloatingFeatureInterface;
move-result-object v0
const-string v1, "SEC_FLOATING_FEATURE_CONTEXTSERVICE_ENABLE_SURVEY_MODE"
[COLOR="red"]invoke-interface {v0, v1}, Lcom/samsung/android/app/watchmanager/libinterface/FloatingFeatureInterface;->getEnableStatus(Ljava/lang/String;)Z[/COLOR]
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x1
:goto_0
sput-boolean v0, Lcom/samsung/android/app/twatchmanager/log/LoggerUtil$Builder;->SUPPORT_LOGGING:Z
return-void
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method public getEnableStatus(Ljava/lang/String;)Z
.locals 1
invoke-static {}, Lcom/samsung/android/feature/FloatingFeature;->getInstance()Lcom/samsung/android/feature/FloatingFeature;
move-result-object v0
[COLOR="red"]invoke-virtual {v0, p1}, Lcom/samsung/android/feature/FloatingFeature;->getEnableStatus(Ljava/lang/String;)Z[/COLOR]
move-result v0
return v0
.end method
.method public static isSamsungDevice()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
[B]Update 06.09.17[/B]
Samsung Gear to fix custom binary message on samsung devices
Gear S Plugin 2.2.03.17061361
Samsung Health 5.12.0.025
[B]Update 30.06.17[/B]
Accessory Service 3.1.51.70612
Gear S Plugin 2.2.03.17041441N
Samsung Health 5.9.1.003
[B]Update 02.04.17[/B]
Accessory Service 3.1.39_170322
[B]Update 01.04.17[/B]
Samsung Gear 2.2.17022862
Gear S Plugin v2.2.03.17032442N
[B]Update 08.02.17[/B]
Added modifications to new [URL="http://www.tizenexperts.com/2017/01/samsung-gear-manager-application-gear-smartwatches-updated-2-2-16121661/?utm_content=buffer51605&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer"]Gear App 2.2.16121661[/URL]
[B]Update 03.02.17[/B]
The installation issue some people were having seems to got resolved by signing the Gear S Plugin and Samsung Accessory Service with the same signature as the resigned Gear App.
All three files are uploaded on Google Drive now (xda does not allow zips > 20mb, and no single apks > 8MB)
Cool, the for the feedback.Can confirm, updated to the latest Gear S Plugin and latest unmodded Gear App and everything is working properly on my HTC 10.
Gear App 2.2.17022862
Gear S Plugin 2.2.03.17101142N
hi @j to the 4n
i was using ur samsung gear s3 fix app found @ hub in viper rom until yesterday. from yesterday i cant seem to connect it....what i mean is phone is connected to samsung gear s3 via bluetooth... but when i log into samsung gear app , i cant connect it. so basically i cant do anything. i mean changing watchface, upgrading apps , nothing.
i got a logcat 4 u. i dont know if this wil help . let me know if u need more information.. ur help will be highly appriciated
https://www.dropbox.com/s/khjg867retjfdjt/report_2017-02-17-12-39-48.zip?dl=0