Aosp Runtime
Researchaosp-runtimeAosp Runtime is an Agent Skill for research published in the aospbooks/aosp-internal-book repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/aospbooks/aosp-internal-book/blob/HEAD/agents/claude/skills/aosp-runtime/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/aosp-runtime, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
AOSP Part V — Runtime
The Android Runtime (ART) and the binary translation layer that lets arm-only native code run on x86_64 devices.
Chapters in this Part
18-art-runtime.md— dex2oat, AOT/JIT, baseline profiles, GC (concurrent copying), oat/vdex/odex files, class loaders, JNI bridge19-native-bridge.md— cross-architecture native code execution, Houdini → Berberis, intercepting libc/JNI calls, performance trade-offs
When to load which chapter
- Question mentions ART, dex2oat, AOT, JIT, baseline profiles, GC, oat/vdex/odex, JNI internals →
18-art-runtime.md - Question mentions Berberis, Houdini, native bridge, ARM-on-x86, binary translation →
19-native-bridge.md