This device configuration is intented to be run on a Google Pixel Tablet (tangorpro)
See also aosp-docker for a Docker-based tool chain and android-build-tools for additonal sync and flash scripts.
See here for setup of AOSP repository and dependencies.
- Download binaries for tangorpro from here according to branch and build id
- Extract with
tar -xvf google_devices-tangorpro-*.tgz - Copy
*extract-google_devices-tangorpro.sh*to*$AOSP_HOME* - Execute with
bash extract-google_devices-tangorpro.sh - Drivers will be extracted to
vendor/google_devices/tangorpro - Clean up with
rm extract-google_devices-tangorpro.sh
This follows the normal AOSP build approach, e.g.
cd $AOSP_HOMEsource build/envsetup.shlunch whaleshark_tangorpro-bp1a-userdebug*m -j$(nproc --all)m -j$(nproc --all) android.hardware.automotive.vehicle@2.0-default-service
*Info: With Android 15, release flags have been introduced. See also ${AOSP_HOME}/build/release/release_configs
- Copy or rsync the
$ANDROID_PRODUCT_OUTfolder to localhost, if built remotely - Check that
$ANDROID_PRODUCT_OUTis set (e.g.export ANDROID_PRODUCT_OUT=$(pwd)) adb reboot bootloaderfastboot flashing unlockfastboot flash bootloader $ANDROID_PRODUCT_OUT/bootloader.img(could be skipped)fastboot reboot bootloaderfastboot -w flashall- You should see the device booting up, but being stuck at a black screen due to missing vendor sync
Currently, there is an issue with vendor partition, so it needs to be adb synced manually, but these are the steps:
- Set
$ANDROID_PRODUCT_OUTto the folder containing thevendorfolder adb rootadb remount(eventually you need toadb shell vdc checkpoint commitChanges)adb rebootadb root && adb remountadb sync vendor && adb reboot- The device should now be fully functional and welcoming you with the Dashboard window.
See also this article as a reference for Nexus and Pixel devices. Additionally you can use my script collection here for an automated sync and device flash.
- Android Automotive service is not build automatically even though it is set in the product-package definition.
- While building the firmware, some vendor files are missing in the image, they must be pushed manually via
adb sync vendor