Aosp Kernel And Boot

AOSP Part II — Kernel & Boot. Use when reasoning about Android's bootloader handoff, init.rc / first-stage init / second-stage init, the Generic Kernel Image (GKI) and KMI stability, dm-verity / Android Verified Boot, the kernel's Android-specific subsystems (binder driver, ashmem→memfd, low-memory killer, PSI), vendor modules, or system properties (property_service, property contexts, ro/persist/sys/build prefixes). Chapters 4–6.

aospbooks 16899a9 1.5 KB Updated

File contents

AOSP Part II — Kernel & Boot

How an Android device boots, how the Generic Kernel Image keeps vendor and platform decoupled, and how system properties fan out across the early-boot trust chain.

Chapters in this Part

  • 04-boot-and-init.md — bootloader handoff, first/second-stage init, init.rc parsing, services and triggers, early-mount, Zygote startup
  • 05-kernel.md — Generic Kernel Image, vendor modules, KMI stability, dm-verity / AVB, Android-specific subsystems
  • 06-system-properties.md — property_service, property contexts/SELinux, persistent properties, ro/persist/sys/build prefixes, getprop/setprop plumbing

When to load which chapter

  • Question mentions init, init.rc, services, triggers, Zygote startup, bootloader → 04-boot-and-init.md
  • Question mentions GKI, KMI, kernel modules, dm-verity, AVB, LMK, PSI, ashmem, memfd → 05-kernel.md
  • Question mentions getprop/setprop, system properties, ro./persist./sys./build. prefixes → 06-system-properties.md

aospbooks/aosp-internal-book/tree/main/agents/_content/parts/kernel-and-boot commit 16899a981a

Frequently asked questions

npx skillmds@latest add aospbooks/aosp-kernel-and-boot