Skip to Main Content
Talk Intermediate First Talk

Beyond HIDL: Modernizing Android HALs with Rust & Stable AIDL

Proposal status is Approved
Session Description

Android is transitioning from HIDL to Stable AIDL to improve HAL interface stability and long-term maintainability. However, many production devices still depend on legacy HIDL implementations, making upgrades difficult.


This talk presents a migration of a HAL from HIDL to Stable AIDL, focusing on real-world challenges. It covers key differences in interface definition, versioning, Binder IPC, and VINTF compatibility. The session walks through a step-by-step migration: rewriting interfaces, updating services, and modifying manifests.

Hands-on guide for engineers who must modernize existing HIDL HALs to Stable AIDL in shipping devices.


As Android continues adopting Rust to improve security and reliability, platform developers are gaining new ways to build safer system components. This talk introduces Android Hardware Abstraction Layers (HALs) developed using Rust and AIDL, covering how Rust integrates with AOSP, Binder IPC, and modern Android architecture.


Through a practical example, attendees will learn how to create and integrate a Rust-based HAL, understand the benefits of memory safety, and explore why Rust is becoming an important part of Android's future.

Key Takeaways
  1. Explain the core architectural differences between HIDL and AIDL in the Android HAL stack.
  2. List the Android version milestones that make AIDL mandatory for new and production devices.
  3. Execute a step-by-step HIDL → AIDL migration for a real hardware interface.
  4. Address SELinux policy changes, VINTF manifest updates, and compatibility matrix versioning required by the migration.
  5. Identify and mitigate common failure, validation.
  6. Understand why Android is adopting Rust for system-level development.
  7. Explain how AIDL-based HALs fit into the modern Android architecture.
  8. Create and integrate a Rust-based HAL in AOSP.
  9. Implement Binder IPC communication between Android services and Rust HALs.
  10. Identify common challenges when developing and debugging Rust HAL services.

References

Session Categories

Technology architecture
Engineering practice - productivity, debugging

Which track are you applying for?

Android Open Source Project (AOSP)

Speakers

Ankit Siddhapura Technical Lead - Embedded Software | Silicon Signals Pvt. Ltd

Ankit Siddhapura is a Technical lead in embedded software at Silicon Signals pvt ltd.

A dedicated contributor to the Android Open Source Project (AOSP) and the Android custom ROM.

Embedded Software Engineer with expertise in Android/Linux BSP, AOSP camera stack, and IoT solutions. Experienced with Qualcomm, NXP, and Amlogic platforms, camera HAL, and wireless protocols like Wi-Fi, Zigbee, and LoRaWAN.

Ankit Siddhapura
https://www.linkedin.com/in/ankit-siddhapura/
Jaimin Kalariya Senior Embedded Software Engineer | Silicon Signals Pvt. Ltd.

A dedicated Android Custom ROM (LineageOS) Device maintainer & contributor.


Passionate Android Embedded Software Engineer specializing in open-source development and AOSP contributions. Expert in the Android ecosystem (framework, HALs, Kernel, applications) for developing cutting-edge systems that maximize Android's capabilities.

Jaimin Kalariya