[App] libBackPicSet D/E/F/H (backup picture settings)

Here are software that related with Samsung F series TVs.
Post Reply

zoelechat
SamyGO Moderator
Posts: 7487
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

[App] libBackPicSet D/E/F/H (backup picture settings)

Post by zoelechat » Mon Nov 16, 2015 7:35 pm

Lib allows to backup/restore/copy picture settings from/to any TV source/mode.
Especially useful before/after accessing service menu which resets everything to ugly factory defaults, factory reset...

Usage:
*For D series (arm), replace every instance of /mnt below by /mtd_rwcommon/widgets/user/SamyGO/SamyGO
  • First install latest samyGOso as usual, if needed.
  • Extract attached archive and copy libBackPicSet.so to /mnt/opt/privateer/usr/libso (create folder if needed).
  • Execute:

    Code: Select all

    samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libBackPicSet.so [arg1...argN]
    Injected without arg, it will only log picture settings of current source/mode:
    SpoilerShow

    Code: Select all

    [BackPicSet] lib_init, >>>
    [BackPicSet] * Source: 0=TV  Picture Mode: 2  3D: 0=OFF
    [BackPicSet] 0x000 - CONTRAST: 90
    [BackPicSet] 0x004 - BRIGHTNESS: 48
    [BackPicSet] 0x008 - SHARPNESS: 10
    [BackPicSet] 0x00c - COLOR: 48
    [BackPicSet] 0x010 - TINT: 51
    [BackPicSet] 0x014 - BLACK_TONE: 0
    [BackPicSet] 0x018 - DYNAMIC_CONTRAST: 0
    [BackPicSet] 0x01c - SHADOW_DETAIL: 0
    [BackPicSet] 0x020 - GAMMA: -1
    [BackPicSet] 0x024 - RGB_ONLY_MODE: 0
    [BackPicSet] 0x028 - COLOR_SPACE: 3
    [BackPicSet] 0x02c -> R:50.0.0 G:0.50.0 B:0.34.45 Y:50.50.0 C:0.50.50 M:50.0.50
    [BackPicSet] 0x044 - WHITE_BALANCE -> Offset:25.25.23 Gain:16.25.17
    [BackPicSet] 0x04c - WHITE_BALANCE_10P: 1
    [BackPicSet] 0x050 -> i1:0.0.1 i2:0.0.2 i3:0.0.1 i4:0.0.0 i5:0.0.0
    [BackPicSet] 0x08c -> i6:0.0.0 i7:0.0.2 i8:0.0.0 i9:0.0.0 i10:4.0.0
    [BackPicSet] 0x0cc - FLESH_TONE: 0
    [BackPicSet] 0x0d0 - EDGE_ENHANCEMENT: 0
    [BackPicSet] 0x0d4 - LED_CLEAR_MOTION: 0
    [BackPicSet] 0x0dc - BRIGHTNESS_SENSOR: 0 -> Min.Backlight: 0
    [BackPicSet] 0x0e4 - COLOR_TONE: 4
    [BackPicSet] 0x0ec - DIGITAL_NOISE_REDUCTION: 0
    [BackPicSet] 0x0f0 - MPEG_NOISE_REDUCTION: 0
    [BackPicSet] 0x0f4 - BLACK_LEVEL: 1
    [BackPicSet] 0x0f8 - FILM_MODE: 0
    [BackPicSet] 0x0fc - AUTO_MOTION_PLUS: 2
    [BackPicSet] 0x100 - MOTION_JUDDER_CENCELLER: 0
    [BackPicSet] 0x104 - SMART_LED: 0
    [BackPicSet] 0x108 - MAGIC_ANGLE: 0
    [BackPicSet] 0x120 - MOTION_LIGHTING: 0
    [BackPicSet] 0x124 - BLACK_ENHANCER: 0
    [BackPicSet] 0x12c - BLACK_OPTIMIZER: 1
    [BackPicSet] 0x134 - BACK_LIGHT: 9
    [BackPicSet] <<< lib_deinit
Usable args:
  • SAVE[:/path/to/filename] - Save current source/mode settings to user-defined filename if specified, otherwise automatic filename will be generated on that basis:
    • PicSettings_SOURCENAME_PICMODEID[_3D]
    Sample resulting filenames:
    • 'PicSettings_TV_1_3D' (TV source, "Standard" picture mode and 3D enabled)
    • 'PicSettings_HDMI2_7' (HDMI2 source, "Movie" picture mode and 3D disabled)
    Generated files are 312 bytes raw data (offsets are shown in log).
  • LOAD[:/path/to/filename] - Load picture settings data to current source/mode from filename if specified, otherwise look for expected automatic filename on the above basis according to source/mode/3D.
  • ALLMODE - Automatically cycle all picture modes of current source. If used, will likely load/save 3/4 settings files at once. You will notice TV quickly cycling them (=some blink). Of course can't be used together with user-defined filename but only when auto-generated because of multiple files. However, can be used alone to log all picture modes of current source.
  • PATH:/path/to/ - Specify path to folder where to save data. Default is /mtd_rwarea for files to remain permanently. Also useless arg if filename is user-defined.
