Gear S3 Root and Kernel Source! (Android Wear Port Thread)

Search This thread

adfree

Senior Member
Jun 14, 2008
10,549
6,129
Samsung Galaxy Watch 4
Samsung Galaxy S22

Attachments

  • 4kids_sinnlosEvidence_v0.jpg
    4kids_sinnlosEvidence_v0.jpg
    68.2 KB · Views: 564
  • 4kids_sinnlosEvidence_v1.jpg
    4kids_sinnlosEvidence_v1.jpg
    81.5 KB · Views: 566

LollosoSi

Member
Mar 28, 2016
28
8
Sapessi
That would be same as asking Apple to make Android available for their iPhones...

And why would they? There are a lot of people very satisfied with Tizen, which is not me:rolleyes:.
And if Sammy would make Wear OS an option they would be admitting that Tizen was hot garbage after all IMHO.
Looks like this has happened... Time to keep asking for wear on older watches
 

adfree

Senior Member
Jun 14, 2008
10,549
6,129
Samsung Galaxy Watch 4
Samsung Galaxy S22
Memo to me...

Android-Version : R(AndroidWear 11)

Leads to such Google search hit...

With the latest Android Studio Beta, you can use the built-in emulator to install and run a “Wear OS – Preview” build. The first notable detail we learn here is that, as expected, the new version is built on Android 11. For comparison, the current version of Wear OS — System Version H — is based on Android 9 Pie.

Best Regards
 
  • Like
Reactions: Dante63

adfree

Senior Member
Jun 14, 2008
10,549
6,129
Samsung Galaxy Watch 4
Samsung Galaxy S22
GW4... no idea why also 720 x 720 Pixel inside...

Few 450 x 450...

Best Regards
 

Attachments

  • com.samsung.android.watch.watchface.digitalmodular.DigitalModularWatchFaceService.png
    com.samsung.android.watch.watchface.digitalmodular.DigitalModularWatchFaceService.png
    173.7 KB · Views: 125
  • com.samsung.android.watch.watchface.analogmodular.AnalogModularWatchFaceService.png
    com.samsung.android.watch.watchface.analogmodular.AnalogModularWatchFaceService.png
    241.8 KB · Views: 115
  • com.samsung.android.watch.watchface.aremoji.AREmojiWatchFaceService.png
    com.samsung.android.watch.watchface.aremoji.AREmojiWatchFaceService.png
    113.9 KB · Views: 83
  • com.samsung.android.watch.watchface.bitmoji.BitmojiWatchFaceService.png
    com.samsung.android.watch.watchface.bitmoji.BitmojiWatchFaceService.png
    141.1 KB · Views: 74
  • com.samsung.android.watch.watchface.myphoto.MyPhotoWatchFaceService.png
    com.samsung.android.watch.watchface.myphoto.MyPhotoWatchFaceService.png
    259.1 KB · Views: 72
  • com.samsung.android.watch.watchface.mystyle.MyStyleWatchFaceService.png
    com.samsung.android.watch.watchface.mystyle.MyStyleWatchFaceService.png
    100.4 KB · Views: 72
  • com.samsung.android.watch.watchface.superfiction.SuperfictionWatchFaceService.png
    com.samsung.android.watch.watchface.superfiction.SuperfictionWatchFaceService.png
    261.4 KB · Views: 107
  • Like
Reactions: Dante63
GW4 Body Fat measurement... looks interesting...

Best Regards
Hey chief,
I hope you're good...
First of all, this is really amazing and great...
Secondly, I think you should have a thread specifically for Watch 4 so we all can discuss things about it...
Finally, I wonder if any of the watch 4 features can be installed on previous watches 🤔...

I do really like the body fat idea...
 

adfree

Senior Member
Jun 14, 2008
10,549
6,129
Samsung Galaxy Watch 4
Samsung Galaxy S22
GW4 stuff for study...

FOTA Delta file from:
R860XXU1AUGE/R860OXM1AUGE

To latest:
R860XXU1BUH9/R860OXM1BUH9


Maybe somebody knows how to extract something usefull... because it difffer from Tizen...

Best Regards
 

Attachments

  • 61ff98bbe5fc4802b594b7ecf6ecdba0.bin.zip
    303.2 MB · Views: 232

