Immanuel Raj

Immanuel Raj

SysOps Engineer, rtCamp
Lightning Talk IndiaFOSS 2025

AOSP E2E: Internals, Security, Optimization - Building ROM & Automotive

AOSP E2E: Internals, Security, Optimization - Building ROM & Automotive

Session Description

In this talk, I’ll take you on a journey through the depths of the Android Open Source Project (AOSP) — from creating a custom AOSP extension for automotive devices, to reviving an old smartphone far beyond its official support.

I’ll start with how I built a custom AOSP repo that can turn virtually any device into an Android Automotive system with just a few additions to the build. This modular setup makes it easy for developers and hobbyists to experiment with automotive-grade AOSP without needing expensive setups.

Next, I’ll dive into my journey with the Xiaomi Mi A2 (SDM660), a device launched in 2018 and abandoned in 2020. I’ll share how I kept it alive through Android 15 (and potentially 16), improving its performance through deep debugging, optimization, and smart usage of Android features like Android Go configurations. This part includes real-world debugging stories, performance tuning tips, and practical AOSP development strategies.

We’ll also explore general AOSP security features, why they're often overlooked, and how enabling them — alongside lesser-known optimizations — can result in smoother, more secure Android experiences, even on older hardware.