Operating Systems and Embedded Software · Operating system
Android Automotive OSAAOS
Also known as Android Automotive
A version of the Android platform that runs directly on in-vehicle hardware to provide infotainment and, increasingly, other vehicle functions. It is distinct from Android Auto, which projects apps from a phone.
Explanation
Android Automotive OS is a full-stack, open-source Android platform that automakers customise for in-vehicle infotainment (IVI). It runs pre-installed IVI apps as well as optional second- and third-party Android apps, and it reuses Android's common framework, language and APIs. It should not be confused with Android Auto, which runs on the user's phone and projects its interface to a compatible head unit over USB.
Vehicle data reaches Android through the vehicle hardware abstraction layer (VHAL), which defines properties that automakers implement and that apps can read, write and subscribe to. Google's documentation also describes AAOS growing into software-defined-vehicle roles. These include a unified cockpit that pairs an Android IVI virtual machine with a separate VM rendering safety-critical telltales and rear-view camera feeds, and headless vehicle-service VMs that run on VirtIO-compliant hypervisors and talk to ECUs over protocols such as SOME/IP.
In these designs, safety-critical outputs are handled outside the Android IVI VM. Automakers remain responsible for integration, updates and the vehicle-specific HAL implementation.
How it works
AAOS runs Android's framework on a Linux kernel. Vehicle properties such as speed, gear or HVAC state are exposed by the automaker's VHAL implementation and reach apps through CarService. With virtualization, one or more AAOS instances run as guest VMs on an automotive SoC and use standard VirtIO devices for audio, sensors and video, so the guest stays portable across hypervisors and hardware.
Automotive applications
- In-vehicle infotainment head units
- Digital cockpit combining infotainment and cluster views
- Third-party media and navigation apps
- Virtualized SDV platforms hosting vehicle services
Example
An automaker runs AAOS as a guest VM on a cockpit SoC alongside a cluster VM. Navigation and media apps run in AAOS, the cluster VM renders telltales, and audio reaches the Android guest through a virtio-snd device provided by the hypervisor.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- What is Android Automotive? (opens in a new tab)
“Android Automotive is a base Android platform designed to power the in-vehicle experience.”
- Vehicle HAL (VHAL) overview (opens in a new tab)
- Virtualization overview (Android Automotive) (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.