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

Here are software that related with Samsung F series TVs.

zoelechat
SamyGO Moderator
Posts: 7997
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat » Tue Aug 22, 2017 2:51 pm

You mean "key name doesn't correspond to its function"? Yeah it's expected :)

Maybe you can find more there (possible I've already posted this, don't remember where...):
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.

bogdan0
SamyGO Project Donor
Posts: 7
Joined: Sun Jul 16, 2017 6:04 pm

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

Post by bogdan0 » Sun Oct 08, 2017 6:36 pm

Hello,

Interesting tool.
Any progress to remap the keys of "soap"/Bluetooth remote control?
I need to add "ch list".

Thank you
https://ctrlv.it/id/42963/3640440846
PS51F8500 (from PN518500) T-FXPDEUC-1125 (from 1114.1) SamyGo, fixed HBOGO; Still learning this :D

sectroyer
Official SamyGO Developer
Posts: 5669
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 » Tue Oct 17, 2017 9:53 pm

bogdan0 wrote:
Sun Oct 08, 2017 6:36 pm
Any progress to remap the keys of "soap"/Bluetooth remote control?
No :)
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 http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

User avatar
beatfreak
SamyGO Project Donor
Posts: 556
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 » Thu Dec 21, 2017 6:33 pm

if you try to bind a key to two commands: (or the command line is too long?)
rcSGOout:
SpoilerShow

Code: Select all

samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
Injecting '/mtd_rwcommon/SamyGO/opt/privateer/usr/libso/libRCremap.so' resident: '1'
adding libc addr to found symaddress c81a0 + 42c2d000 42cf51a0
mprotect: 0x42cf51a0
dlopen: 0x41120a74
dlclose: 0x41120c74
dlsymaddr: 0x41120cd8
pc=42a64158 lr=42a67928 sp=beaac8e0 fp=beaac934
r0=fffffe00 r1=0
r2=1 r3=0
stack: 0xbea98000-0xbeaad000 length = 86016
executing injection code at 0xbeaac790
library injection completed!
Succeeded.
RCremap.log:
SpoilerShow

Code: Select all

# cat /dtv/RCremap.log 
[RCremap] SamyGO RCremap v0.3.5 log - (c) bugficks 2013, small fixes by sectroyer 2014
[RCremap] mapping key: '3' to 'KEY'
[RCremap] skipping invalid old key: '▒'
[RCremap] Trying to get _ZN9KeyCommon17SendKeyPressInputEiis on C.
[RCremap] Found _ZN9TDBuilder8GetTDiCPE16TDSourceObject_k location at: 0x002dd460
[RCremap] Found _fini location at: 0x01aacb24
[RCremap] text range: @0x0025d460 -> @0x0020d460
[RCremap] rodata range: @0x01aacb24 -> @0x0a2acb24
[RCremap] Found SendKeyPressInput at @0x0024546c
[RCremap] SendKeyPressInput address: 0x0024546c
[RCremap] _ZN9KeyCommon17SendKeyPressInputEiis address: 0x00245330
[RCremap] 1 _ZN9KeyCommon17SendKeyPressInputEiis [0x245330].
[RCremap] init done...
librcremap.config:
SpoilerShow

Code: Select all

# cat /mtd_rwcommon/SamyGO/opt/privateer/usr/libso/libRCremap.config 
[
    {
        "KEY_RED": "KEY_RED"
    },
    {
        "KEY_YELLOW": "CMD:/mtd_rwcommon/SamyGO/etc/init.d/02_10_wakelan.init.dis start && /mtd_rwcommon/SamyGO/etc/init.d/06_07_touch_my_ip.init restart"
    }
]
so i have to create some kind of wrapper script that calls the other scripts?
will it work if i use : "CMD:$SYSROOT/etc/init.d/myscript.sh" ? (or $DISTROOT)
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS //
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.

zoelechat
SamyGO Moderator
Posts: 7997
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat » Thu Dec 21, 2017 11:11 pm

so i have to create some kind of wrapper script that calls the other scripts?
Since system() calls /bin/sh -c, can be odd whether CMD is interpreted with quotes or not, so indeed better use intermediary script if more than one command. Otherwise looks you're below supposed 200 chars limit.
will it work if i use : "CMD:$SYSROOT/etc/init.d/myscript.sh" ? (or $DISTROOT)
Nope. SamyGO env is unknown to... exeDSP! :)
I do NOT receive any PM. Please use forum.

Post Reply

Return to “[F] Software”