[APP][MOD] Galaxy Wearable patch for Samsung phones with custom ROMs
source link: https://forum.xda-developers.com/t/app-mod-galaxy-wearable-patch-for-samsung-phones-with-custom-roms.4208143/page-4#post-86717943
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
[APP][MOD] Galaxy Wearable patch for Samsung phones with custom ROMs
Thread starter
Start date
Can we update these after installing through the playstore?
Nope the signatures don't match. But the github repo has a wearable-wipe.sh script to make uninstalling the official apps easier.
Can we update these after installing through the playstore?
Thanks @adil192 for the reply. I have been trying to install the patched apks you have shared but I get the error of 'Unable to Install, Unexpected Error' every time. I have a Galaxy S3 Frontier watch and have installed Lineage OS 19.1 on my Galaxy S10e. Any help will be appreciated.
I need assistance with the gear s3plugin apk please.
Got it working..thanks
Hello, how were you able to get it to work. I keep getting the error on 'unable to install, unexpected error'
I get the error of 'Unable to Install, Unexpected Error' every time.
Which apk specifically gives you this error? Does the error happen with just one apk or with multiple? And have you ran the wearable-wipe.sh script / made sure to uninstall any pre-existing wearable apps?
Sorry for the missing details. The apks install if I do a fresh install (have not used the script, will check how to also as I am pretty much a newbie). Once installed when I am trying to connect my se frontier to the wearable app, it gets detected and then gives me the mentioned error. Very much appreciate your help here.Which apk specifically gives you this error? Does the error happen with just one apk or with multiple? And have you ran the wearable-wipe.sh script / made sure to uninstall any pre-existing wearable apps?
Once installed when I am trying to connect my se frontier to the wearable app, it gets detected and then gives me the mentioned error.
Sounds like you're missing the modded watch plugin. Have you installed the Gear S Plugin from https://adil.hanney.org/SamsungAppsPatcher ?
Sounds like you're missing the modded watch plugin. Have you installed the Gear S Plugin from https://adil.hanney.org/SamsungAppsPatcher ?
Hi Adil, attached screenshot of all the apks i tried. Tried 2 plugin apks
Hi Adil, attached screenshot of all the apks i tried. Tried 2 plugin apksView attachment 5568249
Those are the plugins for the Galaxy Watch and Galaxy Watch 3. Use the Gear S Plugin
Those are the plugins for the Galaxy Watch and Galaxy Watch 3. Use the Gear S Plugin
Thanks a lot! It works
Those are the plugins for the Galaxy Watch and Galaxy Watch 3. Use the Gear S Plugin
Would the Samsung health app connect to 3rd party apps like say Healthifyme??? It doesn't for me so wanted to check
Would the Samsung health app connect to 3rd party apps like say Healthifyme??? It doesn't for me so wanted to check
I've never used any 3rd party apps so I don't know, sorry
I've never used any 3rd party apps so I don't know, sorry
No worries. Thanks again for all the help
I have Galaxy Buds+ on a Pixel 2 XL
Heres how to do it the easy way...
Install Magisk
Enable MagiskHide in Magisk Manager settings
Tick all Samsung related apps in MagiskHide in Magisk Manager
Hide Magisk Manager
Reboot
Thats how i also have my Active 2 and Samsung Pay working
Not working
Well it wouldnt be as above as MagiskHide was removed from Magisk about 5 months ago....Not working
Might work with latest Magisk with Zygisk and Deny List (not enforced) + Shamiko (requires Deny List not enforced).....cant tell you as ive moved both phone and watch to later models
Thats the new equivalent and all i use for my S20+ 5G and Watch 4....
But as written it worked 100% with those exact devices, for about a year and a half...
Ive never used any of the files in this thread...everything on my phone and watch works.
Well it wouldnt be as above as MagiskHide was removed from Magisk about 5 months ago....
Might work with latest Magisk with Zygisk and Deny List (not enforced) + Shamiko (requires Deny List not enforced).....cant tell you as ive moved both phone and watch to later models
Thats the new equivalent and all i use for my S20+ 5G and Watch 4....
But as written it worked 100% with those exact devices, for about a year and a half...
Ive never used any of the files in this thread...everything on my phone and watch works.
Tnx for reply.
Unfortunately I haven't found a solution yet. It's annoying!
Grtz.
Top Liked Posts
-
Hello everyone,
Recently I have been experimenting with custom ROMs on my Samsung phone and was very unpleasantly surprised to find that Samsung does not allow my Galaxy Watch to be used with modded Samsung phone... Yeah, I know there's the option to replace manufacturer and brand in build.prop, however I don't like the idea of unnecessarily modifying the system just for a couple of proprietary apps, so instead I took the approach of patching the apps to make them work with the phone again.
All that needed to be done was patch manufacturer and brand to static string(s). Here's a command to do just that:Bash:find . -type f -name "*.smali" -exec sed -i 's/sget-object \(v\|p\)\(.\+\), Landroid\/os\/Build;->\(MANUFACTURER\|BRAND\):Ljava\/lang\/String;/const-string \1\2, \"letitbeheardthisphoneistobetreatedasifitwereofabranddifferentfromtheonestartingwiths\"/g' "{}" \;
You can (and probably should) do this yourself if you want to use the modified applications. Just decompile apks with apktool, apply the command in the directory with the apps content (it is necessary for Galaxy Wearable, Samsung Accessory and Galaxy Watch Plugin apps), and insert you own custom certificate into Galaxy Watch Plugin (attached patch - just replace the cert with your custom one). If you use Samsung Health, just replace the certificate string with hex-encoded certificate you used to sign the apps in the attached patch and apply it to the app. Then rebuild the apps and sign using the key whose certificate you just inserted into the apps.
Although you should never trust a random stranger on the internet with apps you install, I understand not everyone wants to go through this process themselves, so hereby I solemnly promise there is no malicious code inserted into the provided apks. And here's the link
App Versions:
Samsung Accessory (com.samsung.accessory): 3.1.94.11128
Galaxy Wearable (com.samsung.android.app.watchmanager): 2.2.42.21083061
Galaxy Watch PlugIn (com.samsung.android.geargplugin): 2.2.05.21042051
Samsung Health (com.sec.android.app.shealth): 6.18.7.005No idea what you're talking about. My watch works fine with my note 10+ using Dr ketan rom.Same with Alexis. I just hide it with magisk but it was working just fine before that.I own a s5neo with lineage 17.1 and I had the same problem as reported, galaxy wearable identified my phone as modified/rooted and exited. Using your apk I was able to launch the app but it fails to install the galaxy buds live plugin, only shows a message that failed to install.
I don't know how to do the patch and I would like to know if you can generate a patched apk for buds live plugin (https://play.google.com/store/apps/details?id=com.samsung.accessory.neobeanmgr&hl=en_GB)
thanks in advance
Heres how to do it the easy way...
Install Magisk
Enable MagiskHide in Magisk Manager settings
Tick all Samsung related apps in MagiskHide in Magisk Manager
Hide Magisk Manager
Reboot
Thats how i also have my Active 2 and Samsung Pay workingTo anyone coming across this post who wants to do this themselves, I've made a little guide and some tools here: https://github.com/adil192/SamsungAppsPatcher.
I've also attached the apks I've patched if you don't want to do it yourself (since the ones in OP didn't work for me) here: https://mega.nz/folder/sUFj2C5b#M4zEP-c9ylY-ENxPw7qCUQ. Like OP, I promise I haven't added malware in this.
Edit: I've somewhat automated the process now so if anyone wants me to patch another plugin, just @ me and I'll get it added as soon as possible.To anyone coming across this post who wants to do this themselves, I've made a little guide here: https://gist.github.com/adil192/ab95808fb66b6cde3d63ded6c19b0f1d. I've also attached the latest apps I've patched if you don't want to do that (since the ones in OP didn't work for me) here: https://mega.nz/folder/sUFj2C5b#M4zEP-c9ylY-ENxPw7qCUQ. This is tied to my name so I have no reason to add malicious code.I need assistance with the gear s3plugin apk please.
Got it working..thanks
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK