My AOSP building steps are as follows
mkdir AOSP_ROOT && cd AOSP_ROOTrepo init -u ``https://android.googlesource.com/platform/manifest`` -b android-12.1.0_r12repo syncdownload google_devices-bluejay-sd2a.220601.001.a1-0145bbe6.tgz copy it to AOSP_ROOT/unzip google_devices-bluejay-sd2a.220601.001.a1-0145bbe6.tgzrun extract-google_devices-bluejay.shsource build/envsetup.shlunch aosp_bluejay-userdebugmake updatepackage -j16
i flashed the zip image with following command
fastboot -w update out/target/product/bluejay/aosp_bluejay-img-eng.host.zip
Kernel building steps are as follows
mkdir KERNEL_ROOT && cd KERNEL_ROOTrepo init uhttps://android.googlesource.com/kernel/manifest-b android-gs-bluejay-5.10-android12L-d2repo syncBUILD_CONFIG=private/devices/google/bluejay/build.config.bluejay build/build.sh
with above commands i got Image.lz4 in the path out/android-gs-pixel-5.10/dist i tried to flash the Image.lz4 with command
fastboot boot out/android-gs-pixel-5.10/dist/Image.lz4
then also the device is not booted then i tried to flash the boot.img with the following command
fastboot flash boot out/android-gs-pixel-5.10/dist/boot.img
now the device is stuck at google logo it is not booting. I have also try to copy all files in
KERNEL_ROOT/out/android-gs-pixel-5.10/dist to AOSP_ROOT/device/google/bluejay-kernel and export TARGET_PREBUILT_KERNEL=/KERNEL_ROOT/out/android-gs-pixel-5.10/dist/Image.lz4 and then go to the android folder to make bootimage. The Pixel 6a still couldn't boot up after that. hoping for your help regard this!!
i developed android custom kernel for pixel 6a according to the official documention provided by google
and i embedded kernel images onto the aosp still it is not working
I have managed to flash the kernel to
Pixel 5a(Android 13) successfully, here are the tools I used to flash the custom kernel:boot.imgto the device directly);install these apks(try download the latest version) to your device, I also have modified the
anykernel.shfor myPixel 5a:dtbo_barbet.img,Image.lz4,Image.lz4-dtb,ramdisk.lz4from your kernel build directory(mine is:out/android-msm-pixel-4.19/dist) toAnyKernel3root directory;AnyKernel3/modules/system/lib/modules;AnyKernel3directory:zip -r9 kernel.zip * -x .git README.md *placeholder;kernel.zipto your device, somewhere likesdcard/Download;KernelFlasherapp, maybe backup the old kernel file first;KernalFlasherapp, selectSlot A-Flash-Flash AK3 Zip(chose thekernel.zipfile you created);