repo.yml/repo-shallow.yml local-manifest config, device project entry, webview-patches vendor fragment, and build docs for pawlet_x86_64_emulator.
Device specific configuration to build AOSP Android 16 (android-16.0.0_r4) for the Android Emulator (goldfish/ranchu, x86_64).
Boots via the emulator binary (QEMU/ranchu, direct kernel boot) — there is no
flashable image or mkimg.sh-equivalent step, unlike the rpi/ targets.
How to build (Ubuntu Server 26.04 LTS):
After setting up the Android build environment, do:
- Clone PawletOS-Build and install its dependencies:
git clone https://git.oxmc.me/PawletOS/PawletOS-Build
cd PawletOS-Build
pip3 install -r requirements.txt
- Download the
repo.ymlconfig for this target:
curl -o repo.yml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/emulator/repo.yml
Or optionally, to reduce download size with a shallow clone:
curl -o repo.yml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/emulator/repo-shallow.yml
- Run the build script (clones source and syncs it based on
repo.yml):
python3 ./environ.py --applyPatches
- source the environment:
. AOSP-Source/build/envsetup.sh
- Select the device and build variant:
lunch pawlet_x86_64_emulator-trunk_staging-userdebug
- Compile:
make -j$(nproc)
- Run:
export ANDROID_PRODUCT_OUT=$(pwd)/AOSP-Source/out/target/product/x86_64_emulator
emulator