sfX-android / android_vendor_extendrom

modifying / extending the Android build process
Apache License 2.0
18 stars 8 forks source link

Clarification needed for mkbootimg.mk instructions #20

Closed Gooberpatrol66 closed 1 year ago

Gooberpatrol66 commented 1 year ago

copy the whole (matching to your device..) $(INSTALLED_BOOTIMAGE_TARGET): block from build/core/Makefile

my Makefile has multiple $(INSTALLED_BOOTIMAGE_TARGET): blocks in it. How do I know which one to copy?

add: @/bin/bash $(ROOT_BOOT_BIN) $$PWD/$@ in the block of $(INSTALLED_BOOTIMAGE_TARGET): , AFTER the MKBOOTIMG line and BEFORE any AVB line

none of the $(INSTALLED_BOOTIMAGE_TARGET): blocks in the file contain a MKBOOTIMG line.

there is a block called $(INSTALLED_VENDOR_BOOTIMAGE_TARGET): which contains a MKBOOTIMG line.

steadfasterX commented 1 year ago

well that depends usually on e.g. the Android version and device vendor

Gooberpatrol66 commented 1 year ago

It's lineageos 19.1, oneplus nord n200

steadfasterX commented 1 year ago

check out https://github.com/sfX-android/android_vendor_extendrom/wiki/EXTENDROM_PREROOT_BOOT-NG