salvogiangri / KnoxPatch

LSPosed module to get Samsung apps/features working again in your rooted Galaxy device.
GNU General Public License v3.0
732 stars 29 forks source link

Enhancer can't make Watch OG setup possible #13

Closed AlperShal closed 1 year ago

AlperShal commented 1 year ago

I have setup Buds2 successfully but Galaxy Watch OG is not able to start the setup. I choose my watch from the list, they both show the same number, and after I confirm they both are the same, Wearable says Unable to install. Unexpected error. "Close App" "Contact Us".

salvogiangri commented 1 year ago

I need some system logs to understand what's happening in background. Have you also tried to clean the app data for the related apps/services? Some users solved their pairing issues that way. https://github.com/BlackMesa123/KnoxPatch/issues/4#issuecomment-1413643324

AlperShal commented 1 year ago

Yeah I have already tried clearing data of Wearable. Also Watch plugin doesn't show itself as a different application like Buds2 plugin and others. Another also, accessory service was not even installed. (Just switched to OneUI5, maybe they removed it with this version?) Installed it from apkmirror but still the same result.

AlperShal commented 1 year ago

Btw I forgot to ask. Which logs do you need to identify the problem? Logcat, Dropbox, etc.

salvogiangri commented 1 year ago

Use logcat to obtain system logs, run the command before trying to pair your device and interrupt it once you get the error.

AlperShal commented 1 year ago

logcat.txt (gave the error even earlier than the pairing -number match- screen)

logcat.txt (gave the error after pairing)

salvogiangri commented 1 year ago

I might be wrong (haven't looked deep at the logs you sent) but the error could be caused by this:

03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: handleDownloadCheckResult() result..
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: [Print XML result for StubAPI]====================================
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** signature : [null]
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** updateDescription : null
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** appId : com.samsung.android.geargplugin
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** contentSize : 0
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** resultCode : 0
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** downloadURI : [null]
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** versionName : 
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** versionCode : 
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** resultMsg : Couldn't find your app which matches requested conditions. Please check distributed conditions of your app like device, country, mcc, mnc, csc, api level
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ==================================================================
03-06 16:29:20.222 17917 18422 I tUHM:HostManagerUtilsRulesBTDevices: supportOSVersion() for [com.samsung.android.geargplugin]
03-06 16:29:20.223 17917 18422 I tUHM:HostManagerUtilsRulesBTDevices: supportOSVersion() result [0]
03-06 16:29:20.223 17917 18422 I tUHM:UpdateDownLoadURLTask: handleDownloadCheckResult() Total update Size 0 bytes (mErrorCode : NONE)
03-06 16:29:20.256 17917 17917 I tUHM:HostManagerUtils: folderExistsInPath(): result : false
03-06 16:29:20.258 17917 17917 I tUHM:HostManagerUtils: folderExistsInPath(): result : false
03-06 16:29:20.259 17917 17917 I tUHM:[Update]UpdateUtil: isTestMode4Update(): isTestMode : false, isTestModeForGalaxyStore : false
03-06 16:29:20.259 17917 17917 E tUHM:[Conn]HMConnectFragment: [ERROR]showInitialInstallFailDialog() failType : DOWNLOAD_URL_RESULT_INVALID

Looks like the Galaxy Watch PlugIn app can't be installed correctly, try downloading and installing the app manually.

AlperShal commented 1 year ago

I might be wrong (haven't looked deep at the logs you sent) but the error could be caused by this:

03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: handleDownloadCheckResult() result..
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: [Print XML result for StubAPI]====================================
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** signature : [null]
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** updateDescription : null
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** appId : com.samsung.android.geargplugin
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** contentSize : 0
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** resultCode : 0
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** downloadURI : [null]
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** versionName : 
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** versionCode : 
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ** resultMsg : Couldn't find your app which matches requested conditions. Please check distributed conditions of your app like device, country, mcc, mnc, csc, api level
03-06 16:29:20.221 17917 18422 I tUHM:UpdateDownLoadURLTask: ==================================================================
03-06 16:29:20.222 17917 18422 I tUHM:HostManagerUtilsRulesBTDevices: supportOSVersion() for [com.samsung.android.geargplugin]
03-06 16:29:20.223 17917 18422 I tUHM:HostManagerUtilsRulesBTDevices: supportOSVersion() result [0]
03-06 16:29:20.223 17917 18422 I tUHM:UpdateDownLoadURLTask: handleDownloadCheckResult() Total update Size 0 bytes (mErrorCode : NONE)
03-06 16:29:20.256 17917 17917 I tUHM:HostManagerUtils: folderExistsInPath(): result : false
03-06 16:29:20.258 17917 17917 I tUHM:HostManagerUtils: folderExistsInPath(): result : false
03-06 16:29:20.259 17917 17917 I tUHM:[Update]UpdateUtil: isTestMode4Update(): isTestMode : false, isTestModeForGalaxyStore : false
03-06 16:29:20.259 17917 17917 E tUHM:[Conn]HMConnectFragment: [ERROR]showInitialInstallFailDialog() failType : DOWNLOAD_URL_RESULT_INVALID

Looks like the Galaxy Watch PlugIn app can't be installed correctly, try downloading and installing the app manually.

Looks like you were right! Watch paired and setup successfully. Thank you for taking your time and your great work! Really appreciate it.

Edit from future, like 9 months later: Make sure to have all Galaxy Wearable, Samsung Accessory Service and Galaxy Watch Plugin installed. You have to have them all installed.

salvogiangri commented 1 year ago

Thank you for you support! Make sure the Galaxy Store app works fine in your end, if not there might be some third party mod that might be causing both this and the Galaxy Watch app issue.