Android STB Firmware Update (OTA)

Update in Automatic Mode

The STB firmware update in automatic mode is performed as follows:

  1. STB boots up.
  2. After 10 minutes, STB checks for a new firmware version on the update server.
  3. If there is no new version on the server, the next check will occur in 10 minutes.
  4. If there is a new version on the server:
    1. The firmware is loaded in background mode.
    2. Before installing, the STB reboot confirmation dialog pops up on the screen:
      1. If the user agrees, STB reboots and installs the new firmware;
      2. If the user refuses, the dialog pops up again after a while (usually after 2 hours).

Manual Update from Update Server

In order to update the STB firmware from the update server manualy go to the Home screen of the STB client application —> Settings —> About device —> System update (menu section writing may vary).

The link to the update server is embedded into the STB firmware and usualy has the following URL: http://customer_firmware_update_server/android/check_version_ext

Typical Сonfiguration on Update Server (nginx)

       recursive_error_pages           on;

       location = /android/check_version_ext {

               rewrite ^(.*)$ /android/check_version_ext/$arg_board/$arg_product/$arg_version/$arg_locale break;

               error_page 404 = @android-default-locale;

       }

       location @android-default-locale {

               rewrite ^(.*)$ /android/check_version_ext/$arg_board/$arg_product/$arg_version/default_locale break;

               error_page 404 = @android-default-version;

       }

       location @android-default-version {

               rewrite ^(.*)$ /android/check_version_ext/$arg_board/$arg_product/default/$arg_locale break;

               error_page 404 =200 /android/check_version_ext/$arg_board/$arg_product/default/default_locale;

       }

Manual Update from Local File

In order to update the STB firmware from a local file, please follow these steps:

  1. Turn off the STB power (unplug the power cable).
  2. Connect the USB drive with the sml_ota_package.zip archive in the root directory to STB.
  3. Press the hidden button in the A/V connector with a thin long object (such as a toothpick), as shown in the photo below.

    Image1

  4. Hold the button down and plug in the power cable.
  5. Wait for STB to load in Recovery Mode.
  6. Select “Apply update from EXT” (writing may vary).
  7. Wait for STB to reboot.

Also you can use the ADB (Android Debug Bridge) tool and following command to reboot the device in Recovery Mode:

adb reboot recovery

CONTENTS
Sign-in
Sign-in with your SmartLabs Support Portal account credentials to see non-public articles.