Download some vendor binary for your device.
https://developers.google.com/android/blobs-preview
Which branch is fitable for your device.
https://source.android.com/docs/setup/reference/build-numbers#source-code-tags-and-builds
Download sourcecode
repo init --partial-clone -b android-14.0.0_r71 -u https://android.googlesource.com/platform/manifest
repo sync -c -j8
Build
source build/envsetup.sh
lunch aosp_shiba-ap2a-userdebug
m
Flash Phone
adb reboot bootloader
export ANDROID_PRODUCT_OUT=V:\pixel8\out\target\product\shiba
fastboot flashall -w