Looks like the trio (dust or dirt or oil) trapped and interfering with the readings, turn off the watch, wash it under warm water, gently push the top button (that's ecg probe) after that dry it with tissue and leave it to dry even more on its own, once you feel it's dry, power it on and take another measurement and you'll see things seem normal, the probe is very sensitive...Yup like seriously abnormal...you have to touch the button just so it works. Annoying.
Attached example.
View attachment 5412447
Could you provide a video of what you mean because I didn't understand well what you're trying to say, sorryI have strange problem. Can't go through profile creation on SHM(moded) on phone.
Huawei p10 lite and GW 4 lte.
1.Moded phone apk instaled on phone-no probs.
2.Moded watch apk instaled through phone(Bugjaer)-no probs.
-on watch I open icon with "M", then open EKG and when scroll down only option is "open SHM on phone"
-on phone SHM(moded) ask for create profile and keep spin blue cyrcle, then stops. Nothing. Cant open next window.
If i disconnect phone from Galaxy Wearable, SHM(moded) alow me to create profile and pass through. Then i connect phone and its wisible in both SHM and Wearable.
I read screen with tutorial how measure EKG, where is watch on left or right hand and when all is done message say "open app on watch". Open it on watch -and we go to point one SHM start with "create profile" and not go
further.
Like SHM on watch and phone not see each other.
Sorry for big post.
Still investigating the apps but when I get my watch4, I'll have a better understanding of what needs to be done...Awesome Work @Dante63 much appreciated
Just missing the SPo2 widget and App but I think that's an Africa region issue.
You tried this with ADB?Hi, I'm a watch 4 classic user in Taiwan, we can use SpO2, but cannot use body composition. SpO2 and BIA is samsung health's feature so maybe there's some connection between hack these two. I can provide the apk pull from watch, but that apk cannot even install back to my watch(even remove the old one). I think these country only modded the installed samsung health app without the whole system, so the orginal apk in watch cannot be installed(the way I pull is find the apk path, maybe is not the right way). In these case, maybe pull out the apk is useless(which is original ver.).
Did someone test about pull out apk and install it? If it works in countries that don't limit these two feature, then what I guess is right.
Thanks all
yes, when install apk , it failed with error code 3001, reject by buildtype
That's what I was thinking, each region has a different app version and you can't sideload from a different watch,but hopefully when I have my watch, I will be able to do more investigation and fix ityes, when install apk , it failed with error code 3001, reject by buildtype
That's a very odd behavior ...Video for my problem-cannot create profile in SHM(mod version).
https://streamable.com/eog027
Maybe because its Huawei phone and first pair is done through Samsung Health -accessories.
By any chance, do you you have the Original SHM installed too?Dear @Dante63, thank you very much for your work. Really happy if I would use the BP and ECG on my Watch4 and my phone (Samsung Note 10+ non-rooted).
Following your instructions, I have installed SHM on my watch as well as on my phone. Now I cannot get them to work. The SHM app won’t pair with the watch. From my watch when I click “open the phone app”, the phone SHM app opens but it says “cannot connect with your watch”. On my phone if I open SHM app, it shows “no compatible watch found”.
Besides, SS Wearable or SS Health work properly with my watch. Maybe the SHM Mod still not supported for my country yet? I am from Vietnam. Could you please help me out? Thank you.
Thank you for your response. I've installed the Mod SHM versions from your drive (icon with W letter in phone, icon with M in watch), and never download the original one yet.
Do you face Bluetooth problems with other things or only with SHM MOD? Perhaps, resetting the watch would work , the MOD is independent from everything, so it should work and they both should be able to see and interact with each other...Thank you for your response. I've installed the Mod SHM versions from your drive (icon with W letter in phone, icon with M in watch), and never download the original one yet.
It seems that my watch can call out phone SHM app. But the phone SHM cannot pair with watch for some reasons. The watch still works normally with SH and S. Wearable though.
I have re-installed those apps several times. Any idea?
The MOD has nothing to do with calibration, and it's normal to have BP readings inaccurate, I keep telling everyone to use the BP cuff side by side with the watch till readings adjust and become somewhat more accurate...Dear @Dante63. Thank you for the SHM MOD. I'm an Indonesian Galaxy Watch wearer paired with a Samsung Galaxy S6. The application runs normally either on the phone or on the watch. But there is something strange when calibrating. My calibration numbers, using an Omron blood pressure meter, are in the range of 115 to 118 for systolic and 77 to 80 for diastolic. Of course each calibration numbers are entered into the phone according to the calibration instructions. After completion of calibration (five times or more calibration process), then I try to take measurements using the watch. The results are much different from the calibration results. Numbers measured from the watch ranged from 121 to 127 systolic and 85 to 91 diastolic. The clock measurement results do not seem to reflect the results of the calibration. From five times of calibration, the results of calibration using the tension meter are always below the number 120/80. But the measurement results from the Galaxy Watch are always above 120/80 to 127/90.
Does this SHM MOD affect the calibration results. Or maybe the calibration results are not stored on the Galaxy Watch so the difference in numbers is too big between the tension meter measurement (Omron) and the Galaxy Watch measurement results?. Please pay attention to this SHM MOD calibration. Thank you. Sorry for my inaccurate language because English is not our native language.
Still not yet and no, the mod itself has no sync to SH...Hi Dante, get your watch yet? Quick question , do areas that have BP and ECG without any mod have sync to SH? Or is it a problem with moded only?
Thanks for all the great work!
Hi @Dante63, it worked now, but I don’t know why.Do you face Bluetooth problems with other things or only with SHM MOD? Perhaps, resetting the watch would work , the MOD is independent from everything, so it should work and they both should be able to see and interact with each other...
Try resetting the watch, test the Bluetooth connectivity and stability, then install the MOD, if it's still behaves abnormally, pass me a logcat and I'll read it and see what is interfering or happening...
I'd appreciate if you could even provide me a recorded video or the behavior so I could try to recreate the scenario or at least know what exactly to look for in the logs...
In the future, I will definitely recommend people to reboot the watch, seems like Bluetooth was busy doing something on the watch and kept disconnecting ...Hi @Dante63, it worked now, but I don’t know why.
Yesterday I tried re-installing and running the apps many times with no hope. Finally, my watch was out of battery. After full charging I turned off the Bluetooth and Wifi in both my watch and my phone, then went to sleep. At the morning I turned on the bluetooth without testing the apps again. Now I’ve just touched the SHM in my watch, it called out the SHM in my phone. With my surprise, they worked like a charm. The phone SHM now has paired with my watch. I just calibrated the BP measuring, and the ECG feature worked well too.
Many thanks for your great contribution!
Your fight is with google lol, the lack of Google services (since many apps contain google services) holds you back, if I can have logs, I may be able to kill Google Services from SHM and allow you to pass through after profile edit... logcat reader from playstore is good enough, make sure after installing it to follow the adb request for non-root or give it root access so it can generate logs, after that, start recording the log, open SHM and create the profile, once it reaches to the stuck on loading screen after profile completion, stop the logcat and send me the txt file hereStill no luck here. I removed original SHM via adb command. Same thing. Cannot create profile in SHM. Thanks for your help, but seems Huawei and Samsung are worst combo.
It says deleted
It is his phone. He is using Samsung Dex to connect his phone to PC/monitor etc... You need to install the Companion on phone and watch. You don't need a PC.Sorry, but I am confused because I seem to lack some basic steps BEFORE installing the companion:
You show a desktop in your tutorial where you install the companion app. But the desktop computer already seems to be connected with phone and watch??? What do I have to do to prepare that? I can't even run an apk-file on my PC. When I remember the old days of my "moddery" with galaxy s2 I think I have to install this google-software-package for creating own apps I formerly didn't quite understand ... Am I right?
Sorry again for asking such basic questions!
1. You can decompile stock and mod and compare them, I always provide both apks in my Google Drive...Really appreciate your effort Dante!! The result is awesome and much needed.
I wondered — Why not put the decompiled progress on GitHub (or BitBucket)? It would enable easier code review and contribution.
P.S. - I’m new to XDA forums
Thanks a lot!!!It is his phone. He is using Samsung Dex to connect his phone to PC/monitor etc... You need to install the Companion on phone and watch. You don't need a PC.
Samsung Dex is a feature in some high-end Samsung devices where you can enjoy desktop experience of your phone.
First I want to say to article authors, thank you for your efforts to publish an article on this, but please do not copy and paste into your article as content may change and please provide link to the thread so people can get help and ask questions...
Ok, now let's begin:
- Tizen SHM MOD and WearOS SHM MOD...?
The watch original SHM can't communicate with the phone MOD, and it's not possible to completly remove the original SHM from the watch4, so I had to create WearOS MOD and rename the previous MOD to Tizen MOD...- Do I need root...?
No root is required...- Does this void my warranty?
No it does not void the warrenty or trip the know or damage the watch or the phone...- OTA effect on MOD & MOD effects on OTA.
No Effects, the MOD is independant...- Do I need to install both phone and watch MODs?
Yes, you need both, keep in mind, the apk with word phone is for phone and the watch4 is for the watch...- Where is the IP Address?
You can find it inside the developer options after you enable the ADB Wi-Fi, it takes time though, alternativly, you can go to connections -> wifi -> the wifi you are connected to -> scroll down and you'll find your IP...- Can I do this from my phone?
Yes, you can use my Geminiman WearOS Manager...- How do I update?
Just install the updated files I release and it will update, whether you install the phone app or the watch app...- Do I need Samsung Health MOD, is there even such thing...?
I do not encourge using Samsung Health MOD, Samsung Health is a core application, modding it will break many services, using official Samsung Health is safer and better...- What is BP Sync and is there an ECG Sync...?
BP or blood pressure data can be saved in Samsung Health Cloud, allowing you to view all of your BP to be seen on Samsung Health app and no, there is no ECG sync and never was, ECG can only be exported as PDF and Excel file...
Downgrade galaxy wearable, plugin and Samsung Health...
Keep your internet on, Open Samsung health, then accessories, locate your watch, disconnect from internet (Data and Wi-Fi off, only Bluetooth on) and tap on your watch, galaxy wearable will start offline and pair with the watch, after the pair, you can connect to internet and update wearable and configure anything and everything else...
Tested:
usually Latest plugin + usually latest Samsung Health + Wearable 2.2.50.22072061
But find your watch release date, and find the app versions released the same as your watch or a bit later, if you go older, it will not support your device!
Below is a Huawei Device - August 2023
Phone (TIZEN & WEAROS) SHM MOD 1.2.5.003 - 8th April 2024Android Manifest:
- Nothing New observed...
GUI:
- Proper Description of permissions and setting them up correctly to prevent Services from being killed or removed by Watch OS...
***permission_bluetooth_description: Used to scan for and connect to nearby devices
***permission_notification_desc: Used to provide you with timely information
***permission_sensor_notice_cause: Used to provide measurements such as blood pressure and ECG
Since OS remove unused permissions from time to time, this causes stock SHM to crash on start, and I have seen this a lot...
CODE:
- Aside from checking watch connected to Samsung Phone, there is a check if the phone is verizon when samsung fails, odd device restriction check...
- They added on watch connect, start service but that will not work if the watch booted it up for the first time...
NOTE:
- in the current 1.2.5.002 Patch #2, if you use ECG Tile or BP Tile, even after reboot, the service does not start, I missed this part, I should add the same logic of checking and starting service from the main activity into the Tile Activity, So I will make sure in 1.2.6.002, IHRN service is handled correctly in all cases...
New Approach for handling IHRN:
*** Enhanced handling of service start, by checking several flags, isIhrnEnabled and check scheduled IHRN, the service starter will be called when conditions are satisfied where ihrn enabled is true and if IHRN is not scheduled, this will handle cases where device reboots, and it's more battery friendly...
*** This patch has been injected into MainActivity (opening the app), Tile activity (from outside) for both BP and ECG, finally, and just to be safe, in both ECG and BP MainActivities...
*** Make sure you have BP or ECG Tile set, when you watch boots up, tile creation activity is called, it will run the IHRN Service via the tile...
Enjoy...Android Manifest:
- Manifest shows line to use native-library libhal.wsm (deleted because this detects knox state and makes shm not work on custom/rooted Samsung)
GUI:
- assets has country code MU - Mauritius but no BP and ECG documents so next would be checking the code for this country to confirm...
- Some strings related to BP were changed from measuring BP on your watch to Measuring BP, probably for Galaxy Ring Measurement? there is no mention of the Ring either way...
- Samsung removed their address in India...
- Switching all fonts to OneUiSans...
CODE:
- CSCUtil confirms MU has ECG and BP but not IHRN...
- Some minor modifications in BP, ECG, IHRN and some activities - namings - not visible to user...
- Samsung Health Data Permission logic added and binding Health Profile Data to SHM - nothing new here, just rewritten everything, either way, this cannot be performed with mod...
Note:
- Patching this was a wild ride due to renaming plenty of classes and functions, whenever I applied a patch, the app would crash because my patch has old namings, but all is well...
SHM-MOD/phone-shm-mod.md at main · ITDev93/SHM-MOD
A repo to put the SHM MOD Changelog for the...github.com