Difference between revisions of "Rooting the ES-series"


From SamyGO
Jump to: navigation, search
m (Installing hack)
m (Create the SMART-HUB developer account)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<font color="red"><big>'''WARNING!'''
+
<font color="red"><big>'''WARNING!'''</big></font color>
 
 
!! THIS PAGE IS WORK IN PROGRESS, DO NOT USE UNTIL THIS MESSAGE IS REMOVED !!
 
</big></font color>
 
  
 
Due to the WIP status of this, we are working on a non-permanent rooting utility. The plan is to use a USB memory stick based rooting tool, that must be activated manually every time TV is started. Preferably it should be done by linking it to the useless "Family Story" button on the remote control.
 
Due to the WIP status of this, we are working on a non-permanent rooting utility. The plan is to use a USB memory stick based rooting tool, that must be activated manually every time TV is started. Preferably it should be done by linking it to the useless "Family Story" button on the remote control.
  
 +
{{red|'''This procedure does not work on T-ECPDEUC'''}}
  
 
= Prepare the USB memory stick =
 
= Prepare the USB memory stick =
 
+
<br>
<< TBA >>
+
0. make sure your USB flash drive is formatted as FAT. <br>
 +
1. Download [http://forum.samygo.tv/download/file.php?id=1509 usb_card_updated.zip]<br>
 +
2. [http://www.7-zip.org/download.html Unzip] to the root directory of your USB stick.<br>
 +
3. Done.<br><br>
  
 
=Create the SMART-HUB developer account=
 
=Create the SMART-HUB developer account=
Line 26: Line 27:
 
  user: develop
 
  user: develop
 
  password: 111111 (or any other six digits as password)
 
  password: 111111 (or any other six digits as password)
 +
 +
More: http://www.samsungdforum.com/upload_files/files/guide/data/html/html_3/getting_started/test_app_on_tv.html#setup
  
 
=Installing SamyGO Hack=
 
=Installing SamyGO Hack=
  
<font="red">'''NB! All your widgets, already installed will be deleted!'''</font> <br><br>
+
'''NB! <font color="red">All your previously installed widgets will be deleted!</font>''' <br><br>
  
 
1. Start SmartHub<br>
 
1. Start SmartHub<br>
2. Go to Login (red or (A))<br>
+
2. Go to Login (red or "A")<br>
3. Go to Settings (blue or (D))-> Development -> '''Setting Server IP'''<br>
+
3. Go to Settings (blue or "D") -> Development -> '''Setting Server IP'''<br>
 
4. Enter this IP:
 
4. Enter this IP:
 
[[Image:Develop_ip.png|250px|thumb|left| ]]<br><br><br><br><br><br><br><br>
 
[[Image:Develop_ip.png|250px|thumb|left| ]]<br><br><br><br><br><br><br><br>
Line 39: Line 42:
  
 
Wait until TV installs widget (SamyGO Extensions)...<br>
 
Wait until TV installs widget (SamyGO Extensions)...<br>
Could take a while, depends from your internet speed. Wait until TV says "done"<br><br>
+
This could take a while, it depends on your internet speed. Wait until TV says "done".<br>
  
6. Exit developer menu, exit SmartHub.<br><br>
+
6. Exit developer menu, exit SmartHub.<br>
7. Remove any other USB devices connected to your TV. (You can connect them back later.)
+
7. Remove any other USB devices connected to your TV. (You can connect them back later.)<br>
8. Insert USB stick. When the automatic selection menu appears, just cancel by hitting [EXIT].
+
8. Insert USB stick. When the automatic selection menu appears, just cancel by hitting [EXIT].<br>
9. Return to SmartHub and you will find a new widget '''SamyGO'''. Execute it.<br><br>
+
9. Return to SmartHub and you will find a new widget '''Test2'''. Execute it.<br>
10. You will be greeted with a white screen that says "Press ENTER to continue", do so.
+
10. You will be greeted with a white screen that says "Press ENTER to continue", do so.<br>
11. If your USB stick is done properly you will see:
+
11. If your USB stick is made properly you will see:<br><br>
  
[code]
 
 
  Log:
 
  Log:
 
  NumUSBs:1
 
  NumUSBs:1
Line 54: Line 56:
 
  ModelName =USB Flash Drive
 
  ModelName =USB Flash Drive
 
  MountPatch=sda1
 
  MountPatch=sda1
  AvauilSize = <something>
+
  AvailSize = <something>
 
  TotalSize = <something>
 
  TotalSize = <something>
 
  ----------------------------
 
  ----------------------------
 
  Now run web browser to continue
 
  Now run web browser to continue
[/code]
 
  
12. Run your web browser two times! Hit [EXIT] after each time. The second time it should take about 10 seconds, before starting. This means that your hack is working.  
+
<br>
 +
12. Hit [EXIT].<br />
 +
13. Run your web browser two times! Hit [EXIT] after each time. <br />
 +
The second time it should take about 10 seconds before starting. This means that your hack is working.<br><br>
  
 
Done.
 
Done.
Line 67: Line 71:
  
 
== Remote Shell ==
 
== Remote Shell ==
Remote shell of the current ES series is obtained through a reverse shell hack. Standard Telnet (''telnetd'') and SSH (''sshd'') daemon implementation have not yet been possible due to a crippled kernel FS, not allowing for proper ''/dev/pty'' devices.
+
{{#ev:youtube|B4JFRVeZmzw| |right|How to use netcat to connect to SamsungTV on windows.}}
  
This poses some strong limitations on the interactiveness of the shell. Basically, normal ANSI control sequences are not available, which means that you cannot edit command lines at all. You just have to retype everything. In addition, you do not receive any error shell messages either.  
+
Remote shell of the current ES series is obtained through a reverse shell hack. Standard Telnet (''telnetd'') and SSH (''sshd'') daemon implementation have not yet been possible due to a crippled kernel FS, not allowing for proper handling of ''/dev/pty'' devices.
 +
 
 +
This poses some strong limitations on the interactiveness of the shell. Basically, normal ANSI control sequences are not available, which means that you cannot edit command lines at all. You just have to retype everything. In addition, you do not receive any error messages either.  
  
 
To connect to the shell we use ''netcat'' (nc) or ''telnet'' from a PC on the local network.  
 
To connect to the shell we use ''netcat'' (nc) or ''telnet'' from a PC on the local network.  
  
  nc <your_tv_ip> 23
+
  nc <your_tv_ip> 1023
or
+
'''or'''
  telnet <your_tv_ip> 23
+
  telnet <your_tv_ip> 1023
  
{{#ev:youtube|B4JFRVeZmzw| |right|How to use netcat to connect to SamsungTV on windows.}}
+
For example:  
 +
 
 +
nc 192.168.1.1 1023
 +
shell>
 +
 
 +
Done.
  
 
== ExLink Shell ==
 
== ExLink Shell ==
Line 90: Line 101:
  
 
== References ==
 
== References ==
 +
*http://forum.samygo.tv/viewtopic.php?f=53&t=5015
 +
*http://forum.samygo.tv/viewtopic.php?f=48&t=5062

Latest revision as of 09:34, 19 May 2013

WARNING!

Due to the WIP status of this, we are working on a non-permanent rooting utility. The plan is to use a USB memory stick based rooting tool, that must be activated manually every time TV is started. Preferably it should be done by linking it to the useless "Family Story" button on the remote control.

This procedure does not work on T-ECPDEUC

Prepare the USB memory stick


0. make sure your USB flash drive is formatted as FAT.
1. Download usb_card_updated.zip
2. Unzip to the root directory of your USB stick.
3. Done.

Create the SMART-HUB developer account


1. Enter "SMART HUB" screen by pressing the smarthub button on the remote
2. Press the "TOOLS" button
3. Go to "Settings" entry in the Tools menu
3. Press "Create an account"
4. Enter the name: develop and any password (keep it simple this time)
5. EXIT "SMART HUB" and reboot TV

NB! If you can`t create account (option is greyed out)
Then go direct to Login (red or A) and enter:

user: develop
password: 111111 (or any other six digits as password)

More: http://www.samsungdforum.com/upload_files/files/guide/data/html/html_3/getting_started/test_app_on_tv.html#setup

Installing SamyGO Hack

NB! All your previously installed widgets will be deleted!

1. Start SmartHub
2. Go to Login (red or "A")
3. Go to Settings (blue or "D") -> Development -> Setting Server IP
4. Enter this IP:

Develop ip.png









5. Press User Application Synchronization

Wait until TV installs widget (SamyGO Extensions)...
This could take a while, it depends on your internet speed. Wait until TV says "done".

6. Exit developer menu, exit SmartHub.
7. Remove any other USB devices connected to your TV. (You can connect them back later.)
8. Insert USB stick. When the automatic selection menu appears, just cancel by hitting [EXIT].
9. Return to SmartHub and you will find a new widget Test2. Execute it.
10. You will be greeted with a white screen that says "Press ENTER to continue", do so.
11. If your USB stick is made properly you will see:

Log:
NumUSBs:1
VendorName: <something>
ModelName =USB Flash Drive
MountPatch=sda1
AvailSize = <something>
TotalSize = <something>
----------------------------
Now run web browser to continue


12. Hit [EXIT].
13. Run your web browser two times! Hit [EXIT] after each time.
The second time it should take about 10 seconds before starting. This means that your hack is working.

Done.

How To Use

Remote Shell

How to use netcat to connect to SamsungTV on windows.

Remote shell of the current ES series is obtained through a reverse shell hack. Standard Telnet (telnetd) and SSH (sshd) daemon implementation have not yet been possible due to a crippled kernel FS, not allowing for proper handling of /dev/pty devices.

This poses some strong limitations on the interactiveness of the shell. Basically, normal ANSI control sequences are not available, which means that you cannot edit command lines at all. You just have to retype everything. In addition, you do not receive any error messages either.

To connect to the shell we use netcat (nc) or telnet from a PC on the local network.

nc <your_tv_ip> 1023
or
telnet <your_tv_ip> 1023

For example:

nc 192.168.1.1 1023
shell> 

Done.

ExLink Shell

We have root shell on ExLink, but shell entry is currently crippled by only allowing HEX characters...

TBA

FTP

Connect using any FTP client to your TV`s port 21.

user     - not required, leave blank
password - not required, leave blank

References