m clobber # BP1A.250505.005 android-15.0.0_r32 Android15 Pixel 6, Pixel 6 Pro, Pixel 6a, Pixel 9, Pixel 9 Pro, Pixel 9 Pro Fold, Pixel 9 Pro XL, Pixel Tablet 2025-05-05 # Source: https://source.android.com/docs/setup/reference/build-numbers # Binaries: https://developers.google.com/android/drivers#tangorpro # Build Steps: https://source.android.com/docs/automotive/start/pixelxl # Google Play Services: https://developer.android.com/training/cars/testing/aaos-on-pixel # Build Numbers: https://source.android.com/docs/setup/reference/build-numbers # Prepare ccache rm -rf /mnt/ccache mkdir /mnt/ccache mount --bind /root/.ccache /mnt/ccache REPO_ALLOW_SHALLOW=0 repo init -c -u https://android.googlesource.com/platform/manifest -b android-15.0.0_r32 --use-superproject --partial-clone --partial-clone-exclude=platform/frameworks/base --clone-filter=blob:limit=10M repo sync -c --no-tags --no-clone-bundle --force-sync curl --output - https://dl.google.com/dl/android/aosp/google_devices-tangorpro-bp1a.250505.005-fb23c626.tgz | tar -xzvf - tail -n +315 extract-google_devices-tangorpro.sh | tar -zxvf - . build/envsetup.sh lunch aosp_tangorpro_car-b1pa-userdebug # build_build_var_cache # lunch m m android.hardware.automotive.vehicle@2.0-default-service android.hardware.automotive.audiocontrol-service.example make dist tar -cf vendor.tar -C $OUT vendor # use vendor.tar # use out/dist/aosp_tangorpro_car-ota-root.zip # use $OUT/vendor_boot.img ### == Locally == # OEM Unlock adb reboot bootloader fastboot flashing unlock adb reboot fastboot fastboot flash vendor_boot vendor_boot.img fastboot reboot recovery # Select: - Apply update from ADB adb sideload aosp_tangorpro_car-ota-root.zip # Vendor Sync mkdir product && tar -xvf vendor.tar -C product export ANDROID_PRODUCT_OUT=product #Temporary disable the userdata checkpoint adb wait-for-device root; sleep 3; adb shell vdc checkpoint commitChanges; sleep 2 #Enable remount adb remount && sleep 2 && adb reboot && echo "rebooting the device" && adb wait-for-device root && sleep 5 && adb remount adb sync vendor && adb reboot # Brightness adb shell settings put system screen_brightness 255 # Boot when charging adb reboot bootloader fastboot oem off-mode-charge 1 fastboot reboot # Mock location adb unroot adb shell cmd location set-location-enabled true adb root adb shell appops set 0 android:mock_location allow adb shell cmd location providers add-test-provider gps adb shell cmd location providers set-test-provider-enabled gps true adb shell cmd location providers set-test-provider-location gps --location 39.971368,32.9318579 #To verify adb shell dumpsys location | grep "last location" # Alternatives haven't tested: # - android-15.0.0_r4 : https://dl.google.com/dl/android/aosp/google_devices-tangorpro-ap3a.241105.007-2bf56572.tgz # - android-13.0.0_r55 : https://dl.google.com/dl/android/aosp/google_devices-tangorpro-td2a.230203.028-d0eca6a8.tgz