Next step after telnet access?

Here for general support for E series TVs, request and problem solve area.

User avatar
patois
Posts: 26
Joined: Fri Feb 22, 2013 5:20 pm
Location: Berlin, Germany

Re: Next step after telnet access?

Post by patois »

breakpoints seem to not be handled correctly. I tried debugging with the armlinux_server binary that is shipped with IDA. It works better than gdb for me but still, breakpoints aren't handled correctly (and so isn't single stepping). I.e. the debugging client is not being notified about a breakpoint event. I think the same goes for gdb. One situation I absolutely do not understand is the following:

1. set a breakpoint on a particular TCP packet processing function
2. send data to TCP port
3. observe that nothing happens (altho breakpoint should have been triggered or at least tv should have processed the packet)
4. remove breakpoint
5. only then(!) TCP packet processing function is executed

Further anti-debugging code somewhere? integrity check?

edit: I have not customized memjack to patch functions other than adbg_CheckSystem() since I do not know what the other patches are for.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Next step after telnet access?

Post by juusso »

Try this gdbserver
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
patois
Posts: 26
Joined: Fri Feb 22, 2013 5:20 pm
Location: Berlin, Germany

Re: Next step after telnet access?

Post by patois »

thanks. appears to work better but my tv still reboots, due to a watchdog i guess? I've been told in a PM that additional libraries need patching.
User avatar
patois
Posts: 26
Joined: Fri Feb 22, 2013 5:20 pm
Location: Berlin, Germany

Re: Next step after telnet access?

Post by patois »

remote debugging still doesn't work but I'm one step closer to getting it to work. Theres a binary, 'micom', on my ESXX6100 which has "undocumented" commands, such as "watchdog_off" which lets you turn off the watchdog. This allows exeDSP to be debugged without the TV rebooting. Breakpoints however are still kind of an issue...
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Next step after telnet access?

Post by juusso »

any success?
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
patois
Posts: 26
Joined: Fri Feb 22, 2013 5:20 pm
Location: Berlin, Germany

Re: Next step after telnet access?

Post by patois »

well, debugging somehow works. i think it's sufficient for now but it's still a tedious process because lots of reboots are involved, requiring me to manually run the telnet enabler, memjack, gdbserver, micom, putty and whatnot after each reboot. at some point i got fed up so i suspended my little project until i think i will be able to handle all the frustration a bit better :)
User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: Next step after telnet access?

Post by bugficks »

haha, sounds too familiar. hence i ve skipped debugging and just use log files. still involves a lot of reboots though :)
User avatar
patois
Posts: 26
Joined: Fri Feb 22, 2013 5:20 pm
Location: Berlin, Germany

Re: Next step after telnet access?

Post by patois »

yeah, probably i should finally give this library injection tool of yours a try :)

Post Reply

Return to “[E] Support”