Page 1 of 2

Re: Running commands (telnet,samygo script) from boot

Posted: Sat Dec 04, 2010 9:36 am
by juusso
If you edit dump and flash it to tv, you get rebooting by authuld tv. Why? Because of secure boot - after you edit dump, you change hash of partition. If hashes do not match, tv will reboot. C serie is CI+, you can read about authuld here. and here.

Re: Running commands (telnet,samygo script) from boot

Posted: Sun Dec 05, 2010 6:48 pm
by dksoul
bladeii wrote:Hello, I will explain a method I think that can be used on C series to run commands on boot start.

Comparing C series with B series, the problem is that the firmware in C series is encrypted and we cant modify the firmware.

In B series we know the encrypted password and we can modify the firmware. We modify the line:

export KF_LOG=/dev/null #Remove engine logging

to

export KF_LOG=/dev/null;/etc/telnetd_start.sh&

Well, another method is once you can do telnet to the TV using bml.dump, bml.restore and bml.erase you can dump and after modifying write
the firmware to the TV.

I have been looking at the partitions and I have found the same entry "export KF_LOG=/dev/null #Remove engine logging" in the C series.

I ask to the gurus of this TV, is it possible to apply the same method to the C series TV?

Thanks.
According to /mtd_exe/rc.local if the file /mtd_rwarea/start.sh exists it will be executed at boot.

Re: Running commands (telnet,samygo script) from boot

Posted: Sun Dec 05, 2010 7:06 pm
by juusso
Code of start.sh works well on solevi TV:

Code: Select all

#!/bin/sh                                                                                                                                                    
export PATH=/mtd_rwarea/bin:$PATH                                                                                                                            
/mtd_rwarea/bin/busybox telnetd -l /bin/sh &                                                                                                                 
/mtd_rwarea/bin/busybox ntpd -p 192.168.1.1 &                                                                                                                
/mtd_rwarea/bin/busybox tcpsvd -vE 0.0.0.0 21 /mtd_rwarea/bin/ftpd -w / &                                                                                    
#sleep 40 && mount -t nfs -o soft,udp,nolock 192.168.1.99:/windows /dtv/usb/sda1/nfs &                                                                       
cd /mtd_exe/                                                                                                                                                 
./exeDSP 
Here is telnet, NTP, FTP and NFS shares mounting at start of TV. All what You need is rooted TV and busybox.

Re: Running commands (telnet,samygo script) from boot

Posted: Thu Dec 09, 2010 3:22 am
by erdem_ua
juuso,
Does authld problem solved for C series too?
I thought it's just for B series only. If solution works for C series too, say Yiihuuuuu :D

Re: Running commands (telnet,samygo script) from boot

Posted: Fri Dec 10, 2010 1:20 am
by erdem_ua
dredkin wrote:
erdem_ua wrote:juuso,
Does authld problem solved for C series too?
I thought it's just for B series only. If solution works for C series too, say Yiihuuuuu :D
As I understand, /mtd_rwarea is not a part of TV's firmware and not controlled by authld.
Guys just found a way to run any script on startup without modification of firmware
Oh thank, after re-reading I understand the situation :) Anyway, I don't have C (yet) :D