SpO2 TPK - Samsung Galaxy Watch 3

Is there a way to extract the SpO2 tpk file from the Galaxy Watch 3 ? I have both watches GW3 and Active 2. I am planning to sideload the SpO2 on the Active 2. Thanks.

A
Blood Oxygen is NO Standalone TPK nor WGT...
It is inside the "magic" Samsung Health package:
Code:
com.samsung.shealth_gear
B
This crap is started as Widget... no idea how exactly it is enablde/disabled for France etc...
Maybe by Plugin APK crap...
C
Code:
tizen-manifest.xml
From Version 4.12.1200
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="5.5.0.1" package="com.samsung.shealth_gear" version="[B]4.12.1200[/B]">
<profile name="wearable"/>
<ui-application
At end of manifest....
Code:
</widget-class>
<[COLOR="Red"][B]widget-class classid[/B][/COLOR]="[COLOR="Red"]oxygensaturation[/COLOR]" max-instance="1" update-period="0">
<!-- DREAM_HEALTH_HEADER_BLOOD_OXYGEN -->
<label xml:lang="ar-ae">الأكسجين في الدم</label>
<label xml:lang="ar-il">الأكسجين في الدم</label>
<label xml:lang="as-in">তেজৰ অক্সিজেন</label>
<label xml:lang="az-az">Qanda oksigen həcmi</label>
<label xml:lang="be-by">Кісларод у крыві</label>
<label xml:lang="bg-bg">Кислород в кръвта</label>
<label xml:lang="bn-bd">রক্তে অক্সিজেন</label>
<label xml:lang="bn-in">রক্তে অক্সিজেন</label>
<label xml:lang="bo-cn">血氧</label>
<label xml:lang="bs-ba">Kisik u krvi</label>
<label xml:lang="ca-es">Oxigen en sang</label>
<label xml:lang="cs-cz">Hladina kyslÃ*ku v krvi</label>
<label xml:lang="da-dk">Iltmætning i blodet</label>
<label xml:lang="de-at">Blutsauerstoff</label>
<label xml:lang="de-ch">Blutsauerstoff</label>
<label xml:lang="de-de">Blutsauerstoff</label>
<label xml:lang="el-gr">Οξυγόνο αίματος</label>
<label xml:lang="en-au">Blood oxygen</label>
<label xml:lang="en-ca">Blood oxygen</label>
<label xml:lang="en-gb">Blood oxygen</label>
<label xml:lang="en-ie">Blood oxygen</label>
<label xml:lang="en-nz">Blood oxygen</label>
This leads to
D
Search in BTG6 GW3 Firmwares... leads to this inside rootfs.img instead csc.img...
Code:
usr/apps/com.samsung.w-home/bin/[B]w-home[/B]
Code:
oxygensaturation[B]@[/B]com.samsung.shealth.widget
E
I am at the moment only smart enough to call apps via Commands...
https://forum.xda-developers.com/showpost.php?p=83481485&postcount=2007
But no idea how this Widget crap...
Code:
F
No Firmwarefiles for Tizen 5.5 leaked to do stupid tests inside Firmware...
I mean no CTH8 nor CTI4 for SM-R820...
Maybe somebody have faster solution for testing... :angel:
Best Regards
Edit 1.
Nice Video:
https://www.youtube.com/watch?v=qyul_jA8kWI
Here we can see 2 ways of start...
A
By open Shealth TPK on Watch...
B
Widget crap....
Edit 2.
Sitting on WC... ehm I mean during hard work..
Got an idea...
Watch Face maybe could call such kind of Widget...
But first I have checked BTG6 Firmware from GW3 for text string:
Code:
com.samsung.shealth.widget
Found this script... so we are agin in SQLite database world...
Code:
#!/bin/bash
#
# RW Update Script for 3.0 -> 4.0
PATH=/bin:/usr/bin:/sbin:/usr/sbin
source /usr/share/upgrade/rw-update-macro.inc
get_version_info
#db
HOMEDB=/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db
if [ ! -e $HOMEDB ]; then
HOMEDB=/opt/usr/apps/com.samsung.w-home/data/.home.db
fi
if [ "$OLD_VER" = "unknown" ]; then
echo "upgrade home DB HOME DB:$HOMEDB"
/usr/bin/sqlite3 $HOMEDB "update home set id = 'com.samsung.app-shortcut-widget' where id='com.samsung.app-widget.widget';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.pedometer';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.hrlog';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.exercise';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.heartrate';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.intake';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.together';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.together.leaderboard';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.together.challenge';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.floor';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.w-calendar2.widget.next-event';"
/usr/bin/sqlite3 $HOMEDB "update home set id = 'com.samsung.w-contacts2.widget.multiple' where id = 'com.samsung.w-contacts2.widget.single';"
/usr/bin/sqlite3 $HOMEDB "update home set id = 'com.samsung.w-magazine-widget-app' where id = 'org.tizen.magazine-widget';"
/usr/bin/com.samsung.app-widget-upgrade
fi
if [[ "$OLD_VER" = "3.0"* ]]; then
echo "upgrade home DB 3.0* to 4.0 HOME DB:$HOMEDB"
/usr/bin/sqlite3 $HOMEDB "delete from home where id = '[email protected]';"
fi
Will check if i can find Watch Face as template...
Maybe easier here to "spoof"...
Best Regards

