yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Watch 4] Dante63:
If you have an antivirus on your phone, it might have stripped the signature, making the app signature mismatch with what is installed on your device, or, you installed a previous version with stripped signature and now you're installing the app with valid signature...

Conclusion, signature mismatch, make the phone signature match the apk or the apk signature match the phone...

Check the signature of what is installed and check the signature of the downloaded apk and see what is going on...

Bug in IHRN implementation, I'm thinking of a way to restart the service whenever it gets killed
[Samsung Galaxy Watch 4] dmoney98:
Hi. I hate to take up your time, but how do Iook at app signatures? I also deleted the old mod app and tried to install the new mod app and it still didn't install. Attached is a picture of my old mod app.
[Samsung Galaxy Watch 4] Dante63:
If it didn't uninstall then the app you downloaded has no signature, and this is not how you check signature, use a tool like Apk Analyzer from Playstore...

In certificate, you should find something similar, this is the signature...

Also, where are you downloading from...? Shm mod companion...?
[Samsung Galaxy Watch 4] dmoney98:
Hi. This is the current app certificate I have fot the app installed.
[Samsung Galaxy Watch 4] Dante63:
Compare it with the apk you want to install
[Samsung Galaxy Watch 4] jun_86:
I am posting this using translations, so sorry if some parts are hard to understand.

I am using Android 14 on a Pixel 6a.

I connected to my Galaxy Watch5 using SHM MOD Companion version 4.6.0, but "SELECT APK" in the Sideload APK file is grayed out and cannot be selected.

I rebooted the Pixel6a and GalaxyWatch5, but the situation did not change.
[Samsung Galaxy Watch 4] dmoney98:
That's the problem, I cannot download Nov 11 mod app

I am unable to download the Nov 11 mod. It says "failure to download ". I cannot install directly, I get the package conflict issue. I deleted the Jul mod. I re-downloaded and installed it with issues. It's just the Nov 11 A9.phone mod, I am having an issue with.

Update.

So I am able to app analyze both apps. The red. Is what's installed on the phone, and the blue is Nov 11 mod from your Google drive. They appear to be the same.
[Samsung Galaxy Watch 4] Dante63:
No icons, possible corrupted apk?

Are you downloading from Google drive directly? Or shm mod companion?
[Samsung Galaxy Watch 4] Dante63:
Tap on help, you need to understand how wireless debugging work...

Alternatively watch:
[Samsung Galaxy Watch 4] dmoney98:
I am trying to download from the Google Drive.
[Samsung Galaxy Watch 4] Dante63:
Try downloading from shm mod companion, it's a direct API to Google drive and Cloudflare CDNs...

And it ensures your download is not corrupted...
[Samsung Galaxy Watch 4] dmoney98:
Thanks for your patience. I tried to use the companion app to download and install the phone mod app. The app downloaded fine, but the install failed with the package conflict error. Steps are in screen shots. Thanks.
[Samsung Galaxy Watch 4] Dante63:
If your BP is already synced to cloud, Export your ECG data, go into ECG tab, 3 dots, download...

Uninstall the old apk and install the new one...

You can convert your Excel ECG into PDF on PC browser:

https://shm-ecg-excel-to-pdf.work
[Samsung Galaxy Watch 4] TechnoHippie:
When I use the phone app to update to the new watch up -- when I click "download" it's downloading the older version not the newest one. Suggestions?
[Samsung Galaxy Watch 4] Dante63:
I just tested, I can see watch 1.2.2.005 being downloaded... if you're opening link in browser, refresh, you're probably downloading cached files
[Samsung Galaxy Watch 4] AkoreJepade:
Is this what my GW5 should have installed at this time?:
[Samsung Galaxy Watch 4] Dante63:
1.2.2.005 is avaliable for download
[Samsung Galaxy Watch 4] AkoreJepade:
My GW5 never pops up with the "allow incoming connections" ?

I can pair the watch under Wireless Debugging but that is as far as it will let me go?
[Samsung Galaxy Watch 4] badabing2003:
Just to be clear in case it wasn't, it's a two step process, first you pair, and then you connect.

And the port changes between the two operations.

But once you pair, future connection don't require pairing again.
[Samsung Galaxy Watch 4] Dante63:
I can't wait to release the network discovery, it will help greatly automating things, it wouldn't be as fast as manually entering IP, Port and pairing... but it guarantees the connection to happen...
[Samsung Galaxy Watch 4] AkoreJepade:
Is the port number I use to connect (after I pair) the 5555 port? I still never get the "allow incoming connections" on my watch even if I Revoke debugging auth ?
[Samsung Galaxy Watch 4] Dante63:
5555 is no longer used, Google removed Debug over Wi-Fi, it's now wireless debugging, when you open it, you'll see IP and port number, if you can't connect, then your pair a new device in which you see IP, Port and Pairing code... once Pairing is successful, you're back to Wireless debugging with IP and Port on your watch, refer to the YouTube video, skip to chapter Wireless debugging...
[Samsung Galaxy Watch 4] AkoreJepade:
Thank you! The video on YouTube worked perfect! 1.2.2.005 is intalled! :cool:
[Samsung Galaxy Watch 4] Dante63:
I have 2 updates to announce...

* First:

* Second:

That's all everyone, have a good day...

If you have any concerns or find any issues, feel free to reach me...
[Samsung Galaxy Watch 4] Dante63:
I'm going to post here what shm mod companion will be getting as another major feature (which will be included in the GeminiMan WearOS Manager as well)

It's being tested for bugs and stability, although I feel confident about it, I should be patient and only release it when I have many testers saying it worked as Wi-Fi and hotspot...
[Samsung Galaxy Watch 4] coolbvwes:
what for me helps when IHRN is not working anymoreafter a couple days. i just disable and enable the option in samsung health monitor on the phone and its working again?
[Samsung Galaxy Watch 4] Dante63:
Correct, and when I have time, I'll either inject a code of my own into shm mod to check for the service and restart it automatically or put it inside shm mod companion, depends on how hard it is...
[Samsung Galaxy Watch 4] Dante63:
SHM MOD Companion 5.0.0

Major Feature - Network Discovery...
[Samsung Galaxy Watch 4] Dante63:
My watch6 got updated, the update had SHM 1.2.3.001, Here is a summary of watch SHM 1.2.3.001:

* There is nothing new but function enable component and disable component for BP Tile, from what I am seeing, 1.2.2.005 does not have any control over BP tile, my guess, BP Tile is visible for non-supported regions, they fixed it in 1.2.3.00...

Everything else is identical... I wouldn't waste my time patching this, instead I'd just change version 1.2.2.005 to 1.2.3.001 since identical...
[Samsung Galaxy Watch 4] Dante63:
On the other hand, I pushed Another update to the website SHM ECG Excel to PDF...

https://shm-ecg-excel-to-pdf.work

It is now possible to see the PDF report of SHM Excel file on your phone, I tried my best to make as friendly as possible, and you can also export and save the PDF on your phone, it should not show any issues (Previously, you need to use PC Browser)...

If you notice any issues, do let me know and I'll fix them...

But this website tool may have reached the best stable form...

I hope this would be of use to you all ♡
[Samsung Galaxy Watch 4] M4Master96:
Hi @Dante63,

Thanks for the update, I updated the app via wireless debugging on my watch6 and via cable on my s23 ultra.

I am not sure what might have caused this but after updating mod shm on my watch6 (non-lte), the app has started using quite a lot of battery/power, even when the watch is not worn..

I used to get at least 3 day backup with v1.2.1.009 when the watch isn't used (power saving ON all the time, no wifi/nfc, watch worn only for 30-40 mins per day with BT enabled, BT disabled otherwise). But with v1.2.2.005, it has gone down to approx 2 days 6hrs (around 15-18 hrs gap), when used similarly.

Battery stats show that SHM app is using 25% of the battery, even when the watch is resting on the table for 23hrs or so.

Could you please suggest what should be done from my side to check/debug further ?

adb, etc etc is already off, auto wifi while charging too is turned off and have no games/background-apps installed as well.
[Samsung Galaxy Watch 4] Dante63:
Uninstall it and install it again, I suspect data corruption happened in the app and this causes function to be in a deadlock, constantly looping draining the battery...
[Samsung Galaxy Watch 4] M4Master96:
Thanks, will try to do that

btw, does the companion app do the same thing i.e. uninstall and then install ?
[Samsung Galaxy Watch 4] Dante63:
To uninstall, long press the app on your watch (just like the phone) and you'll see uninstall...

Companion is only for installation
[Samsung Galaxy Watch 4] M4Master96:
Thanks for the suggestion.. didn't knew "data corruption" could cause this... will see and will let you know. Uninstalled as soon as I saw your reply (Settings -> App -> Clear app data and then uninstall)

To give you some comparison, with app installed, battery was going down from 100% to 85% in 8hrs but after uninstalling yesterday, it went down only to 95% from 100% (watch was on table in both testing).. so the app actually was the battery hogger for me

Have fresh installed `Watch.SHM.MOD.1.2.2.005.dante63.apk` today, will see how the battery performs..

What I meant to ask was "whether companion app too uninstalls previous version before installing new one to prevent such data corruption scenarios"
[Samsung Galaxy Watch 4] Dante63:
Companion installs and updates, but does not uninstall anything...

As shm mod shouldn't even be visible in battery stats, and if you see it, it should be less than 1%...

It rarely happens, and it can happen to any app, usually OS would handle it by putting it to sleep but on Watch, there is no such function, so it would end up as a deadlock state, it just loops...
[Samsung Galaxy Watch 4] darblack:
I try to activate Samsung Health but it won't let me. I repeatedly hit the version number but nothing happens. The folder with the file is created but it not works. On my old phone I was able to do it without problems, I have changed equipment for a pixel 8 Pro. What else could I do?
[Samsung Galaxy Watch 4] M4Master96:
Clean installing seems to have reduced battery usage, Thanks!

Installed fresh yesterday and calibrated again. App usage went down to 1.7%, battery was declining around 1%/hr while on desk (which seems normal with Power saving enabled).
[Samsung Galaxy Watch 4] Dante63:
Samsung Health and Samsung Health Monitor have identical About layout, make sure you tap Samsung Health version...

Feel free to share a screenshot..
[Samsung Galaxy Watch 4] darblack:
Sorry but you were absolutely right, I used the wrong app. I was able to activate it. Thanks
[Samsung Galaxy Watch 4] rathian:
Updated phone app to latest and watch app via wireless and all without companion app.. no issues encountered so far..
[Samsung Galaxy Watch 4] chris_ebah:
Hello,

After enabling the Wireless Debug and adding the correct addres and port number nothing pop ups on my watch.

Tried different apps however no pop ups.

Maybe it's beacuse I'm running One UI 5.0 on my watch?

Seen on some other videos and forums that the working version was 4.5 and below.

Thanks!
[Samsung Galaxy Watch 4] chris_ebah:
Sorry for the fuss, managed to solve that and both apps are now installed and working.

Thanks again for your apks and effort!
[Samsung Galaxy Watch 4] Dante63:
No worries, I was a bit confused when you said messages about pop ups on watch because I should have removed those messages from everywhere unless someone inputs port as 5555...
[Samsung Galaxy Watch 4] Dante63:
SHM MOD Patches...

It's normal for people to make mistakes, we are human beings and I want people to never feel bad about making such mistakes, I say this because some whom I told they are using the wrong app, they felt bad, so please don't feel bad, I am always happy to help...

Have a wonderful day ♡
[Samsung Galaxy Watch 4] Pierrot94200:
Hello,

Thanks for the hard work, it look very good.

I have a phone without internet access. Can I still use the modded app and see the health information from the watch?

Thanks!
[Samsung Galaxy Watch 4] Dante63:
As long you are able to install the necessary apps (wearable and plugin) to pair your watch, and download and install shm mod watch and phone, internet is not required afterwards...
[Samsung Galaxy Watch 4] HTCore:
I'm getting error "Exit code 1: The command failed to execute due to an error or exception." when I'm trying to install SHM MOD on my watch. The Watch companion app was installed with no issue whatsoever.

Methods I tried: Install SHM MOD first, then the companion app, and vise versa, removed/restored stock SHM before/after each try, completely removing all three and start all over again. In between, I restarted my watch and phone several times, probably after each method I tried!

I'm using Galaxy Watch 4 and started the procedure after a FACTORY RESET (for other reasons) with minimal apps installed. I'm trying SHM MOD for first time

A search here didn't give me much info, only one comment, and you suspected the file might be corrupted.

I downloaded the file with 3 different sources but still same issue; download using the phone Companion app, direct download with provided link with my phone browser and then downloading it with my pc and push it to the folder.

The only thing I haven't tried yet, is to try an older version, but I'm not sure if I need to match PHONE SHM MOD with it, if watch and phone MOD version mismatch is a thing.

What I'm missing here? Your help would be really appreciated.
[Samsung Galaxy Watch 4] Dante63:
Let me push an update to companion that prints detailed error and we will know why you're having an error...

This is something I should've done but I forgot about because of being busy, so bare with me, I'll help you out...

You may install older version, but not older than 1.2.1.009...

There is no version mismatch, but you may encounter instability (rare but possible)
[Samsung Galaxy Watch 4] Aries25au:
Just wondering if anyone else is having the same problem as me/

