SpO2 TPK

Search This thread

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Sorry.
NO luck...

Attached is Tizen 5.5.0.2 SH Version 4.15.50900

I can only do the things we allready seen in Video... and old "examples" I uploaded...
Nothing more...

This exceeds my skills.
And nobody else working on this "problem"...

Best Regards
 

Attachments

  • SH_1550900_TPK.zip
    32.4 MB · Views: 37
  • Like
Reactions: xaser66 and paul92

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Oh...

Samsung released Tizen 5.5 Firmware for GWA 1 and GW old...

Soon I can do few tests with my SM-R500....

Memo to me:
XAC
BVO
ARO

...

Best Regards

Edit 1.
So it seems Tizen 5.5.0.1

Edit 2.

I have tiny problems to update from my rooted DSL1...
Will prepare DTG2...

Edit 3
Created rooted DTG2... now I hope FOTA work...
Finger crossed...

Edit 4.
aaaaaaAAAAAAAAAAAAAAAAAAAAARRRRGGGGGGGGGGGGGGhhhhhhhhhhhhhhhhh...
Trick with FOTA not work... no idea why...

I have to wait for leaked Odin Files...
 
Last edited:

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Updated my SM-R500 to Tizen 5.5.0.1 FUB5...

Preinstalled SH Version is:
4.12.10400

Update from Store leads to:
4.13.1300

I still have no Root access... so still waiting for leaked files...

Code:
sdb shell
sh-3.2$ launch_app com.samsung.shealth.measure
... successfully launched

Leads to known in your Region not available blabla...

Code:
sh-3.2$ /usr/bin/sensorctl test hrm_led_red
[==========] Running 1 testcase(s)
[----------] 1 tests from manual_test
[ RUN      ] manual_test.sensor
[   FAIL   ] start(81) : err(-61) == 0(0)
[   FAIL   ] test(155) : ret(0) == true(1)
[  FAILED  ] manual_test.sensor
[----------] 1 tests from manual_test (0.0087 sec)
[==========] 1 testcase(s) ran
================================
2 case(s) are failed, listed below:
[  FAILED  ] start(81) : err(-61) == 0(0)
[  FAILED  ] test(155) : ret(0) == true(1)


Visible effect like before...
Code:
cat /sys/class/sensors/hrm_sensor/hrm_led_g_ir


Can only test more if I have managed Root access...

Best Regards
 

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Videos from my SM-R500... Tizen 5.5.0.1 FUB5...

Modified SH Version:
4.15.50900

Modified files:
Code:
shealth   
shealth-measure
shealth-service

Text String changed from SM-R500 to SM-R501

manifest.xml 5.5.0.2 to 5.5.0.1 to have chance to install...


Blood Oxygen also no Sensor/LED visible on back side... like I know from my SM-R820 adventure...

Strange... Puls also not correct now...
Need to check why...

Best Regards
 

Attachments

  • smR500_v1.zip
    2.9 MB · Views: 14

adfree

Senior Member
Jun 14, 2008
9,097
5,371
New test with SH 4.15.50900 and my SM-R500 FUB5

This time only modified manifest.xml to match lower Tizen 5.5.0.1

Puls measure now working correct...

Edit 1.

Next Mod... 2 files edited:
manifest.xml (Tizen Version)
shealth-measure (text string SM-R500 --> SM-R501)

Puls measure work and correct... + I can start not working Blood Oxygen measurement by:

Code:
sdb shell launch_app com.samsung.shealth.measure


