[App] Subtitle Font Size and Color Patch

Here are software that related with Samsung E series TVs.
Please don't create any new topic here unless you have software to post/release.
Post Reply

sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

[App] Subtitle Font Size and Color Patch

Post by sectroyer »

This patch allows setting font size values (def. 29,32,35). You can also set font color.
  1. Extract fontsizecolorpatch file (not folder) from attached archive to TV in /mnt/opt/privateer/usr/bin
  2. Telnet to TV and set file permissions:

    Code: Select all

    chmod +x /mnt/opt/privateer/usr/bin/fontsizecolorpatch
  3. Execute

    Code: Select all

    fontsizecolorpatch -n exeDSP -s 45 -m 50 -l 55 -c 0xfff0f010 -d
    You can apply this patch as many times as you want without the need to restart the TV :)
  4. Autostart:
    1. Extract 99_97_FontSizeColorPatch.init from archive to /mnt/etc/init.d
      SpoilerShow
      You can edit your prefered values on top of script

      Code: Select all

      SmallFontSize=45
      MediumFontSize=50
      LargeFontSize=55
      FontColor=0xfff0f010
    2. Set permissions

      Code: Select all

      chmod +x /mnt/etc/init.d/99_97_FontSizeColorPatch.init
You do not have the required permissions to view the files attached to this post.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Subtitle Font Size Patch

Post by zoelechat »

attachment? :)
I do NOT receive any PM. Please use forum.
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] Subtitle Font Size Patch

Post by sectroyer »

Uploaded :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Subtitle Font Size Patch

Post by zoelechat »

It works! (and is really useful :) )

Unfortunately, I'm still having that holding issue on first launch that makes it unusable as permanently installed for me

It is really needed that more E owners test your patches to confirm or not if I'm again alone with an issue :?
I do NOT receive any PM. Please use forum.
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] Subtitle Font Size Patch

Post by sectroyer »

zoelechat wrote:It works! (and is really useful :) )

Unfortunately, I'm still having that holding issue on first launch that makes it unusable as permanently installed for me

It is really needed that more E owners test your patches to confirm or not if I'm again alone with an issue :?
Even if other users won't have any problems with my patches and you still will have it won't change a thing :) Just put USB_STOP checking in init script and test :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Subtitle Font Size Patch

Post by zoelechat »

I didn't set up that USB_STOP thing yet. Anyway if TV is doing other things such as starting other scripts, your patches are systematically crashing my TV.
I've tried seekpatch as last startup script, even with a "sleep 100" before, it crashes about 9 times on 10 (certainly because TV hasn't totally finished to boot, or simply it can't continue to execute its own script)
So, it's really unusable on startup for me.

Do you have a dual-core-E TV? Maybe you don't see it also holds for you, because you have a remaining thread? (just an idea :) )

Technically and seeing sourcecode, it seems to hold somewhere in util.c allocate_memory() function, but with my near zero C programming skill, I can't explain anything...
Even if other users won't have any problems with my patches and you still will have it won't change a thing :)
On the contrary, if they have problems, I won't keep feeling alone ;)
I do NOT receive any PM. Please use forum.
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] Subtitle Font Size Patch

Post by sectroyer »

It looks I have dual CPU TV :D
SpoilerShow
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 1794.04

processor : 1
BogoMIPS : 1794.04

Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc09
CPU revision : 0

Hardware : amber3
Revision : 0000
Serial : 0000000000000000
Didn't know that :D If other people also report problems I will rewrite the patch to use samyGOso :) I also have some other idea to make it more stable... But need more reports since it will require a little work :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Subtitle Font Size Patch

Post by zoelechat »

...And it looks like I have EXACT same cpuinfo, we must have different firmware :D

Mine is not dual-core, there must be some kind of hyperthreading (so, my idea about threads is wrong, I knew it :mrgreen: )

Sure it should be smarter to use SamyGOso, at least for patches weight I presume. I trust you ;)
I do NOT receive any PM. Please use forum.
User avatar
greenhorn
SamyGO Project Donor
Posts: 701
Joined: Wed Feb 15, 2012 3:05 pm
Location: Eastern Europe

Re: [App] Subtitle Font Size Patch

Post by greenhorn »

Another great app! Thank you.
SpoilerShow
VDLinux#> chmod +x fontsizepatch
VDLinux#> ./fontsizepatch -n exeDSP -s 35 -m 37 -l 39
Font Size patched at : @0x03523330 with values: 35,37,39.
VDLinux#> cat /proc/cpuinfo
Processor : ARMv7 Processor rev 8 (v7l)
processor : 0
BogoMIPS : 1990.65

processor : 1
BogoMIPS : 1990.65

Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 8

Hardware : Samsung SDP1106 evaluation board
Revision : 0000
Serial : 0000000000000000
Edit: after applying the patch, subtitles got smaller. I even tied -s 55, but size did not change...
Edit2: Maybe, I did get right.... Thought that -s = size.... What do -s -m -l mean?
TV: UE40F7000 - T-FXPDEUC-1115.0 - SamyGO Extensions on F series
TV: UE55ES7000S - T-ECPDEUC-2003.4 - SamyGO tool Right from USB - no develop account is needed
TV: UE40C6710 - T-VALDEUC 3011 - Hacking TV over Hotel mode (C650 T-VALDEUC-3009.2)
BD-Player: BD-E6100 - B-FIRBPEWWC 1063.3 - rooted, no more Cin@vi@
NAS: CIFS: MAG250 NFS: Playon!HD
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: [App] Subtitle Font Size Patch

Post by sectroyer »

greenhorn wrote:Another great app! Thank you.
SpoilerShow
VDLinux#> chmod +x fontsizepatch
VDLinux#> ./fontsizepatch -n exeDSP -s 35 -m 37 -l 39
Font Size patched at : @0x03523330 with values: 35,37,39.
VDLinux#> cat /proc/cpuinfo
Processor : ARMv7 Processor rev 8 (v7l)
processor : 0
BogoMIPS : 1990.65

processor : 1
BogoMIPS : 1990.65

Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 8

Hardware : Samsung SDP1106 evaluation board
Revision : 0000
Serial : 0000000000000000
Edit: after applying the patch, subtitles got smaller. I even tied -s 55, but size did not change...
Edit2: Maybe, I did get right.... Thought that -s = size.... What do -s -m -l mean?
Why don't you ever try running my patches without any arguments? If you would at least once did you wouldn't ask such questions :)
SpoilerShow
Font Size Patch v0.5.2 by sectroyer

error usage: ./fontsizepatch [-p PID | -n procname] -d (debug on)
-p, --pid pid of process to attach
-n, --procname name of process to attach
-d, --debug enable debug output

You can specify three values:
-s, --small small font size (def. 29)
-m, --medium medium font size (def. 32)
-l, --medium large font size (def. 35)
So as you can notice there three font sizes uses by TV (changeable trough tools menu:) ). Small, Medium and Large :) With -s you were only change "small" size and your TV was switched to let's say medium subtitle size it didn't change anything :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

Post Reply

Return to “[E] Software”