I get a message in SHM Mod that SHM Tizen has found a Patch#2 update. I tap the download and it installs/updates Samsung Health, yet when I refresh it still continually shows that the patch #2 needs updating.

I am using a Galaxy Note 10 with a Samsung Active 2. the version of the SHM TIZEN MOD Version is Version; 1.2.2.005

Am I missing something or what can/could the problem be?

Many thanks in advance
[Samsung Galaxy Watch 4] luciferqw:
Hi, I did every step right and when i enter the companion app on my phone it says Companion app not found on phone and SHM doesnt find any watch, a fix?
[Samsung Galaxy Watch 4] YajiroQ:
Buenas, he seguido el vídeo de Youtube donde te manda a su Drive para descargar las 2 app modificadas. Puedo descargar e instalar bien la del móvil, pero cuando intento descargar la del reloj, no me da la opción de descargar, sino de actualizar. Así que actualiza la que tengo instalada en el móvil, pero no tengo la app para instalarla en el reloj. Cómo podría hacerlo ? Muchas gracias !
[Samsung Galaxy Watch 4] Dante63:
Shm mod companion -> watch tab, download and install the apps from there, and when I say install on your watch, I mean sideload them and not installing them on the phone, if you get lost, watch the video again how I install apps on the watch...

~~~

Compañero de mod Shm -> pestaña Ver, descarga e instala las aplicaciones desde allí, y cuando digo instalar en tu reloj, me refiero a descargarlas y no instalarlas en el teléfono, si te pierdes, mira el video nuevamente sobre cómo instalo aplicaciones. en el reloj...
[Samsung Galaxy Watch 4] HTCore:
Great, thank you!

I tried two older versions (1.2.2.005 and 1.2.1.009) and still got the same error, so I will wait for the update, no rush.
[Samsung Galaxy Watch 4] Dante63:
Done, SHM MOD Companion 5.2.6 will print the adb error (should, i did not test it fully) so please let me know...
[Samsung Galaxy Watch 4] Ziomek64:
Thank you so much for this guide. My mom got herself watch for cheap and this was the only way to have those features on. Samsung is insane for limiting it for galaxy phones
[Samsung Galaxy Watch 4] AkoreJepade:
Everything updated perfectly! Thank you for the updates! I do have two quick question... on my GW5 the Sleep mode which they now combine with "Theater and Work" modes seems slow to activate and hard to turn off in the morning, anyone else see this? Also in Samsung Health the "Sleep coaching" keeps coming back even after I remove it with "Edit home" ... anyone find a way to permanently remove it?
[Samsung Galaxy Watch 4] Dante63:
The sleep couching, you'll need to accept that bug as a feature, every day i have a new animal lol, and turning it off comes back on...

Just enjoy how cute animals are...
[Samsung Galaxy Watch 4] iamronin:
I must be probably one of those unlucky ones. I have used your app before but had to change Phones and regardless of whatever I do, My watch remains offline during wifi debugging. I have changed wifi connections, reset the watch, used your adb tool, used easy tools etc followed a lot of online tutorials but the watch connects and stubbornly remains offline. I have ran out of ideas honestly and any pointers would be helpful. I have a feeling this is something from the watch side that is preventing wifi debugging from working.
[Samsung Galaxy Watch 4] Dante63:
Pairing, that's the issue...

Watch is offline because unauthorized...

So pair then connect with wireless debugging...
[Samsung Galaxy Watch 4] iamronin:
Used your tool to pair, used adb pair command too.....it simply says connected but adb devices command says it's offline.
[Samsung Galaxy Watch 4] Dante63:
Use network discovery for pairing and connecting, try that
[Samsung Galaxy Watch 4] iamronin:
Will surely try. Thanks so much
[Samsung Galaxy Watch 4] MustangLife03:
Thank you, I did in fact have the wrong ECG tile in use. They look the same and I thought it was just a duplicate of the other. So if anyone else has this problem one will say "Record" and one will say "Learn More"