Watch Face seems dead end too...
But paths from Shell script leads to this:
Code:
D:\SDB\SDB260>sdb pull /opt/usr/apps/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/apps/com.samsung.w-home/data/.home.db 106 KB/s (16384 bytes in 0.150s)
Code:
D:\SDB\SDB260>sdb pull /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db 123 KB/s (16384 bytes in 0.130s)
1:1 same file from both locations as it seems...

adfree said:
Watch Face seems dead end too...
But paths from Shell script leads to this:
Code:
D:\SDB\SDB260>sdb pull /opt/usr/apps/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/apps/com.samsung.w-home/data/.home.db 106 KB/s (16384 bytes in 0.150s)
Code:
D:\SDB\SDB260>sdb pull /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db 123 KB/s (16384 bytes in 0.130s)
1:1 same file from both locations as it seems...
Click to expand...
Click to collapse
Looks like we are getting somewhere here. Any files you need for me to check from my Active 2 watch. ?
My setup is are as follows
Phone: Huawei Mate 20 Pro
Watch: Samsung Active 2
Active 2 Watch CSC is now KOO changed using Combination FW and Netodin
Originally it was on 4 0 0 .7 , changed to 4 0 0 .6 after Netodin CSC update
Installed bp.tpk and ecg.tpk via sdb.
then via Samsung OTA it became 4 0 0 .8 then another Samsung OTA came
and it is now 5.5.0. 1. Both Ecg and BP are working using Samsung Health Monitor 167

For better investigation... my SM-R760...
Code:
sh-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 1 05:03 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
sh-3.2# cd /opt/usr/apps/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 1 05:03 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
sh-3.2# mkdir testme
sh-3.2# ls -a1l
total 128
drwxrwsr-x 4 owner system_share 4096 Oct 2 15:56 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
drwxrwsrwx 2 root system_share 4096 Oct 2 15:56 testme
sh-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 128
drwxrwsr-x 4 owner system_share 4096 Oct 2 15:56 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
drwxrwsrwx 2 root system_share 4096 Oct 2 15:56 testme
A
Aha, seems only 1 folder...
So I need only 1 time play with file
Code:
.home.db
B
Code:
D:\SDB\SDB260>sdb pull /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/ .\ftd4\widget
pulled .widget_suggestion.db-journal 100% 16KB
pulled .home.db 100% 16KB
pulled .apps.db 100% 16KB
pulled .apps.db-journal 100% 12KB
pulled .home.db-journal 100% 12KB
pulled .widget_suggestion.db 100% 20KB
pulled 55157627a4c4b5a9bdfc405a197f194d84543b01 100% 44 B
pulled f657e4e15e35a0c1fa53c462020df9ebec5c19ce 100% 36 B
pulled 3cbacb5376e2dee294232c956838fc1954985ea5 100% 49 B
pulled ec6b88021747c602dffdafe2e809beb84d820488 100% 43 B
pulled 1e3463dc2080de6e30d6f7ee28b65fcdfa33d0d5 100% 49 B
pulled d6ea693302f3e6a1b8bb827892323e8ed76a4274 100% 42 B
12 file(s) pulled. 0 file(s) skipped.
/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/ 126 KB/s (96087 bytes in 0.740s)
Maybe more clear what is inside db...
C
If I push with SDB then... hmmm... maybe this is why it fails... maybe...
Code:
sh-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 128
drwxrwsr-x 4 owner system_share 4096 Oct 2 16:13 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
[COLOR="Red"]-rwxr-xrwx[/COLOR] 1 root system_share 16384 Oct 2 02:14 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
drwxrwsrwx 2 root system_share 4096 Oct 2 15:56 testme

Pulled files via SDB from my SM-R820...
Not all possible but few... :good: :good:
Compared with BTG6 Firmware rootfs.img from GW3...
Code:
spo2 app is not enabled. [COLOR="Red"][B]skip[/B][/COLOR]
This is inside...
Code:
/usr/apps/com.samsung.w-manager-service/bin/[COLOR="Red"][B]w-manager-service[/B][/COLOR]
Best Regards

