executing custom script on CI+

Here is information about customize your B series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.

bastler0815
Posts: 104
Joined: Thu Jun 17, 2010 8:38 pm

Re: executing custom script on CI+

Post by bastler0815 »

Hi,

Is this menu only accessible with the serial port or also at the Service menu ? Could this also work at the actual C-Series ?

If yes this could be a way to get Telnet access to the TV or am I wrong ?

Reagrds

Bastler
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: executing custom script on CI+

Post by arris69 »

petergrey wrote:..
emergency.sh

Code: Select all

#!/bin/sh
echo Hello world!
Be careful not to do anything stupid and brick your TV

regards,
pgrey

Code: Select all

cat /proc/version
mount
lsmod
ls -laR /
pls.

thnx
arris
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: executing custom script on CI+

Post by erdem_ua »

petergrey wrote:There is a hidden sub menu under "TD Debug Menu" which allows us to execute file emergency.sh from usb dongle.
The menu item number is 9115.
At ":" prompt you enter the password 946375272 and here we go:

Code: Select all

==============================
 [ TD Debug Menu ]
------------------------------
 0x01  : TDc Debug
 0x02  : TDi Debug

 0x03  : SDAL Debug
 0x04  : spI Debug
 0x05  : Sequence Test
 0x06  : OTP Create
------------------------------
 0x99  : Exit Debug
------------------------------
TD>: 0x9115
 Version_file : SWU_T-CHL5CIPDEUC_002007_I02_EK000DK000_091112
 : 946375272
Hello world!
emergency.sh

Code: Select all

#!/bin/sh
echo Hello world!
Be careful not to do anything stupid and brick your TV

regards,
pgrey
Clapping.
cyberdemon79
Official SamyGO Developer
Posts: 37
Joined: Tue May 04, 2010 10:43 am

Re: executing custom script on CI+

Post by cyberdemon79 »

Hi,
great work :)

Right before executing the emergency.sh script, exeDSP issues a "killall authuld",
have you tried executing the custom shell script within the first minute of a
reboot ?
Would be very interesting if it keeps running nonetheless (but I guess it won't).

Also, have you found a way to autostart a script without user interaction ?
I thought about modifying resolv.conf which resides on /mtd/rwarea and inserting
backticks into it to launch shell commands, but as it is only a configfile that won't work.
All I can think of right now would be another PC (or atmega8 etc) connected to the
Exlink-Port which launches a script through the serial-kernel-check-disable-method.

cu Cyberdemon :)
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: executing custom script on CI+

Post by langerhans »

I can confirm that there are different passwords, since my TV just does nothing after entering your PW.

@arris69
Does it matter if I execute these commands via the shell? If not, I attached the output.
You do not have the required permissions to view the files attached to this post.
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: executing custom script on CI+

Post by langerhans »

Hi!
@petergrey

Code: Select all

SWU_T-CHL5CIPDEUC_002005_I02_EK000DK000_090901
I'm on 2005 Firmware version on my B550!

And I wrote a little Tool for enabling shell access via ExLink using the commands you showed in the other thread. I was tired of typing the numbers :D
Just connect your turned off TV to PC and follow the instructions. If anyone cares i can post my ugly Delphi Source :lol:
Posted this already in the other thread, will upload here too.
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “[B] Firmware”