STB Software | STB Linux & WebKit (2024)

Imageupdate file

STB software is a set of programs that are intended to control STB operation. STB software includes Linux kernel and Root File System (Root FS) that contains software components provided by manufacturers of CPU and STB.

The procedure of combining STB software components (STB software building) is performed at the STB manufacturing plant. As a result of the building procedure, the system image file (hereinafter - image) is created which is applied for loading and running in STB. This file-image that named as imageupdate is used for the STB software update.

STB manufacturer permits customers(IPTV operators and individual users) to make changes to certain components of STB software and independently create the STB software image according to instructions of the manufacturer. This process is called STB software customization. This enables IPTV operators to configure STBs according to their own work environments and preferences, as well as, to integrate STB software with other developers' applications.

There are several kinds of imageupdate to produce by the manufacturer and operators.

Open and closed platforms of STB

STB models with open and closed platforms

STBs of MAG family can be produced on the basis of open or closed hardware-software platforms, depending on the focus of its application. Produced STB models are listed in section, considering the division into open and closed platforms.

The сontents of this electronic documentation mostly refer to STB models of the open platform (except when specifically indicated that closed platform is described).

Distinctions between open and closed STB platforms

The idea of the open platform is to provide users (both individual users and IPTV/OTT operators) with the opportunity to make changes (perform customizations on their own) of STB software and integrate it with applications of other developers.

In turn, сlosed platform is intended for operator solutions that use CAS/DRM system providing content protection. The CAS/DRM system is a hardware-software complex integrated into the particular operator's IPTV network as well as into subscriber receivers (STBs) dedicated to operating in this network. To secure media content, encryption of transmitting audio-video streams is used that allows media content to be played back only on registered models of media players (STBs) of the particular IPTV operator. In addition, the content protection system restricts various actions with copyrighted audio-video content (copying, modification, repeated playback, distribution, etc.). There are various types of content protection systems that differ in hardware/software implementations, levels of content protection, types of content being processed, and so on. A particular CAS/DRM system to be used in the IPTV project is selected by the IPTV operator. STBs that used on the particular network must support this type of CAS/DRM, be registered in the operator's CAS/DRM system, and should containin firmware relevant operator's CAS/DRM system settings.

STB software for the closed platform is produced at the manufacturing plant by individual agreement with every concerned operator. STB software with the closed platform prohibitsmodifying STB software by users, without the participation of the IPTV operator whose signature (operator key) is set in STB.

Open and closed platforms STB software images

To meet various requirements of customers, several options of open platform's STB software image are designed that can be divided into two groups:

  1. PublicImage and FactoryImage - created and provided by the manufacturer. They are intended mainly for individual users as well as for users of OTT operators.
  2. CustomImage and OperatorImage - created and provided by the operator. They are intended for users of IPTV operators.

STB software image is created in accordance with the manufacturer's instructions on the basis of software components comprised of STB software release. It may include customized operator settings.

Closed platform STBs, which are focused on IPTV operator solutions, use OperatorImage that is signed by a certain operator's digital signature (operator key).

STB software versions

STB software version parameters

STB software version (also called as image version) consists of the following parameters:

  • Model - model number of STB, for which the version is intended;
  • Version - a number that is assigned by the developer during image-making. For images from the STB manufacturer three-digit number is used;
  • Date - date of image creation that is assigned automatically during image-making;
  • Description - detailed description of the software version. It can be assigned by a developer during image-making. The image creator can use this parameter to specify the image type, operator name, STB software features, and so on. For example, description 0.2.18-r19-pub-254 means: version - 218, release (within the version) - 19; image type - public image; STB model - MAG-254.

How to learn STB software version

STB software version can be obtained by user:

  • MAG250/254/270 - from Bootloader menu Image info section. See Version, Date, Description items:

STB Software | STB Linux & WebKit (1)

  • MAG256/MAG3xx/MAG4xx and higher - from System Recovery Utility menu Device information section. See Image version number, Image date, Image description items:

STB Software | STB Linux & WebKit (2)

  • From Embedded portal: Settings System settings Device info (see Image version, Image description, Image date items):

STB Software | STB Linux & WebKit (3)

Software version info encapsulated into imageupdate file

The imageupdate file comprises a brief release description that can be viewed, for example on a computer, with a text editor app. To get this info, open the imageupdate file in text view mode. Software version info is located at the top of the window. For example:

STB Software | STB Linux & WebKit (4)

STB software release

