Page 2 of 8

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Thu Sep 19, 2013 12:07 pm
by juusso
gasakuc maybe has different code. need to check with ida.

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Thu Sep 19, 2013 4:42 pm
by dejimmy
Hello.

I've managed to work out the first part of this, but got stucked in the second part - autostart!
SpoilerShow
Copy files from archive:
samyGOso -> $DISTROOT/usr/bin/
libChannInfo.so -> $DISTROOT/usr/so/
set permissions:
CODE: SELECT ALL
chmod 755 $DISTROOT/usr/bin/samyGOso
Script 99_99_ChannInfoON.init extract to
CODE: SELECT ALL
$SYSROOT/etc/init.d/99_99_ChannInfoON.init
set permissions
CODE: SELECT ALL
chmod 755 $SYSROOT/etc/init.d/
NB!
$SYSROOT D series: /mtd_rwcommon/widgets/user/SamyGO/SamyGO
$DISTROOT D series: /mtd_rwcommon/widgets/user/SamyGO/SamyGO/opt/privateer
$SYSROOT E series: /mnt
$DISTROOT E series: /mnt/opt/privateer
I assume that those files goes to those two folders written below since I have UE40ES6300... Can anybody tell me which files go where (samyGOso, libChannInfo.so and 99_ChannInfoON.init) and what commands should I run so autostart would work when I turn off and on TV?
$SYSROOT E series: /mnt
$DISTROOT E series: /mnt/opt/privateer
Thank you.

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Thu Sep 19, 2013 7:06 pm
by hondavtec
Unfortunately I can't get it to work on an ES6710.
I'm on 1030 via this hack (not USB method): viewtopic.php?f=50&t=4313
So far I think I'm connected to my TV using putty on a Mac. I do not get any response when entering commands like "chmod 755 /mtd_down/so/samyGOso"
Is that because of restricted telnet / ssh access with my firmware ( > limitations of kernel )?

Already searched the forum but can't find anything that helps, can somebody please point me in the right direction?

Thanks!
Frank

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Fri Sep 20, 2013 3:16 am
by Jiggy
THANX a LOT - works PERFEKT :D

@ dejimmy:
Autostart for E series:
SpoilerShow

Code: Select all

source /dtv/SGO.env

/mnt/opt/privateer/usr/bin/samyGOso

/mnt/opt/privateer/usr/so/libChannInfo.so

chmod 755 $DISTROOT/usr/bin/samyGOso

/mnt/etc/init.d/99_99_ChannInfoON.init

chmod 755 /mnt/etc/init.d/99_99_ChannInfoON.init
Gru? :mrgreen:

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Fri Sep 20, 2013 4:41 am
by damnoodle
juuso wrote:did you run it more times? what is firmware verson and name.
Apparently I did :roll: but, still does not work. T-MST10PAUSC 1025.0

First run
SpoilerShow

Code: Select all

VDLinux#> ./samyGOso -p $(pidof exeAPP || pidof exeDSP) -l /mtd_down/so/libChann
elInfo.so -d
Injecting '/mtd_down/so/libChannelInfo.so' resident: '0' mprotect: 0x42381c80
dlopen: 0x42b88b28
dlclose: 0x42b88ccc
dlsymaddr: 0x42b88d1c
pc=42ab34dc lr=42ab34c8 sp=becaff18 fp=5231abc
r0=fffffe00 r1=80
r2=1 r3=0
stack: 0xbec93000-0xbecb4000 length = 135168
executing injection code at 0xbecafdf0
library injection completed!
succeeded.
log
SpoilerShow

Code: Select all

VDLinux#> cat /dtv/cinfo.log
SamyGO ChannelInfo patch D/E/F v0.3.1 - (c) bugficks 2013
Searching for 4 cmp instructions.
Patching ChannelInfo (cmp r5) @0x143e128 .
I have noticed 2 different issues with that the files in "/mtd_down/so" after reboots.

1st - Files were deleted after reboot. (reinstalled them with correct permissions)
2nd - Files are in "/mtd_down/so" but permissions are incorrect.

Code: Select all

VDLinux#> ls -l /mtd_down/so
total 32
-rwxr-xr-x    1 root     0             7903 Jan  1  1980 libChannelInfo.so
-rwxr-xr-x    1 root     0            24329 Jan  1  1980 samyGOso
I'm thinking its time for a factory reset, but before I do this is there any more info you guys might want or have another suggestion ?

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Fri Sep 20, 2013 12:36 pm
by bugficks
weird device you have there :)

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Fri Sep 20, 2013 2:14 pm
by fluffi444
Hey Bugficks... Do you have any updates for the reduced viewing time (4,5 secs) for the Info field?

I don't what to put pressure on this... But I'm so curious... :-)

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Fri Sep 20, 2013 2:40 pm
by bugficks
#> cat libSTFU.config
{
/* do not remove or strange things will happen */
"channelinfo_ms" : 4500,
"recordinfo_ms" : 4500,
"playinfo_ms" : 4500,
"playtools_ms" : 4500,
"timeshiftinfo_ms" : 4500
}
noooo :P

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Fri Sep 20, 2013 4:54 pm
by fluffi444
But what does that mean? :-) Do I have to add this somewhere? Or is it just an Info how the config file could look like?

You said "nooo" so I think this did not work, isn't it?

Re: [APP] SamyGO ChannelInfo for D(arm)/E/F series!

Posted: Fri Sep 20, 2013 5:00 pm
by bugficks
its in testing... not yet availble to public ;)