Logfile is written to /dtv/BackPicSet.log

In case you want to save/load settings of several sources, you must cycle sources yourself and re-inject lib on each. For info, 3D has its own specific settings on every source/mode.
Settings can be applied to any other TV of the same series, but do not cross series!! (or expect strange looking in best case :D ).

Known issues:
  • On F series, picture might remain dark or black&white after loading a single settings file. Switching channel/source goes back to normal then.
  • Brightness sensor on/off value may not be restored to saved state in some cases (=restored to OFF instead of ON).
*Changelog:

Code: Select all

16/11/2015
v0.2.0 - First public release
You do not have the required permissions to view the files attached to this post.
I do NOT reply to any question by PM. Please use forum.

User avatar
prairie
SamyGO Project Donor
Posts: 300
Joined: Wed May 04, 2011 10:30 pm

Re: [App] libBackPicSet D/E/F/H (backup picture settings)

Post by prairie » Sat Dec 05, 2015 4:51 pm

Very handy when replacing mainboards to restore all my calibrated picture modes ;) .
PN60F8500AFXZA
T-FXPAKUC 1206.3 + SamyGO

"BrickMaster 2015"

zoelechat
SamyGO Moderator
Posts: 7487
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libBackPicSet D/E/F/H (backup picture settings)

Post by zoelechat » Sat Dec 05, 2015 4:55 pm

Otherwise you can set default values directly into service menu ;)
I do NOT reply to any question by PM. Please use forum.

User avatar
prairie
SamyGO Project Donor
Posts: 300
Joined: Wed May 04, 2011 10:30 pm

Re: [App] libBackPicSet D/E/F/H (backup picture settings)

Post by prairie » Sat Dec 05, 2015 5:09 pm

Yes, for this I would have to write a batch file though because I use three different modes with custom color settings (3 settings per 6 colors x 3 modes = 54 entries) and 1 mode with 10 pt. grey balance (10 points * 3 colors = 30 settings). Backup user menu is much easier and no brick potential.
PN60F8500AFXZA
T-FXPAKUC 1206.3 + SamyGO

"BrickMaster 2015"

zoelechat
SamyGO Moderator
Posts: 7487
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] libBackPicSet D/E/F/H (backup picture settings)

Post by zoelechat » Sat Dec 05, 2015 5:32 pm

prairie wrote:no brick potential.
Yeah was just a bad joke, fully agree that one is more suitable and less "aggressive" :)
I do NOT reply to any question by PM. Please use forum.

User avatar
prairie
SamyGO Project Donor
Posts: 300
Joined: Wed May 04, 2011 10:30 pm

Re: [App] libBackPicSet D/E/F/H (backup picture settings)

Post by prairie » Sat Dec 05, 2015 5:58 pm

:) Would be nice to have the service settings available outside the TDM though, hopefully that can be made stable. :)
PN60F8500AFXZA
T-FXPAKUC 1206.3 + SamyGO

"BrickMaster 2015"

User avatar
juusso
SamyGO Moderator
Posts: 9485
Joined: Sun Mar 07, 2010 6:20 pm

Re: [App] libBackPicSet D/E/F/H (backup picture settings)

Post by juusso » Wed Dec 09, 2015 2:00 pm

D series reference.

Code: Select all

[BackPicSet] samyGOso -d -T -B -l /dtv/usb/sdb/libBackPicSet.so
 SamyGO D/E/F/H libBackPicSet v0.2.0 - (c) zoelechat 2015
