SpO2 TPK

Search This thread

Vuska

Senior Member
Jul 26, 2010
1,679
422
Bandung
No error? If nothing happens, then the tpk is in pending state, waiting to transfer inside Samsung accessory service application data...
Just try to install the file via sdb command...
and this the error..

error.jpg


i dont know what error is this... so i show it here... and my watch not rooted
maybe i did wrong ....
 

adfree

Senior Member
Jun 14, 2008
9,146
5,396
@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...
 
Last edited:

adfree

Senior Member
Jun 14, 2008
9,146
5,396
Removed Platform Privileges from Manifest...

Now IMHO Public Level Cert should be enough... in theory.

Best Regards
 

Attachments

  • firstBlood_oldest_v19_pubPriv_v1.zip
    12.2 MB · Views: 38
  • Like
Reactions: shahrooz_ra

Vuska

Senior Member
Jul 26, 2010
1,679
422
Bandung
Removed Platform Privileges from Manifest...

Now IMHO Public Level Cert should be enough... in theory.

Best Regards
it installed but always asking permission but after i choose ✓ it keep back to screen and if i reopen the new shealth app... then always ask permission again..

this i attach the video in zip.... Thank you
 

Attachments

  • 20210323_165618_1.mp4.zip
    11.2 MB · Views: 38

Vuska

Senior Member
Jul 26, 2010
1,679
422
Bandung
After i give proper permissions from setting then the spo2 work but not finished... always stuck at about 80%.... and still.

this is the video in Zip..

maybe can help for development...

Thank you
 

Attachments

  • PicsArt_03-23-05.56.45.mp4.zip
    7.4 MB · Views: 58
  • Like
Reactions: adfree

adfree

Senior Member
Jun 14, 2008
9,146
5,396
I am on Phone XDA app. Not seen Video...
But allready told in older post.
A
Be fast tap tap

Or.
B
Set 5 seconds display... then via SDB command...
I have renamed this launch_app command...

So later...

Best Regards
 
  • Like
Reactions: shahrooz_ra

Vuska

Senior Member
Jul 26, 2010
1,679
422
Bandung
I am on Phone XDA app. Not seen Video...
But allready told in older post.
A
Be fast tap tap

Or.
B
Set 5 seconds display... then via SDB command...
I have renamed this launch_app command...

So later...

Best Regards
already fast tap... but it's ok.. i can give proper permissions from settings...
1 post above i attack the video but in zip... you may open and extract the zip to see the video and what happen when i try the app 🙏

by the way.. i also use xda android app..
 
Last edited:
  • Like
Reactions: adfree

adfree

Senior Member
Jun 14, 2008
9,146
5,396

@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
 
Last edited:

adfree

Senior Member
Jun 14, 2008
9,146
5,396
Removed 2 more Privilege... this time Partner Level...

Code:
http://developer.samsung.com/tizen/privilege/healthinfo.share

http://developer.samsung.com/tizen/privilege/iotresourcemanager


I hope this time Public Level Cert is enough to sign...

@MixenSK
@Shammy7861

Please try now and report result.

Thanx in advance.
 

Attachments

  • firstBlood_oldest_v20_pubPriv_v2.zip
    12.2 MB · Views: 53
  • Like
Reactions: xaser66 and MixenSK
Removed 2 more Privilege... this time Partner Level...

Code:
http://developer.samsung.com/tizen/privilege/healthinfo.share

http://developer.samsung.com/tizen/privilege/iotresourcemanager


I hope this time Public Level Cert is enough to sign...

@MixenSK
@Shammy7861

Please try now and report result.

Thanx in advance.

@adfree

