Skip to content

Commit

Permalink
Update BoardConfig.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
Miracleprjkt authored Dec 13, 2023
1 parent 57c70b3 commit f30c089
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ BOARD_AVB_RECOVERY_ADD_HASH_FOOTER_ARGS += \
--prop com.android.build.boot.security_patch:$(PLATFORM_SECURITY_PATCH)

# Kernel
BOARD_KERNEL_CMDLINE := \
bootopt=64S3,32N2,64N2 \
androidboot.selinux=permissive

BOARD_KERNEL_CMDLINE := bootopt=64S3,32N2,64N2 androidboot.selinux=permissive
BOARD_INCLUDE_RECOVERY_DTBO := true
BOARD_BOOTIMG_HEADER_VERSION := 2
BOARD_KERNEL_BASE := 0x40078000
Expand Down Expand Up @@ -81,6 +78,14 @@ TARGET_COPY_OUT_VENDOR := vendor
RECOVERY_SDCARD_ON_DATA := true
TW_INCLUDE_NTFS_3G := true

# Verified Boot
BOARD_AVB_ENABLE := true
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3
BOARD_AVB_RECOVERY_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
BOARD_AVB_RECOVERY_ALGORITHM := SHA256_RSA4096
BOARD_AVB_RECOVERY_ROLLBACK_INDEX := 1
BOARD_AVB_RECOVERY_ROLLBACK_INDEX_LOCATION := 1

# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 40894464
Expand Down

0 comments on commit f30c089

Please sign in to comment.