An over-the-air update (or OTA update), also known as over-the-air programming (or OTA programming), is an update to an
embedded system that is delivered through a
wireless network
A wireless network is a computer network that uses wireless data connections between network nodes. Wireless networking allows homes, telecommunications networks, and business installations to avoid the costly process of introducing cables int ...
, such as
Wi-Fi
Wi-Fi () is a family of wireless network protocols based on the IEEE 802.11 family of standards, which are commonly used for Wireless LAN, local area networking of devices and Internet access, allowing nearby digital devices to exchange data by ...
or a
cellular network
A cellular network or mobile network is a telecommunications network where the link to and from end nodes is wireless network, wireless and the network is distributed over land areas called ''cells'', each served by at least one fixed-locatio ...
.
These embedded systems include
mobile phone
A mobile phone or cell phone is a portable telephone that allows users to make and receive calls over a radio frequency link while moving within a designated telephone service area, unlike fixed-location phones ( landline phones). This rad ...
s,
tablets,
set-top box
A set-top box (STB), also known as a cable converter box, cable box, receiver, or simply box, and historically television decoder or a converter, is an information appliance device that generally contains a Tuner (radio)#Television, TV tuner inpu ...
es,
car
A car, or an automobile, is a motor vehicle with wheels. Most definitions of cars state that they run primarily on roads, seat one to eight people, have four wheels, and mainly transport people rather than cargo. There are around one billio ...
s and
telecommunications equipment.
OTA updates for cars and
internet of things
Internet of things (IoT) describes devices with sensors, processing ability, software and other technologies that connect and exchange data with other devices and systems over the Internet or other communication networks. The IoT encompasse ...
devices can also be called firmware over-the-air (FOTA).
Various components may be updated OTA, including the device's operating system, applications, configuration settings, or parameters like
encryption keys.
Terminology
The term ''over-the-air update'' applies specifically to
embedded systems,
rather than non-embedded systems like computers. Before OTA updates, embedded devices could only be
flashed through direct physical access (with a
JTAG) or wired connections (usually through
USB or a
serial port
A serial port is a serial communication Interface (computing), interface through which information transfers in or out sequentially one bit at a time. This is in contrast to a parallel port, which communicates multiple bits simultaneously in Pa ...
).
Purpose
Over-the-air delivery may allow updates to be distributed at larger scales, reduce the cost of delivering updates, or increase the
rate of adoption of these updates.
Implementation
The distributor of these updates can decide whether users are allowed to decline these updates, and may choose to disable certain features on end-user devices until an update is applied. Users may be unable to revert an update after it is installed.
OTA updates are designed to be as small as possible in order to minimize energy consumption, network usage, and storage space. This is achieved by only transferring the differences between the old firmware and the new firmware, rather than transmitting the entire firmware. A
delta
Delta commonly refers to:
* Delta (letter) (Δ or δ), the fourth letter of the Greek alphabet
* D (NATO phonetic alphabet: "Delta"), the fourth letter in the Latin alphabet
* River delta, at a river mouth
* Delta Air Lines, a major US carrier ...
of the old and new firmware is produced through a process called
diffing; then, the delta file is distributed to the end-device, which uses the delta file to update itself.
Industries
Smartphones
On
smartphone
A smartphone is a mobile phone with advanced computing capabilities. It typically has a touchscreen interface, allowing users to access a wide range of applications and services, such as web browsing, email, and social media, as well as multi ...
s, tablets, and other devices, an over-the-air update is a firmware or
operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
update that is downloaded by the device over the
internet
The Internet (or internet) is the Global network, global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a internetworking, network of networks ...
. Previously, users had to connect these devices to a computer over
USB to perform an update. These updates may add features, patch
security vulnerabilities, or fix
software bug
A software bug is a design defect ( bug) in computer software. A computer program with many or serious bugs may be described as ''buggy''.
The effects of a software bug range from minor (such as a misspelled word in the user interface) to sev ...
s. The two main mobile operating systems are
iOS and
Android.
iOS gained support for over-the-air updates in
iOS 5. iOS updates are distributed exclusively by Apple, resulting in wide availability and relatively high adoption rates. Major iOS releases are usually installed on 60%–70% of iPhones within a few months of the update's release.
Android OTA updates are not distributed directly by Google, but by
OEMs (like Samsung) and
wireless carriers.
This has led to inconsistent availability of updates, and to
Android fragmentation.
In the past, fragmentation increased the complexity of developing third-party apps for Android (due to inconsistent availability of the latest
software framework
In computer programming, a software framework is a software abstraction that provides generic functionality which developers can extend with custom code to create applications. It establishes a standard foundation for building and deploying soft ...
s on users' phones), and led to security concerns due to delays in the distribution of security updates. Google has reduced Android fragmentation through the 2017
Project Treble, which allows OEMs to release OS updates without needing to re-test hardware drivers for each version,
and the 2019 Project Mainline, which allows Google to update Android components
and deliver security patches
through its
Play Store, without requiring a full OS update.
Project Mainline significantly lowers the role of middlemen in delivering OTA updates.
Since
Android 8.0, Android OTA updates follow an A/B
partition scheme, in which an update is installed to a second ("B") partition in the background, and the phone switches to that partition the next time it is rebooted; this reduces the time taken to install updates.
Automotive
Cars can support OTA updates to their
in-car entertainment system, navigation map,
telematic control unit, or their
electronic control units (the onboard computers responsible for most of the car's operation).
In cars, the telematic control unit is in charge of downloading and installing updates,
and OTA updates are downloaded through cellular networks, like smartphones. Cars cannot be driven while an OTA update is being installed. Before an update, the car checks that the update is genuine, and after the update completes, it verifies the integrity of all affected systems.
OTA updates provide several benefits. In the past, Volkswagen had to recall 11 million vehicles to fix an issue with its cars' emissions control software, and other manufacturers have instituted recalls due to software bugs affecting the brakes, or the airbags, requiring all affected customers to travel to dealership to receive updates. OTA updates would have removed the need to go through dealerships, leading to lower warranty costs for manufacturers and lower downtime for customers. OTA updates also allow manufacturers to
deploy potential new features and bug fixes more quickly, making their cars more competitive in the market, and resulting in an increased pace of product improvements for consumers. For example, OTA updates can deliver improvements to a car's
driver assistance systems and improve the car's safety.
However, OTA updates can also present a new
attack vector for hackers, since security vulnerabilities in the update process could be used by hackers to remotely take control of cars. Hackers have discovered such vulnerabilities in the past, and many car manufacturers have responded by instituting vulnerability disclosure programs (
bug bounty programs).
Attack vectors specific to OTA updates include "
spoofing, tampering, repudiation
ttacks information leakage,
denial-of-service,"
replay attacks, and
privilege escalation attacks. Example scenarios include a hacker successfully interrupting an ongoing update (deemed a "flashing fail"), which may corrupt the car's computer systems and make the car malfunction later on; another scenario is "arbitrary flashings", in which hackers trick the car into installing a malicious OTA update.
Internet of things (IoT)
More recently, with the new concepts of
Wireless Sensor Networks and the
Internet of Things
Internet of things (IoT) describes devices with sensors, processing ability, software and other technologies that connect and exchange data with other devices and systems over the Internet or other communication networks. The IoT encompasse ...
(IoT), where the networks consist of hundreds or thousands of nodes, OTA is taken to a new direction: for the first time OTA is applied using unlicensed frequency bands (868 MHz, 900 MHz, 2400 MHz) and with low consumption and low data rate transmission using protocols such as
802.15.4 and
Zigbee.
Sensor node
A sensor node (also known as a mote in North America), consists of an individual Node (networking), node from a sensor network that is capable of performing a desired action such as gathering, processing or communicating information with other con ...
s are often located in places that are either remote or difficult to access. As an example,
Libelium has implemented an OTA programming system for Zigbee WSN devices. This system enables
firmware
In computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computer, computing machinery. It includes the study and experimentation of algorithmic processes, and the development of both computer hardware, h ...
upgrades without the need of physical access, saving time and money if the nodes must be re-programmed.
Internet routers
OTA is similar to firmware distribution methods used by other mass-produced
consumer electronics
Consumer electronics, also known as home electronics, are electronic devices intended for everyday household use. Consumer electronics include those used for entertainment, Communication, communications, and recreation. Historically, these prod ...
, such as
cable modems, which use
TFTP as a way to remotely receive new programming, thus reducing the amount of time spent by both the owner and the user of the device on maintenance.
Over-the-air provisioning (OTAP) is also available in wireless environments (though it is disabled by default for security reasons). It allows an access point (AP) to discover the
IP address
An Internet Protocol address (IP address) is a numerical label such as that is assigned to a device connected to a computer network that uses the Internet Protocol for communication. IP addresses serve two main functions: network interface i ...
of its controller. When enabled, the controller tells the other APs to include additional information in the Radio Resource Management Packets (RRM) that would assist a new access point in learning of the controller. It is sent in plain text however, which would make it vulnerable to sniffing. That is why it is disabled by default.
Cellular networks
Over-the-air provisioning (OTAP) is a form of OTA update by which
cellular network operators can remotely
provision a mobile phone (termed a ''client'' or ''
mobile station
A mobile station (MS) comprises all user equipment and software needed for communication with a mobile network.
The term refers to the global system connected to the mobile network, i.e. a mobile phone or mobile computer connected using a mobi ...
'' in industry parlance) and update the cellular network settings stored on its
SIM card. This can occur at any time while a phone is turned on. The term ''over-the-air parameter administration'' (OTAPA) is synonymous.
OTA provisioning allows mobile phones to remain properly configured when cellular network operators make changes to their networks. It also configures phones with the settings required to access certain features, like
WAP (an early incarnation of the
mobile web
The mobile web comprises mobile browser-based World Wide Web services accessed from handheld mobile devices, such as smartphones or feature phones, through a mobile network, mobile or other wireless network.
History and development
Traditiona ...
),
MMS messaging, and
cellular data (which requires the configuration of an
Access Point Name).
The similar term ''over-the-air service provisioning'' (OTASP) specifically refers to the wireless initial provisioning ("activation") of a phone. During activation, a mobile phone is provisioned with parameters like its phone number,
mobile identification number, and
system ID, granting it initial access to the cellular network. OTASP is sometimes called ''over-the-air activation'' or ''over-the-air bootstrapping''. The alternative to OTA bootstrapping is SIM bootstrapping, where the phone reads the network settings stored on a
SIM card. SIM bootstrapping has limitations: settings stored on a SIM card may become stale between the time the SIM is manufactured and the time it is used; also, some phones (and other cellular client equipment) do not use SIM cards.
Various standards bodies have issued OTA provisioning standards. In 2001, the
WAP Forum published the WAP Client Provisioning standard. After the
Open Mobile Alliance subsumed the WAP Forum, this standard became known as
OMA Client Provisioning (OMA CP). In OMA CP, phones are provisioned by "invisible" SMS messages sent by the cellular network, which contain the requisite settings. OMA CP was followed by a newer standard,
OMA Device Management (OMA DM), which use a different form of SMS-based provisioning (called "OMA Push"). OMA DM sessions are always client-initiated. The "invisible" SMS does not contain configuration settings; instead, it tells the phone (the "DM Client") to connect to a DM Server (operated by the cellular network provider); once connected, the DM Server sends configuration commands to the client.
OTA standards
There are a number of standards that describe OTA functions. One of the first was the
GSM 03.48 series. The Zigbee suite of standards includes the Zigbee Over-the-Air Upgrading Cluster which is part of the Zigbee Smart Energy Profile and provides an interoperable (vendor-independent) way of updating device firmware.
See also
*
Phone-as-Modem (PAM)
*
Access Point Name (APN)
References
{{Software digital distribution platforms
Mobile technology
Telecommunication services