Files
oxmc 60f9ac23d8 manifest: add x86_64 emulator (goldfish/ranchu) target
repo.yml/repo-shallow.yml local-manifest config, device project entry,
webview-patches vendor fragment, and build docs for pawlet_x86_64_emulator.
2026-09-10 01:01:36 -07:00
..

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:

  1. Clone PawletOS-Build and install its dependencies:
git clone https://git.oxmc.me/PawletOS/PawletOS-Build
cd PawletOS-Build
pip3 install -r requirements.txt
  1. Download the repo.yml config 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
  1. Run the build script (clones source and syncs it based on repo.yml):
python3 ./environ.py --applyPatches
  1. source the environment:
. AOSP-Source/build/envsetup.sh
  1. Select the device and build variant:
lunch pawlet_x86_64_emulator-trunk_staging-userdebug
  1. Compile:
make -j$(nproc)
  1. Run:
export ANDROID_PRODUCT_OUT=$(pwd)/AOSP-Source/out/target/product/x86_64_emulator
emulator