Page 1 of 1

shell access

Posted: Fri May 22, 2015 9:05 am
by mvusr
Hi guys,
Any ideas yet how to access a shell over telnet, nc or a serial connection on the J Series TVs?

Re: shell access

Posted: Fri May 22, 2015 9:16 am
by juusso
Hi there. The J series is quite new and we do not have permanent solution yet. Some devels are working on it, we have some success already, but as i said, nothing for public yet. If you have exlink cable, you could try to check if you get some debug log...

Re: shell access

Posted: Fri May 22, 2015 10:09 am
by mvusr
Thanks for replying, I actually already tried the exlink port but without success yet. I'm able to receive debug and log messages on my serial console, however, the TV doesn't seem to take or respond on any input data. I'll probably try to fuzz over serial to check if this results in any response. Would appreciate any suggestion or hint about key combinations or else to achieve this...

Re: shell access

Posted: Fri May 22, 2015 4:36 pm
by bugficks
not much to fuzz it seems. check kernel source for SELP and then enter in browser "file:///proc/cmdline" :)

Re: shell access

Posted: Fri May 22, 2015 7:07 pm
by juusso
mvusr wrote:I actually already tried the exlink port but without success yet. I'm able to receive debug and log messages on my serial console,
what cable have you used and what pinout/terminal settings?

Re: shell access

Posted: Tue May 26, 2015 12:42 pm
by mvusr
juuso wrote:
mvusr wrote:I actually already tried the exlink port but without success yet. I'm able to receive debug and log messages on my serial console,
what cable have you used and what pinout/terminal settings?
I use a regular RS-232 to USB cable but attached an audio jack to pins 2(in),3(out) and 5(ground). My terminal settings are 115200N8.

Re: shell access

Posted: Tue May 26, 2015 12:56 pm
by mvusr
bugficks wrote: browser "file:///proc/cmdline" :)
That's just great! :D
So according to cmdline, a console should be active, but how to access it?
Didn't figure out yet what you mean with SELP... a file within the kernel source?

Re: shell access

Posted: Tue May 26, 2015 3:31 pm
by bugficks
grep for SELP in HawkM/P kernel source from samsung opensource site

Re: shell access

Posted: Wed May 27, 2015 10:49 am
by mvusr
my cmdline:

Code: Select all

dtsversion=All_DVB_RCA_0026_sdp1406-UHD-2.5G-tizen root=/dev/mmcblk0p23 init=/sbin/init rootfstype=vdfs ro console=ttyS0,115200       rootwait no_console_suspend earlyprintk sdp_sparsemem vmalloc=550M quiet
Unfortunately there is no SELP_ENABLE=xxxxxxxx parameter like in previous models. So, this might be a dead end....?
bugficks wrote:grep for SELP in HawkM/P kernel source from Samsung opensource site
I checked in the source and found several SELP codes, and also a specific code for my arch, but non of them worked,
The available Samsung opensource kernel version for my TV model is 3.10.28, but my TV was shipped with a newer kernel version 3.10.30, which is not available. Not sure if it makes a big difference anyway...

Re: shell access

Posted: Wed May 27, 2015 12:01 pm
by bugficks
thats why i said that there might be not much to fuzz :)

samsung doesnt take much care of versions ...