[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.

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

Re: [App] Subtitle Font Size Patch

Post by sectroyer »

sectroyer wrote:
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 used 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 !!!!
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 »

@sectroyer
Ok. Now is cleared. Thank you!
Confirm it works on es7000 T-ECPDEUC-2011.1 without any crashes.
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:@sectroyer
Ok. Now is cleared. Thank you!
Confirm it works on es7000 T-ECPDEUC-2011.1 without any crashes.
It seems the crashes happened only during boot time so you may still encounter one ;) Anyway new version uploaded (much safer) please test. It shouldn't cause any more crashes :)
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 »

Well done! :)

No more hang/crash, patching is nearly instantaneous even on first launch:
SpoilerShow

Code: Select all

./fontsizepatch -n exeDSP -s 39 -m 42 -l 45 -d
pc=428234dc lr=428234c8 sp=bece1ef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
symbol: _ZN18CMMPEventProcVideo20m_ChangeSubtitleSizeEi -> @0x024c8ad0
Patch location found at: @0x024c8b5c.
symbol: valloc -> @0x423244c0
symbol: mprotect -> @0x42379c80
Stack: @0xbecc5000 - @0xbece6000
pc=428234dc lr=428234c8 sp=bece1ef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
Executing injection code at 0xbece1e64
Allocated new memory with size 0x00001000 at address: @0x09019000
Font Size patched at : @0x024c8b5c with values: 39,42,45.
Patching completed!
/mtd_rwcommon #
(Is it possible to apply the same method to seekpatch? ;) )

Btw, I've no font size choice at all in Tools menu, I'm going to see and report which one amongst SML is effective in that case...

EDIT: useful value when no size choice is -m one :)
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:Well done! :)

No more hang/crash, patching is nearly instantaneous even on first launch:
SpoilerShow

Code: Select all

./fontsizepatch -n exeDSP -s 39 -m 42 -l 45 -d
pc=428234dc lr=428234c8 sp=bece1ef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
symbol: _ZN18CMMPEventProcVideo20m_ChangeSubtitleSizeEi -> @0x024c8ad0
Patch location found at: @0x024c8b5c.
symbol: valloc -> @0x423244c0
symbol: mprotect -> @0x42379c80
Stack: @0xbecc5000 - @0xbece6000
pc=428234dc lr=428234c8 sp=bece1ef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
Executing injection code at 0xbece1e64
Allocated new memory with size 0x00001000 at address: @0x09019000
Font Size patched at : @0x024c8b5c with values: 39,42,45.
Patching completed!
/mtd_rwcommon #
(Is it possible to apply the same method to seekpatch? ;) )
Yes this technic can be used to fix your problems with seekpatch. Moreover it may be used to some other of my patches (currently not released or still work in progress) and that's why I wanted to fix problem instead of rewriting everything:)
zoelechat wrote:
Btw, I've no font size choice at all in Tools menu, I'm going to see and report which one amongst SML is effective in that case...

EDIT: useful value when no size choice is -m one :)
Your TV is strange :D Are sure you don't have "subtitle settings" option (or something similar) in tool menu just below "subtitles on/off" switch?
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 »

sectroyer wrote:Your TV is strange :D Are sure you don't have "subtitle settings" option (or something similar) in tool menu just below "subtitles on/off" switch?
If I had this option, I'd have set it to at least LARGE for a long time :)
Clipboard01.jpg
I confirm my TV is strange, but it also always appeared to be efficient for debugging ;)
You do not have the required permissions to view the files attached to this post.
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 »

go to Sous-titres..... It will open a new dialog...
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:go to Sous-titres..... It will open a new dialog...
Does this new version of patching work also for you ?
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 !!!!
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 »

Haven't tried the new one (do not have access to my TV right now). I will check later today...
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
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: [App] Subtitle Font Size Patch

Post by zoelechat »

greenhorn wrote:go to Sous-titres..... It will open a new dialog...
You're right, then I have the choice ON or OFF :D
Clipboard01.jpg
Anyway, no matter now I have a wonderful patch to fix definitively decent readable size :)
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[E] Software”