[BackPicSet] _ZN12SsScreenBase21GetScreenItemInstanceE18SCREEN_ITEM_OBJECT [0xd70464].
[BackPicSet] dlsym '_ZN12SsScreenBase8InstanceEN9TPCScreen7EScreenE' failed.
[BackPicSet] dlsym '_ZN11SsPrintBase19GetScreenItemStringE18SCREEN_ITEM_OBJECT' failed.
[BackPicSet] _ZTV12ScreenObject [0x2e88568].
[BackPicSet] _ZN8TCScreen14GetPictureModeEPii [0xb7af84].
[BackPicSet] dlsym '_ZN5TCAPI9GetScreenEN8TCScreen7EScreenE' failed.
[BackPicSet] dlsym '_ZN5TCAPI9GetScreenEv' failed.
[BackPicSet] dlsym '_ZN12TCScreenImpl14GetPictureModeEPii' failed.
[BackPicSet] _ZN8TCScreen15Get3DEffectModeEPNS_13E3DEffectModeEN4TCMW5ESeekEPi [0xb7bf08].
[BackPicSet] dlsym '_ZN12TCScreenImpl15Get3DEffectModeEPN8TCScreen13E3DEffectModeEN4TCMW5ESeekEPii' failed.
[BackPicSet] g_pAppWindow [0x58d5bac].
[BackPicSet] dlsym '_ZN5TCAPI9GetWindowEN8TCWindow7EWindowE' failed.
[BackPicSet] _ZN8TCWindow9GetSourceEPii [0xb8b614].
[BackPicSet] dlsym '_ZN12TCWindowImpl9GetSourceEPii' failed.
[BackPicSet] _ZN11SsDebugBase15GetSourceStringEi [0xd38230].
[BackPicSet] dlsym '_ZN11SsPrintBase15GetSourceStringEi' failed.
[BackPicSet] _ZN8TCScreen16CheckPictureModeEiN4TCTv17EOptionCheckValueE [0xb7acbc].
[BackPicSet] dlsym '_ZN12TCScreenImpl16CheckPictureModeEiN4TCTv17EOptionCheckValueE' failed.
[BackPicSet] _ZN8TCScreen14SetPictureModeEii [0xb7c228].
[BackPicSet] dlsym '_ZN12TCScreenImpl14SetPictureModeEii' failed.
[BackPicSet] _ZN13CViewerNormal10t_SetSleepEv [0xaee398].
[BackPicSet] lib_init, >>>
[BackPicSet] * Source: 0=TV  Picture Mode: 7  3D: 0=OFF
[BackPicSet] 0x000 - BACK_LIGHT: 20
[BackPicSet] 0x004 - CONTRAST: 100
[BackPicSet] 0x008 - BRIGHTNESS: 45
[BackPicSet] 0x00c - SHARPNESS: 50
[BackPicSet] 0x010 - COLOR: 52
[BackPicSet] 0x014 - TINT: 50
[BackPicSet] 0x018 - BLACK_TONE: 3
[BackPicSet] 0x01c - DYNAMIC_CONTRAST: 2
[BackPicSet] 0x020 - SHADOW_DETAIL: 0
[BackPicSet] 0x024 - GAMMA: 0
[BackPicSet] 0x028 - RGB_ONLY_MODE: 0
[BackPicSet] 0x02c - COLOR_SPACE: 1
[BackPicSet] 0x030 -> R:50.0.0 G:0.50.0 B:0.0.50 Y:50.50.0 C:0.50.50 M:50.0.50
[BackPicSet] 0x048 - WHITE_BALANCE -> Offset:25.25.25 Gain:25.25.25
[BackPicSet] 0x050 - WHITE_BALANCE10P: 0
[BackPicSet] 0x054 -> i1:-10.-10.-10 i2:-10.-10.-10 i3:-10.-10.-10 i4:-10.-10.-10 i5:-10.-10.-10
[BackPicSet] 0x090 -> i6:-10.-10.-10 i7:-10.-10.-10 i8:-10.-10.-10 i9:-10.-10.-10 i10:-10.-10.-10
[BackPicSet] 0x0d0 - FLESH_TONE: 0
[BackPicSet] 0x0d4 - EDGE_ENHANCEMENT: 1
[BackPicSet] 0x0d8 - LED_MOTION_PLUS: 0
[BackPicSet] 0x0dc - XVYCC: 0
[BackPicSet] 0x0e0 - BRIGHTNESS_SENSOR: 1 -> Min.Backlight: 2
[BackPicSet] 0x0e8 - COLOR_TONE: 2
[BackPicSet] 0x0f0 - DIGITAL_NOISE_REDUCTION: 4
[BackPicSet] 0x0f4 - MPEG_NOISEREDUCTION: 4
[BackPicSet] 0x0f8 - BLACK_LEVEL: 0
[BackPicSet] 0x0fc - FILM_MODE: 0
[BackPicSet] 0x100 - AUTO_MOTION_PLUS: 2
[BackPicSet] 0x104 - MOTION_JUDDER_CANCELLER: 0
[BackPicSet] 0x108 - SMART_LED: 0
[BackPicSet] 0x10c - MAGIC_ANGLE: 0
[BackPicSet] 0x120 - CINEMA_LIGHTING: 0
[BackPicSet] 0x124 - AUTO_MOTION_LIGHT: 0
[BackPicSet] <<< lib_deinit
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[F] Software”

Who is online

Users browsing this forum: Discus, gilsonsjc and 1 guest