Page 15 of 15

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Posted: Sun Aug 11, 2019 6:18 am
by miras_mi
Did anyone manage to start YouTube this way?

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Posted: Wed Sep 04, 2019 9:33 am
by sectroyer
miras_mi wrote: Sun Aug 11, 2019 6:18 am Did anyone manage to start YouTube this way?
Use CMD support.

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Posted: Thu Oct 24, 2019 12:41 pm
by miras_mi
Hi sectroyer,
Many thanks but the problem is that I can't find command to start Youtube.
Is there someone who managed to do it
Thanks in advance

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Posted: Mon Mar 08, 2021 9:51 pm
by setti
Im trying to get curl or wget running from cmd on h series but without success.
I see curl is making the request, but I dont get the output. Neither to any file nor to stdout for piping to another process.
I already tried the "telnet" workaround, but it doesn't work either. Although i dont think, that it is needed anyway.

Running from command line works, as expected.

Where is the problem? I dont get any errors.

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Posted: Tue Jun 25, 2024 9:53 am
by beatfreak
i did have a problem on my F8090 with T-FXPDEUC 1115 as well as on 1136 even with the provided sample config
RCremap.logShow

Code: Select all

root@tv:/mnt $ ./etc/init.d/99_99_RCremap.init.dis start
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mnt/opt/privateer/usr/libso/libRCremap.so' resident: '1'
mprotect: 0x41e96f80
dlopen: 0x42310c5c
dlclose: 0x42310cf0
dlsymaddr: 0x42310d50
pc=4203c660 lr=4203c644 sp=be8f71e0 fp=80
r0=b68d854 r1=80
r2=1 r3=0
stack: 0xbe8d7000-0xbe8f8000 length = 135168
executing injection code at 0xbe8f70a0
library injection completed!
Succeeded.
root@tv:/mnt $ cat /dtv/RCremap.log
[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: 'KEY_VOLUP' to 'KEY_VOLDOWN'
[RCremap] mapping key: 'KEY_VOLDOWN' to 'KEY_VOLUP'
[RCremap] mapping key: 'KEY_CHDOWN' to 'KEY_CHUP'
[RCremap] mapping key: 'KEY_CHUP' to 'KEY_CHDOWN'
[RCremap] mapping key: 'KEY_1' to command: 'touch /tmp/test.txt'
[RCremap] mapping key: 'KEY_2' to command: 'rm /tmp/test.txt'
[RCremap] Trying to get _ZN9KeyCommon17SendKeyPressInputEiis on C.
[RCremap] dlsym '_ZN9TDBuilder8GetTDiCPE16TDSourceObject_k' failed.
[RCremap] Found _fini location at: 0x048aa478
[RCremap] text range: @0xfff80000 -> @0xfff30000
[RCremap] rodata range: @0x048aa478 -> @0x0d0aa478
root@tv:/mnt $

Code: Select all

root@tv:/mnt $ cat etc/init.d/99_99_RCremap.init.dis
#!/bin/sh
#
# © Copyright 1996-2013, SamyGO
#
#
 . /dtv/SGO.env

SO=libRCremap.so
INJPID=$(pidof exeAPP || pidof exeDSP)

case $1 in
        start)
        samyGOso -p $INJPID -l $LIBSO_DIR/$SO -r -d
        sleep 10
                if [ ! -e /proc/$INJPID ]; then
                        mv $0 $0.dis
                        sync
                        reboot
                fi
        ;;
        stop)
        echo "ask on forum"
        ;;
        status)
        ;;
        *)
        echo "Usage: $0 {start|stop|status}" 1>&2
        exit 0
        ;;
esacroot@tv:/mnt $

also happens when injecting without -d switch
after about 5 seconds after injection the watchdog reboots the tv
the default 99_99_RCremap.init was the Problem the -T Switch for samyGOso is missing, so adapt your init Script according to first Post!
in case this wasnt mentioned before: there will be an reported error in script (libRCremap.config) if there is only a single mapping to "CMD:..., the workaround for this is to map any other key to itself first.
example libRCremap.comfig for only mapping one Key to CMDShow

Code: Select all

[
    {
        "KEY_YELLOW": "KEY_YELLOW"
    },
    {
        "KEY_CYAN": "CMD:/mnt/etc/init.d/02_10_wakelan.init.dis start"
    }
]