Hi Bill,
I am trying to build the Pixel6 AOSP&&kernel followed by below link.
1.
mkdir android-code && cd android-code
3. repo sync
4. download google_devices-oriole-sp2a.220305.013.a3-04c512f4.tgz copy it to android-code/
5. unzip google_devices-oriole-sp2a.220305.013.a3-04c512f4.tgz
6. run extract-google_devices-oriole.sh
7. source build/envsetup.sh
8. lunch aosp_oriole-userdebug
9. make -j16
a. fastboot flashall -w
For kernel:
1. mkdir android-kernel && cd android-kernel
2. repo init -u
https://android.googlesource.com/kernel/manifest -b android-gs-raviole-5.10-android12L
3. repo sync
4. build/build.sh
I could see the logs below after I build successfully.
--------------------------------------------------------------------------------------------------------------------------
Files copied to /mnt/code/shaoyang/kernel/out/android-gs-pixel-5.10/dist
vendor_ramdisk-oriole.img is LZ4 compressed boot image created at boot.img
Signing the boot.img...
vendor boot image created at /mnt/code/shaoyang/kernel/out/android-gs-pixel-5.10/dist/vendor_boot.img
--------------------------------------------------------------------------------------------------------------------------
Note that the boot.img and vendor_boot.img had already been generated, then I use “fastboot flash boot boot.img” and “fastboot flash vendor_boot vendor_boot.img”to flash the boot.img and vendor_boot.img.
Unfortunately, the Pixel6 couldn’t boot up, it always stay in the fastboot mode.
I have also try to copy all files in android-kernel/out/android-gs-pixel-5.10/dist to android-code/device/google/raviole-kernel and export TARGET_PREBUILT_KERNEL=/android-kernel/out/android-gs-pixel-5.10/dist/Image.lz4
and then go to the android folder to make bootimage. The Pixel 6 still couldn't boot up after that.
Could you please help if you happen to know how to build the right Pixel6 kernel?
Best Regards
Shaoyang