Mallyz

New member
Aug 17, 2021
1
1
Watch Face "Converter"...



I have not found the Download Link...

Maybe also some infos about App blabla...

Best Regards

Download link for watch face converter:
https://developer.samsung.com/gws-converter/download.html

Download link for watch face studio:
https://developer.samsung.com/watch-face-studio/download.html

Regards
 
  • Like
Reactions: adfree

adfree

Senior Member
Jun 14, 2008
10,549
6,129
Samsung Galaxy Watch 4
Samsung Galaxy S22
Oh...

Source Code seems online... GW4...

Code:
SM-R885F_EUR_RR_Opensource.zip
SM-R865F_EUR_RR_Opensource_R865FXXU1BUH9_diff.zip
SM-R875F_EUR_RR_Opensource_R875FXXU1BUH9_diff.zip
SM-R895F_EUR_RR_Opensource_R895FXXU1BUH9_diff.zip

SM-R870_NA_RR_Opensource.zip
SM-R860_NA_RR_Opensource_R860XXU1AUGE_diff.zip
SM-R880_NA_RR_Opensource_R880XXU1AUGE_diff.zip
SM-R890_NA_RR_Opensource_R890XXU1AUGE_diff.zip
SM-R865N_KOR_RR_Opensource_R865NKOU1AUGE_diff.zip
SM-R875N_KOR_RR_Opensource_R875NKOU1AUGE_diff.zip
SM-R885N_KOR_RR_Opensource_R885NKOU1AUGE_diff.zip
SM-R895N_KOR_RR_Opensource_R895NKOU1AUGE_diff.zip
SM-R865U_NA_RR_Opensource_R865USQU1AUGC_diff.zip
SM-R875U_NA_RR_Opensource_R875USQU1AUGC_diff.zip
SM-R885U_NA_RR_Opensource_R885USQU1AUGC_diff.zip
SM-R895U_NA_RR_Opensource_R895USQU1AUGC_diff.zip
SM-R860_CHN_RR_Opensource_R860ZCU1AUGF_diff.zip
SM-R870_CHN_RR_Opensource_R870ZCU1AUGF_diff.zip
SM-R880_CHN_RR_Opensource_R880ZCU1AUGF_diff.zip
SM-R890_CHN_RR_Opensource_R890ZCU1AUGF_diff.zip

Only as info...

Best Regards
 

tids2k

Senior Member
Apr 21, 2009
2,654
925
Sydney
Google Pixel 6 Pro
GW4 stuff for study...

FOTA Delta file from:
R860XXU1AUGE/R860OXM1AUGE

To latest:
R860XXU1BUH9/R860OXM1BUH9


Maybe somebody knows how to extract something usefull... because it difffer from Tizen...

Best Regards
@adfree

Looking at the build logs :

1.
source_ap_file=AP_R860XXU1AUGE_CL22197329_QB41769962_REV00_user_low_ship_MULTI_CERT_meta_WATCH_OS11.tar.md5
source_bl_file=BL_R860XXU1AUGE_CL22197329_QB41769962_REV00_user_low_ship_MULTI_CERT.tar.md5
source_cp_file=
source_csc_file=CSC_OMC_OXM_R860OXM1AUGE_CL22197329_QB41769962_REV00_user_low_ship_MULTI_CERT.tar.md5

target_ap_file=AP_R860XXU1BUH9_CL22353390_QB42369001_REV00_user_low_ship_MULTI_CERT_meta_WATCH_OS11.tar.md5
target_bl_file=BL_R860XXU1BUH9_CL22353390_QB42369001_REV00_user_low_ship_MULTI_CERT.tar.md5
target_cp_file=
target_csc_file=CSC_OMC_OXM_R860OXM1BUH9_CL22353390_QB42369001_REV00_user_low_ship_MULTI_CERT.tar.md5

Looks like filenames, not available for download it seems. Binary packages will not be available as per your PM.
 

Christian1803

New member
May 16, 2015
1
0
Hello wise Guys,

has anybody here tried to port it to GW3 R845F?

My Daytimejob is programming PLC´s (Programable Logic Controller) but I have no experience with Andoid/Tizen etc. Firmwares. I wrote a few apps in C# and wrote Watchfaces in C#.

