Skip navigation

Software update from System Recovery Utility is applied for the following STB models: MAG256, MAG3xx, MAG4xx.

Software update from System Recovery Utility is intended to install only Public versions of software (Public image) in STB. Updating to other software versions (Factory, Custom, Operatots) is carried out from Portal (HTTP, USB).

This section describes the following variants of update from System Recovery Utility menu:

Using USB - software update by USB. Software image file (imageupdate) is downloaded from USB drive connected to STB. Description - below.
Using multicast - software update by Multicast broadcasting. Software image file (imageupdate) downloaded to STB from multicast group. PC is used for multicasting. Description - below.

File of Update

To update STB software from System Recovery Utility menu, one file is used - imageupdate which contains a Public image of STB software created on the basis of a specific STB software release.
Public image from Manufacturer is included with each STB release. For example, if you want to install Public image of manufacturer, version 2.20.07r2 for STB MAG322, you need to download the next imageupdate file: http://soft.infomir.com/mag322/release/2.20.07r2/imageupdate Users (Operators) are also provided with Instructions for "building" their own versions of Public image, based on particular release.

Update from System Recovery Utility by USB

Update procedure

At PC (USB drive preparing)

1. Make sure that your USB drive meets requirements.
2. Download required file of update (imageupdate).
3. Create directory mag<model> in the root of USB drive and write imageupdate file to this directory. For example, for MAG322 directory name: mag322

Image Documentation

At STB (update launch)

1. Insert prepared USB-drive in STB slot. You can use any USB connector of STB.
2. Bring up System Recovery Utility menu.
3. Select Upgrade tools Upgrade Software Using USB Yes.
4. The info about software update status is displayed in the bottom of screen.
5. Wait until the update process is complete. After completing of update, STB automatically reboots.

Note. Do not turn off STB and plug off USB drive untill the end of update.
  Video example. USB upgrade from Recovery menu. MAG322

Error rendering macro 'multimedia' : com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'USB Upgrade from Recovery MAG322.mp4'

USB drive requirements and troubleshooting

Requirements to USB drive

USB drive that is intended to perform STB software update must be complied the next requirements:

  1. FAT32 file system format.
  2. If there are more than one partition on the USB drive, should use the first one.

Troubleshooting of update from System Recovery by USB

'Update by USB' problems, as a rule, related to:  1) imageupdate file not found or read on USB drive 2) incorrect software version in imageupdate file. Cause of the problem (error) is described by message displayed on the TV screen:

1. 'File imageupdate not found':

  • Recheck folder name and update file. Folder name and imageupdate file must contain only small letters (lowercase). Folder and file names should not contain characters added: examples of wrong name are mag_322, Imageupdate, imageupdate(1), and so on.
  • Check extension of the imageupdate file - set Show extension view mode of the folder. Files should not have extensions (like txt, etc.).Probably, there is file accessing issue of this USB drive (especially if you know that the USB drive was used as a boot disk or was handled by a utility like "Partition", etc.).
    • Format USB drive (set the requirements) and repeat updating procedure;
    • Use partition utilities and make the only one partition on USB flash drive (for instance, use diskpart utility of OS Windows 10).
    • There may be problem with the USB drive - try to use different USB drive

