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

Search This thread

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Memo to me:

SM-R860
Code:
[ro.sf.lcd_density]: [320]

SM-R870
Code:
[ro.sf.lcd_density]: [340]

Because this is really helpfull to change density... to play with Phone Android Apps for instance...

Code:
adb shell wm density 235

User gave me nice hint for SM-R860...


So need some time to understand what to set for density 340.. is "better"...


Edit 1.

Some Google search result(s):

Edit 2.

Code:
D:\Android\ADB>adb shell
freshbl:/ $ wm density reset
freshbl:/ $ wm --help
Unknown command: --help
255|freshbl:/ $ wm -h
Window manager (window) commands:
  help
      Print this help text.
  size [reset|WxH|WdpxHdp] [-d DISPLAY_ID]
    Return or override display size.
    width and height in pixels unless suffixed with 'dp'.
  density [reset|DENSITY] [-d DISPLAY_ID]
    Return or override display density.
  folded-area [reset|LEFT,TOP,RIGHT,BOTTOM]
    Return or override folded area.
  scaling [off|auto] [-d DISPLAY_ID]
    Set display scaling mode.
  dismiss-keyguard
    Dismiss the keyguard, prompting user for auth if necessary.
  set-user-rotation [free|lock] [-d DISPLAY_ID] [rotation]
    Set user rotation mode and user rotation.
  dump-visible-window-views
    Dumps the encoded view hierarchies of visible windows
  set-fix-to-user-rotation [-d DISPLAY_ID] [enabled|disabled]
    Enable or disable rotating display for app requested orientation.

Edit 3.

So Value 72 is smallest I can set...
Code:
D:\Android\ADB>adb shell wm density 10
Error: density must be >= 72

D:\Android\ADB>adb shell wm density 72
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
@sergey1977

First test result... without Root:

Code:
D:\Android\ADB>adb shell am broadcast -W -a android.provider.Telephony.SECRET_CODE -d android_secret_code://9920
Broadcasting: Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://9920 flg=0x400000 }

Exception occurred while executing 'broadcast':
java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.provider.Telephony.SECRET_CODE from pid=6271, uid=2000
        at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:16621)
        at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:16479)
        at com.android.server.am.ActivityManagerService.broadcastIntentWithFeature(ActivityManagerService.java:17338)
        at com.android.server.am.ActivityManagerShellCommand.runSendBroadcast(ActivityManagerShellCommand.java:746)
        at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:198)
        at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
        at android.os.ShellCommand.exec(ShellCommand.java:44)
        at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10970)
        at android.os.Binder.shellCommand(Binder.java:929)
        at android.os.Binder.onTransact(Binder.java:813)
        at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:5070)
        at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2980)
        at android.os.Binder.execTransactInternal(Binder.java:1159)
        at android.os.Binder.execTransact(Binder.java:1123)


Second attempt with my rooted SM-R870 GVH2

Code:
D:\Android\ADB>adb shell
freshbl:/ $ su
Permission denied
13|freshbl:/ $ su
freshbl:/ # am broadcast -W -a android.provider.Telephony.SECRET_CODE -d android_secret_code://9920
Broadcasting: Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://9920 flg=0x400000 }
Broadcast completed: result=0
freshbl:/ #


Thank you very much sergey1977.

I will try other Codes...

Best Regards
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Few tests... SECRET Codes taken from...

A
Code:
freshbl:/ # am broadcast -W -a android.provider.Telephony.SECRET_CODE -d android_secret_code://83052020100812173552301071192687
Broadcasting: Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://83052020100812173552301071192687 flg=0x400000 }
Broadcast completed: result=0
freshbl:/ #

I see nothing on screen... but can not look live... I have to walk between PC and Watch...


B
Code:
freshbl:/ # am broadcast -W -a android.provider.Telephony.SECRET_CODE -d android_secret_code://27262826
Broadcasting: Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://27262826 flg=0x400000 }
Broadcast completed: result=0

I press Return on PC... then run as fast as I can to my rooted SM-R870...
:)

C
Code:
freshbl:/ # am broadcast -W -a android.provider.Telephony.SECRET_CODE -d android_secret_code://22623277326634424320
Broadcasting: Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://22623277326634424320 flg=0x400000 }
Broadcast completed: result=0

Edit 1.

If all tested will check if difference Space...

Code:
<action android:name="com.samsung.android.action.SECRET_CODE"/>
                <data android:host="\ 83052020100812173552301071192687" android:scheme="android_secret_code"/>
                <data android:host="27262826" android:scheme="android_secret_code"/>
                <data android:host="\ 22623277326634424320" android:scheme="android_secret_code"/>
                <data android:host="\ 272837883" android:scheme="android_secret_code"/>



Edit 2.

