How aospbooks/aosp-internal-book works
AOSP Internals is a source-referenced technical book about Android’s architecture, with an accompanying manifest snapshot/diff tool and Mermaid diagram utilities. The main reader workflow is to consult the chapter index, choose relevant chapters, then use their AOSP paths and line references to verify details against source. The graph groups chapter nodes by architectural layer and includes the documented AI-agent entry point and auxiliary runtime tools. Edges reflect README workflow statements or shown code; chapter-to-chapter relationships are omitted because no such calls are established.
Main entry points: manifest_snapshot.py Manifest Snapshot Tool · llms.txt Chapter Index · render_mermaid_png.py Diagram PNG Tool · renderer.py Mermaid SVG Renderer
Components 22
AOSP Architecture Book
- Chapter Index
llms.txt - AOSP Chapters
01-introduction.md
Platform Chapters
- Boot And Kernel
04-boot-and-init.md - Native Foundations
07-bionic-and-linker.md - IPC And HAL
09-binder-ipc.md - Native Services
12-native-services.md - Graphics And Media
13-graphics-render-pipeline.md - ART And Bridge
18-art-runtime.md
Framework And Apps
- System Server
20-system-server.md - Activity And Window
22-activity-and-window.md - Packages And Content
26-package-manager.md - System Apps
48-systemui.md
Platform Extensions
- Connectivity
35-networking.md - Security
40-security.md - AI And Devices
51-ai-appfunctions.md - Updates And Virtualization
54-mainline-modules.md
Manifest And Diagram Tools
- Manifest Snapshot Tool
tools/manifest_snapshot.py - Manifest Snapshots
manifest-snapshots/README.md - Diagram PNG Tool
tools/render_mermaid_png.py - Mermaid SVG Renderer
mkdocs-mermaid-renderer/mkdocs_mermaid_renderer/renderer.py - SVG Cache
Other components
- Engineer / Agent
Connections 9
- Engineer / Agent → Chapter Index: consults
README.md - Chapter Index → AOSP Chapters: lists chapters
README.md - Engineer / Agent → AOSP Chapters: selects chapters
README.md - Engineer / Agent → Manifest Snapshot Tool: runs command
README.md - Manifest Snapshot Tool → Manifest Snapshots: writes snapshots
README.md - Manifest Snapshot Tool → Manifest Snapshots: compares snapshots
README.md - Engineer / Agent → Diagram PNG Tool: requests renders
README.md - Diagram PNG Tool → Mermaid SVG Renderer: uses renderer
tools/render_mermaid_png.py - Mermaid SVG Renderer → SVG Cache: reads and writes
mkdocs-mermaid-renderer/mkdocs_mermaid_renderer/renderer.py