Skip to content

Update#

The Update Service

  • downloads update_info.xml files
  • reads version information
  • starts the Update System if necessary

When active, the phone checks for updates after every provisioning. It uses the URL from the configuration. The server must provide a file named update_info.xml on the configured URL. The update_info.xml contains information about the ROM files version, which is used to determine whether a download is necessary. The option Automatically install update allows a direct installation of new firmware.

Update System#

  • downloads firmware files
  • checks the ROMs signature and size
  • writes the ROM to the phones partitions

update_info.xml#

The following update_info.xml describes the ROM files version and location:

update_info.xml
<?xml version="1.0" encoding="UTF-8"?>
<UpdateInfo>
  <!-- url: - http://www.something.de/sdaggfdds aka with scheme aka use as is
            - some/relative/path -> use in place of update_info.xml in full url to update_info.xml (see /update/url-setting)
            - /some/abs/path -> replace entire path in full url to update_info.xml (see /update/url-setting) -->
  <Version name="2.0A-00000" url="http://172.17.2.86/image.rom"/>
  <!-- optionally the updater may ge provisioned as well: -->
  <Updater name="2.0A-00000" url="http://172.17.2.86/updater.img"/>
</UpdateInfo>

Configuration:#

Update Web UI

Update Web UI