Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Sun Aug 11, 2019 6:18 am
Did anyone manage to start YouTube this way?
Samsung TV Firmware on the GO
http://forum.samygo.tv/
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 $
Code: Select all
[
{
"KEY_YELLOW": "KEY_YELLOW"
},
{
"KEY_CYAN": "CMD:/mnt/etc/init.d/02_10_wakelan.init.dis start"
}
]