Hi Bill, I am trying to build the Pixel6 AOSP&&kernel followed by below link.
https://source.android.com/setup/build/downloading https://source.android.com/setup/build/building-kernels#customize-build Here is my step: For AOSP: 1. mkdir android-code && cd android-code 2. repo init -u https://android.googlesource.com/platform/manifest -b android-12.1.0_r2 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 On Tuesday, March 22, 2022 at 7:09:51 AM UTC+8 Bill Yi wrote: > Android 12L source code is now available. The following builds, tags, and > devices are supported: > - SP2A.220305.013.A3, android-12.1.0_r2, Pixel 6, Pixel 6 Pro > > > The corresponding factory images, ota images, and proprietary binaries are > available at > https://developers.google.com/android/images > https://developers.google.com/android/ota > https://developers.google.com/android/drivers > > We have pushed the corresponding kernel projects for the following devices: > > Tag Project Branch > android-12.1.0_r0.6 device/google/raviole-kernel > android-gs-raviole-5.10-android12L > > bill > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/af58a81a-036b-442b-b0c5-67b54933a4bfn%40googlegroups.com.
