Search code examples
androidandroid-source

Android 13 AOSP building can not flash image


I'm trying to build Android 13 and flash it to my device, Pixel 3a.

I followed the documentation, https://source.android.com/docs/setup/start and https://source.android.com/docs/setup/build/building.

mkdir aosp
cd aosp
git config --global user.name Your Name
git config --global user.email you@example.com
repo init -u https://android.googlesource.com/platform/manifest -b android-13.0.0_r50

repo sync

source build/envsetup.sh

lunch aosp_bluejay-userdebug

m

cd ~/aosp/out/target/product/bluejay (contains all imgs like boot.img, system.img). i dont see vendor.img???

adb reboot bootloader

fastboot flashall -w

When it finishes, it remains at fastboot screen, so I click start. I goes to Google logo, then reboots to bootloader. My fastboot version is b4s4-0.4-7773694.

Does anyone know why it's rebooting to after Google logo? Is there a log that I can look at like dmesg or logcat?

I have built for emulator lunch aosp_sdk_x86_64. it flash successfully. T


Solution

  • You are missing the google driver binaries (usually called vendor blobs).

    https://developers.google.com/android/drivers