How to control Android system updates on dedicated devices
On a dedicated Android device, you control operating system updates with a system update policy. It has three modes: install automatically, install inside a daily maintenance window, or postpone for up to 30 days. Freeze periods block all system updates for up to 90 days around busy seasons. Two things sit outside that policy. Google Play system updates download automatically and install at the next reboot, and apps follow their own per-app settings. Standard policy cannot hold a device on one OS version indefinitely.
Key facts
- An Android system update policy has three modes: automatic, windowed (a daily maintenance window) and postpone (up to 30 days).
- A freeze period blocks every system update, security patches included, for up to 90 days. Two freeze periods must be at least 60 days apart.
- Google recommends the windowed mode for kiosks. The same window also applies to Play app updates.
- Google Play system updates (Mainline) are outside the policy. They download automatically and install at the next reboot.
- A maintenance window shorter than 30 minutes is extended to 30 minutes.
- Standard policy cannot pin an Android version. On Samsung devices, Knox E-FOTA can target a specific firmware version.
What kinds of update does an Android device receive?
| Layer | What it is | Controlled by | When it installs |
|---|---|---|---|
| System update (OTA) | Android version, manufacturer firmware, security patches | System update policy | As the policy says. Usually needs a reboot |
| Google Play system update (Mainline) | Android components that Google updates directly | Not the system update policy | Downloads automatically. Installs at the next reboot |
| App update | Apps from managed Google Play | Per-app update mode, and the maintenance window if one is set | Per app |
The distinction matters on unattended devices. A policy that looks complete can still leave Mainline updates waiting for a reboot that never happens.
Which system update mode should you use?
| Mode | What the device does | Use it when |
|---|---|---|
| Unspecified | Default device behavior. Usually a person has to accept the update | Never on unattended devices |
AUTOMATIC |
Installs as soon as an update is available, and reboots if needed | A reboot at any hour is acceptable |
WINDOWED |
Installs inside a daily window. The window also applies to Play app updates | Kiosks, signage and POS. Google recommends it for kiosks |
POSTPONE |
Delays installation for up to 30 days, then prompts the user | You need time to test. Security patches may not be held back |
Details of the window, from Google's policy reference and Android Enterprise Help:
- Start and end are minutes after local midnight, from 0 to 1439. If the end is earlier than the start, the window crosses midnight.
- A window shorter than 30 minutes is extended to 30 minutes.
- An install can fail on low battery, low storage or no connectivity. The device tries again in the next window.
- After 30 days without a successful install, the device prompts the user. On a kiosk, nobody answers, so watch for it in reporting.
- Some manufacturers separate download from install. A policy may then control only one of the two.
How do freeze periods work?
A freeze period is a date range, repeated every year, in which no system update installs.
- Each period can last up to 90 days.
- Two periods must be at least 60 days apart.
- A freeze blocks every system update, including security patches and manual updates.
- A freeze only works on top of an update mode. Set a mode first.
This example installs between 2 am and 4 am local time, and freezes from 20 November to 5 January:
"systemUpdate": {
"type": "WINDOWED",
"startMinutes": 120,
"endMinutes": 240,
"freezePeriods": [
{
"startDate": { "month": 11, "day": 20 },
"endDate": { "month": 1, "day": 5 }
}
]
}
How should you schedule updates on Android kiosks?
- Pick a window when the device is closed to the public but powered and online. A window means nothing to a device that is switched off at night.
- Keep power and storage in hand. Low battery or a full disk fails the install.
- Expect the reboot. Confirm on a test device that the kiosk app returns by itself afterward.
- Schedule reboots. Google Play system updates install only at a reboot. A reboot triggered by policy installs any that are waiting.
- Report on patch level. Track OS version and security patch date per device, and flag devices that fall behind.
- Keep freezes short. A freeze protects a trading peak, and it also holds back security patches.
Can you stage an Android OS update rollout?
The system update policy has no rings of its own. You build them from policies.
Put a few devices of each model on a pilot policy set to AUTOMATIC. Keep the fleet on WINDOWED or POSTPONE. Watch the pilot, then let the fleet follow. POSTPONE gives you at most 30 days of separation, so the pilot has to report quickly.
Can you pin a device to one Android version?
Not with standard policy. The longest hold is a 90-day freeze, followed by a 60-day gap in which pending updates install. Bayton's version pinning FAQ reaches the same conclusion.
Manufacturer tools go further. On Samsung devices, Knox E-FOTA lets an admin choose a target firmware version, keep devices on it, and schedule the update. If you use it on a kiosk, Samsung notes that its client packages must be on the kiosk's app allowlist.
Does the maintenance window control app updates too?
App updates follow each app's update mode. The default waits for the app to leave the foreground, which a kiosk app never does. A windowed system update policy fixes that, because its window covers Play app updates too. See Deploying private apps through managed Google Play.
How does AndroidNexus handle system updates?
In AndroidNexus, system updates install in a maintenance window the admin sets. Policy changes are saved as versions, so a change to update settings can be compared with the version before it.
Frequently asked questions
How do I stop Android updates on a kiosk?
You can delay them, not stop them. Use a maintenance window to choose the hour, postpone mode for up to 30 days, or a freeze period for up to 90 days. After a freeze, there must be 60 days before the next one.
What is a freeze period?
It is a yearly date range in which a device installs no system updates. It is meant for periods when a failed update would be costly, such as a retail peak.
Do freeze periods block security patches?
Yes. A freeze blocks all system updates, security patches included. That is the main reason to keep freezes as short as the business allows.
Does the system update policy control Google Play system updates?
No. Google Play system updates, also called Mainline updates, download automatically. They install at the next reboot, whoever or whatever causes it.
What happens if an update fails during the window?
The device tries again in the next daily window. If it has not succeeded after 30 days, it prompts the user to install the update.
Can I choose which Android version a device installs?
Not through the standard system update policy, which controls timing only. On Samsung devices, Knox E-FOTA can target a specific firmware version.
Will a device reboot by itself to install an update?
Yes. In automatic and windowed modes, a required reboot happens without asking the user. Plan the window with that in mind.
What is the best update setting for an Android kiosk?
A windowed system update policy, with the window set to hours when the device is closed to the public but powered and online. Google recommends this mode for kiosks. Add a scheduled reboot so that Google Play system updates install, and a short freeze period only around trading peaks.
How long can I delay an Android update?
Postpone mode delays a system update for up to 30 days. A freeze period blocks all system updates for up to 90 days, after which 60 days must pass before the next freeze. Standard policy offers no longer hold than that.
Sources
- Google System updates on devices enrolled using Android Enterprise, Android Enterprise Help
- Policy resource reference, Android Management API
- Example policies: dedicated devices, Android Management API guide
- Manage system updates, Android Developers
- Can I pin OS or app versions?, Jason Bayton
- Knox E-FOTA, Samsung Knox
- Knox E-FOTA FAQ, Samsung Knox