General Firmware and Combination Firmware and FOTA Delta and CSC change and...

Search This thread

tahaklkt

Member
Oct 22, 2022
25
8
The normal part with normal ADB... to change active CSC with Copy and Paste...

Prepare step...

A
Code:
mps_code.dat

Unpack... open with WinHex or other Editor...

In my file XFA humanreadable

Change in DBT or TGY or whatever you dream to have as active CSC...
Important. This Text must be in Firmware package...

B
Basic Commands... I hope connection can be achieved without additional help...
Code:
adb connect IPaddress

Then push edited file:
Code:
adb push mps_code.dat /sdcard

C
Then this is to activate system user aka system shell aka mighty power like OS...

Good for Windows User 1 click EXE...
Bad... this EXE at the moment makes trouble with Antivirus like AVIRA...

Later more...

Best Regards
Afrer that, can I use Samsung Pay on unsupported country ? I mean, my CSC isn't supports Samsung Pay, after changing my CSC to Samsung Pay supported CSC, can I use it ?
 

tahaklkt

Member
Oct 22, 2022
25
8
@tahaklkt

Sorry. I have NO idea.

Never used Samsung Pay...
Samsung Pay is own world... with own problems...

For instance NOT all Bankcards supported etc...

I am from Germany... so NO idea how Samsung Pay work in other countries...

Best Regards
Thank you!

I'm from Turkey, in my country, unfortunately google pay, garmin pay, samsung pay and more isn't supported. I have a bank account that samsung pay and more supported. I only need to installing google pay or etc.

If after csc changing samsung pay will appear, i will do it immediately.
 

tahaklkt

Member
Oct 22, 2022
25
8
@adfree 1 more question.

I think we don't changed the CSC as fully.

1674422472011.png


As you can see, there are 1 more CSC file that we need to change, Samsung Pay can't adds my card, so there are a problem.

We need to change "omcnw_code.dat" too. But I can't copy it to /efs/imei because of permissions. If we can reach to temporary root access, we can do it too and it's gonna work properly.
 

adfree

Senior Member
Jun 14, 2008
10,320
6,034
Samsung Galaxy Watch 4
Samsung Galaxy S22
A

For me I reduced the steps/files...
As I was able to make since monthS with Root...

B

I was never able to bring Preconfig menu.... by Commands...
Not by Root nor the new system user...

C

I told Samsung Pay never used... AND know it is own "phenomenon"...

D

You can check your theory by easy change CSC to INU...

Then you can do Preconfig Menu via Code like here described:

Good Luck...

E

Because new Firmware not released... you can not see with GVK7... that CSC changed proper...

No idea if I will change to KOO to get GWA3 erlier as DBT... if it is released in Korea HQ...

Anyway.

Good Luck.

Best Regards
 

adfree

Senior Member
Jun 14, 2008
10,320
6,034
Samsung Galaxy Watch 4
Samsung Galaxy S22
Code:
freshul:/system/preload # ls -a1l
total 52
drwxr-xr-x 13 root root 4096 2008-12-31 15:00 .
drwxr-xr-x 18 root root 4096 2023-01-24 06:01 ..
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 BudsController
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 CalculatorWatch
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoals
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsClassicWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsCountDownWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsDigitalWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsSpinWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 KnoxManage_Wear_Samsung
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 MSOutlook_Samsung
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 VoiceRecorderWatch
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 WatchMusic

SM-R875F GVK6...

What is this?
KnoxManage_Wear_Samsung
 

Jacob1004

Member
Nov 18, 2019
36
4
malmø
Code:
freshul:/system/preload # ls -a1l
total 52
drwxr-xr-x 13 root root 4096 2008-12-31 15:00 .
drwxr-xr-x 18 root root 4096 2023-01-24 06:01 ..
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 BudsController
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 CalculatorWatch
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoals
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsClassicWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsCountDownWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsDigitalWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 GlobalGoalsSpinWF
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 KnoxManage_Wear_Samsung
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 MSOutlook_Samsung
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 VoiceRecorderWatch
drwxr-xr-x  3 root root 4096 2008-12-31 15:00 WatchMusic

SM-R875F GVK6...

What is this?
KnoxManage_Wear_Samsung
I think it is for enterprises user. Allowing to create profiles and enable different configurations.

 
  • Like
Reactions: adfree

adfree

Senior Member
Jun 14, 2008
10,320
6,034
Samsung Galaxy Watch 4
Samsung Galaxy S22
I have installed GWA3 Update on my German (DBT) SM-R860 via FOTA update.zip Delta file...

From GVK7... with help of earlier mentioned System Shell exploit...

Here is the Delta file:

GVK7 --> GWA3 SM-R860

Step 1 is to push the file to device with ADB.

Code:
adb push update.zip /sdcard

For Step 2.

Later... I need some tester... to confirm...

But in general Exploit... then Command for FOTA Admin... looks like my Screenshots...

OWN RISK!

Best Regards
 

Attachments

  • FOTAadmin1.png
    FOTAadmin1.png
    28.8 KB · Views: 44
  • FOTAadmin2.png
    FOTAadmin2.png
    34 KB · Views: 44
  • FOTAadmin3.png
    FOTAadmin3.png
    21.8 KB · Views: 45

adfree

Senior Member
Jun 14, 2008
10,320
6,034
Samsung Galaxy Watch 4
Samsung Galaxy S22
The second part is... to bring the FOTA Admin menu

Exploit to bring System shell...

Then Copy and Paste this:
Code:
am start -n com.wssyncmldm/com.idm.fotaagent.enabler.ui.admin.main.AdminMainActivity

This brings the FOTA Admin menu... scroll down... choose the Local Test...

Select update.zip... press ok

Again.

OWN RISK!

Best Regards
 
  • Like
Reactions: cyberon

adfree

Senior Member
Jun 14, 2008
10,320
6,034
Samsung Galaxy Watch 4
Samsung Galaxy S22

Code:
freshul:/ $ gsi_tool --help
Unrecognized command: --help
gsi_tool - command-line tool for installing GSI images.

Usage:
  gsi_tool <disable|install|wipe|status> [options]

  disable      Disable the currently installed GSI.
  enable       [-s, --single-boot]
               [-d, --dsuslot slotname]
               Enable a previously disabled GSI.
  install      Install a new GSI. Specify the image size with
               --gsi-size and the desired userdata size with
               --userdata-size (the latter defaults to 8GiB)
               --wipe (remove old gsi userdata first)
  wipe         Completely remove a GSI and its associated data
  wipe-data    Ensure the GSI's userdata will be formatted
  cancel       Cancel the installation
  status       Show status
64|freshul:/ $ gsi_tool status
normal

Maybe this could be the way... to kill again... ehm I mean to see maybe this year Combination Firmware running on my GW4.

Not tested yet... only idea...

Best Regards
 
  • Like
Reactions: tahaklkt

sergey1977

Senior Member
Mar 5, 2009
117
26
Samsung Galaxy Watch 4
@adfree 1 more question.

I think we don't changed the CSC as fully.

View attachment 5817433

As you can see, there are 1 more CSC file that we need to change, Samsung Pay can't adds my card, so there are a problem.

We need to change "omcnw_code.dat" too. But I can't copy it to /efs/imei because of permissions. If we can reach to temporary root access, we can do it too and it's gonna work properly.
in my gw4 r895f i change dbt to btu and then did a full reset. and at the start got a choice between uk and ireland. I check omcnw_code.dat and get btu. probably need to do a full reset after changing csc
42610c1a-4a77-48e5-80f9-0c9547d3830b.jpg
 
  • Like
Reactions: adfree and tahaklkt

adfree

Senior Member
Jun 14, 2008
10,320
6,034
Samsung Galaxy Watch 4
Samsung Galaxy S22
Code:
R875FXXU1GWA3/R875FOLB1GWA3/R875FXXU1GWA3

For TGY online...

Will update... and Root later...

Best Regards

Edit 1.
Memo to me... I have to go the looong way...

AUGF --> FVD2 --> GVH1 --> GVK6 --> GWA3

Edit 2.

Memo to me...

FOTA require mandatory 30 % Battery, otherwise you see low battery warning...
 
Last edited:
  • Like
Reactions: tahaklkt

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Oh nice.

    I have "updated" my SM-R875F from GWB1 OLB to US Firmware via USB cable and Odin...
    R875USQU1GWB2/R875UOYM1GWB2/R875USQU1GWB2

    This time my WiFi detected and connected...

    So I can play little bit... with US Firmware...

    With old FVD4 I had no luck to find my WiFi AP...

    For stupid tests this is much better...

    Only Contra for now... no Bootloader Unlock so no Root yet...

    Best Regards
    1
    GWB1 is online for my SM-R875F ... but like very often... not for my CSC TGY...

    So will use System Shell Exploit again to apply update.zip...

    Best Regards

    Edit 1.

    Successfully applied the update.zip from GWA3 to GWB1 via System Shell Exploit...
    1
    Hi,

    I really need help - during a failed OTA upgrade my SM-R875F is now stuck in download mode.

    I really nead a rom for SM-R875F UK/EU that can be updated normally (not just stuck on the rom version).

    I have only been able to find the Australia rom (July 2021 version for F but I cannot update the rom) and the USA (R875USQU1GWB2) rom (esim does not work in UK).

    Or if anyone can assist with getting the Australia rom (smR875F_AUGF_OLB) on this site to update that would help!

    Or getting the USA rom to use the UK/EU esim - maybe CSC and modem.bin needs?

    All help please!
    1
    @helpmepleasez

    I wrote you Conversation aka Private Message... Please look in right upper Corner...


    I have AUGF for OLB uploaded... and Link is in this Thread....


    Additional Infos in Conversation...

    Best Regards
  • 5
    Looks like it could be harder since Tizen...

    A
    Stock Firmware for netOdin/Odin not available yet...

    B
    Combination Firmware not available yet

    C
    FOTA Delta File for study I have:
    Code:
    current_version=R860XXU1AUGE/R860OXM1AUGE/
    updated_version=R860XXU1BUH9/R860OXM1BUH9/

    D

    In this FOTA Delta file from SM-R860 I can see overview... from CSC... Region Code OXM:
    Code:
    csc_information=OXM
    
    ACR
    AFR
    ARO
    ASA
    ATO
    AUT
    BGL
    BNG
    BRI
    BTU
    BVO
    CAC
    CAM
    CHO
    CIS
    COO
    DBT
    DKR
    ECT
    EGY
    EUR
    EUX
    ILO
    INU
    ITV
    KOO
    KSA
    LTA
    LUX
    MEA
    MID
    MRU
    MWD
    MXO
    MYM
    NEE
    NPL
    PAK
    PEO
    PHE
    PHN
    ROM
    SEB
    SEE
    SEK
    SER
    SIO
    SKZ
    SLK
    SWA
    TGY
    THO
    TPA
    TPH
    TTT
    TUN
    TUR
    UPO
    UYO
    XAA
    XAC
    XEF
    XEH
    XEO
    XEZ
    XFA
    XJP
    XME
    XNZ
    XSA
    XSE
    XSG
    XSK
    XSP
    XTC
    XXV
    ZTO

    More things... comes... later...

    Best Regards
    5
    No idea when Full firmwares for study leak...

    Meanwhile to understand maybe more about funny Region... helpfull this Android App to check Firmware:

    It is possible to decrypt from Test Server...

    Then maybe more clear...


    OXM seems also for DBT ZTO and so on...

    A
    In theory linked FOTA Delta should work for AUGE DBT or SER or ZTO...

    Question is only how to update manually...

    B
    Roll out official could be in waves... but could be also more funny like we allready knows...

    We will see the future of GW4 support.

    Best Regards
    5
    Tiny progress...

    GFX Card is Nvidia GTX 460...

    I thought this is Samsung joke with G account...

    Anyway. I have Root access to this Image...

    So will do some stupid tests...

    Best Regards
    5
    Tiny progress...

    Searched in system.img... 3 GB File for text string:
    Code:
    sdk_gwear_x86

    27 hits... then I changed few of them and renamed...
    Now I see:
    Code:
    sdk_gwear_x05

    05 is inside:
    Code:
    # begin common build properties
    # autogenerated by build/make/tools/buildinfo_common.sh
    ro.product.build.date=Thu Dec 16 16:58:02 UTC 2021
    ro.product.build.date.utc=1639673882
    ro.product.build.fingerprint=google/sdk_gwear_x86/generic_x86_arm:11/RWD4.211013.004/8008904:userdebug/dev-keys
    ro.product.build.id=RWD4.211013.004
    ro.product.build.tags=dev-keys
    ro.product.build.type=userdebug
    ro.product.build.version.incremental=8008904
    ro.product.build.version.release=11
    ro.product.build.version.release_or_codename=11
    ro.product.build.version.sdk=30
    ro.product.product.brand=google
    ro.product.product.device=generic_x86_arm
    ro.product.product.manufacturer=unknown
    ro.product.product.model=sdk_gwear_x05
    ro.product.product.name=sdk_gwear_x06
    # end common build properties
    #
    # ADDITIONAL PRODUCT PROPERTIES
    #
    ro.build.characteristics=emulator,nosdcard,watch
    persist.traced.enable=1
    ro.com.google.ime.system_lm_dir=/product/usr/share/ime/google/wear_lms
    dalvik.vm.systemservercompilerfilter=speed-profile
    ro.product.vndk.version=30


    Okidoki:
    Code:
    ro.product.product.model=sdk_gwear_x05


    Need few attempts...

    But good I can edit system.img without crash... so no Hash check or something in this Direction...

    Edit 1.

    Step 1 done in funny riddle... puzzle...

    Need more time to correct the other props...

    Goal is to enter exact Playstore for GW4... and/or Samsung Apps...

    In Emulator on PC...
    5
    "We" have still tiny problems...

    My problemS

    A
    I have NO device nor plan to buy in near future...

    B
    + no full Firmware for Odin/netOdin nor study...
    + no Combination Firmware...

    C
    No Service Manual leak...

    D
    Community to find solution is sooooooo f. huge...
    This problem is not new... something like this I know since years...

    Feel free to find solution for us. :cowboy:


    Thanx in advance.


    No joke.

    Feel free to do something.

    Best Regards