I have now rooted Tizen 5.5 for my SM-R820... CTH8...
Need to prepare few things and backup,,,
Then I will "simple" edit:
Code:
home_default_items.xml
in Default Folder of CSC Preconfig crap...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<data>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>0</screen>
<cellX>0</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>com.samsung.app-shortcut-widget</packagename>
<classname>com.samsung.app-shortcut-widget</classname>
<screen>1</screen>
<cellX>1</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>0</screen>
<cellX>1</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>0</screen>
<cellX>1</cellX>
<cellY>1</cellY>
</favorite>
<favorite>
<packagename>com.samsung.weather-widget</packagename>
<classname>com.samsung.weather-widget</classname>
<screen>1</screen>
<cellX>0</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>2</screen>
<cellX>0</cellX>
<cellY>0</cellY>
</favorite>
</data>
Maybe I add or I replace...
Code:
[COLOR="Red"][B]oxygensaturation[/B][/COLOR]@com.samsung.shealth.widget
We will see if this is enough...
Best Regards

How did you root 5.5? I haven't been able to find any info on rooting these other than some old rooted firnwares

Code:
sdb root on
sdb shell mount -vo remount,rw /opt/system/csc/
sdb push SW_Configuration.xml /opt/system/csc/mps/CSC/
sdb push home_default_items.xml /opt/system/csc/preconfig/DEF/usr/homescreen/
First attempt...
Changed 1 Byte to prevent CTI4 FOTA...
@betterl8thannvr
Your Model Name is what?
Because I've play with my SM-R820...
Best Regards

@adfree ah, mine fails when I try sdb root on
>sdb root on
* The version of SDB client (2.3.0) 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.3.0. *
Permission denied
Any idea how to get around that?
Edit: I have SM-R825U

sdb root can be done once you connect with Tizen Studio right ?