Perhabs if nobody has it ready to use, we could try to make a port together.

KNOX doesn´t matter.
 

tids2k

Senior Member
Apr 21, 2009
2,654
925
Sydney
Google Pixel 6 Pro
Hello wise Guys,

has anybody here tried to port it to GW3 R845F?

My Daytimejob is programming PLC´s (Programable Logic Controller) but I have no experience with Andoid/Tizen etc. Firmwares. I wrote a few apps in C# and wrote Watchfaces in C#.

Perhabs if nobody has it ready to use, we could try to make a port together.

KNOX doesn´t matter.
@Christian1803 Thanks for your msg. As you see no one has quiet an expertise like @adfree , porting to gw3 would be a bit hard considering dynamic partitions and no TWRP support. If you are following the GW4 thread, you will see that I have posted images of potential pin outs, however looks like not a lot of devs have acces to this device due to which noy much tinkering has happened. If you want to start sonewhere, you can look at biktor_gj's thread : https://forum.xda-developers.com/t/porting-android-to-gear-2.2992953/ .

Always a good sign when someone with good expertise joins the forum. Welcome .. :)
 

adfree

Senior Member
Jun 14, 2008
10,549
6,129
Samsung Galaxy Watch 4
Samsung Galaxy S22
New attempt with TCP dump... PIT file in Download Mode... wireless...

Old Version captured only 3 KB... now 8 KB...

Tested with SM-R820...


Code:
C:\netcat>dump_PIT_wifi_NetCat_v8.bat

C:\netcat>nc -vv -l -w 5 -p 13579  <ODINcommand_full.bin >response_full.bin
listening on [any] 13579 ...
192.168.49.1: inverse host lookup failed: h_errno 11004: NO_DATA
connect to [192.168.49.20] from (UNKNOWN) [192.168.49.1] 59756: NO_DATA
net timeout
 sent 22532, rcvd 8236


I hope this work also with GW4... Android Wear ...


I have to wait for feedback...

Best Regards
 

Attachments

  • dumpPITwithNetCat_v3.zip
    112.5 KB · Views: 39

adfree

Senior Member
Jun 14, 2008
10,549
6,129
Samsung Galaxy Watch 4
Samsung Galaxy S22
Maybe for 64 bit Windows better:

Code:
nc64 -vv -l -w 5 -p 13579 < ODINcommand_full.bin > response_full.bin

I have only tested on 32 bit Windows:
Code:
Vista
Windows 7 Starter

Because old Notebooks with WiFi... for direct connection...

Best Regards

Edit 1.

Tested by me on Windows 10... 64 bit...

Code:
D:\netcat>nc -vv -l -w 5 -p 13579  0<ODINcommand_full.bin 1>response_full.bin
listening on [any] 13579 ...
192.168.49.1: inverse host lookup failed: h_errno 11004: NO_DATA
connect to [192.168.49.20] from (UNKNOWN) [192.168.49.1] 53862: NO_DATA
net timeout
 sent 22532, rcvd 8236


D:\netcat>dump_PIT_wifi_NetCat_v10.bat

D:\netcat>nc64 -vv -l -w 5 -p 13579  0<ODINcommand_full.bin 1>response_full.bin
listening on [any] 13579 ...
192.168.49.1: inverse host lookup failed: h_errno 11004: NO_DATA
connect to [192.168.49.20] from (UNKNOWN) [192.168.49.1] 60026: NO_DATA
net timeout
 sent 22532, rcvd 8236

