User Tools

Site Tools


Firmware update server for TVIP mediacenters

TVIP Mediacenters use HTTP protocol for automatic firmware update download.

Update server directory structure

STB requests updates using the following URL template.<model>/<OS>/<update_type>/


  • <model> - STB model (Like: s410, s500, s412)
  • <OS> - OS type (linux/linux-qt/android)
  • <update_type> - Firmware update type (release/beta)


Firmware version information is located inside “” file in the same directory:<model>/<OS>/<update_type>/

This file contains just firmware vesion number/code that is currently avaliable for this update type.
STB compares this version with installed version. If versions are different, “Update available” window is displayed.

Update server selection algorithm

By default, firmware updates are checked from server. Operator can override this server using provisioning or special DHCP options.

Update server is selected using the following priorities:

OS Linux:

  1. /var/tvip/update_server - the highest priority - set up over telnet access.
  2. /var/tvip/update_server.prov - provisioning address.
  3. /var/tvip/update_server.dhcp - DHCP provided address.
  4. /etc/default_update_server - firmware default.

OS Android:

  1. /data/data/ - the highest priority - set up over root-adb access.
  2. /data/data/ - provisioning address.
  3. /etc/default_update_server - firmware default.

  • All updates are always accessible from the backup update server (located on a different ip-address):

Local update server setup

You can use any Web-server that can serve static files (Apache,nginx,lighttpd)
Update can be syncronized over rsync.

Use the following rsync command:

rsync -P --timeout=3000 -aWvH --stats --force --delete --delete-after --exclude=prov* rsync:// /var/www/

It is recommended to rsync every 24 hours.

en/provider_mirror.txt · Last modified: 2020/02/13 15:37 by Vladimir Manov