Getting Logs on Samsung Smart TV

When you need to get logs on your Samsung Tizen Smart TV, just follow this guide.

  1. Install Tizen Studio
    Download and install the Tizen Studio (IDE or CLI) on your PC. If you need help with installation, please see the guide.
  2. Install the SmartTUBE App on your TV as described here
  3. Enable the Developer Mode on the TV
    1. Switch on the TV.
    2. Open the Apps menu.
    3. Press buttons 1, 2, 3, 4, 5 sequentially on the remote control.
    4. Enter the IP address of your PC.
      Note that the TV and PC must share the same network.
    5. Reboot the TV: switch it off using the remote control, disconnect from the power supply, switch it on in reverse order.
  1. Connect to the TV
    1. Go to the Tizen Studio tools directory.
      By default for Windows, it is located at
      C:tizen-studiotools.
    2. Open the Terminal here.
    3. Run the following command:

sdb connect <ip_address_of_your_tv>

Example:

sdb connect 192.168.88.133

You can find out the IP address of the TV in the Main menu > Settings > General > Network > Network Status > IP Settings.

  1. Find out the <app_id>

    1. Go to the project folder (SmartTUBE App)
    2. Open the config.xml file
    3. Find out the string <tizen:application id=<app_id> package=<package> required_version=<required_version>/>
      Image1
    4. Remember the <app_id>. It will be required in the next step.
  1. Run the Logging

Iterate through the following commands sequentially — one of them should start logging:

sdb shell 0 debug <app_id>

sdb shell 0 debug <app_id> 0


sdb shell 0 debug <app_id> 30

sdb shell 0 debug <app_id> 300

Example:

shell 0 debug x9g1EDcb3F.neojun 30

The console should response with following:

… successfully launched pid = <pid> with debug 1 port: <port_number>

Example:

… successfully launched pid = 17137 with debug 1 port: 38484

  1. The application should start automatically.
  2. Open the browser and enter <IP_address_of_TV>:<port> in the search bar.
  3. The Developer tools should open:
    1. Go to the Console tab.
    2. Reproduce the problem action you want to explore.
    3. Save the log:
      1. Right-click in the Console tab
      2. Select Save As
CONTENTS
Sign-in
Sign-in with your SmartLabs Support Portal account credentials to see non-public articles.