2. 'Wrong signature', 'Unsupported archtecture' - Probably, you use not appropriate type of image.

  • Make sure that imageupdate file matches your STB model.
  • If you are not sure about source of imageupdate file, re-download it (factory image - from factory software update server, custom image - from operator's update server), replace file on USB-drive, and then try to update again.
  • Chek up the image type: from System Recovery Utility, you may install Public image only.

Update from System Recovery Utility by Multicast

Update method 'Using Multicast' assumes that update file (imageupdate) is delivered from server to STB by multicast. As server is a PC with multicast utility installed.
As multicast utility running on the server to broadcast update file, can be used:

Update procedure with Mcast utility is discribed below.

Streaming server preparening

In order to provide IGMP and multicast barrierless traffic flow, server along with STBs must be within a broadcast domain (one LAN segment or few bridged LAN segments).
At home, it is usually sufficient to use a direct cable network connection between STB and PC, or both devices (STB and PC) must be connected to the same switch / router (use cable connection for both devices).
Mcast utility must be downloaded to PC and unzipped.
Update file (imageupdate) must be download to PC from the required source.

Update procedure

At server side (start multicasting):

1. Run file of Mcast utility: mcast_v2.0.exe
2. In opened QueryUserForNetworkInterface window, specify network interface to be multicasting;
3. Start file streaming with Mcast utility:

  • You should stream only one file: imageupdate (stream #2). Specify parameters for stream #2 in main application window Multicast file streamer:
    • IP-adress, port - multicast address that coresspondes your STB model.

    • File name - imageupdate file location at PC;

  • Start multicasting with Start/Stop button for stream #2.

    Note. Stop multicasting with Stop button after update completing. Or close Mcast utility application.

  Запуск вещания файла imageupdate для MAG322

Image Documentation

Image Documentation

Image Documentation


At STB side (update activation)

1. Open System Recovery Utility menu;
2. Select Upgrade tools Upgrade SoftwareUsing multicast Yes.
3. STB starts multicast update and you can see info message at the TV screen. Info message indicates IP address and port from which STB expects receiving the data flow.
4. At the bottom of TV screen you can see progress bar moving that informs about receiving the data. If it does not move - see Possible problems.
5. After successful receiving and checking up the image (look after the update process info on the TV screen), the updated software will be run on STB from one of NAND memory bank.

Multicast address

Multicast address has format: <IP address>:<Port>.

To correctly receive streamed file ( imageupdate) in STB, it is necessary to ensure that multicast addresses match on both sides: at server side (in Mcast utility) and in STB.
In Mcast utility the value of multicast address at which file should be transmitted is set in IP-address, port option for Stream 2 (imageupdate).
At STB side the value of multicast address from which STB is waiting for the file to be received is specified in the settings. Each STB model is assigned during production a specific
default multicast address. If necessary, the value of default multicast address can be changed in STB settings.

After start of Using Multicast update in STB, the value of multicast address is displayed on the TV screen. This address demonstrates where STB is waiting for file receiving. Using this value, you can check if multicast addresses on both sides (in Mcast utility and STB) match each other. In case mismatch, you should change it on one of side (more simple way is to make change in Mcast utility).

Multicast address assigned in STB by default

Multicast stream address 'by default' is assigned to STB at the factory. Below are the multicast address 'by default' for different STB models.

STB model Multicast address 'by default'
MAG256 224.50.0.131:9001
MAG322, MAG324 224.50.0.211:9001
MAG349 224.50.0.151:9001
MAG351 224.50.0.171:9001
MAG424 224.50.0.231:9001

Multicast address changing in STB

Multicast address 'by default' assigned at the factory can be changed by System settings of Embedded portal (System settingsServersMore, Update URL option). The value format is: igmp://<IP address>:<port>
For example:
igmp: //224.40.0.51: 9001
The range of valid values of <IP address> are specified in RFC 5771. You may, for example, use next address range: 224.0.1.0 - 238.255.255.255.

<Port> parameter defines TCP/IP port. The value of this parameter can be taken from the range of 1024 - 65535.

Multicast address checking up in STB

To make user possible check multicast address from which STB is waiting for receiving the image file, the multicast address value is displayed on the TV screen. It appears in info message in the bottom of screen after Multicast update is started. In case addresses mismatch (set in Mcast utility and displayed in STB), user may change address value in Mcast utility and restart file streaming.
Example of the info message for MAG322:

Starting update from multicast. Starting network. Receive is started 
Receive from 224.50.0.211:9001 is started

Possible problems during updating using Multicast

  • Interface (network card) for streaming is incorrectly chosen:
    • Check up and set appropriate Ethernet interface in Mcast utility. At difficulty of this, contact for help to network/system administrator.
  • There is barrier that blocks multicast traffic from server (computer on which running Mcast utility) to STB:
    • If PC and STB are connected through external network equipment it is necessary to make sure, that no barrier exists on the way of multicast and IGMP traffic in used network;
    • Check up PC (server) local network settings. Network filters, anti-virus soft as well as another soft can influence transfer multicast traffic;
    • Connect your STB directly to PC over Ethernet cable;
    • If PC and STB are connected directly over cable, check up connection and cable not to be damaged.
  • If loading of Bootstrap file is successful, and imageupdate download does not end

    • Try to reduce data rate (Datarate option in Mcast utility) for imageupdate stream to 500 000 byte/s and start update process from the beginning.

Need Help

Dave is an expert on the MAG STB and the author of this article.

Was this article helpful?

Yes No

Sorry to hear that.
How can we improve this article?

We use cookies in order to optimise our website, provide you with the best possible user experience and help us promote our products. Please read our Cookie Policy to find out how we use cookies and how you can control cookies.
By using this website or closing this message, you acknowledge our Privacy Policy and agree to our use of cookies as described in our Cookie Policy.