# 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.

- Skill: `aospbooks/aosp-kernel-and-boot` (Agent Skill)
- Install (CLI): `npx skillmds@latest add aospbooks/aosp-kernel-and-boot`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aospbooks/aosp-kernel-and-boot/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: aospbooks (https://skillmd.com/u/aospbooks)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/aospbooks/aosp-kernel-and-boot

---


# 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`