Seems Space only to block... but not work for this Command...

Code:
freshbl:/ # am broadcast -W -a android.provider.Telephony.SECRET_CODE -d android_secret_code://272837883
Broadcasting: Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code://272837883 flg=0x400000 }
Broadcast completed: result=0
freshbl:/ # am broadcast -W -a android.provider.Telephony.SECRET_CODE -d android_secret_code:// 272837883
Broadcasting: Intent { act=android.provider.Telephony.SECRET_CODE dat=android_secret_code:// flg=0x400000 pkg=272837883 }
Broadcast completed: result=0
 
Last edited:

KNCI

New member
Sep 23, 2022
2
1
Hi, I own a galaxy watch 4 classic, it is seriously bootlooping, by this I mean no matter what I try it does not boot. I even tried going into recovery mode, the second recovery mode loads, the watch restarts. Please help, I don't know if maybe installing some firmware through netodin will work? I have been able to get into usb download mode
 

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" android:sharedUserId="android.uid.phone" package="com.samsung.android.cidmanager" platformBuildVersionCode="30" platformBuildVersionName="11">
    <uses-feature android:name="android.hardware.type.watch"/>
    <uses-permission android:name="com.sec.phone.permission.SEC_FACTORY_PHONE"/>
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
    <uses-permission android:name="android.permission.MASTER_CLEAR"/>
    <uses-permission android:name="android.permission.REBOOT"/>
    <uses-permission android:name="com.samsung.permission.SHOW_MASTER_CLEAR_SETTINGS"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    <uses-permission android:name="android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE"/>
    <uses-permission android:name="android.permission.DELETE_PACKAGES"/>
    <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
    <uses-permission android:name="com.sec.permission.preconfig"/>
    <uses-permission android:name="com.samsung.android.wearable.setupwizard.permission.RECEIVE_SETUPWIZARD_COMPLETED"/>
    <application android:allowBackup="false" android:appComponentFactory="android.support.v4.app.CoreComponentFactory" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" android:enabled="true" android:extractNativeLibs="false" android:label="@string/app_name" android:supportsRtl="true" android:usesNonSdkApi="true">
        <activity android:label="preconfig" android:name="com.samsung.android.cidmanager.preconfig.PreconfigActivity" android:noHistory="true" android:permission="com.sec.permission.preconfig" android:screenOrientation="portrait">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE"/>
            </intent-filter>
        </activity>
        <receiver android:name="com.samsung.android.cidmanager.receiver.WCIDManagerReceiver">
            <intent-filter android:priority="999">
                <action android:name="android.intent.action.SIM_STATE_CHANGED"/>
            </intent-filter>
            <intent-filter>
                <action android:name="com.samsung.android.wearable.setupwizard.action.SETUPWIZARD_COMPLETE"/>
                <action android:name="com.samsung.android.wearable.sysui.action.TUTORIAL_COMPLETED"/>
            </intent-filter>
        </receiver>
        <receiver android:name="com.samsung.android.cidmanager.receiver.PreconfigReceiver" android:permission="com.sec.permission.preconfig">
            <intent-filter>
                <action android:name="com.samsung.android.action.SECRET_CODE"/>
                <data android:host="\ 83052020100812173552301071192687" android:scheme="android_secret_code"/>
                <data android:host="27262826" android:scheme="android_secret_code"/>
                <data android:host="\ 22623277326634424320" android:scheme="android_secret_code"/>
                <data android:host="\ 272837883" android:scheme="android_secret_code"/>
            </intent-filter>
            <intent-filter>
                <action android:name="com.samsung.intent.action.CHAMELEON_PRECONFIG"/>
                <data android:host="\ 3472867046185743" android:scheme="android_secret_code"/>
            </intent-filter>
        </receiver>
        <service android:name="com.samsung.android.cidmanager.service.WCIDManagerService" android:process="com.android.phone"/>
        <service android:name="com.samsung.android.cidmanager.service.SimStateIntentService" android:process="com.android.phone"/>
        <service android:exported="true" android:name="com.samsung.android.cidmanager.service.PreconfigService" android:permission="com.sec.permission.preconfig"/>
        <uses-library android:name="sec_platform_library"/>
    </application>
</manifest>

Decompiled CIDManager from GVH2...
Code:
com.samsung.android.cidmanager


Hmmm... what is this?

Code:
android:name="com.samsung.intent.action.CHAMELEON_PRECONFIG"/>

                <data android:host="\ 3472867046185743" android:scheme="android_secret_code"/>
 
  • Like
Reactions: TheIntruder

sergey1977

Senior Member
Mar 5, 2009
121
26
Samsung Galaxy Watch 4
found this. what do the red numbers mean?
Activity Resolver Table:
Non-Data Actions:
android.intent.action.MAIN:
35b7a0d com.samsung.sec.android.application.csc/.ui.CscVerifierActivity filter 311dc2
Action: "android.intent.action.MAIN"

Receiver Resolver Table:
Schemes:
android_secret_code:
206f7d3 com.samsung.sec.android.application.csc/.CscReceiver filter 5f7540e
Action: "android.provider.Telephony.SECRET_CODE"
Scheme: "android_secret_code"
Authority: "9920": -1
 

KNCI

New member
Sep 23, 2022
2
1
@KNCI

Sorry I have not seen your post...


A

Your Model Name?

Example:
SM-R870 or SM-R875U LTE for USA or...


B

You have any kind of idea what happens?
Firmware Update fail? Or accisent or...


C

Your Phone is from Samsung?
Or other Brand...


Best Regards

A
I am pretty sure it is the SM-R890, I got it from At&t as it was my moms, but she got a new one the other day and gave the old one to the tech guy in the house to mess with.

B
My diagnostic came down to firmware update failure that corrupted it, I can`t open anything on the reboot menu besides the usb download so I figured I would try with a different firmware whether its stock or hacked idk I am willing to try anything since it was a free watch.

C
Yes my phone is from Samsung, I am a full on Samsung guy.

Thank you for the reply!
 
Last edited:
  • Like
Reactions: adfree

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
@KNCI

SM-R890 older Firmware EVA8 is here:

netOdin Tool is here:

Youtube Video is here... I have no other...


I know downgrade is possible. BUT I can only confirm from EVA8 to DUK1...

No idea if your Bootloader allow downgrade... So OWN RISK.

Be sure you charge Battery fully.

I hope this is still possible...

Maybe try in Download Wireless Mode to charge Battery... BEFORE Flash attempt with netOdin.

Best Regards
 
  • Like
Reactions: KNCI

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
@salvator101

A

Please... NO Panic.

B

R870XXU1GVH2 is latest for now...

So I can NOT see you have problem now with FOTA Updates...
And we can not test your "feelings" now...


C

NO easy 1 click way back to INU...

Please look A...


D

It makes no sense to get in panic... if you not need waranty exact now...

So many Rumours so many "theories" in Interent...

Few People see UFOs... others talking ever day with Elvis...


E
Look A


F

If new Firmware comes... after GVH2....
Then you can check Fream vs. Reality...

But for now A... because NO way back to INU.


Sometimes better to think first... in other words choose wisely... or better:
OWN RISK!

Check A

Best Regards
 
  • Like
Reactions: TheIntruder

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Argh...

A
I have less luck with WiFi and GVH2 to dump the whole eMMC...

On EVA8 I can remember 3000 MB or 1 time 5000 MB from 16000...

But crap GVH2 not reach 1000...

I see in Developer Setings some WiFi Debug special stuff... will try if more stable Connection...

B
Still no luck with ADB on USB...

With density I was able to see little bit more... but seems not to help...
Was not able to see all text...
After Reset UART not activated...

IMHO param is ovverrride or blocked or... I am too stupid
 

Attachments

  • Screenshot_20220920_004944_servicemodeapp.png
    Screenshot_20220920_004944_servicemodeapp.png
    21.3 KB · Views: 36
  • Screenshot_20220920_005101_servicemodeapp.png
    Screenshot_20220920_005101_servicemodeapp.png
    13.6 KB · Views: 32
  • Screenshot_20220920_005132_servicemodeapp.png
    Screenshot_20220920_005132_servicemodeapp.png
    21.8 KB · Views: 27
  • Screenshot_20220920_010023_servicemodeapp.png
    Screenshot_20220920_010023_servicemodeapp.png
    21.3 KB · Views: 32
  • Screenshot_20220920_004702_usbsettings.png
    Screenshot_20220920_004702_usbsettings.png
    24.9 KB · Views: 38

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Argh...

Stupid me set XAA for stupid tests... with result...

WiFi not find my Router...

Now testing to downgrade from GVH2 direct to DUK1... to see if downgrade work like allready success from:
EVA8 to DUK1


I can remember to see some US Settings differ to WiFi crap...
Forgotten where I saw solution... but I am toooo lazy to change my Router config nor to debug over BT...

So if Flash okay... I can test few CSC change things on DUK1...

Best Regards

Edit 1.

DUK1 yes...

WiFi no... (WiFi work because I can see other... but not my, Router power off for few seconds... but no luck yet...)

Now I am setting with Phone... as no luck in Standalone...

Before in recovery chache wipe... then FAC Reset...
 
Last edited:

salvator101

Senior Member
Feb 24, 2013
68
4
@salvator101

A

Please... NO Panic.

B

R870XXU1GVH2 is latest for now...

So I can NOT see you have problem now with FOTA Updates...
And we can not test your "feelings" now...


C

NO easy 1 click way back to INU...

Please look A...


D

It makes no sense to get in panic... if you not need waranty exact now...

So many Rumours so many "theories" in Interent...

Few People see UFOs... others talking ever day with Elvis...


E
Look A


F

If new Firmware comes... after GVH2....
Then you can check Fream vs. Reality...

But for now A... because NO way back to INU.


Sometimes better to think first... in other words choose wisely... or better:
OWN RISK!

Check A

Best Regards
Hi

Thanks for the reply I appreciate it

I updated the watch to R870XXU1GVH2 before changing the region and hence its on that version, will I get updates later on?

Does changing region void the warranty?

My watch is in the return period window shall I return it as I rather have a watch with warranty than the spay benefit

Can I go to samsung and claim this is how I got the watch and they won't know that I have changed the region?
 

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
@salvator101

Excuse me...


A

I am not Samsung nor married with 1 of them...

B

I am not selling GW4 nor other things in Pro way...
So I am NOT Seller...

C

I am from Germany. Not from India...

So I have NO idea how Samsung support nor Seller warranty stuff managed in India... in your country.

D

Maybe you agree.

I can NOT look into Future... I have NO Crystal Ball.

GVH2 is latest for now...

GVIblabla is under Development... but who knows if Samsung release this... or other Version in FUTURE

E

For many things in Live...
OWN RISK


F

But I still can not detect REAL reason why you are in "Panic"...

If Watch work fine... enjoy.


Best Regards

Edit 1.

G

I am not Lawyer...
Not in Germany nor for whole global world...

Does changing region void the warranty?

You can use Google for this...

In German.

Nutz Deinen gesunden Menschenverstand...

And also this is only "theory"... from Future

IMHO you not contacted Samsung... so no warranty "case" now...
 
Last edited:
  • Like
Reactions: TheIntruder

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Puh... after few hours of crying...

I fixed my problem by flashing 2 files from Combination Firmware...
Code:
optics.img
prism.img

First attempt failed to flash... because FAC allow blabla...

Then I simple replaced text string fac with mrk...

Now I have my WiFi back...


Active CSC is set to ZKA...

No idea yet, what country it is...

I am on EVA8 for now...

Best Regards

Edit 1.

Now after having access with ADB again... Hmmm... seems an mix:
Code:
freshbl:/efs/imei # ls -a1l
total 28
drwxrwxr-x  2 root   radio  4096 2021-11-07 17:15 .
drwxrwx--x 14 system radio  4096 2021-11-07 17:03 ..
-rwxrwxr-x  1 radio  system    3 2022-09-25 01:58 mps_code.dat
-rw-rw-r--  1 radio  root      3 2022-09-25 23:17 omcnw_code.dat
-rwxrwxr-x  1 system radio    14 2022-09-25 01:38 prodcode.dat
freshbl:/efs/imei # cat mps_code.dat
XAAfreshbl:/efs/imei # cat omcnw_code.dat
XAAfreshbl:/efs/imei # cat prodcode.dat
SM-R870NZKAINUfreshbl:/efs/imei #

Ah... okidoki... ZKA seems from Product Code BEFORE CSC...

Will do some Code checks... maybe now not all blocked...
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Still I am trying to find working Terminal/Linux Shell App...
Seems not really easy for GW4...

Edit 1.




Android 7 +

Nope...

-----------------------------------------------------------





seems very old 2015...


-------------------------------------------------------------







Android 5 +

----------------

In main I have trouble with Keyboard Input... found only 1 Shell...
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    i need it too please for my SM-R880u


    can he help with the stock rom for SM-R880U ?
    Yes
    1
    i have bricked gw4c sm-r890 i conected it to pc and i dont know what to do now.
    Can someone tell me what i need to do now?
    1

    Hello friends, will anyone have the firmware for the SM-R930 to remove the demo mode pls?
    did you manage to find someone? I also need the same firmware if someone can help me Thank you!
  • 6
    Screenshot_20230814_023225_cidmanager.pngScreenshot_20230814_023228_cidmanager.pngScreenshot_20230814_023231_cidmanager.pngScreenshot_20230814_023233_cidmanager.png

    @adfree

    We will feast and celebrate with the Gods, as another victory was finally found and claimed.
    6
    I want to make a small contribution to the thread in question, I have a gw4 ldu which did not allow any device configuration. I downloaded the SM-R890 EVA8 file and unzipped it with 7zip and then retransformed in tar format again with 7zip. I then connected the gw4 with netodin and uploaded the file to the device. Finished the job everything works wonders, it also received the latest update released by samsung. Tanks to Adfree for his hard job
    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...

    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