aospbooks logo

aospbooks

Source-referenced technical books on Android internals

aospbooks publishes open technical books that explain how Android works from the inside — written against the real source trees, with claims referencing actual file paths and line numbers rather than folklore. The books are published openly for community review: if you spot an error or a missing detail, please open an issue or a pull request on the corresponding repository at github.com/aospbooks.

AOSP Internals

A Developer's Guide to the Android Open Source Project

A comprehensive walk through the full AOSP stack, bottom to top — boot and init, the kernel and Bionic, Binder IPC, HALs, the graphics and render pipeline, ART, system_server and the framework services, apps, security, and more — across 67 chapters plus appendices. An llms.txt index is available for AI assistants.

Android Emulator Internals

A Developer's Guide to the Android Emulator

The Android Emulator from the host process down to the guest kernel — the QEMU fork, CPU acceleration, the android-emu core, the gfxstream graphics pipeline, snapshots and Quickboot, networking, the gRPC control plane, and the Qt/WebRTC user interfaces — across 28 chapters plus appendices.

How These Books Are Made

These books are created with the assistance of AI coding agents (Claude Code), guided and directed by human authors. The workflow looks like this:

We believe this approach lets us cover large, complex codebases at a depth and pace that would be difficult otherwise.