PBRP Build Flags - PitchBlackRecoveryProject/manifest_pb GitHub Wiki

This section provides custom PBRP Build Flags that can be used while building for devices. These flags are expected to used inside BoardConfig.mk of your device tree.

PBRP GO Support DEPRECIATED in 3.0.0

PBRP GO is a lite version of the real PBRP for devices like mtk which have limited recovery partition size. The recovery built will only support limited themes.

PB_GO := TRUE

Disable dm-verity by default

dm-verity is enabled by default in PBRP, this build flag disables that by default.

PB_DISABLE_DEFAULT_DM_VERITY := true

Force Use of dd for Flashing Recovery

There are many old devices (like mt65xx variants) which follow traditional approach to flash recovery which can cause issues while flashing. This is a EXPERIMENTAL flag, enable only if u are facing the same kind of issue.

PB_FORCE_DD_FLASH := TRUE

Specific Torch Path

For Specific Device Source path in PBRP, use this flag.

For e.g., PB_TORCH_PATH := /sys/class/leds/flashlight