Both deliver same result for me... so nc or nc64 is not mandatory... 32 bit nc works also on 64 bit Windows...
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 121
    Hey guys! Some of you might know me from the LG G5 scene, but I have since moved on from there and am hoping to make some progress with the Gear S3 :)

    After doing some digging and paying zero attention in class today, I came across the kernel source files for the Exynos 7270 and the combination firmwares for the Gear 3 Classic and Frontier versions.

    If you don't know what combination files are here (link removed) is a great explanation but the TL;DR is that this is the internal firmware Samsung uses to reset devices, so it gives you full read/write access to the device including root access. So basically this is a pre-rooted firmware, and I assume that it is bootloader unlocked as it appears to flash an engineer sboot (bootloader), so I believe this would be the first step towards porting Android Wear/TWRP!

    The kernel source is what we will actually use to port over AW/TWRP. It does not seem to have been posted before, and took me a few hours of digging to find. My watch comes in tomorrow, and after I flash this firmware I will pull the boot.img and start making a device/vendor tree to attempt and make a kernel!

    Here is the kernel source for the Exynos 7270: https://github.com/HonestlyAnnoying/tizen_kernel_exynos7270
    Here is the kernel source for the Gear S3 (all versions) (will upload to GitHub in the morning): Samsung Opensource
    Here is the SM-R770 (Classic) combination firmware [R770XXU2BQC2]: link
    Here is the SM-R760 (Frontier) combination firmware [R760XXU2BQC2]: link

    The road to porting Android Wear is going to take a lot of work, and any help developing (not testing for now!) would be EXTREMELY appreciated (looking at you guys @cipherswitch @biktor_gj !;)). If you would like to help with development or would like to contribute in any way, please PM me or hit me up on Skype (honestly.annoying)!

    Here is a Google Drive folder with all files I have for this, it will be updated as new things are found
    25
    Update: have flashed this, can confirm it has root access!! :D Pulling images now
    15
    Code:
    SDB 2.2.60

    Old, but in my eyes best SDB Version... because easy handling with right Mouse Button to mark, copy & paste.

    I have added for few OSes.. with WiFi Instruction...

    Maybe helpfull.

    Btw.
    I have used this Version also with Tizen 3 and Tizen 4...
    For me most main features work. :good:

    Like:
    Code:
    sdb root on
    sdb shell
    sdb pull
    sdb push

    Best Regards

    Edit 1.
    Nice Video for enable Debugging Option... to enable SDB communication... mandatory:
    https://www.youtube.com/watch?v=T_m3wsF7Ozs

    Edit 2.
    Added Video... how to find:
    Code:
    Debugging
    IP address

    Edit 3.
    Added Video... as example.
    How to connect SDB with device...
    Here example how to connect to remote device in RTL service... ;)
    To local device "similar"...

    Edit 4.
    The most important part to connect SDB with device over WiFi is described inside here:
    Code:
    [B][SIZE="3"][COLOR="Green"]Guidelines_on_Connecting_GearS2_device_using_WiFi.pdf
    Guidelines_on_Connecting_GearS2_device_using_WiFi_151222.pdf[/COLOR][/SIZE][/B]
    Please read FIRST! ;)
    12
    1 Way to change CSC... Sales Code.

    Tested by me with my SM-R760 with Wireless/WiFi only.
    NO USB cable required.



    Important.
    Check if Reactivation Lock is OFF...
    Own risk!
    Maybe sideeffects with RL on...



    Step 1.
    Combination Firmware:
    BQC2
    https://forum.xda-developers.com/gear-s3/development/rom-samsung-gear-s3-sm-r760-t3588082


    Step 2.
    Flash CSC only! From Retail/Stock Firmware...
    I have taken from BQH1...
    https://forum.xda-developers.com/gear-s3/development/oxa-rom-gear-s3-r760-t3695150
    Code:
    CSC_OXA_R760OXA2BQH1_usr.tar.md5


    Step 3.
    Factory Reset/Recovery

    To take effect of new CSC...

    Step 4.
    CSC Preconfig
    Code:
    *#272*719434266344#

    Simple enter this Code...

    I have set XAR for US region...
    You can choose what ever you want... own risk.

    Step 5.
    Now flash complete Firmware of your Choice.
    In my case I have now used all files from BQH1.

    BQH1 is at the moment latest Firmware for US regiaon with Sales Code XAR...


    Best Regards
    10
    Does it actually work? I suppose that Knox will be triggered with root onboard, so currently this is most important point - SPay

    It works after flashing back to my stock firmware. This firmware package is EXTREMELY limited to what it can do (eg. can't connect to a phone, all apps are disabled), it is mainly just for Samsung (and now us lol) to debug with and learn about how the boot process works with the root shell.

    The goal is to eventually:

    1. Build a working custom TIZEN kernel
    2. Build an Android kernel that boots up
    3. Port over TWRP/enable ADB through recovery
    4. Start working on Android Wear

    At this point I'm just trying to build a kernel with the sources I have, once that is done the real fun can begin ;)