STB software releases are means of distributing software from the STB MAG manufacturer through its Web repository to all parties concerned (users, operators, developers, etc.).
Each STB software release (hereinafter - release) represents a new software version of a specific STB model. Once issued for a specific STB model, the release defines the current working software version for this STB model.

Software release location

Releases for various STB models are issued in open access by the next URL:

Релиз

http://soft.infomir.com/mag<model>/release/

where:

<model> - number value of basic STB model (for example, 254, 256, 322, etc.);

Example of URL for STB MAG322 release: http://soft.infomir.com/mag322/release/

Release for a particular basic STB model can be applied to all its derivative models. For example, MAG254 release is also applied for MAG254w1, MAG254w2 models.

Release parameters

Since every release contains a particular STB software version, some release options can coincide with STB software version parameters. List of Release parameters:

  • STB model to which the Release/Version is intended;
  • Release version = software version, included in the Release;
  • Release date.

The example of the release for STB MAG420 is given below: version 2.20.03-r2, date - 2020-04-02.

STB Software | STB Linux & WebKit (5)

Release content

Release contains the following main files:

  • imageupdate - public image, created by the manufacturer, which based on software components included in the Release;
  • Bootstrap - startup file containing OS kernel image. It is used for updating from Bootloader in the case of STB models MAG250/254/270. It is also used for system recovery in the case of STB models MAG-256/3xx/4xx and higher - as an example see Emergency startup MAG4xx .
  • portal-dev-<date>.tgz - archived package of portal's source codes. It can be applied to customize interaction with portals to be loaded into STB that can affect the procedure of loading portal into STB, the design of various pages of the Embedded portal and applications, etc. Some customization features and compiling procedure of the Embedded Portal are described in the developer section - see Customization, Embedded software and Embedded software localization subsections.
  • rootfs-<date>.tar.gz - archived package of STB root file system (RootFS). All STB software customization performs by making changes in RootFS and further building of image containing modernized RootFS.
  • uImage_<model>.clean or vmlinux.bin.mag<model> - original kernel image of the appropriate STB model (specified as <model>). It is used in image building.

STB software provided by manufacturer - public and factory images

STBsoftware is issued and provided by the manufacturer in open access. The following two basic variants of STBsoftware are applied:

  • Factory imageis created by the factory and installed in STB at the factory in the manufacturing process. The Factory image is distributed for STB updating - the last version of the Factory image (imageupdate file) is provided to users from the manufacturer's web-server. The Factory imagecontains a mechanism that prevents updating to other (non-factory) images. This mechanism allows using only proven (factory-made) STB software. In the Factory image, access to the STB root file system on the SSH protocol is forbidden.
  • Public image is created by the manufacturer and is issued in the Release of every STB model. At the same time, the manufacturer provides with the Release the necessary software components, on-base which users can create your own public image modification (in order to customize software) according to instructions of the manufacturer.
    Public versions of the software are signed with the public key (ID_KEY = STB_PUBLIC), included in Operator Utilities.

    The Public image can be updated in STB manually by the user at the STB booting stage (fromthe Bootloader menu- for STB MAG-250/254/270 or System Recovery Utility menu for STB MAG-256 and MAG-322/324/349/351).
    As a rule,
    Public image
    is intended for debugging, operative changes of internal settings, monitoring, and other auxiliary purposes. Public image is open for changingthe running STB software. To access the STB root file system SSH protocolis used.

Update to Factory image

Description of the software update for various STB models: STB software update

Update to Factory image is performed from the STB Embedded portal - automatically or manually (by user commands).
If STB runs the Factory image, for updating only Factory image versions are accepted. Any different image types (public, custom) are rejected when trying to upgrade from the Embedded portal.

Autoupdate

Automatic updating to the factory image is carried out over network (HTTP protocol), from URL specified in STB software. Automatic update settings can be accessed by the user from the STB Embedded portal or performed by the Middleware server administrator (if STB connected to an external portal).

  • Auto-updating settings in the Embedded portal on an example of STB MAG254are described in the Software auto-update section.
  • Configuring the auto-update URL in the STB software and update procedure steps are described in the Autoupdate module description developer's section.

Manual update

Manual updating to factory image is performed from the Embedded portal. Depending on the location of an update file (imageupdate) which can be placed on the manufacturer's web-server or locally on a USB-drive, the following update options are available:

  • Software update from Portal by HTTP
  • Software update from Portal by USB

Factory image versions are issued at the manufacturer's web-server of by address:

Релиз

http://update.infomir.com/mag/<model>/imageupdate

where<model>is a number value of basic STB model (for example 250, 254, 256, 322, etc.).

For example, for STB MAG322 the last factory image version address: http://update.infomir.com/mag/322/imageupdate

As a rule, only one last stable version of the software for every STB model is located on the update server. But in some cases, the update server comprises several software versions of the same STB model to select by the user (they are accessible from the Embedded portal).

Update to Public image

Update to Publicimage is performed manually only on the booting stage of STB (fromBootloader menu- for STB MAG-250/254/270 or System Recovery Utility menu - for STB MAG-256, MAG-3xx, and MAG-4xx). This way users can update STB to the required version of Public image or make the transition from any other type of image (factory, custom) to Public image.

For MAG-250/254/270: Software update from BootloaderFor MAG-256/3xx/4xx: Software update from System Recovery Utility

Publicimage versions produced bythe manufacturer are issued in STB Releases .

Images created by Operators

As described in STB software provided by the manufacturer section, operators can create their own public image modifications (PublicImage). In addition,two special kinds of the SW image are intended to be used in operators' IPTV-networks: Custom Image (CustomImage) and Operator Image (OperatorImage).

Every operator creates the image on his own and handles it with your own secure cryptographic key (see Cryptographic signature of image section). When attempting to update the STB software, the digital signature is checked. This ensures that only the software created by a particular operator is used in STB.

STB software image version created by an operatoris put on his web-server. In order to provide STB updating, STB software image should comprise a specific update URL defined in STB software image (see STB software customization - setting update URL, auto-update URL).

Unlocking STB with installed operator key

Unlock

If certain operator key has been set in STB, then all issues related to "STB unlocking" (reprogramming, switching to factory's or different operators' image version), users should direct to Operator directly. Neither STB Manufacturer's Technical Support Services nor Service Center is able to unlock STB if an operator key was set in STB.

Update to Custom image

Update STB to Customimage is performed from a Portal - external or embedded. Update means the transition to another version of Сustomimage of the same Operator.
Note. Description of specific first two-stage installation of CustomImage is described in the CustomImage making instruction. Subsequent updates of Сustom image are carried out in the usual way from the portal (using HTTP or USB methods).

CustomImage contains an installed operator (custom) key, which is checked when trying to update the image. Thus, if STB is running Customimage, only the same operator CustomImage versions (containing the same custom key) are allowed to update STB from Portal. Image versions of other types (Factory image, Public image) or Customimage with a different custom key are rejected when trying to update.

Update to Customimage from the Embedded Portal is similar to the one described for Update to Factory image - in automatic or manual mode. However, as the update file is hosted on the Operator's Web server, a corresponding update URL changes.
Note. The addresses for manual and/or automatic updates are specified during image-making - see STB software customization.

Example of how to configure update from External portal

1. Manual Update configuring from the MW Ministra Portal (update from URL):

Configuring Example

STB Software | STB Linux & WebKit (6)

STB Software | STB Linux & WebKit (7)

STB Software | STB Linux & WebKit (8)

STB Software | STB Linux & WebKit (9)

STB Software | STB Linux & WebKit (10)

2. Configuring STB update in MW Ministra administration panel:

  • How to conduct the automatic STB firmware update?
  • How to set the firmware update condition?

Cryptographic signature of the image

In order to prevent the running of unauthorized software in STB, every STB software image is signed with a digital signature, using the GnuPG (GPG) program. The RSA algorithm is applied to provide data encryption and integrity of image checking as well.

GPG program generates сryptographic key that consists of a secret part (private key or secret key) and an open part (public key). When creating each сryptographic key, it is assigned a key identifier (ID_KEY) which is the unique key name in the GPG database.
The Private key is a property of the image creator (i.e. Operator). It is kept secret and used for new images signing during the image building process.
Using public key installed in the STB, the authenticity of the SW image being loaded in STB is checked. During an image loading in the STB, the signature availability and correctness are checked (whether public and private keys match each other). In the case of the keys mismatch, the 'Wrong Signature' error is displayed, and the image is not loaded in the STB.

To create Operator images (CustomImage, OperatorImage), the operators use their own keys. If OperatorImage is used by the operator, the public part of the operator key must be signed with the Manufacturer key before installation in STBs. Creating images by operators and installing the operator key in STB are performed according to instructions of the manufacturer of STB.

Public images (PublicImage) are signed with the Manufacturer's default operator key (ID_KEY = STB_PUBLIC). The public key of the default operator key is installed in the STB at the factory.
The private part of the default operator key
is included in Image-making utilities (файл stb_secbin.key). It is used in the build procedure of PublicImage and CustomImage.

Instructions for building image