In Log I can see something like this:
Code:
[33;1mW/SHealthAppCommon( 4785): [0mHeartRateMeasuringWidget.cpp: DrawPulse2(334) > [1;35mEmpty[0;m

[33;1mW/SHealthAppCommon( 4785): [0mOxygenSaturationMeasureViewController.cpp: CheckAndUpdateNextMeasuringProgress(145) > [1;35m ###[0;m

[33;1mW/SHealthAppCommon( 4785): [0mHeartRateMeasuringWidget.cpp: DrawPulse2(334) > [1;35mEmpty[0;m

Hmmmmmm... why no Pulse in Oxy Measure?
 
Last edited:

Vuska

Senior Member
Jul 26, 2010
1,674
415
Bandung
Samsung Health has SpO2 measurements (on my phone) but why No on my GWA2 ?

---- edited.... look like still ongoing fixes for this-----
hope there is a way to install something then the watch can have spo2 widget like i see in SW3 🙏
 

nikhil.shah_

New member
Mar 16, 2021
3
0
Is there any update regarding spo2 on galaxy watch active 2?
Can it be available like ecg and bp monitor?
If it can be done, then can you put link of video about how to do it.
 

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Still no luck... :poop:

With oldest Version of SH with Blood Oxygen support...
Code:
<manifest xmlns="http://tizen.org/ns/packages" api-version="5.5" package="com.samsung.shealth_gear" version="4.10.800">

I can start the Blood Oxygen without modification of files...
Code:
sdb shell launch_app com.samsung.shealth.measure

Tested with SM-R500 and SM-R820...


Best Regards

Edit 1.
Attached SH 4.10.800 for research.
 

Attachments

  • oldSH_it.zip
    30.1 MB · Views: 12
Last edited:

nikhil.shah_

New member
Mar 16, 2021
3
0
Still no luck... :poop:

With oldest Version of SH with Blood Oxygen support...
Code:
<manifest xmlns="http://tizen.org/ns/packages" api-version="5.5" package="com.samsung.shealth_gear" version="4.10.800">

I can start the Blood Oxygen without modification of files...
Code:
sdb shell launch_app com.samsung.shealth.measure

Tested with SM-R500 and SM-R820...


Best Regards

Edit 1.
Attached SH 4.10.800 for research.
I'm not into coding and all so I'm unable to understand this terms
Can you simplify this for normal people like us?
And suggest easy techniques to do that
 

adfree

Senior Member
Jun 14, 2008
9,097
5,371
I need help from users with IDA skills... Reverse Engineering...

IMHO focus on these 2 files:
Code:
/bin/shealth-measure
/lib/libspo2.so


@nikhil.shah_

Excuse me...
I have simplified as much as I can... it is NOT simple and we have NO final solution nor 1 click "magic"...
All achivements are inside this Thread... few Screenshots... few Videos... many Versions uploaded by me of Samsung Health TPK...

So IMHO not my fault why we are not done...

Best Regards
 

nikhil.shah_

New member
Mar 16, 2021
3
0
I need help from users with IDA skills... Reverse Engineering...

IMHO focus on these 2 files:
Code:
/bin/shealth-measure
/lib/libspo2.so


@nikhil.shah_

Excuse me...
I have simplified as much as I can... it is NOT simple and we have NO final solution nor 1 click "magic"...
All achivements are inside this Thread... few Screenshots... few Videos... many Versions uploaded by me of Samsung Health TPK...

So IMHO not my fault why we are not done...

Best Regards
Thank You for Your Quick Response.
Keep Us updated if you get any simple technique(magic)
Once Again Thank you
 

adfree

Senior Member
Jun 14, 2008
9,097
5,371
shealth-measure
Code:
text string            SM-R820                SM-R840            filename
v1                     SM-R821                -                  firstBlood_oldest_v1.tpk
v2                     SM-R821                SM-R820            firstBlood_oldest_v2.tpk
v3                     SM-R820                SM-R820            firstBlood_oldest_v3.tpk


Some stupid Peek and Poke attempt with text strings SM-R820 and/or SM-R840

With old SH Version 4.10.800.
Because here is Blood Oxygen NOT blocked in shealth-measure... not fully blocked...
Because simple SDB Command work.

Code:
sdb shell launch_app com.samsung.shealth.measure

Need some time...

Edit 1.

All 3 attempts... no visible start of LED... not red nor the green...

Next move to the lib file...
 
Last edited:

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Code:
D:\SDB\SDB260>sdb shell /home/shealth-measure
error: XDG_RUNTIME_DIR not set in the environment.
appcore: Fail to get appid (4136)
error: XDG_RUNTIME_DIR not set in the environment.
appcore: Failed to connect wl display
ERR<4136>:efreet_cache ../src/lib/efreet/efreet_cache.c:326 efreet_cache_init() Failed to create directory '/root/.cache/efreet'
ERR<4136>:eio ../src/lib/eio/eio_monitor.c:341 eio_monitor_stringshared_add() monitored path '/root/share/.elementary/config/default' not found.
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:2219 _config_system_load() System loading config failed! Check your setup! Falling back to compile time defaults
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:1518 _elm_config_extension_font_overlay_get() try to load extension font overlays of (default) theme
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:1527 _elm_config_extension_font_overlay_get() failed to open extension font overlay of RW. try to load RO data.
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:1534 _elm_config_extension_font_overlay_get() failed to open extension font overlay of RO(/usr/share/elementary/config/default/default_font_over
lays.cfg).
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:1357 _elm_config_extension_color_overlay_get() try to load extension color overlays of (default) theme
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:1366 _elm_config_extension_color_overlay_get() failed to open extension color overlay of RW. try to load RO data.
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:1373 _elm_config_extension_color_overlay_get() failed to open extension color overlay of RO(/usr/share/elementary/config/default/default_color_o
verlays.cfg)
ERR<4136>:elementary ../src/lib/elementary/elm_config.c:5233 _elm_config_sub_init() Problem accessing Elementary's user configuration directory: /root/share/.elementary/config
appcore: Failed to get application ID - pid(4136)
ERR<4136>:ecore_evas ../src/lib/elementary/efl_ui_win.c:554 _screen_capture_mod_init() Screen Capture Module not found
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
ERR<4136>:ecore_evas ../src/lib/elementary/efl_ui_win.c:7024 _elm_win_finalize_internal() Cannot create window.
ERR<4136>:eo ../src/lib/eo/eo.c:1009 _efl_add_internal_end() Object of class 'Efl.Ui.Win_Legacy' - Not all of the object constructors have been executed.
ERR<4136>:evas_main ../src/lib/evas/canvas/evas_object_smart.c:757 _efl_canvas_group_efl_object_destructor() efl_canvas_group_del() was not called on this object: 0x8000093f (Efl.Ui.Win_Legacy)
ERR<4136>:eina_safety ../src/lib/elementary/efl_ui_bg.c:327 elm_bg_add() safety check failed: parent == NULL
ERR<4136>:eina_safety ../src/lib/elementary/elm_conform.c:1693 elm_conformant_add() safety check failed: parent == NULL
ERR<4136>:eina_safety ../src/lib/elementary/efl_ui_layout.c:3615 elm_layout_add() safety check failed: parent == NULL

Short test...
Thought I can find the madatory files... but...

Code:
D:\SDB\SDB260>sdb shell mount -vo remount,rw /
mount: /dev/root mounted on /.

D:\SDB\SDB260>sdb shell /home/shealth-measure
error: XDG_RUNTIME_DIR not set in the environment.
appcore: Fail to get appid (4205)
error: XDG_RUNTIME_DIR not set in the environment.
appcore: Failed to connect wl display
ERR<4205>:elementary ../src/lib/elementary/elm_config.c:2219 _config_system_load() System loading config failed! Check your setup! Falling back to compile time defaults
ERR<4205>:elementary ../src/lib/elementary/elm_config.c:1518 _elm_config_extension_font_overlay_get() try to load extension font overlays of (default) theme
ERR<4205>:elementary ../src/lib/elementary/elm_config.c:1527 _elm_config_extension_font_overlay_get() failed to open extension font overlay of RW. try to load RO data.
ERR<4205>:elementary ../src/lib/elementary/elm_config.c:1534 _elm_config_extension_font_overlay_get() failed to open extension font overlay of RO(/usr/share/elementary/config/default/default_font_over
lays.cfg).
ERR<4205>:elementary ../src/lib/elementary/elm_config.c:1357 _elm_config_extension_color_overlay_get() try to load extension color overlays of (default) theme
ERR<4205>:elementary ../src/lib/elementary/elm_config.c:1366 _elm_config_extension_color_overlay_get() failed to open extension color overlay of RW. try to load RO data.
ERR<4205>:elementary ../src/lib/elementary/elm_config.c:1373 _elm_config_extension_color_overlay_get() failed to open extension color overlay of RO(/usr/share/elementary/config/default/default_color_o
verlays.cfg)
appcore: Failed to get application ID - pid(4205)
ERR<4205>:ecore_evas ../src/lib/elementary/efl_ui_win.c:554 _screen_capture_mod_init() Screen Capture Module not found
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
ERR<4205>:ecore_evas ../src/lib/elementary/efl_ui_win.c:7024 _elm_win_finalize_internal() Cannot create window.
ERR<4205>:eo ../src/lib/eo/eo.c:1009 _efl_add_internal_end() Object of class 'Efl.Ui.Win_Legacy' - Not all of the object constructors have been executed.
ERR<4205>:evas_main ../src/lib/evas/canvas/evas_object_smart.c:757 _efl_canvas_group_efl_object_destructor() efl_canvas_group_del() was not called on this object: 0x8000092a (Efl.Ui.Win_Legacy)
ERR<4205>:eina_safety ../src/lib/elementary/efl_ui_bg.c:327 elm_bg_add() safety check failed: parent == NULL
ERR<4205>:eina_safety ../src/lib/elementary/elm_conform.c:1693 elm_conformant_add() safety check failed: parent == NULL
ERR<4205>:eina_safety ../src/lib/elementary/efl_ui_layout.c:3615 elm_layout_add() safety check failed: parent == NULL


Edit 1.

Reason for this...
After deleting Library file...
/lib/libspo2.so

Same result like in Videos... so I searched for text string libspo2.so... found only in 1 file:
shealth-service

Code:
sdb shell rm /opt/usr/home/owner/apps_rw/com.samsung.shealth_gear/lib/libspo2.so

sdb shell rm /opt/usr/home/owner/apps_rw/com.samsung.shealth_gear/bin/shealth-service

Deleted also this file... but SDB Command still started like I know...


Maybe simple whole libspo2.so is blocked?

?
 
Last edited:

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Memo to me...

IDA free seems no ARM support...
Ghidra seems NSA supported... o_O

Maybe will spent some time with Radare2...

Not in next 5 minutes... but maybe in 2021. :alien:

Meanwhile will try to shrink TPK for my stupid tests...

Code:
samsungapps-000002144446-31853271-401000800\bin\notification-service
samsungapps-000002144446-31853271-401000800\bin\shealth
samsungapps-000002144446-31853271-401000800\bin\shealth-alert-viewer
samsungapps-000002144446-31853271-401000800\bin\shealth-breathe
samsungapps-000002144446-31853271-401000800\bin\shealth-debug-menu
samsungapps-000002144446-31853271-401000800\bin\shealth-exercise
samsungapps-000002144446-31853271-401000800\bin\shealth-exercising-viewer
samsungapps-000002144446-31853271-401000800\bin\shealth-health-data-permission
samsungapps-000002144446-31853271-401000800\bin\shealth-heartrate-measure
samsungapps-000002144446-31853271-401000800\bin\shealth-measure
samsungapps-000002144446-31853271-401000800\bin\shealth-mindfulness
samsungapps-000002144446-31853271-401000800\bin\shealth-multiworkout-widgetsetting
samsungapps-000002144446-31853271-401000800\bin\shealth-sdk-data-service
samsungapps-000002144446-31853271-401000800\bin\shealth-service
samsungapps-000002144446-31853271-401000800\bin\shealth-stress-measure
samsungapps-000002144446-31853271-401000800\bin\shealth-together-viewer
samsungapps-000002144446-31853271-401000800\bin\shealth-whitelist-sync-service
samsungapps-000002144446-31853271-401000800\bin\shealth-widget

18 files = 50 MB

shealth-measure is the Blood Oxygen part...

Will check if I can delete few of these files...

firstBlood_oldest_v4.tpk - shealth-service

Seems not impossible...

Best Regards

Edit 1.
Code:
sh-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.shealth_gear/bin
sh-3.2# ls -a1l
total 49188
drwxr-xr-x 2 tizenglobalapp root    4096 Mar 17 14:12 .
drwxr-xr-x 6 tizenglobalapp root    4096 Mar 17 14:12 ..
-rwxr-xr-x 1 tizenglobalapp root 1918584 Mar 17 14:12 notification-service
-rwxr-xr-x 1 tizenglobalapp root 6813768 Mar 17 14:12 shealth
-rwxr-xr-x 1 tizenglobalapp root 3401600 Mar 17 14:12 shealth-alert-viewer
-rwxr-xr-x 1 tizenglobalapp root 1668676 Mar 17 14:12 shealth-breathe
-rwxr-xr-x 1 tizenglobalapp root 1029700 Mar 17 14:12 shealth-debug-menu
-rwxr-xr-x 1 tizenglobalapp root 4106068 Mar 17 14:12 shealth-exercise
-rwxr-xr-x 1 tizenglobalapp root 5085020 Mar 17 14:12 shealth-exercising-viewer
-rwxr-xr-x 1 tizenglobalapp root 1451560 Mar 17 14:12 shealth-health-data-permission
-rwxr-xr-x 1 tizenglobalapp root 2115216 Mar 17 14:12 shealth-heartrate-measure
-rwxr-xr-x 1 tizenglobalapp root 2151060 Mar 17 14:12 shealth-measure
-rwxr-xr-x 1 tizenglobalapp root 1406588 Mar 17 14:12 shealth-mindfulness
-rwxr-xr-x 1 tizenglobalapp root 2233996 Mar 17 14:12 shealth-multiworkout-widgetsetting
-rwxr-xr-x 1 tizenglobalapp root 1623932 Mar 17 14:12 shealth-sdk-data-service
-rwxr-xr-x 1 tizenglobalapp root 7464732 Mar 17 14:12 shealth-service
-rwxr-xr-x 1 tizenglobalapp root 1406544 Mar 17 14:12 shealth-stress-measure
-rwxr-xr-x 1 tizenglobalapp root 1635952 Mar 17 14:12 shealth-together-viewer
-rwxr-xr-x 1 tizenglobalapp root 1242628 Mar 17 14:12 shealth-whitelist-sync-service
-rwxr-xr-x 1 tizenglobalapp root 3557184 Mar 17 14:12 shealth-widget

Edit 2.
Still work... but I will reboot to be sure its not in RAM...

Code:
sh-3.2# rm shealth-widget
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# rm shealth-whitelist-sync-service
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# rm shealth-together-viewer
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# launch_app com.samsung.shealth.stress-measure
... launch failed
sh-3.2# rm shealth-stress-measure
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# rm shealth-service
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# rm shealth-sdk-data-service
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# rm shealth-multiworkout-widgetsetting
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# launch_app com.samsung.shealth-mindfulness
... launch failed
sh-3.2# rm shealth-mindfulness
sh-3.2# launch_app com.samsung.shealth.measure
... successfully launched
sh-3.2# ls -a1l
total 29080
drwxr-xr-x 2 tizenglobalapp root    4096 Mar 18 03:06 .
drwxr-xr-x 6 tizenglobalapp root    4096 Mar 17 14:12 ..
-rwxr-xr-x 1 tizenglobalapp root 1918584 Mar 17 14:12 notification-service
-rwxr-xr-x 1 tizenglobalapp root 6813768 Mar 17 14:12 shealth
-rwxr-xr-x 1 tizenglobalapp root 3401600 Mar 17 14:12 shealth-alert-viewer
-rwxr-xr-x 1 tizenglobalapp root 1668676 Mar 17 14:12 shealth-breathe
-rwxr-xr-x 1 tizenglobalapp root 1029700 Mar 17 14:12 shealth-debug-menu
-rwxr-xr-x 1 tizenglobalapp root 4106068 Mar 17 14:12 shealth-exercise
-rwxr-xr-x 1 tizenglobalapp root 5085020 Mar 17 14:12 shealth-exercising-viewer
-rwxr-xr-x 1 tizenglobalapp root 1451560 Mar 17 14:12 shealth-health-data-permission
-rwxr-xr-x 1 tizenglobalapp root 2115216 Mar 17 14:12 shealth-heartrate-measure
-rwxr-xr-x 1 tizenglobalapp root 2151060 Mar 17 14:12 shealth-measure
sh-3.2# reboot
Rebooting.
 
Last edited:

adfree

Senior Member
Jun 14, 2008
9,097
5,371
Deleted more files...

Code:
bash-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.shealth_gear/bin
bash-3.2# ls -a1l
total 29080
drwxr-xr-x 2 tizenglobalapp root    4096 Mar 19 00:37 .
drwxr-xr-x 6 tizenglobalapp root    4096 Mar 19 00:37 ..
-rwxr-xr-x 1 tizenglobalapp root 1918584 Mar 19 00:37 notification-service
-rwxr-xr-x 1 tizenglobalapp root 6813768 Mar 19 00:37 shealth
-rwxr-xr-x 1 tizenglobalapp root 3401600 Mar 19 00:37 shealth-alert-viewer
-rwxr-xr-x 1 tizenglobalapp root 1668676 Mar 19 00:37 shealth-breathe
-rwxr-xr-x 1 tizenglobalapp root 1029700 Mar 19 00:37 shealth-debug-menu
-rwxr-xr-x 1 tizenglobalapp root 4106068 Mar 19 00:37 shealth-exercise
-rwxr-xr-x 1 tizenglobalapp root 5085020 Mar 19 00:37 shealth-exercising-viewer
-rwxr-xr-x 1 tizenglobalapp root 1451560 Mar 19 00:37 shealth-health-data-permission
-rwxr-xr-x 1 tizenglobalapp root 2115216 Mar 19 00:37 shealth-heartrate-measure
-rwxr-xr-x 1 tizenglobalapp root 2151060 Mar 19 00:37 shealth-measure
bash-3.2# rm shealth-breathe
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# rm shealth-exercise
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# rm shealth-exercising-viewer
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# launch_app com.samsung.shealth.health.datapermission
... successfully launched
bash-3.2# rm shealth-health-data-permission
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# launch_app com.samsung.shealth.notification-service
... successfully launched
bash-3.2# launch_app com.samsung.shealth.notification-service
... successfully launched
bash-3.2# rm notification-service
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# launch_app com.samsung.shealth.alert
... successfully launched
bash-3.2# rm shealth-alert-viewer
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# ls -a1l
total 11848
drwxr-xr-x 2 tizenglobalapp root    4096 Mar 19 01:06 .
drwxr-xr-x 6 tizenglobalapp root    4096 Mar 19 00:37 ..
-rwxr-xr-x 1 tizenglobalapp root 6813768 Mar 19 00:37 shealth
-rwxr-xr-x 1 tizenglobalapp root 1029700 Mar 19 00:37 shealth-debug-menu
-rwxr-xr-x 1 tizenglobalapp root 2115216 Mar 19 00:37 shealth-heartrate-measure
-rwxr-xr-x 1 tizenglobalapp root 2151060 Mar 19 00:37 shealth-measure

Only Sideeffect is... Pulse not finished like Blood Pressure... I think its the Service thingie...


Will check if I can delete 2 more files...

Next move then is to rename... So it can be installed with SH together...
Additional change in manifest I plan to replace Binary name to start with shealth-measure...

Memo to me.
firstBlood_oldest_v5.tpk 5 MB less and still working...

Best Regards

Edit 1.

Looks like for my test case I need only 2 Binaries...
Code:
bash-3.2# ls -a1l
total 11848
drwxr-xr-x 2 tizenglobalapp root    4096 Mar 19 01:06 .
drwxr-xr-x 6 tizenglobalapp root    4096 Mar 19 00:37 ..
-rwxr-xr-x 1 tizenglobalapp root 6813768 Mar 19 00:37 shealth
-rwxr-xr-x 1 tizenglobalapp root 1029700 Mar 19 00:37 shealth-debug-menu
-rwxr-xr-x 1 tizenglobalapp root 2115216 Mar 19 00:37 shealth-heartrate-measure
-rwxr-xr-x 1 tizenglobalapp root 2151060 Mar 19 00:37 shealth-measure
bash-3.2# rm shealth
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# rm shealth-debug-menu
bash-3.2# launch_app com.samsung.shealth.measure
... successfully launched
bash-3.2# launch_app com.samsung.shealth.heartrate.measure
... successfully launched
bash-3.2# ls -a1l
total 4184
drwxr-xr-x 2 tizenglobalapp root    4096 Mar 19 01:24 .
drwxr-xr-x 6 tizenglobalapp root    4096 Mar 19 00:37 ..
-rwxr-xr-x 1 tizenglobalapp root 2115216 Mar 19 00:37 shealth-heartrate-measure
-rwxr-xr-x 1 tizenglobalapp root 2151060 Mar 19 00:37 shealth-measure

I will double check and reboot... to be sure nothing from RAM is active...
 
Last edited:
  • Like
Reactions: xaser66

Top Liked Posts

  • 1
    @adfree I came here after following Dante63's ECG/BP thread. I have a GWA2 and I'm trying to run SpO2. After signing, installing firstBlood_oldest_v19_pubPriv_v1.tpk, giving permissions and launching it, I have ran into the same problem as Vuska and 73sydney, i.e., it get's stuck at around 80%. Any ideas?
  • 6
    Simple edit of manifest.xml allow me now to start Blood Oxygen in 3 wayS...

    Code:
    D:\SDB\SDB260>sdb shell launch_app com.samsung.shealth.measure
    ... successfully launched
    
    D:\SDB\SDB260>sdb shell launch_app com.samsung.shealth
    ... successfully launched

    2 Commands because I have simple replaced shealth with shealth-measure...

    And this allows me also by clicking the Icon...

    Now next changes... rename... to run also where SH is installed...
    I have Root and ways to deinstall...

    I am trying to simplify also for others...

    Best Regards
    4

    @Vuska


    Thank you very much for testing and report and Videos.


    All is "okay" now.
    More not accomplished yet.

    I have "only" simplified...
    NO Root required
    NO uninstall of SH... because also require Root to do...

    Nice would be, if Galaxy Watch 3 user(s) can test for us...
    If sensors on... LED green and/or red.

    So we could proceed... Maybe somebody with more skills find the answer... how to enable Sensors for SPO2 on GWA2...

    @MixenSK


    Thank you very much.

    Will check the Partner Privilege in Manifest and removing...

    Need some time, then I will upload.

    Thanx.


    Best Regards

    Edit 1.

    First look for Partner Privilege... according Screenshot from SDB...

    Code:
    http://developer.samsung.com/tizen/privilege/healthinfo.share
    
    http://developer.samsung.com/tizen/privilege/iotresourcemanager
    4
    @Vuska

    Thank you very much for test and infos.


    Maybe we not need all privilege thingies from manifest...
    I will check if we can do this without...


    Code:
    <privileges>
            <privilege>http://tizen.org/privilege/network.get</privilege>
            <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
            <privilege>http://tizen.org/privilege/internet</privilege>
            <privilege>http://tizen.org/privilege/datasharing</privilege>
            <privilege>http://developer.samsung.com/tizen/privilege/accessoryprotocol</privilege>
            <privilege>http://tizen.org/privilege/packagemanager.info</privilege>
            <privilege>http://tizen.org/privilege/telephony</privilege>
            <privilege>http://tizen.org/privilege/alarm.get</privilege>
            <privilege>http://tizen.org/privilege/network.set</privilege>
            <privilege>http://tizen.org/privilege/alarm.set</privilege>
            <privilege>http://tizen.org/privilege/notification</privilege>
            <privilege>http://tizen.org/privilege/mapservice</privilege>
            <privilege>http://tizen.org/privilege/nfc.cardemulation</privilege>
            <privilege>http://developer.samsung.com/tizen/privilege/logmanager</privilege>
            <privilege>http://tizen.org/privilege/appdir.shareddata</privilege>
            <privilege>http://tizen.org/privilege/healthinfo</privilege>
            <privilege>http://tizen.org/privilege/mediacontroller.client</privilege>
            <privilege>http://tizen.org/privilege/window.priority.set</privilege>
            <privilege>http://tizen.org/privilege/haptic</privilege>
            <privilege>http://tizen.org/privilege/display</privilege>
            <privilege>http://tizen.org/privilege/power</privilege>
            <privilege>http://tizen.org/privilege/mediastorage</privilege>
            <privilege>http://tizen.org/privilege/appmanager.kill</privilege>
            <privilege>http://tizen.org/privilege/bluetooth</privilege>
            <privilege>http://developer.samsung.com/tizen/privilege/iotresourcemanager</privilege>
            <privilege>http://tizen.org/privilege/nfc</privilege>
            <privilege>http://tizen.org/privilege/network.profile</privilege>
            <privilege>http://tizen.org/privilege/download</privilege>
            <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
            <privilege>http://tizen.org/privilege/location</privilege>
            <privilege>http://tizen.org/privilege/bluetooth.admin</privilege>
            <privilege>http://developer.samsung.com/tizen/privilege/screen.top</privilege>
            <privilege>http://developer.samsung.com/tizen/privilege/healthinfo.share</privilege>
            <privilege>http://tizen.org/privilege/widget.viewer</privilege>
            <privilege>http://tizen.org/privilege/location.enable</privilege>
            <privilege>http://tizen.org/privilege/packagemanager.admin</privilege>
            <appdefined-privilege>http://com.samsung.tizen.samsung-analytics/appdefined/samsung-analytics</appdefined-privilege>
        </privileges>

    This we have at the moment...

    With your screenshot we can identify... what is not public privilege...

    Need some time...

    Best Regards

    Edit 1.
    If no mistake... from me...
    SDB screenshot shows 5 Errors...
    Code:
    http://tizen.org/privilege/appmanager.kill
    
    
    
    http://tizen.org/privilege/bluetooth.admin
    
    http://tizen.org/privilege/packagemanager.admin
    
    http://tizen.org/privilege/systemsettings.admin
    
    
    
    http://tizen.org/privilege/location.enable
    
    
    
    
    ----------
    .admin
    .kill
    .enable

    Will edit and test and upload if runs...
    3
    Code:
    D:\SDB\SDB260>sdb install samsungapps-000002144446-31853271-401000800.wgt
    pulled samsungapps-000002144446-31853271-401000800.wgt  100%         30MB
    1 file(s) pulled. 0 file(s) skipped.
    samsungapps-000002144446-31853271-401000800.wgt   446 KB/s (31853271 bytes in 69.620s)
    path is /opt/usr/home/owner/apps_rw/tmp/samsungapps-000002144446-31853271-401000800.wgt
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[start] val[install]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[12]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[15]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[18]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[21]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[25]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[28]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[31]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[34]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[37]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[40]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[43]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[46]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[50]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[53]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[56]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[59]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[62]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[65]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[68]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[71]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[75]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[78]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[81]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[84]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[87]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[90]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[93]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[96]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[100]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[end] val[ok]
    spend time for pkgcmd is [40026]ms
    rm: remove write-protected regular file `/opt/usr/home/owner/apps_rw/tmp/samsungapps-000002144446-31853271-401000800.wgt'? ^C
    D:\SDB\SDB260>sdb install firstBlood_oldest_v14.tpk
    pulled      firstBlood_oldest_v14.tpk   100%         12MB
    1 file(s) pulled. 0 file(s) skipped.
    firstBlood_oldest_v14.tpk        453 KB/s (12966146 bytes in 27.900s)
    path is /opt/usr/home/owner/apps_rw/tmp/firstBlood_oldest_v14.tpk
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[start] val[install]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[12]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[15]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[18]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[21]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[25]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[28]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[31]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[34]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[37]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[40]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[43]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[46]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[50]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[53]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[56]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[59]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[62]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[65]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[68]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[71]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[install_percent] val[75]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[error] val[-21]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[end] val[fail]
    processing result : Register application error [-21] failed
    spend time for pkgcmd is [8839]ms
    rm: remove write-protected regular file `/opt/usr/home/owner/apps_rw/tmp/firstBlood_oldest_v14.tpk'?

    Found my mistake with wrong Colors... done.

    For last problem IMHO I will simple use the manifest file from the "extension"...

    Best Regards
    3
    Tiny progress for today...

    But far away from "perfect"...

    Seems not together with SH possible.. for now... need to check why...

    Code:
    D:\SDB\SDB260>sdb install samsungapps-000002144446-31853271-401000800.wgt
    pulled samsungapps-000002144446-31853271-401000800.wgt  100%         30MB
    1 file(s) pulled. 0 file(s) skipped.
    samsungapps-000002144446-31853271-401000800.wgt   501 KB/s (31853271 bytes in 62.020s)
    path is /opt/usr/home/owner/apps_rw/tmp/samsungapps-000002144446-31853271-401000800.wgt
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[start] val[install]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[12]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[15]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[18]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[21]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[25]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[28]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[31]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[34]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[37]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[40]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[43]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[46]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[50]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[53]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[56]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[59]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[62]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[65]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[68]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[71]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[75]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[78]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[81]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[84]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[87]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[90]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[93]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[96]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[install_percent] val[100]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_gear] key[end] val[ok]
    spend time for pkgcmd is [39052]ms
    rm: remove write-protected regular file `/opt/usr/home/owner/apps_rw/tmp/samsungapps-000002144446-31853271-401000800.wgt'? ^C
    D:\SDB\SDB260>sdb install firstBlood_oldest_v11.tpk
    pulled      firstBlood_oldest_v11.tpk   100%         12MB
    1 file(s) pulled. 0 file(s) skipped.
    firstBlood_oldest_v11.tpk        503 KB/s (12966139 bytes in 25.160s)
    path is /opt/usr/home/owner/apps_rw/tmp/firstBlood_oldest_v11.tpk
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[start] val[install]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[12]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[15]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[18]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[21]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[25]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[28]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[31]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[34]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[37]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[40]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[43]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[46]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[50]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[53]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[56]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[59]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[62]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[65]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[68]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[71]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[install_percent] val[75]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[error] val[-21]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.shealth_fear] key[end] val[fail]
    processing result : Register application error [-21] failed
    spend time for pkgcmd is [9289]ms
    rm: remove write-protected regular file `/opt/usr/home/owner/apps_rw/tmp/firstBlood_oldest_v11.tpk'? ^C

    In Videos 2 more problems visible...

    1 I can manage with 5 Seconds... and SDB Command to enter Permission...
    Second problem... something looks weired...

    File(s) attached...

    Best Regards
  • 7
    Samsung not add Blood Oxygen in Tizen 5.5.0.2 for GWA2...
    😭

    But I will check our older findings... with SM-R820 DUA3...

    Test checklist...

    A
    This still work... so red LED not deactivated fully...

    B
    My Rooting is still working. So I have Root access in DUA3...


    C
    Maybe mistake... w-home trick seems not work... to enable BloodOxy Widget...
    Will check later again with open eyes...

    D
    Hmmm...
    sdb push w-manager-service /usr/apps/com.samsung.w-manager-service/bin/

    No luck yet to make the Widget visible like before...

    E
    sh-3.2# launch_app com.samsung.shealth.measure
    ... successfully launched

    Shows same "not avaliable"...

    Will proceed with SH mods...

    F
    Code:
    usr\lib\libsensor-genuine.so.4.1.27
    usr\lib\sensor\libsensor-hal.so


    Still 2 hits for search text string:
    SPO2_MONITOR_SENSOR
    6
    Simple edit of manifest.xml allow me now to start Blood Oxygen in 3 wayS...

    Code:
    D:\SDB\SDB260>sdb shell launch_app com.samsung.shealth.measure
    ... successfully launched
    
    D:\SDB\SDB260>sdb shell launch_app com.samsung.shealth
    ... successfully launched

    2 Commands because I have simple replaced shealth with shealth-measure...

    And this allows me also by clicking the Icon...

    Now next changes... rename... to run also where SH is installed...
    I have Root and ways to deinstall...

    I am trying to simplify also for others...

    Best Regards
    6
    Old method was to replace text string SM-R820 with SM-R840...

    In my tests with DUA3 SM-R820 I realized this is not "Driver switch"... but kind of blacklist...

    So my "new" method is:

    A
    Code:
    sdb root on
    
    sdb shell mount -vo remount,rw /
    
    sdb push shealth-measure /usr/apps/com.samsung.shealth_gear/bin

    Only changed text string SM-R820 into SM-R821...


    B
    To start Blood Oxy I send Command:
    Code:
    sdb shell launch_app com.samsung.shealth.measure


    This means only progress like before... but with less modified files...


    Now will try to do more text string changes... because SH TPK contain in every Binary Model Name text strings...
    Will check if blacklist stuff or something else...

    Best Regards
    5
    Puh, I spent hourS dayS without Luck to get FUB5 to root via FOTA procedure...

    Now I found way to bypass Security and successfully updated my SM-R500 to FUB5 Tizen 5.5.0.1 with Root access.

    So I can do soon more stupid tests. Blood Oxygen related...

    Best Regards
    5
    Attempt 1.

    With changed text string inside 20 files from SH bin folder...

    Code:
    sdb root on
    
    sdb shell mount -vo remount,rw /
    
    sdb push notification-service /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push scp-service /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-alert-viewer /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-breathe /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-debug-menu /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-exercise /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-exercising-viewer /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-health-data-permission /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-heartrate-measure /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-measure /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-mindfulness /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-multiworkout-widgetsetting /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-sa-service /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-sdk-data-service /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-service /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-stress-measure /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-together-viewer /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-whitelist-sync-service /usr/apps/com.samsung.shealth_gear/bin
    
    sdb push shealth-widget /usr/apps/com.samsung.shealth_gear/bin

    Need then time to check if still working and to maybe find differences...

    Best Regards
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone