- mkdir AOSP_ROOT && cd AOSP_ROOT
- repo init -u ``https://android.googlesource.com/platform/manifest`` -b android-12.1.0_r12
- repo sync
- download google_devices-bluejay-sd2a.220601.001.a1-0145bbe6.tgz copy it to AOSP_ROOT/
- unzip google_devices-bluejay-sd2a.220601.001.a1-0145bbe6.tgz
- run extract-google_devices-bluejay.sh
- source build/envsetup.sh
- lunch aosp_bluejay-userdebug
- make updatepackage -j16
fastboot -w update out/target/product/bluejay/aosp_bluejay-img-eng.host.zip
Шаги сборки ядра следующие
- mkdir KERNEL_ROOT && cd KERNEL_ROOT
- repo init u https://android.googlesource.com/kernel/manifest -b android-gs-bluejay-5.10-android12L-d2
- repo sync
- BUILD_CONFIG=private/devices/google/bluejay/build.config.bluejay build/build.sh
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 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
- kernel : https://source.android.com/docs/setup/b ... ng-kernels
- AOSP : https://source.android.com/docs/setup/build/building
Solution:
I found solution the solution above mentioned problem follow the at 4th step and remaining all are same
- LTO=full BUILD_AOSP_KERNEL=1 ./build_bluejay.sh
simply copy the Image.lz4 to the device kernel(AOSP_ROOT/device/google/bluejay-kernel/) directory and build the AOSP source code and flash it onto the devic it will work.
Подробнее здесь: https://stackoverflow.com/questions/757 ... 12-version