Public image

  • PublicImage - preparing, making for MAG254

Operator images

  • CustomImage - preparing, making for MAG254
  • OperatorImage - instructions for making and updating the image are provided to operators after agreeing with thecommercial department on the procedure for signing the operator's key.
  • Making the operator or custom key:
    • Custom key preparation
    • Notes on using GPG
    • Some details on the operator image are described in the Operator_Guide_MAG200.pdf (see Operation with keys chapter, p. 20)

Additional

  • SSH - change password, port, disable/enable

STB software customization

STB software customizing refers to configure STB software user interface and STB operation parameters according to customer (operator) demands, as well as integrating necessary applications, including external media portal support.

To customize certain STB model, IPTV operator makes changes to STB image according to STB manufacturer instructions. STB image components are provided inSTB software release. During the customization process, necessary changes are made to the root file system, before including it in the image building.

As a rule, image customization is used to createcustomandoperator images. For the purpose of testing and debugging, customization can be also performed in public image.
Customization can deal with the following points:

  • Logo of Bootloader;
  • Checking variables (setting required default values) during STB/portal start;
  • STB default settings that defined with environment variables, during image building (see contents of env.txt). List of possible settings and relevant variables:
    • Background and font color of the Bootloader - bg_color, fg_color;
    • Specific country or region settings like Embedded portal language, time zone - language, timezone_conf;
    • URL of time server (NTP) - ntpurl;
    • Video displaying parameters in Bootloader and media-portal mode (PAL / NTSC format, video output mode, graphic resolution of the screen, auto-adjustment of frame rate) - bootTVsystem, tvsystem, graphicres, auto_framerate;
    • URL of the external portal to be auto-loaded in STB - portal1;
    • Ability to hide/view URL of external portals - custom_URL_hider;
    • URL of STB update in Embedded portal (System settingsSoftware update URL option) - update_url;
    • URL and conditions of STB auto-update (see Autoupdate module description section) - autoupdateURL, autoupdate_cond;
      Note. A more detailed list of environment variables as well as the method of observing variables values directly inSTB is given in the Most used variables section.
  • Enabling / disabling user access to Settings, using rules.js (during the preparation of software image building):
    • Disabling/Enabling items of System settings, Settings menus;
    • Configuring of Select a portal for loading window (allow to open window with Menu key of RC; permission on entering to Embedded portal and System settings);
    • Configuring of Page loading errorwindow (page 404);
    • Access to System settings with a password.
  • Localization (interpretation) of Embedded portal user interface to language that is not supported by default;
  • SSH protocol access to the STB file system;
  • Automatic updating of playlists from a given URL;
  • For applications, determination of URL to transition on exit (Referrer);
  • etc.

New portal development

To perform customization of web applications, the manufacturer provides the users (operators) with an API set. Thus, users (operators) can create their own versions of the media portal to control the operation of the set-top box. In addition, the manufacturer provides the ability to upgrade the Embedded portal of STB (the source code of the portal is provided in each SW release) and build its version of the portal with its further inclusionin the customized image of STB software. For example, you can change the algorithm for loading and operating the portal, change the design of the portal, etc.

Description of some issues related to portal customization is given in the next sections:

On this page:

Linked articles:

STB Software |                                                     STB Linux & WebKit (2024)

FAQs

What is STB software? ›

STB software is a set of programs that are intended to control STB operation. STB software includes Linux kernel and Root File System (Root FS) that contains software components provided by manufacturers of CPU and STB.

What does "embedded portal" mean? ›

is a web-based STB application developed on the Webkit web browser engine. It is a part of the MAG family's media players (STB) software that runs OS Linux (STB Linux & Webkit).

How to update the firmware of STB? ›

Scroll down the options in the settings menu and select the menu item that says SOFTWARE UPDATE. Now press OK on your remote control. The update menu will show that the box is set to default to obtain updates via method = HTTP and show the update URL – DO NOT CHANGE ANYTHING. Press OK button to VERIFY your selection.

What is STB used for? ›

Set-Top Box (STB)

Originally used to deliver cable television services to analogue televisions, set-top boxes now come in several forms and are used to receive and convert digital signals, access cable or satellite television services, or send and receive internet data via cable or telephone connections.

What does the STB do? ›

The Surface Transportation Board (STB) regulates and decides disputes involving railroad rates, railroad mergers or line sales, and certain other transportation matters.

What does Web portal mean in software? ›

A portal is a web-based platform that collects information from different sources into a single user interface and presents users with the most relevant information for their context. Over time, simple web portals have evolved into portal platforms that support digital customer experience initiatives.

