Page 1 of 4

[App] libFitScreen D/E/F/H

Posted: Wed Sep 02, 2015 9:38 am
by zoelechat
Lib allows to use "Fit to Screen" picture size mode in ALL resolutions, and consequently recover up to ~15% image area being never visible and irremediably lost, especially on 576i and 720p channels/sources.
Even if image borders are generally not essential, patching results in better image quality, due to more pixels = less upscaling.
oversc.jpg
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 archives and copy libFitScreen.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/libFitScreen.so
Once patched, picture size setting become common to all channels and not anymore specific to HD or SD. It means if an HD channel is set to "fit to screen", setting applies to SD as well, and conversely.
  • Autostart
    • Copy 99_90_FitScreen.init to /mnt/etc/init.d
    • Set permissions

      Code: Select all

      chmod +x /mnt/etc/init.d/99_90_FitScreen.init
If patch detects TV source and non-FullHD channel as being currently watched on injection, display will be "refreshed" and a ~1sec blackout will occur to apply new sizing.

*Changelog:

Code: Select all

2/9/2015
v0.0.2 - First release

Re: [App] libFitScreen D/E/F/H

Posted: Tue Sep 08, 2015 5:00 pm
by atilla
Sammy e series

Code: Select all

Trying 192.168.178.31...
Connected to 192.168.178.31.
Escape character is '^]'.

root@tv:/mnt # samyGOso -d -T -B -l /mnt/opt/privateer/usr/libso/libFitScreen.so
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libFitScreen.so' resident: '0'
mprotect: 0x41bb9c80
Can't open /proc/1568240239/maps for reading
cannot read memory map
find_linker pid: 1568240239, error!
Failed.

Update: after samGoso update it works !!! Thank you

Re: [App] libFitScreen D/E/F/H

Posted: Sun Oct 11, 2015 2:32 pm
by Mhogena
I tried this on UE55HU7200SXZG with firmware 1024.1 but I think without success (Size seems always the same testing with a 576i avi) but found this weekend that using Picture Size "Screen Fit" from the normal TV menu seems to do the job.

Otherwise I did something wrong with libFitScreen

Bye

Guenter

Re: [App] libFitScreen D/E/F/H

Posted: Sun Oct 11, 2015 2:42 pm
by zoelechat
lib has no effect on media player since "fit to screen" is already done in all resolutions by default :)
It's meant to uncrop 576i/720p (=make "fit to screen" available in menu, you still have to select it) in TV mode and PVR player only.

Re: [App] libFitScreen D/E/F/H

Posted: Sun Oct 11, 2015 4:16 pm
by Mhogena
Hello zoelechat,

I have to think of your answer because my description seems to be misleading. I played the 576i avi within an dremabox7080 connected on tv's hdmi port. Patch libFitScreen shows even cropping but switching tv menu setting "Screen fit", seems to solve it. But I also didn't restart tv after patching with samyGOso. So I will experiment again.

Bye

Guenter

Re: [App] libFitScreen D/E/F/H

Posted: Sun Oct 11, 2015 4:27 pm
by zoelechat
Told you: TV mode and PVR player only. ALL other sources (including HDMI) already have "fit to screen" option by default, no need to patch for that :)

Re: [App] libFitScreen D/E/F/H

Posted: Thu Oct 15, 2015 5:07 pm
by JanneP
Thanks a lot for this! Works fine. Even my old TV could do 1:1 pixel mapping on 720p DTV sources without hacks, but not Samsung..

Re: [App] libFitScreen D/E/F/H

Posted: Tue Dec 08, 2015 3:16 pm
by Htchoicy
Hi everyone,

A complete noob here. Dont know much about coding etc. i think i have managed to root my ua55hu7200. Gotten that far but thats it. This app is the only reason i got the root for but dont know what to do next. Tried to find tutorials or explanations as to how apps can be installed but had no luck. Could someone point me to the right direction? Thanks! Much appreciated

Re: [App] libFitScreen D/E/F/H

Posted: Tue Dec 08, 2015 3:21 pm
by zoelechat
No patch requires any coding nor special knowledge :D
It's ready to use, just follow procedure.

File handling: FTP on port 21
Commands: Telnet on port 23
(if you don't know what they are, use Google...)

If you can't connect to one or both, it means your TV is NOT rooted, simple as that. :)

Re: [App] libFitScreen D/E/F/H

Posted: Wed Dec 09, 2015 1:48 pm
by juusso
Just for reference:

Code: Select all

[FitScreen] SamyGO D/E/F/H libFitScreen v0.0.2 - (c) zoelechat 2015
[FitScreen] _ZN10SsInfoBase17GetResolutionFlagEN9TPCWindow7EWindowE [0xd4b1e8].
[FitScreen] g_pAppWindow [0x58d5bac].
[FitScreen] _ZN8TCWindow9GetSourceEPii [0xb8b614].
[FitScreen] _ZN8TCWindow13GetResolutionEPiP13TPTResolution [0xb8bf74].
[FitScreen] dlsym '_ZN5TCAPI9GetWindowEN8TCWindow7EWindowE' failed.
[FitScreen] dlsym '_ZN12TCWindowImpl9GetSourceEPii' failed.
[FitScreen] dlsym '_ZN12TCWindowImpl13GetResolutionEPiP13TPTResolution' failed.
[FitScreen] _ZN9TCChannelC2Ev [0xbd3240].
[FitScreen] _ZN9TCChannelD2Ev [0xbcffdc].
[FitScreen] _ZN8TCWindow12GetTVChannelEP9TCChanneli [0xb8b6fc].
[FitScreen] _ZN8TCWindow15SetChannelQuietEPK9TCChannelb [0xb8cdc0].
[FitScreen] dlsym '_ZN12TCWindowImpl12GetTVChannelEP9TCChanneli' failed.
[FitScreen] dlsym '_ZN12TCWindowImpl15SetChannelQuietEPK9TCChannelb' failed.
[FitScreen] lib_init, >>>
[FitScreen] Enabling 'Fit to Screen' picture size in SD mode!
[FitScreen] ->Successfully patched at 0xd4b1e8
[FitScreen] Current source is TV and channel non-FullHD, refreshing!
[FitScreen] <<< lib_deinit 
Haven`t noticed any picture changes indeed (not really sure...).

Edit: ScreenFit is now available and i can choose it for SD. OK, perhaps it works :)