Output of File Below:-
C:\SDBstarterKidv1\sdb_2.2.60_windows-64\data\tools>sdb install firstBlood_oldest_v20_pubPriv_v2.tpk
* The version of SDB client (2.2.60) is not same with that of SDB server (4.2.12).
It may cause version compatibility problems.
It is recommended to use SDB server with version 2.2.60. *
* The version of SDB client (2.2.60) is not same with that of SDB server (4.2.12).
It may cause version compatibility problems.
It is recommended to use SDB server with version 2.2.60. *
pulled firstBlood_oldest_v20_pubPriv_v2.tpk 100% 12MB
1 file(s) pulled. 0 file(s) skipped.
firstBlood_oldest_v20_pubPriv_v2.tpk 3742 KB/s (12950587 bytes in 3.379s)
* The version of SDB client (2.2.60) is not same with that of SDB server (4.2.12).
It may cause version compatibility problems.
It is recommended to use SDB server with version 2.2.60. *
path is /opt/usr/home/owner/apps_rw/tmp/firstBlood_oldest_v20_pubPriv_v2.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[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.stealth_fear] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [5361]ms
* The version of SDB client (2.2.60) is not same with that of SDB server (4.2.12).
It may cause version compatibility problems.
It is recommended to use SDB server with version 2.2.60. *
rm: remove write-protected regular file `/opt/usr/home/owner/apps_rw/tmp/firstBlood_oldest_v20_pubPriv_v2.tpk'?

When running the below still says not available in your country on watch.
C:\SDBstarterKidv1\sdb_2.2.60_windows-64\data\tools>sdb shell launch_app com.samsung.shealth.measure
* The version of SDB client (2.2.60) is not same with that of SDB server (4.2.12).
It may cause version compatibility problems.
It is recommended to use SDB server with version 2.2.60. *
... successfully launched

@adfree by the way my country is UK if that helps do your magic boi and get this working I am sure once you get by passed that will be closer.
 
Last edited:
  • Like
Reactions: xaser66 and adfree

adfree

Senior Member
Jun 14, 2008
9,146
5,396
@Shammy7861

Thank you very much for testing and report.


A
My TPK files are proper signed for use with "special" Firmwares... like:
- Combination Firmware
- My own rooted Firmwares with modified Fingerprint/Certs...

B
If you wish to install proper... you need to sign with your own Certificate...

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

This calls the original unmodified SH part...

In my modded TPKs... I have renamed it to:
Code:
sdb shell launch_app com.samsung.stealth_fear.measure
... successfully launched


Because it is in tizen-manifest.xml


Thank you very much.


Best Regards
 

73sydney

Senior Member
Jul 21, 2018
1,404
1,155
Sydney
Google Pixel 2 XL
Im trying the same method i use with the BP and ECG, signed the tpk, then added to tpk pusher apk (signed) and installing from watch (im lazy)

Installed TPK pusher package on watch

Successfully pushed to Active 2

Icon on watch

Permissions prompt (ticked)

Startup screen to tell you to go to phone to continue

Go to phone, open Health...nothing

Back to watch, run app again...permissions prompt

Goes no further, will not return to "go to phone to continue" screen, just endless permissions prompts

Give permissions manually via Settings

Finally able to progress

Blue line goes about 90% of the way around bezel and stops, nothing else displayed but a blue water drop

edit: same as @Vuska 's video

Tried rebooting both watch and phone, no change

tpk installer attached fwiw (package in assets renamed to sp02.tpk for ease,

package in Manifest.xml set to com.samsung.sp02.tpkinstaller (so no package collision))
app_name in res\values\strings.xml set to Samsung SP02 TPK Installer (so no app namecollision))
 

Attachments

  • Samsung.SP02.TPK.installer.apk
    13.7 MB · Views: 176
Last edited:

MixenSK

New member
Jul 6, 2016
2
3
Xiaomi Mi 8 Lite
Same result as @73sydney and @Vuska

Maybe some useful info from log.

Code:
03-24 08:20:04.357 : Error / SENSOR ( 12412 : 12412 ) : [0msensor_internal.cpp: sensord_get_default_sensor(205) > Invalid type(SPO2_MONITOR_SENSOR)
03-24 08:20:04.357 : Error / SHealthAppCommon ( 12412 : 12412 ) : [0mOxygenSaturationWaveProxy.cpp: RegisterHRMPulseWaveListener(49) > [0;40;31msensor_is_supported() failed [-38010874][0;m
03-24 08:20:04.357 : Error / SHealthAppCommon ( 12412 : 12412 ) : [0mOxygenSaturationWaveProxy.cpp: RegisterHRMPulseWaveListener(90) > [0;40;31mSWidgetClicked exception : [sensor_is_supported() failed [-38010874]][0;m

 
  • Like
Reactions: xaser66 and adfree

adfree

Senior Member
Jun 14, 2008
9,146
5,396
Please.

We need help from GW3 user(s).

Means user with:
SM-R840
or
SM-R850
or
SM-R845..
or
SM-R855..

Need info if Blood Oxygen measure starts proper and shows wave? And Sensors on? LED green and/or red?

Thanx in advance.

I hope I get answer in 2021.

Thanx in advance.

Best Regards
 

adfree

Senior Member
Jun 14, 2008
9,146
5,396
@Vuska

Threadstarter also with IDA skills...
But you can see... he is "Missing in Action"... since monthS...

I lost also other smart user, but he is "alive" he is only to la ehm "busy" to answer conversation...


I still have NO feedback from GW3 user(((s)))...

From time to time I check Ebay for cheap crap GW3 victim for own tests...


But out of luck.

I am really wondering if only 1 user have IDA and/or Reversing skills...
And this user is offline... :poop:


Best Regards
 
  • Sad
Reactions: MixenSK

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    HI to all,

    Just bought the GW3 (SM-R840 / R840XXU1BUD1 / SM-R840NZKALUX) to use with my Galaxy S20 Ultra (SM-G988B/DS - SAOMC_SM-G988B_OXM_LUX_RR_0010) and I was shocked when I found that I can't use the ECG and BP because it seems the Samsung Health Monitor is available for the whole EU except for Luxembourg (one of the founders of the EU community). On top of this, I can't find the SpO2 on the watch.....not my greatest day.....

    So, I was searching for a way to force it to work and I found this post.

    I read several pages (not yet all of them) and found some useful youtube links; however, since they are dated back to 2020 I was wondering whether they are still valid or if there is a newer procedure to change the location to my GW3.

    Do I have to do the same for my S20 as well?

    I have also noticed I'm missing the Samsung Pay app.....

    I will be more than happy if I can help you back (but you should tell me what to do and maybe how :p )

    Cheers
    Yes, still same... and as i know, page 1 already updated.
    And... great... as you have GW3, maybe you can provide some help to sir Adfree for SpO2 too...

    (y)
    3
    Code:
    sdb install samsungapps-000005543326-21087945-100100001.wgt
    pulled samsungapps-000005543326-21087945-100100001.wgt  100%         20MB
    1 file(s) pulled. 0 file(s) skipped.
    samsungapps-000005543326-21087945-100100001.wgt   494 KB/s (21087945 bytes in 41.625s)
    path is /opt/usr/home/owner/apps_rw/tmp/samsungapps-000005543326-21087945-100100001.wgt
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[start] val[update]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[10]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[12]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[15]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[17]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[20]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[23]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[25]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[28]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[30]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[33]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[35]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[38]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[41]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[43]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[46]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[48]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[51]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[53]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[56]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[58]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[61]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[64]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[66]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[69]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[71]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[74]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[76]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[79]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[82]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[84]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[87]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[89]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[92]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[94]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[97]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[install_percent] val[100]
    __return_cb req_id[1] pkg_type[tpk] pkgid[com.samsung.health_sensor_ext] key[end] val[ok]
    spend time for pkgcmd is [23546]ms

    Newer Version of this special "SH ext" leaked...

    I have installed on my SM-R820 DUA7 and will check...

    Best Regards
    2
    Still with my skills and tricks nothing new...

    I am still waiting for help from GW3 user(((s)))... :devilish:

    In Ebay I saw some offer for defect GW3... but no idea what is damaged... because 100 Euro is not really cheap for dead device...

    ?

    Still reason for GW3 feedback is... to identify where the f$%ing Trigger is... inside SH TPK or inside Firmware/Kernel?

    Still in all SH and also inside these SH Sensor ext crap is:
    libspo2.so

    With text strings:
    Code:
    tizen.org/system/model_name [%s] get_platform_str fail  secspo2_api /sys/class/sensors/hrm_sensor/module  
    AFE4920 AFE4930
    SM-R820 SM-R825 SM-R830 SM-R835 Renaissance
    SM-R840 SM-R845 SM-R850 SM-R855 Noblesse  
    [%s] fail
      [%s] success
       [%s] prj(%s) sen(%s) lib(%s) TD: %d
       spo2_lib(%s), TD (%d), %d, %d(%.2f/%.2f), %d(%u/%.2f(%d)), %d(%d), %s,
    __Initialize_SpO2_Algorithm_Parameters  SpO2Algo_Deinit [%s] fail getModelName / %d secspo2_util

    Why is this inside?
    SM-R820 SM-R825 SM-R830 SM-R835 Renaissance

    Why?
    AFE4920

    Is this Library involved or fake dummy or?

    IMHO answer can come easier from tests with GW3...

    But I have no GW3...

    Best Regards

    Dear friend
    Finaly i sold my galaxy watch active 2 and today buy galaxy watch3
    I wana help to
    2
    Memo to me...

    Since October 2020:

    In German I know this:
    Von nichts kommt nichts.

    This seems really true in Tizen world.

    Best Regards
    2
    Still with my skills and tricks nothing new...

    I am still waiting for help from GW3 user(((s)))... :devilish:

    In Ebay I saw some offer for defect GW3... but no idea what is damaged... because 100 Euro is not really cheap for dead device...

    ?

    Still reason for GW3 feedback is... to identify where the f$%ing Trigger is... inside SH TPK or inside Firmware/Kernel?

    Still in all SH and also inside these SH Sensor ext crap is:
    libspo2.so

    With text strings:
    Code:
    tizen.org/system/model_name [%s] get_platform_str fail  secspo2_api /sys/class/sensors/hrm_sensor/module   
    AFE4920 AFE4930
    SM-R820 SM-R825 SM-R830 SM-R835 Renaissance
    SM-R840 SM-R845 SM-R850 SM-R855 Noblesse   
    [%s] fail
      [%s] success
       [%s] prj(%s) sen(%s) lib(%s) TD: %d
       spo2_lib(%s), TD (%d), %d, %d(%.2f/%.2f), %d(%u/%.2f(%d)), %d(%d), %s,
     __Initialize_SpO2_Algorithm_Parameters  SpO2Algo_Deinit [%s] fail getModelName / %d secspo2_util

    Why is this inside?
    SM-R820 SM-R825 SM-R830 SM-R835 Renaissance

    Why?
    AFE4920

    Is this Library involved or fake dummy or?

    IMHO answer can come easier from tests with GW3...

    But I have no GW3...

    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