Access Linux Shell of TV on CI+ without "Game Menu"

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

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

Access Linux Shell of TV on CI+ without "Game Menu"

Post by erdem_ua »

Firmware patching needed to execute some programs from "Game Menu". But lot's of device has no game menu in it.
So if we can reach shell of TV, we can change firmware as we wanted.

I don't remember that if it works but, It's worth to try.
This requires you have to CI+ device, ExLink cable and entering debug menu of your TV as it told [quote=http://wiki.samygo.tv/index.php?title=E ... ces_Too.29]here[/quote]

After, You got menu like:

Code: Select all

====================================
[ TOP Debug Menu]
------------------------------------
1 : SubSystem Print On/Off
2 : Platform Print Setting
3 : TD Print Setting
4 : Performance Print Setting
5 : Sdal Print Setting
6 : Sdal Trace Setting
10 : Factory Debug
11 : TD Debug
12 : SubSystem DBG
20 : Performance File Write
21 : Louvre Print Setting
22 : JavaMW Print Setting
30 : Auto Lock DBG
------------------------------------
50 : ROSE Debug
60 : MediaLink Debug
70 : Jade Debug
====================================
99 : Exit
====================================
DBG> : 
Enter the menus
i.e .: TOP Debug Menu -> 11 : TD Debug -> 0x04 : spI Debug
...
66 : Stream Record
67 : Stream Record Stop
68 : Shell
...

Entering menu 68 will let you drop linux shell on CI devices. Is it true for CI+ devices too? Please try it on your TV and write results with TV model.
Thanks
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by langerhans »

I wil try this as soon I can get the Parts for an ExLink cable!
TV is LE40B550 with CIP Firmware!
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by langerhans »

Ok, I just built the Exlink cable. The cable works and I can see the bootlog.

Then I enable debug menu, and use the command for a shell.

It really drops me to a shell, but I vant input any letters... Only numbers will work. For example i get:

Code: Select all

# 1
sh: 1: not found
So I think that wont work...
If I should try any other procedure contact me!
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by langerhans »

It's me agin. I did some playing with the menu and got the following for command 50 Rose Debug:

Code: Select all

----------------------------------------------------------
---------------------- Shell TEST ----------------------
----------------------------------------------------------

1 :     [mount]  mount status display
2 :     [df]  df status display
3 :     [Log File] Log File Display
4 :     [cat /proc/bus/usb/devices]
----------------------------------------------------------
5 :     [hotplug ON] turn on the hotplug
6 :     [hotplug OFF] turn off the hotplug
----------------------------------------------------------
7 :     [Forced umount 1] umount /dtv/usb/sda1
8 :     [Forced umount 2] umount /dtv/usb/sdb1
9 :     [Forced umount 3] umount /dtv/usb/sdc1
10 :    [Forced umount 4] umount /dtv/usb/sdd1
----------------------------------------------------------
88 :    [Find Open File or Directory]
----------------------------------------------------------
11 :    [dir1] ls -al /dtv/usb/sda1
12 :    [dir2] ls -al /dtv/usb/sdb1
13 :    [dir3] ls -al /dtv/usb/sdc1
14 :    [dir4] ls -al /dtv/usb/sdd1
15 :    [top]  process utilization display
16 :    [pwd] current directory display
17 :    [ps]
18 :    [Lock Status of log file] ls -al /dtv/usb
19 :    [/sys/block] ls -al /sys/block
20 :    Enter system command
51 :    Parse /proc/bus/usb/devices
52 :    Usb stress test : USB bus reset
61 :    Usb Error test : USB stick in WLan port
62 :    Usb Error test : WLan Card in USB port
63 :    Send EVENT : EVENT_TYPE_OVERCURRENT_OCCURRED
64 :    Send EVENT : EVENT_TYPE_OVERCURRENT_TERMINATED
71 :    USB Info Parser Test: Display All Nodes
72 :    USB Info Parser Test: Display Root Nodes
73 :    USB Info Parser Test: Display Port1 Nodes
74 :    USB Info Parser Test: Display Port2 Nodes
75 :    Dir Tree Test: Display Sub Folder
76 :    Dir Tree Test: Display Folder Only
----------------------------------------------------------
90 :    ROSE Debug Print
----------------------------------------------------------
ff:       EXIT
----------------------------------------------------------
Most interesting command there is number 20. I selected it and it asked me for a command to execute but even there I can only type numbers...
And the other commands aren't really useful as far as I can see...
User avatar
erdem_ua
SamyGO Admin
Posts: 3125
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by erdem_ua »

I think

Code: Select all

88 :    [Find Open File or Directory]
looks like a have potential too :)
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by langerhans »

Here is the output:

Code: Select all

