Update or polish the AOSP Internals reference book (the chapters at the repo root -- NN-slug.md -- plus the appendices and the generated agents/ Part-skills) so it is accurate and current for a newly-synced or newer AOSP/Android source tree. Use this whenever the user says anything like "polish the book for Android…
Compare two AOSP releases (e.g. android-16 vs android-17) and turn the diff into a written report of the important platform changes. Use this whenever the user wants to know what changed between two Android/AOSP versions, generate an "Android N updates" report or appendix, diff two repo manifests/branches, find…
Patterns for writing technical book chapters in Markdown with Mermaid diagrams, served via ProperDocs (a MkDocs fork). Use this skill whenever writing, editing, reviewing, adding, removing, or renaming book chapters, organizing multi-chapter content, fixing Mermaid rendering issues, or changing the book's structure.…
AOSP Part XII — AI & Devices. Use when reasoning about on-device ML in AOSP, NNAPI, the AppFunctions framework for assistant integration, the Computer Control flow, CompanionDeviceManager, or virtual devices (virtual displays/inputs/cameras for cross-device experiences), or the NpuManager module for on-device neural…
AOSP Internals — Appendices. Use when looking up a key file path (per-chapter table of the most important AOSP source files: build, init, kernel, HAL, framework services, system apps, infrastructure) or the meaning of an AOSP-specific acronym/term (Treble, VINTF, GKI, APEX, AIDL, HIDL, etc.), why Kotlin is absent from…
AOSP Part VIII — Connectivity. Use when reasoning about Networking (ConnectivityService, Wi-Fi framework, netd, DNS resolver, VPN, tethering, NetworkSecurityConfig, VCN, Thread mesh), Telephony (TelephonyManager, PhoneInterfaceManager, RIL/RILD, modem AIDL, IMS framework, emergency calling), Bluetooth (Bluetooth…
AOSP Part XIV — Device Support. Use when reasoning about per-architecture support (ARM 32/64, x8664, RISC-V, ABI matrix, toolchains), the QEMU-based Android emulator (AVD format, hardware acceleration, guest kernel), DevicePolicyManager (work profiles, fully-managed devices, COPE, enrollment), Android Automotive / TV…
AOSP Part VI — Framework Core. Use when reasoning about systemserver's boot sequence (the four boot phases, service registration, Watchdog), the Intent system (Intent matching, IntentFilter, IntentResolver, package visibility, intent verification), Activity & Window Management (ActivityTaskManagerService…
AOSP Part I — Getting Started. Use when reasoning about the AOSP source tree at a high level, the repo/manifest workflow, the Soong (Android.bp) and Bazel/Kleaf build systems, lunch targets, the m build entry point, or aconfig feature flags (build-time vs. runtime, release configs, ramp/cleanup workflows). Chapters…
AOSP Part XIII — Infrastructure. Use when reasoning about Mainline modules / APEX (Project Mainline, APEX format/manifest/signing, apexd, module catalog, SDK Extensions, module boundaries), OTA updates (A/B updates, updateengine, payload format, Virtual A/B with snapshots, rollback protection), Virtualization (Android…
AOSP Part IV — Native Services & Media. Use when reasoning about surfaceflinger, audioserver, mediaserver, cameraserver, the graphics pipeline (BufferQueue, GraphicBuffer, OpenGL ES / Vulkan / Skia / HWUI, RenderThread, layer composition), the animation system (Choreographer, ValueAnimator, RenderNode animations…
AOSP Part XV — Practical. Use when reasoning about building a custom AOSP ROM end-to-end: picking a target device, syncing source, applying vendor blobs, branding, building, flashing the resulting images, and shipping OTA updates on your own channel. Chapter 65 (Custom ROM Guide).
AOSP Part V — Runtime. Use when reasoning about ART (dex2oat, AOT/JIT, baseline profiles, GC, oat/vdex/odex files, class loaders, JNI bridge) or the Native Bridge (Berberis, Houdini, cross-architecture native code execution, intercepting libc/JNI calls). Chapters 18–19.
AOSP Part IX — Security. Use when reasoning about SELinux on Android, Keystore/Keymint, Trusty TEE, gatekeeper/weaver, Android Verified Boot, dm-verity, hardware-backed attestation, Credential Manager (CredentialManagerService, credential providers, passkeys/FIDO2, password and autofill integration, digital…
AOSP Part XI — System Apps. Use when reasoning about SystemUI (status bar, notification shade, keyguard, Quick Settings, Monet/dynamic color), Launcher3 (model loader, Recents/Overview, gesture nav, all-apps, predictions, work profile), or the Settings app (SettingsProvider, SettingsLib, search index, slice surface).…
AOSP Part XII — AI & Devices. Use when reasoning about on-device ML in AOSP, NNAPI, the AppFunctions framework for assistant integration, the Computer Control flow, CompanionDeviceManager, or virtual devices (virtual displays/inputs/cameras for cross-device experiences), or the NpuManager module for on-device neural…
AOSP Internals — Appendices. Use when looking up a key file path (per-chapter table of the most important AOSP source files: build, init, kernel, HAL, framework services, system apps, infrastructure) or the meaning of an AOSP-specific acronym/term (Treble, VINTF, GKI, APEX, AIDL, HIDL, etc.), why Kotlin is absent from…
AOSP Part VIII — Connectivity. Use when reasoning about Networking (ConnectivityService, Wi-Fi framework, netd, DNS resolver, VPN, tethering, NetworkSecurityConfig, VCN, Thread mesh), Telephony (TelephonyManager, PhoneInterfaceManager, RIL/RILD, modem AIDL, IMS framework, emergency calling), Bluetooth (Bluetooth…