Android STB Firmware Update (OTA)
Update in Automatic Mode
The STB firmware update in automatic mode is performed as follows:
- STB boots up.
- After 10 minutes, STB checks for a new firmware version on the update server.
- If there is no new version on the server, the next check will occur in 10 minutes.
- If there is a new version on the server:
- The firmware is loaded in background mode.
- Before installing, the STB reboot confirmation dialog pops up on the screen:
- If the user agrees, STB reboots and installs the new firmware;
- 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:
- Turn off the STB power (unplug the power cable).
- Connect the USB drive with the sml_ota_package.zip archive in the root directory to STB.
- Press the hidden button in the A/V connector with a thin long object (such as a toothpick), as shown in the photo below.
- Hold the button down and plug in the power cable.
- Wait for STB to load in Recovery Mode.
- Select “Apply update from EXT” (writing may vary).
- 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