First attempt not bring Blood Oxygen to me...
Second attempt...
Code:
D:\SDB\SDB260>sdb root on
Switched to 'root' account mode
D:\SDB\SDB260>sdb shell mount -vo remount,rw /opt/system/csc/
mount: /dev/mmcblk0p16 mounted on /opt/system/csc.
D:\SDB\SDB260>sdb shell mkdir /opt/system/csc/preconfig/DBT/usr/homescreen/
mkdir: cannot create directory `/opt/system/csc/preconfig/DBT/usr/homescreen/': No such file or directory
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/
sh-3.2# ls -a1l
total 8
drwxr-xr-x 4 root root 1024 Jun 16 16:10 .
drwxr-xr-x 71 root root 1024 Jun 16 16:10 ..
drwxr-xr-x 2 root root 1024 Jun 16 16:10 feature
drwxr-xr-x 2 root root 1024 Jun 16 16:10 preset
sh-3.2# mkdir usr
sh-3.2# cd usr
sh-3.2# mkdir homescreen
sh-3.2# exit
exit
D:\SDB\SDB260>sdb push home_default_items.xml /opt/system/csc/preconfig/DBT/usr/homescreen/
pushed home_default_items.xml 100% 1KB
1 file(s) pushed. 0 file(s) skipped.
home_default_items.xml 7 KB/s (1387 bytes in 0.180s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/usr/homescreen/
sh-3.2# ls -a1l
total 7
drwxrwxrwx 2 root root 1024 Oct 3 14:03 .
drwxrwxrwx 3 root root 1024 Oct 3 14:03 ..
-rwxr-xrwx 1 root root 1387 Oct 3 07:49 home_default_items.xml
sh-3.2# reboot
Rebooting.
@EQMOD
You need Root aka Super User aka su Binary inside Firmware... this is Linux stuff...
@betterl8thannvr
You are in similar situation like me...
No latest files leaked...
ATF2 is latest leaked Files for netOdin...
So much harder to get Root Access...
I have at the moment limited time to explain nor to make the files for you...
Maybe next days more time...
Best Regards

adfree said:
First attempt not bring Blood Oxygen to me...
Second attempt...
Code:
D:\SDB\SDB260>sdb root on
Switched to 'root' account mode
D:\SDB\SDB260>sdb shell mount -vo remount,rw /opt/system/csc/
mount: /dev/mmcblk0p16 mounted on /opt/system/csc.
D:\SDB\SDB260>sdb shell mkdir /opt/system/csc/preconfig/DBT/usr/homescreen/
mkdir: cannot create directory `/opt/system/csc/preconfig/DBT/usr/homescreen/': No such file or directory
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/
sh-3.2# ls -a1l
total 8
drwxr-xr-x 4 root root 1024 Jun 16 16:10 .
drwxr-xr-x 71 root root 1024 Jun 16 16:10 ..
drwxr-xr-x 2 root root 1024 Jun 16 16:10 feature
drwxr-xr-x 2 root root 1024 Jun 16 16:10 preset
sh-3.2# mkdir usr
sh-3.2# cd usr
sh-3.2# mkdir homescreen
sh-3.2# exit
exit
D:\SDB\SDB260>sdb push home_default_items.xml /opt/system/csc/preconfig/DBT/usr/homescreen/
pushed home_default_items.xml 100% 1KB
1 file(s) pushed. 0 file(s) skipped.
home_default_items.xml 7 KB/s (1387 bytes in 0.180s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/usr/homescreen/
sh-3.2# ls -a1l
total 7
drwxrwxrwx 2 root root 1024 Oct 3 14:03 .
drwxrwxrwx 3 root root 1024 Oct 3 14:03 ..
-rwxr-xrwx 1 root root 1387 Oct 3 07:49 home_default_items.xml
sh-3.2# reboot
Rebooting.
@EQMOD
You need Root aka Super User aka su Binary inside Firmware... this is Linux stuff...
@betterl8thannvr
You are in similar situation like me...
No latest files leaked...
ATF2 is latest leaked Files for netOdin...
So much harder to get Root Access...
I have at the moment limited time to explain nor to make the files for you...
Maybe next days more time...
Best Regards
Click to expand...
Click to collapse
What happened after reboot ?

thanks @adfree, I think I can figure out how to root on ATF2, but you said you had root on 5.5, so I am quite curious about how to do that without the leaked files.
I will keep poking at it.

Hmm, well, flashing back to ATF2 is being troublesome. It fails every time, so I now have a small, expensive brick.
<ID:0/001> 192.168.49.1
<ID:0/001> Odin engine v(ID:1.0000)..
<ID:0/001> File analysis..
<ID:0/001> SetupConnection..
<ID:0/001> Initialzation..
<ID:0/001> Set PIT file..
<ID:0/001> DO NOT TURN OFF TARGET!!
<ID:0/001> Get PIT for mapping..
<ID:0/001> Get PIT Transmission
<ID:0/001> Firmware update start..
<ID:0/001> SingleDownload.
<ID:0/001> cm.bin
<ID:0/001>
<ID:0/001> XmitData
<ID:0/001> Complete(Write) operation failed.
<ID:0/001> Removed!!
<OSM> All threads completed. (succeed 0 / failed 1)

Code:
XmitData
Is IMHO out of luck transfer Error...
I have fixed this by trying again...
@betterl8thannvr
Your GW2 still have working:
Code:
download wirelss
About ATF2 I can only remember I have uploaded "corrected" CSC, because invalid file inside...
Will check my HDD...
Best Regards

Tiny progress...
A
Seems I found my mistake...
SDB push change Permissions to file...
Code:
D:\SDB\SDB260>sdb push .home.db /opt/usr/apps/com.samsung.w-home/data/
pushed .home.db 100% 16KB
1 file(s) pushed. 0 file(s) skipped.
.home.db 84 KB/s (16384 bytes in 0.190s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/usr/apps/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rwxr-xrwx 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
sh-3.2# chmod 644 .home.db
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rw-r--r-- 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
So I have to correct it...
But this require ROOT...
Tested .home.db from GW3...
Blood Oxygen still blocked...
Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
So this means IMHO... I have to replace
Code:
com.samsung.w-home.home-service
https://forum.xda-developers.com/showpost.php?p=83626487&postcount=6
Best Regards

adfree said:
Tiny progress...
A
Seems I found my mistake...
SDB push change Permissions to file...
Code:
D:\SDB\SDB260>sdb push .home.db /opt/usr/apps/com.samsung.w-home/data/
pushed .home.db 100% 16KB
1 file(s) pushed. 0 file(s) skipped.
.home.db 84 KB/s (16384 bytes in 0.190s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/usr/apps/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rwxr-xrwx 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
sh-3.2# chmod 644 .home.db
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rw-r--r-- 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
So I have to correct it...
But this require ROOT...
Tested .home.db from GW3...
Blood Oxygen still blocked...
Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
So this means IMHO... I have to replace
Code:
com.samsung.w-home.home-service
https://forum.xda-developers.com/showpost.php?p=83626487&postcount=6
Best Regards
Click to expand...
Click to collapse
Could you upload both binaries here. (GW3, GA2) and home.db Let me check both

@EQMOD
Soon I have rooted CTI4 uploaded for SM-R820...
Your Model Name is exactly what?
In your posts I see only GWA2...
Best Regards

adfree said:
@EQMOD
Soon I have rooted CTI4 uploaded for SM-R820...
Your Model Name is exactly what?
In your posts I see only GWA2...
Best Regards
Click to expand...
Click to collapse
its SM-R820

Related

Low on space...

I just installed CyanogenMod 6.1.1 with Darktremor Apps2SD and wildmonks .35.10 kernel.
When it 1st booted it said that i'm low on space. If I look at internal storage I only have 4mb left When I apply the "a2sd cachesd" it reboots and after that I have 51mb left internal storage.
Any solution on this one?
PS: Yes, I did full wipe
EDIT:
Just did full wipe again and installed MIUI stock ROM and same issue, 19mb internal storage left...
EDIT2:
Reïnstalled CyanogenMod (app2sd) with all my apps,.. 45mb internal storage left It's not a disaster, but before I had 180mb internal memory, so there must be something wrong...
I have found something similar here, but no solution
http://forum.xda-developers.com/archive/index.php/t-787288.html
ZeppeMan said:
I have found something similar here, but no solution
http://forum.xda-developers.com/archive/index.php/t-787288.html
Click to expand...
Click to collapse
Hi,
Have you try to flash your the bootloader ? (then wipe data/cache and install new rom)
My bootloader is unlocked. Radio/SPL flashed to latest. Wiped many times, did a factory reset. Didn't help...
It looks like it doesn't wipe everything... But what can be the problem then?
ZeppeMan said:
My bootloader is unlocked. Radio/SPL flashed to latest. Wiped many times, did a factory reset. Didn't help...
It looks like it doesn't wipe everything... But what can be the problem then?
Click to expand...
Click to collapse
Have you tried with a new/different SD ?
Can you post the output of a2sd check to verify that DT is set up and functioning correctly?
a2sd is working because my apps are all on my ext3 partition, checked it in Titanium Backup. If it was not working then I hadn't enough internal memory (only 4mb) to install all my apps
Tried another SD card too, same result, it's something with /data I think not wiping correctly or something.
ZeppeMan said:
a2sd is working because my apps are all on my ext3 partition, checked it in Titanium Backup. If it was not working then I hadn't enough internal memory (only 4mb) to install all my apps
Tried another SD card too, same result, it's something with /data I think not wiping correctly or something.
Click to expand...
Click to collapse
Have you try to manually delete all files in /data ?
fautpasycraindre said:
Have you try to manually delete all files in /data ?
Click to expand...
Click to collapse
Also tried wiping through adb, same result...
fautpasycraindre said:
Have you try to manually delete all files in /data ?
Click to expand...
Click to collapse
or even just looking at the contents of that directory with ls -al /data? Should indicate all the files there, along with the size of files and directories - will also verify that all of your symlinks are in place and functioning.
This is what I get in Terminal app after applying "ls -al /data" command.
$ export PATH=/data/local/bin:$PATH
$su
# ls -al /data
drwxrwx--x 1 system system 2048 Jan 26 13:24 .
drwxr-xr-x 14 root root 0 Jan 26 13:24 ..
-rw-rw-rw- 1 root root 2 Jan 26 13:02 .dalvikcache
-rw-rw-rw- 1 root root 83 Jan 26 13:02 a2sdmnt.tmp
lrwxrwxrwx 1 root root 11 Jan 26 13:24 app -> /sd-ext/app
lrwxrwxrwx 1 root root 19 Jan 26 13:24 app-private -> /sd-ext/app-private
drwx------ 1 system system 2048 Jan 26 12:58 backup
lrwxrwxrwx 1 root root 20 Jan 26 13:24 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x 1 system system 2048 Jan 26 13:20 data
drwxr-x--- 1 root log 2048 Jan 26 12:57 dontpanic
-rw-r--r-- 1 root root 6073 Jan 26 13:24 dta2sd.lg1
-rw-r--r-- 1 root root 2966 Jan 26 13:24 dta2sd.lg2
-rw-r--r-- 1 root root 6073 Jan 26 13:24 dta2sd.log
-rw-rw-rw- 1 root root 376 Jan 26 12:56 dtinstall.log
drwxr-xr-x 1 root root 2048 Jan 26 12:56 jit
drwxrwx--x 1 shell shell 2048 Jan 26 12:57 local
drwxrwx--- 1 root root 2048 Jan 26 12:57 lost+found
drwxrwx--t 1 system misc 2048 Jan 26 15:29 misc
drwx------ 1 root root 2048 Jan 26 13:24 property
drwxrwxr-x 1 system system 2048 Jan 26 15:29 system
#
ZeppeMan said:
This is what I get in Terminal app after applying "ls -al /data" command.
Code:
[I]$ export PATH=/data/local/bin:$PATH
$su
# ls -al /data
drwxrwx--x 1 system system 2048 Jan 26 13:24 .
drwxr-xr-x 14 root root 0 Jan 26 13:24 ..
-rw-rw-rw- 1 root root 2 Jan 26 13:02 .dalvikcache
-rw-rw-rw- 1 root root 83 Jan 26 13:02 a2sdmnt.tmp
lrwxrwxrwx 1 root root 11 Jan 26 13:24 app -> /sd-ext/app
lrwxrwxrwx 1 root root 19 Jan 26 13:24 app-private -> /sd-ext/app-private
drwx------ 1 system system 2048 Jan 26 12:58 backup
lrwxrwxrwx 1 root root 20 Jan 26 13:24 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x 1 system system 2048 Jan 26 13:20 data
drwxr-x--- 1 root log 2048 Jan 26 12:57 dontpanic
-rw-r--r-- 1 root root 6073 Jan 26 13:24 dta2sd.lg1
-rw-r--r-- 1 root root 2966 Jan 26 13:24 dta2sd.lg2
-rw-r--r-- 1 root root 6073 Jan 26 13:24 dta2sd.log
-rw-rw-rw- 1 root root 376 Jan 26 12:56 dtinstall.log
drwxr-xr-x 1 root root 2048 Jan 26 12:56 jit
drwxrwx--x 1 shell shell 2048 Jan 26 12:57 local
drwxrwx--- 1 root root 2048 Jan 26 12:57 lost+found
drwxrwx--t 1 system misc 2048 Jan 26 15:29 misc
drwx------ 1 root root 2048 Jan 26 13:24 property
drwxrwxr-x 1 system system 2048 Jan 26 15:29 system
#[/I]
Click to expand...
Click to collapse
Everything looks fine there, for the most part.
How many apps do you have installed? Keep in mind that each app will still have some amount of storage in /data/data - it can add up if you have 180+ apps installed.
For the moment I have like 25 apps installed. So, not that much..
I hate to keep hassling you for further information... but could you post the output of df -h please, to show the breakdown of storage usage on your file system?
Code:
$ export PATH=/data/local/bin:$PATH
$df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 203.3M 0 203.3M 0% /dev
tmpfs 203.3M 0 203.3M 0% /mnt/asec
/dev/block/mtdblock3 145.0M 107.2M 37.8M 74% /system
/dev/block/mtdblock5 196.3M 149.3M 46.9M 76% /data
/dev/block/mtdblock4 95.0M 2.9M 92.1M 3% /cache
/dev/block/mmcblk0p2 914.7M 105.2M 760.7M 12% /sd-ext
/dev/block/vold/179:1
6.4G 90.9M 6.4G 1% /mnt/sdcard
df: /mnt/secure/asec: Permission denied
/dev/block/dm-0 7.1M 5.9M 1.2M 83% /mnt/asec/net.hexage.radiant.lite-1
/dev/block/dm-1 2.0M 464.0K 1.6M 22% /mnt/asec/com.skitapps.bubblebuster-1
/dev/block/dm-2 16.2M 14.1M 2.1M 87% /mnt/asec/com.rovio.angrybirds-1
/dev/block/dm-3 7.1M 5.4M 1.7M 76% /mnt/asec/com.qualcomm.qx.neocore-1
$
Np, I want this to be fixed.. So ask all things you need
ZeppeMan said:
Code:
$ export PATH=/data/local/bin:$PATH
$df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 203.3M 0 203.3M 0% /dev
tmpfs 203.3M 0 203.3M 0% /mnt/asec
/dev/block/mtdblock3 145.0M 107.2M 37.8M 74% /system
[B]/dev/block/mtdblock5 196.3M 149.3M 46.9M 76% /data[/B]
/dev/block/mtdblock4 95.0M 2.9M 92.1M 3% /cache
/dev/block/mmcblk0p2 914.7M 105.2M 760.7M 12% /sd-ext
/dev/block/vold/179:1
$
Np, I want this to be fixed.. So ask all things you need
Click to expand...
Click to collapse
Your /data is really high ! It should not be that big! Could you check the size of folders "app", "data" and "backup" ? (or list 1st level folder size in /data if it's ok for you)
Can you give me the command or where I can find it? Sorry, don't know to much of these things..
EDIT:
In Astro app, when I go into /data it says it's empty..
ZeppeMan said:
Can you give me the command or where I can find it? Sorry, don't know to much of these things..
EDIT:
In Astro app, when I go into /data it says it's empty..
Click to expand...
Click to collapse
Command is :
Code:
du -m -d 1 /data
du = disk usage
-m = size in megabytes
-d 1 = depth=1
About Astro, it's the same for some file manager as you need explicit root access. That's why before exectue "du" command, you may have to type "su" to get root privilege.
This what I get..
Code:
$ export PATH=/data/local/bin:$PATH
$su
# du -m -d 1 /data
0牋牋牋 /data/property
0牋牋牋 /data/backup
0牋牋牋 /data/dontpanic
1牋牋牋 /data/jit
0牋牋牋 /data/misc
5牋牋牋 /data/data
0牋牋牋 /data/local
0牋牋牋 /data/system
0牋牋牋 /data/lost+found
7牋牋牋 /data
#
In Terminal app the chinese signs can't be seen, it's just empty space.
Like this..
Code:
$ export PATH=/data/local/bin:$PATH
$su
# du -m -d 1 /data
0 /data/property
0 /data/backup
0 /data/dontpanic
1 /data/jit
0 /data/misc
5 /data/data
0 /data/local
0 /data/system
0 /data/lost+found
7 /data
#
Ok so you have 14 MB used on your /data folders.
Now try with "-a" option (du -m -d 1 -a /data) to list all files in /data folder, as it might come from files in /data folder
-a = List all (not only folder)

[Q] hp touchpad /boot directory content?

Hi, this is my list files in /boot
Is normal the bin, etc, dev, sbin, sys, usr...
What are this folders doing here? Thanks
Code:
# ls -l
-rw-r--r-- 1 root root 1435013 Dec 21 19:19 System.map-2.6.35-palm-tenderloin
drwxr-xr-x 2 root root 4096 Feb 4 02:49 bin
-rw-r--r-- 1 root root 490656 Dec 21 19:10 boot-genesis.tar.gz
-rw-r--r-- 1 root root 119203 Dec 21 19:10 boot-images.tar.gz
-rw-r--r-- 1 root root 115484 Dec 21 19:10 boot.bin
-rw-r--r-- 1 root root 75257 Dec 21 19:19 config-2.6.35-palm-tenderloin
drwxr-xr-x 2 root root 4096 Feb 4 02:49 dev
drwxr-xr-x 3 root root 4096 Feb 4 02:49 etc
-rwxr-xr-x 1 root root 1131 Dec 21 19:10 genesis-update.xml
-rwxr-xr-x 1 root root 2196 Dec 21 19:10 image-update.xml
drwxr-xr-x 2 root root 4096 Feb 4 02:49 lib
drwx------ 2 root root 16384 Feb 4 02:46 lost+found
-rw-r--r-- 1 root root 11 Feb 4 03:36 moboot.default
-rw-r--r-- 1 luna luna 0 Feb 4 23:34 moboot.next
-rw-r--r-- 1 root root 30313 Feb 4 03:35 moboot.splash.CyanogenMod.tga
drwxr-xr-x 2 root root 4096 Feb 4 02:49 proc
drwxr-xr-x 2 root root 4096 Feb 4 02:49 realroot
drwxr-xr-x 2 root root 4096 Feb 4 02:49 sbin
drwxr-xr-x 2 root root 4096 Feb 4 02:49 sys
lrwxrwxrwx 1 root root 13 Feb 4 03:37 uImage -> uImage.moboot
-rw-r--r-- 1 root root 3341940 Dec 21 19:19 uImage-2.6.35-palm-tenderloin
lrwxrwxrwx 1 root root 18 Feb 4 03:36 uImage-prev -> uImage.CyanogenMod
-rwxrwxrwx 1 root root 4857082 Feb 3 22:33 uImage.Bodhi
-rw-r--r-- 1 root root 5006686 Feb 4 03:37 uImage.ClockworkMod
-rw-r--r-- 1 root root 4136681 Feb 4 03:35 uImage.CyanogenMod
-rwxr-xr-x 1 root root 64508 Feb 4 23:30 uImage.moboot
lrwxrwxrwx 1 root root 29 Feb 4 02:49 uImage.webOS -> uImage-2.6.35-palm-tenderloin
-rw-r--r-- 1 root root 84 Dec 21 19:22 updatefs-info
drwxr-xr-x 5 root root 4096 Feb 4 02:49 usr

[Q] Invalid Magic (TouchPadBuntu)

Hi,
I have upgraded my moboot to 3.0.5 and upgraded the Cyanogenmod to CM9. Also, i have decided to install TouchPadBuntu to test it. Followed the instructions with some modifications, and everything went fine, but when i try to boot on it via moboot, it gives the error:
Loading '/boot/uImage.TouchPadBuntu'... OK
Checking uImage... Invalid Magic
BOOT FAILED!
Also, ClockRecovery doesn't works too, it returns some numbers (hex codes) on the boot screen.
Someone can give some light?
I'm dealing with same problem, but with Arch Linux.
I think the problem is in /boot free space...
Can you list your files in /boot and your free space in there?
ls -l /boot
df -h /boot
Hi, i have attached the errors... one is TouchPadBuntu error, and the other is Cyanogenmod error that is appearing sometimes yes, sometimes no...
http://img19.imageshack.us/img19/5138/imagem0000m.jpg
http://img828.imageshack.us/img828/4153/imagem0001.jpg
Also, here is my /boot
Code:
[email protected]:/# ls -l /boot
-rw-r--r-- 1 root root 1430215 Jul 30 2011 System.map-2.6.35-palm-tenderloin
drwxr-xr-x 2 root root 4096 Oct 14 02:59 bin
-rw-r--r-- 1 root root 490764 Jul 30 2011 boot-genesis.tar.gz
-rw-r--r-- 1 root root 119371 Jul 30 2011 boot-images.tar.gz
-rw-r--r-- 1 root root 115392 Jul 30 2011 boot.bin
-rw-r--r-- 1 root root 75277 Jul 30 2011 config-2.6.35-palm-tenderloin
drwxr-xr-x 2 root root 4096 Oct 14 02:59 dev
drwxr-xr-x 3 root root 4096 Oct 14 02:59 etc
-rwxr-xr-x 1 root root 1131 Jul 30 2011 genesis-update.xml
-rwxr-xr-x 1 root root 2224 Jul 30 2011 image-update.xml
drwxr-xr-x 2 root root 4096 Oct 14 02:59 lib
drwx------ 2 root root 16384 Oct 14 02:56 lost+found
-rw-r--r-- 1 root root 11 Oct 14 03:51 moboot.default
-rw-r--r-- 1 luna luna 0 Feb 9 01:57 moboot.next
-rw-rw-rw- 1 root root 30313 Feb 8 00:58 moboot.splash.CyanogenMod.tga
-rw-r--r-- 1 luna 10000 14046 Sep 8 2001 moboot.splash.webOS.tga
-rw-r--r-- 1 root root 4 Feb 8 01:51 moboot.verbose.TouchPadBuntu
drwxr-xr-x 2 root root 4096 Oct 14 02:59 proc
drwxr-xr-x 2 root root 4096 Oct 14 02:59 realroot
drwxr-xr-x 2 root root 4096 Oct 14 02:59 sbin
drwxr-xr-x 2 root root 4096 Oct 14 02:59 sys
lrwxrwxrwx 1 root root 13 Feb 8 01:51 uImage -> uImage.moboot
-rw-r--r-- 1 root root 3333228 Jul 30 2011 uImage-2.6.35-palm-tenderloin
-rw-r--r-- 1 root root 5006686 Feb 8 00:57 uImage.ClockworkMod
-rw-r--r-- 1 root root 4136681 Feb 8 00:58 uImage.CyanogenMod
-rw-r--r-- 1 root root 1106 Feb 8 02:53 uImage.TouchPadBuntu
-rw-r--r-- 1 root root 64508 Feb 8 01:50 uImage.moboot
lrwxrwxrwx 1 root root 29 Oct 14 02:58 uImage.webOS -> uImage-2.6.35-palm-tenderloin
-rw-r--r-- 1 root root 84 Jul 30 2011 updatefs-info
drwxr-xr-x 5 root root 4096 Oct 14 02:59 usr
[email protected]:/# df -h /boot
Filesystem Size Used Available Use% Mounted on
/dev/root 31.0M 22.1M 8.9M 71% /boot
Hi folks,
I have corrected my problem downloading uImage.TouchPadUbuntu again via CURL direclty to /boot. To do this i have to use mount -O rw,remount /boot and execute the curl command here.
After this, i rebooted the touchpad and now have ubuntu on it. But using touchscreen as mouse is sucking a lot, and response of my touch on virtual keyboard too... but fine to test!
I also solved my problem, I think the problem was pretty like yours!
My solution post.

[Q] Mess up adb shell font

Greetings,
Any idea why my adb shell looks strange and mess-up? I have no idea what I changed, I now have arrows pointing all over the places.
Code:
[email protected]:data# ls -la
ls -la
total 350
drwxrwx--x 1 1000 1000 2048 Apr 29 15:37 ←[1;34m.←[0m/
drwxrwx--x 19 1000 1000 4096 Apr 20 05:19 ←[1;34m..←[0m/
drwxr-xr-x 1 10119 10119 2048 Apr 20 06:00 ←[1;34males.veluscek.sdtools←[0m/
drwxr-xr-x 1 10140 10140 2048 Apr 20 06:04 ←[1;34mau.com.auspost.m←[0m/
drwxr-xr-x 1 10137 10137 2048 Apr 20 06:03 ←[1;34mau.com.carsales←[0m/
drwxr-xr-x 1 10131 10131 2048 Apr 20 06:02 ←[1;34mau.com.dominos.olo.android.app←[0m/
drwxr-xr-x 1 10122 10122 2048 Apr 20 06:01 ←[1;34mau.com.nab.mobile←[0m/

No logcat output

I'm porting Ubuntu Touch on an y991 (Elephone Vowney Lite).
I managed to boot the system and run its apps. Now I need to debug RIL, wireles, camera etc., but I cannot get any logcat output.
I tried both /system/bin/logcat both /android/system/bin/logcat from an adb root shell. It just returns to prompt. No error, no log. Logs exist:
Code:
ls -l /dev/log*
srw-rw-rw- 1 root root 0 Jan 1 01:00 /dev/log
crw-rw-rw- 1 root root 10, 59 Jan 1 01:00 /dev/log_events
crw-rw-rw- 1 root root 10, 60 Jan 1 01:00 /dev/log_main
crw-rw-rw- 1 root root 10, 58 Jan 1 01:00 /dev/log_radio
crw-rw-rw- 1 root root 10, 57 Jan 1 01:00 /dev/log_system
I was about to suggest that you ask the ubport's guys ..... but mayyybe you know them already https://forums.ubports.com/user/4javier

Categories

Resources