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

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

miras_mi
SamyGO Project Donor
Posts: 34
Joined: Sun Aug 02, 2015 3:28 pm

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

Post by miras_mi »

Did anyone manage to start YouTube this way?
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

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

Post by sectroyer »

miras_mi wrote: Sun Aug 11, 2019 6:18 am Did anyone manage to start YouTube this way?
Use CMD support.
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 !!!!
miras_mi
SamyGO Project Donor
Posts: 34
Joined: Sun Aug 02, 2015 3:28 pm

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

Post 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
setti
SamyGO Project Donor
Posts: 131
Joined: Sat Jan 07, 2012 11:32 am

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

Post 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.
User avatar
beatfreak
SamyGO Project Donor
Posts: 597
Joined: Tue Aug 23, 2011 9:03 am
Location: Hamburg
Contact:

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

Post 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"
    }
]
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS // >> decommissioned due to tuner death
//UE46F8090 @ T-FXPDEUC 1136 // rooted by new Widget // root starting with empty usb drive
FYI: you can close your ssh session with SamyGO with

Code: Select all

~.
If you can't fix it using dvct tape, you are not using enough dvct tape.

Post Reply

Return to “[F] Software”