Thank you for everything over the years, you have been a godsend to the Galaxy Watch owners out there
[Samsung Galaxy Watch 4] fcaminab:
Ahora funciona de maravilla. Gracias
[Samsung Galaxy Watch 4] graceradish:
I'm trying to install SHM mod on a Galaxy Watch4 and can't connect to the watch using Wireless Debugging. I've followed the video tutorial (and the app guide FWIW) but I keep getting a ping timeout. I've been trying to connect manually, and then tried to use Network Discovery. One thing I notice with the latter is that the IP subnet entry for scanning differs from the the subnet the watch displays for Wireless Debugging (192.168.43.x vs the watch's 192.168.213.x). Is that why I'm not able to connect?

I'm not sure what else to do at this point honestly. I've tried restarting the phone and watch a few times but it's not helping. Also having a hard time finding help via search here.
[Samsung Galaxy Watch 4] graceradish:
Ok after another round of restarts, the subnet switched back to 43. But using network discovery, while it finds an IP, it displays a different one from the Wireless Debugging pair screen. The port it finds also doesn't match.

Edit: To be clear, there's only one device connected to the hotspot, and the watch says its connected to my phone's hotspot wifi
[Samsung Galaxy Watch 4] Dante63:
One drawback of wireless debugging is not knowing what network the watch connected to, so what I usually do is first connect to the Wi-Fi I want and then go to wireless debugging, turn it on and it should stay on same network...

You either enter wireless debugging manually or choose Network Discovery, if you go for network discovery, you choose the Wi-Fi type and if you need to pair, provide the pairing code... start the scan, you will be provided with drop down list to select your watch IP, if you can't find your watch, scan again (you can also turn off the hotspot and turn it on again - same thing for wireless debugging, on and off)...
[Samsung Galaxy Watch 4] graceradish:
Thanks for the fast reply! Yes I have done those things, I connect to wifi first and then go to wireless debugging. If I connect manually, I get a ping timeout. If I choose network discovery, the IP that is found is different from what the watch reports. The port is also different. The discovery connection fails as well.

FWIW the IP found during discovery is consistently different, it always finds the same wrong IP: the watch says 192.168.43.124 and the companion finds 192.168.43.176 via discovery. There's only 1 device connected to my hotspot and the watch says connected to the hotspot, so I'm quite sure that device is my watch. But there's a mismatch between the stated IP on the watch display vs what network discovery finds.

And of course manual connection times out.

I tried debug over wifi as well, that also fails.
[Samsung Galaxy Watch 4] graceradish:
One thing worth reporting is that the port scanning during network discovery often doesn't seem to go high enough before it fails. The watch pairing screen will be in the 40ks but the port scanning will stop at 25k or something like that.
[Samsung Galaxy Watch 4] Dante63:
Port scanning obtains only 2 ports and stops, one port is for connecting and the other is for pairing...

Can you share a video of what you are doing, it would be very helpful for me to understand what is happening, you can share it via DM if you don't want to share publicly here...
[Samsung Galaxy Watch 4] graceradish:
Ah shoot, I should have at least taken a couple pics, sorry. I actually was able to install the apk via my computer connecting to my phone hotspot and it worked right away via adb connect and enabling debug over wifi on the watch. So I guess the issue is specific to the companion app. 🤷‍♂️
[Samsung Galaxy Watch 4] Dante63:
The fact you say debug over Wi-Fi indicates old watch firmware because Google pushed update and removed debug over Wi-Fi, there is no port 5555 anymore...

Network Discovery is only for wireless debugging, it will not work with port 5555...

So on companion you just enter the IP and port as 5555 and connect...

If you ever wish to try again with the companion or if you update your watch in the future and no longer have debug over Wi-Fi, feel free to try Network Discovery and reaching me
[Samsung Galaxy Watch 4] HTCore:
I'm sorry for not getting back to you sooner, I finally got a chance to try it again. I've attached two screenshots. I believe the one with "...Performing Streamed Install..." line is the main cause. The second screenshot happened only once, and phone was disconnected soon after that, but thought worth to attach;
[Samsung Galaxy Watch 4] Dante63:
I don't see any disconnection but I can't really tell much why this is happening, it could be corrupted apk (which i should consider adding checksum in next update for companion)

Or Wi-Fi was interrupted during installation, either from phone or watch...

Just to be sure, you are installing from downloading/shm mod companion folder, yes?
[Samsung Galaxy Watch 4] graceradish:
Thanks for letting me know! I've wanted to keep it isolated from internet access until I harden my phone and finish the mod, so that makes sense.
[Samsung Galaxy Watch 4] HTCore:
I don't think disconnection is the culprit, I tried to install it more than 20 times minimum and 90% of times, it stayed connected after the error. Also watch mod companion installs just fine!

I'm 99% sure the file isn't corrupted, but checksum would be great, just to make sure.

This is the exact path \sdcard\Download\SHM_MOD_Companion\

I think the companion app created the folder, because I usually don't use upper case to create a folder.

Do you think another factory reset would help? Or it's a waste of time.
[Samsung Galaxy Watch 4] Dante63:
Give me some time to implement the checksum...