User Input : 0x88
dr-x------    2 root     0               0 Jan  1 01:02 .
dr-xr-xr-x    4 root     0               0 Jan  1 00:04 ..
lrwx------    1 root     0              64 Jan  1 01:02 0 -> /dev/ttyS1
lrwx------    1 root     0              64 Jan  1 01:02 1 -> /dev/ttyS1
lrwx------    1 root     0              64 Jan  1 01:02 10 -> /dev/sam/sys0
lrwx------    1 root     0              64 Jan  1 01:02 11 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 12 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 13 -> /dev/sam/nrss0
lrwx------    1 root     0              64 Jan  1 01:02 14 -> /dev/sam/nrss0
lrwx------    1 root     0              64 Jan  1 01:02 15 -> /dev/sam/mpeg0
lrwx------    1 root     0              64 Jan  1 01:02 16 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 17 -> /dev/sam/mpeg0
lrwx------    1 root     0              64 Jan  1 01:02 18 -> /dev/sam/tsd0
lrwx------    1 root     0              64 Jan  1 01:02 19 -> /dev/sam/tsdqueue0
lrwx------    1 root     0              64 Jan  1 01:02 2 -> /dev/ttyS1
lrwx------    1 root     0              64 Jan  1 01:02 20 -> /dev/sam/incapt0
lrwx------    1 root     0              64 Jan  1 01:02 21 -> /dev/sam/incapt1
lrwx------    1 root     0              64 Jan  1 01:02 22 -> /dev/sam/dp0
lrwx------    1 root     0              64 Jan  1 01:02 23 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 24 -> /dev/sam/dp0
lrwx------    1 root     0              64 Jan  1 01:02 25 -> /dev/sam/aio0
lrwx------    1 root     0              64 Jan  1 01:02 26 -> /dev/sam/ae0
lrwx------    1 root     0              64 Jan  1 01:02 27 -> /dev/sam/ad0
lrwx------    1 root     0              64 Jan  1 01:02 28 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 29 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 3 -> /dev/ttyS0
lrwx------    1 root     0              64 Jan  1 01:02 30 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 31 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 32 -> /dev/sam/gfx0
lrwx------    1 root     0              64 Jan  1 01:02 33 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 34 -> /dev/sam/avd0
lrwx------    1 root     0              64 Jan  1 01:02 35 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 36 -> /dev/sam/se0
lrwx------    1 root     0              64 Jan  1 01:02 37 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 38 -> /dev/sam/Jpeg0
lrwx------    1 root     0              64 Jan  1 01:02 39 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 4 -> /dev/sam/gpio0
lrwx------    1 root     0              64 Jan  1 01:02 40 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 41 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 42 -> /dev/sam/mfd0
lrwx------    1 root     0              64 Jan  1 01:02 43 -> /dev/sam/playback0
lrwx------    1 root     0              64 Jan  1 01:02 44 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 45 -> /dev/sam/playback0
lrwx------    1 root     0              64 Jan  1 01:02 46 -> /dev/sam/record0
lrwx------    1 root     0              64 Jan  1 01:02 47 -> /dev/sam/record0
lrwx------    1 root     0              64 Jan  1 01:02 48 -> /dev/sam/Ci0
lrwx------    1 root     0              64 Jan  1 01:02 49 -> /dev/ttyS2
lrwx------    1 root     0              64 Jan  1 01:02 5 -> /dev/sdp_i2c0
lrwx------    1 root     0              64 Jan  1 01:02 50 -> /dev/mem
lrwx------    1 root     0              64 Jan  1 01:02 51 -> /dev/sam/usbfault0
lrwx------    1 root     0              64 Jan  1 01:02 6 -> /dev/sdp_i2c1
lrwx------    1 root     0              64 Jan  1 01:02 7 -> /dev/sdp_i2c2
lrwx------    1 root     0              64 Jan  1 01:02 8 -> /dev/sdp_i2c3
lrwx------    1 root     0              64 Jan  1 01:02 9 -> /dev/sam/dbg0
Nothing special here for me...
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by langerhans »

I had a personal success! Finally I got the Wieseliunk Movie Option enabled so I can play Movies from usb! Will download a sample mkv now and test it!
Dont know if that is something new, but I did it from the service menu at the serial console. The service menau on TV has the Movie option grayed out but with the consola I was able to change it.

But no progress on the shell.

Edit: While playing around with the debug menu I got a segmentation fault and now I have a Coredump on the USB stick. Maybe you are interested...
User avatar
erdem_ua
SamyGO Admin
Posts: 3125
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by erdem_ua »

You can send CoreDump to me.
Also you have wiki editor right :)
Please write wiki page how to enable wiselink :)
langerhans
Posts: 54
Joined: Sun Jan 10, 2010 3:22 pm

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by langerhans »

First I uploaded the Coredump so everyone can have a look at it.
Now I'll write the wiki page for enabling Wiselink Movie.

Edit: I wrote everything up here: http://wiki.samygo.tv/index.php?title=E ... 2B_Devices Hope this is good enough ;)
Edit2: New Link here: http://wiki.samygo.tv/index.php?title=E ... es_Devices
You do not have the required permissions to view the files attached to this post.
User avatar
erdem_ua
SamyGO Admin
Posts: 3125
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Access Linux Shell of TV on CI+ without "Game Menu"

Post by erdem_ua »

I understand the shell problem.
We actually drop down the linux shell ( :D At last ) but we can't use it from serial line.
Because input from serial line filtered by application, that prevents characters but 'numbers' and 'enter'.
So this is why "debug" doesn't work on enabling "serial input" on CI+ devices too.

I don't know if it's possible to disable this, but there could be an option in Debug menu that enable serial character inputs, You needed to search it well.
May be, disabling watchdog could allow character input.

I feel close to solve CI+ devices shell reaching problem.

Post Reply

Return to “[B] Firmware”