QNX vs Linux vs Android Automotive: Choosing an In-Car OS
QNX vs Linux vs Android Automotive: where each in-car OS fits, who uses it, and how to choose for your cluster and infotainment.
The automotive software standard in plain language: layers, platforms and where it meets the rest of the car.
In short
AUTOSAR, short for AUTomotive Open System ARchitecture, is a global standard for automotive software architecture, developed by carmakers, suppliers and tool vendors. It defines layers, interfaces and configuration formats so that software from many companies can run together on vehicle electronics. If you build anything that talks to a car’s electronic control units (ECUs), you will meet AUTOSAR, even if your own code never uses it directly. This guide explains the two platforms in plain language.
A modern car contains software from dozens of suppliers. Without a common structure, every integration would be a custom job. AUTOSAR was created mainly to support that distributed development, where carmakers integrate software and hardware from tier 1, tier 2 and tier 3 suppliers (arXiv). The standard defines a layered architecture with largely hardware-independent interfaces, so applications can move between ECUs and suppliers can deliver components that fit.
| Classic Platform | Adaptive Platform | |
|---|---|---|
| Target hardware | Microcontroller ECUs (engine, brakes, airbags, body) | High-performance computers (driver assistance, central compute, gateways) |
| Language | C | C++ (from C++11 and C++14) |
| Operating system | OSEK-based, runs close to the hardware | POSIX operating systems such as Linux or QNX |
| Configuration | Compiled into the ECU image | Loaded at runtime from files |
| Communication | Signal-oriented (CAN, LIN, FlexRay) | Service-oriented (SOME/IP, DDS) plus signals |
| Updates | Whole image reflashed | Individual applications can be deployed and updated |
Sources: MathWorks, UL Solutions, arXiv.
Classic AUTOSAR targets deeply embedded ECUs that read sensors and drive outputs with strict timing. The stack has three main parts: application software components, a runtime environment (RTE) that connects them, and basic software with services, drivers and microcontroller abstraction (MathWorks). Everything is configured before compiling, which makes timing predictable and certification easier, but changes mean rebuilding and reflashing the ECU.
Commercial basic software is common. Vector’s MICROSAR Safe, for example, is developed in line with ISO 26262 and qualified for use up to ASIL D (Vector).
Adaptive AUTOSAR exists because driver assistance, central computers and over-the-air updates need more flexibility. Vector describes it as an architecture for high-performance ECUs that supports POSIX operating systems and development cycles much shorter than a vehicle’s lifecycle; there is no longer one single binary to deploy (Vector). Applications run as processes, find each other as services, and can be updated individually.
The trade-off is complexity: more dynamic behaviour, more resources and more work to prove timing and safety.
AUTOSAR rarely stands alone. A typical cockpit or central computer combines:
Infotainment developers usually reach AUTOSAR through gateways and vehicle services (for example, a speed or gear signal surfacing in the Android Vehicle HAL). Understanding the signal path saves days of debugging.
From our work
On one automotive programme, our team met 6 of 6 hard deadlines while supporting quarterly releases (case study). As an automotive HMI development partner, we build in-car infotainment on Android Automotive OS: media apps and sources, Bluetooth, USB, phone projection and companion apps.
| Area | Typical tools and terms |
|---|---|
| Classic | C, OSEK OS, RTE, BSW, MCAL, ARXML, Vector DaVinci and MICROSAR, EB tresos |
| Adaptive | C++14/17, ara::com, SOME/IP, DDS, Execution Management, Linux, QNX |
| Networks | CAN, CAN FD, LIN, FlexRay, automotive Ethernet |
| Safety and security | ISO 26262, ISO/SAE 21434, MISRA C and C++ coding rules |
| Testing | Vector CANoe, hardware-in-the-loop, software-in-the-loop |
AUTOSAR is one piece of the larger shift to the software-defined vehicle. To see how the pieces are tested together on real hardware, read CI/CD for embedded and automotive software.
AUTomotive Open System ARchitecture, an industry standard for structuring and connecting vehicle software.
Classic targets microcontroller ECUs in C with static configuration. Adaptive targets high-performance computers with C++ on POSIX systems such as Linux or QNX.
Infotainment usually runs Android Automotive or Linux, but it receives vehicle signals that come from AUTOSAR-based ECUs.
AUTOSAR is a standard; implementations such as Vector's MICROSAR Safe are developed according to ISO 26262 up to ASIL D.
Send a few lines about the product, the deadline and the team you have today. A senior engineer replies within two working days.