Page 7 of 15
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 3:42 pm
by asiersan
OK PORT IS 3023
Now i receive another error:
Injecting '/mnt/opt/privateer/usr/libso/libAirToSat.so' resident: '0'
cannot attach to 159, error!
Failed.
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAlert.so' resident: '0'
cannot attach to 159, error!
Failed.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 3:53 pm
by zoelechat
Obviously 3023 is also not root

Don't you have another *23? 1023 would be fine.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 4:19 pm
by asiersan
ok i have this ports:
/mnt # netstat -l | grep 23
tcp 0 0 *:3023 *:* LISTEN
tcp 0 0 *:3123 *:* LISTEN
tcp 0 0 *:23 *:* LISTEN
tcp 0 0 192.168.1.6:52345 *:* LISTEN
udp 0 0 192.168.1.6:24234
with 3023:
Code: Select all
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAirToSat.so' resident: '0'
cannot attach to 168, error!
Failed.
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAlert.so' resident: '0'
cannot attach to 168, error!
Failed.
with 3123 and 23:
Code: Select all
# /mnt/opt/privateer/usr/bin/CMD_libAirToSat
#
but nothing happens
if i run comands manually:
Code: Select all
/mnt # samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAlert.so TEXT:"Welco
me to SamyGO!"
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAlert.so' resident: '0'
mprotect: 0x4227b950
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324ef4 lr=42324ed8 sp=be12e030 fp=d9d14e0
r0=d9d14e4 r1=80
r2=1 r3=0
stack: 0xbe10e000-0xbe12f000 length = 135168
executing injection code at 0xbe12ded4
library injection completed!
Succeeded.
/mnt # samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libAirToSat.so
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAirToSat.so' resident: '0'
Succeeded.
both are inyected correctly
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 4:30 pm
by asiersan
I see another probblem, I dont know if it inbolucres this. My tv works correctly but when rooting usb is insert, when the root is working, tv power off not runs. I must disconect it from power source and push it again to boot.
It power off but them not retung on....
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 4:31 pm
by zoelechat
Maybe try through Telnet on port 23 then:
Code: Select all
(echo "$SAMYGOSODIR/samyGOso -d -A -B -l $SODIR/libAirToSat.so"; sleep 2) | /dtv/bin/telnet localhost 23
About power off, did you respect this?:
Menu->System->General->Quickly Power OFF Samsung - this option must be OFF
Menu->System->General->Samsung Instant ON - this option must be OFF
Anyway, that's another problem, not the right thread

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 4:56 pm
by asiersan
abouyt second thing. solved.
Firs and this tread thing.... nothing
with the new argument:
nothing happens.
If i send the comand all goes ok:
Code: Select all
samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAirToSat.so
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAirToSat.so' resident: '0'
mprotect: 0x4227b950
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324ef4 lr=42324ed8 sp=bdd28030 fp=d3972a0
r0=d3972a4 r1=80
r2=1 r3=0
stack: 0xbdd08000-0xbdd29000 length = 135168
executing injection code at 0xbdd27ef0
library injection completed!
Succeeded.
/mnt # samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAirToSat.so
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAirToSat.so' resident: '0'
mprotect: 0x4227b950
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324ef4 lr=42324ed8 sp=bdd28030 fp=d3972a0
r0=d3972a4 r1=80
r2=1 r3=0
stack: 0xbdd08000-0xbdd29000 length = 135168
executing injection code at 0xbdd27ef0
library injection completed!
Succeeded.
/mnt # samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAirToSat.so CABLE
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAirToSat.so' resident: '0'
mprotect: 0x4227b950
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324ef4 lr=42324ed8 sp=bdd28030 fp=d3972a0
r0=d3972a4 r1=80
r2=1 r3=0
stack: 0xbdd08000-0xbdd29000 length = 135168
executing injection code at 0xbdd27ee8
library injection completed!
Succeeded.
/mnt # samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libAirToSat.so CABLE
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014
Injecting '/mnt/opt/privateer/usr/libso/libAirToSat.so' resident: '0'
mprotect: 0x4227b950
dlopen: 0x424a0d80
dlclose: 0x424a0e14
dlsymaddr: 0x424a0e78
pc=42324ef4 lr=42324ed8 sp=bdd28030 fp=d3972a0
r0=d3972a4 r1=80
r2=1 r3=0
stack: 0xbdd08000-0xbdd29000 length = 135168
executing injection code at 0xbdd27ee8
library injection completed!
Succeeded.
My tv is non MST....
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 5:32 pm
by asiersan
with CMD_AirToSat no log.
Only if I run the comand in telnet get log, when the comand runs of course.
Code: Select all
[AirToSat] SamyGO D/E/F/H libAirToSat v0.2.9 - (c) zoelechat 2015
[AirToSat] g_pAppWindow [0xb503828].
[AirToSat] _ZN5TCAPI9GetWindowEN8TCWindow7EWindowE [0x16479ac].
[AirToSat] dlsym 'g_pCMResourceManager' failed.
[AirToSat] g_pCMResMgr [0xb5e1fa4].
[AirToSat] dlsym 'g_CMResMgr' failed.
[AirToSat] _ZN15CMenuMainWindow14t_ResetChannelEv [0x4c15ab8].
[AirToSat] dlsym '_ZN18CMenuMainWindowAce14t_ResetChannelEv' failed.
[AirToSat] dlsym '_ZN8TCWindow9GetTvModeEPii' failed.
[AirToSat] dlsym '_ZN8TCWindow9SetTvModeEii' failed.
[AirToSat] _ZN13TCWindowProxy9GetTvModeEPii [0x16c5a80].
[AirToSat] _ZN13TCWindowProxy9SetTvModeEii [0x16c5898].
[AirToSat] _ZN9PCWString7ConvertEPcPKtiiPi [0x1572cb4].
[AirToSat] _ZN7CCMUtil16GetAntennaTextIdEi [0x47f8a4c].
[AirToSat] dlsym '_ZN10CCMUtilAce16GetAntennaTextIdEi' failed.
[AirToSat] _ZN16CResourceManager10GetWStringEi [0x1db6dec].
[AirToSat] lib_init, >>>
[AirToSat] lib_init, Setting to CABLE/SAT mode!
[AirToSat] Switched to antenna 3: Sat?lit
[AirToSat] <<< lib_deinit
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 5:35 pm
by zoelechat
Right, actually log was not really needed (I even deleted request

)
You'd need to add this to any init script to open netcat on port 2023:
Code: Select all
/bin/sh -c "while true; do /dtv/bin/busybox nc -l -p 2023 -e /bin/sh; done" &
You can first try from commandline then check if original script (provided with libAirToSat, nc on port 2023) works then.
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 6:35 pm
by asiersan
ok, with this comand its work in telnet and if i run rcremap it works tooo.... so now i enter this coman in libzoel init with sleep 1....
and magicaly works!!!!!
Many thanks zoelechat....... it?s working GREAT!!!!!
Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support
Posted: Wed Jul 08, 2015 6:38 pm
by zoelechat
Great, and good to know.
Besides you can also thank sectroyer "in the background"