What is an embedded web service? ›

The Embedded Web Server is the administration and configuration software that is installed in the printer. It allows System Administrators to modify network and system settings on the printer remotely using a Web browser.

What does "embed" mean on my phone? ›

But in general, embedding is a process where you insert one file or object into another file or a platform. It can be any kind of file – text, sound, photos, video, and more. Once embedded, a file's information becomes accessible from a different file, platform, or application (host).

What does it mean your STB is blocked? ›

This means that your device is blocked by the IPTV provider (this smart TV is not allowed on this portal) The message means access to this Portal is not allowed for your TV.

What is STB FW? ›

Our firmware set-top box (STB) design services include development for hybrid, cable, terrestrial, and satellite digital broadcasting.

What does "firmware of your STB is outdated" mean? ›

There are few reasons for this to happen: Your Provider is running very old version of the Portal. For example 4.8.xx. The app is tested and working with 4.9.x and 5.x versions up to latest version.

What does the STB stand for? ›

A "set top box," or STB, is a generic name for an electronic interface between a cable television or satellite signal and video display and recording devices.

What is STB system? ›

A Set Top Box is a device that allows users to view video content from specific internet video providers via the internet. Also known as a Set Top Unit, these boxes convert a digital television signal to analog to be viewed on a conventional television set, or enable cable or satellite television to be viewed.

What is STB platform? ›

A set-top box (STB), also known as a cable box, receiver, or simply box, and historically television decoder or a converter, is an information appliance device that generally contains a TV tuner input and displays output to a television set, turning the source signal into content in a form that can then be displayed on ...

What does STB device mean? ›

A set Top Box (STB) is an electronic device, similar in size and shape to a VCR, that tunes into, receives and decodes HDTV signals. HDTV signals can come from over-the-air broadcasts, digital satellite, or digital cable.

Top Articles
66% of Gen Z Consumers Plan to Celebrate Valentine's Day - More Than Any Other Generation, Numerator Reports
Gingerbread Man Story For Children With Moral
Spasa Parish
Rentals for rent in Maastricht
159R Bus Schedule Pdf
Sallisaw Bin Store
Black Adam Showtimes Near Maya Cinemas Delano
Espn Transfer Portal Basketball
Pollen Levels Richmond
11 Best Sites Like The Chive For Funny Pictures and Memes
Things to do in Wichita Falls on weekends 12-15 September
Craigslist Pets Huntsville Alabama
Paulette Goddard | American Actress, Modern Times, Charlie Chaplin
Red Dead Redemption 2 Legendary Fish Locations Guide (“A Fisher of Fish”)
What's the Difference Between Halal and Haram Meat & Food?
R/Skinwalker
Rugged Gentleman Barber Shop Martinsburg Wv
Jennifer Lenzini Leaving Ktiv
Ems Isd Skyward Family Access
Elektrische Arbeit W (Kilowattstunden kWh Strompreis Berechnen Berechnung)
Omni Id Portal Waconia
Kellifans.com
Banned in NYC: Airbnb One Year Later
Four-Legged Friday: Meet Tuscaloosa's Adoptable All-Stars Cub & Pickle
Model Center Jasmin
Ice Dodo Unblocked 76
Is Slatt Offensive
Labcorp Locations Near Me
Storm Prediction Center Convective Outlook
Experience the Convenience of Po Box 790010 St Louis Mo
Fungal Symbiote Terraria
modelo julia - PLAYBOARD
Poker News Views Gossip
Abby's Caribbean Cafe
Joanna Gaines Reveals Who Bought the 'Fixer Upper' Lake House and Her Favorite Features of the Milestone Project
Tri-State Dog Racing Results
Navy Qrs Supervisor Answers
Trade Chart Dave Richard
Lincoln Financial Field Section 110
Free Stuff Craigslist Roanoke Va
Wi Dept Of Regulation & Licensing
Pick N Pull Near Me [Locator Map + Guide + FAQ]
Crystal Westbrooks Nipple
Ice Hockey Dboard
Über 60 Prozent Rabatt auf E-Bikes: Aldi reduziert sämtliche Pedelecs stark im Preis - nur noch für kurze Zeit
Wie blocke ich einen Bot aus Boardman/USA - sellerforum.de
Infinity Pool Showtimes Near Maya Cinemas Bakersfield
Dermpathdiagnostics Com Pay Invoice
How To Use Price Chopper Points At Quiktrip
Maria Butina Bikini
Busted Newspaper Zapata Tx
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 5910

Rating: 4.8 / 5 (68 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.