Как интегрировать собственное ядро ​​Android для Pixel 6a (Bluejay) версии AOSP 12Android

Форум для тех, кто программирует под Android
Ответить Пред. темаСлед. тема
Anonymous
 Как интегрировать собственное ядро ​​Android для Pixel 6a (Bluejay) версии AOSP 12

Сообщение Anonymous »

Мои шаги по созданию AOSP следующие:
  • 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
Я прошил zip-образ следующей командой
fastboot -w update out/target/product/bluejay/aosp_bluejay-img-eng.host.zip
Шаги сборки ядра следующие 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 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
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
with above command Image.lz4 will be generated in the following path out/android-gs-pixel-5.10/dist/.
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
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Android»