Skip to content

Commit

Permalink
fleur: pbrp-ify
Browse files Browse the repository at this point in the history
Signed-off-by: ShazuxD <[email protected]>
  • Loading branch information
ShazuxD authored and ShazuxD committed Jul 26, 2023
1 parent 19bf13d commit 9c0de02
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/twrp_fleur.mk
$(LOCAL_DIR)/omni_fleur.mk

COMMON_LUNCH_CHOICES := \
twrp_fleur-eng
omni_fleur-eng
5 changes: 5 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,8 @@ TW_BACKUP_EXCLUSIONS := /data/fonts
TW_INCLUDE_CRYPTO := true
TW_INCLUDE_CRYPTO_FBE := true
TW_INCLUDE_FBE_METADATA_DECRYPT := true

# PBRP
PB_DISABLE_DEFAULT_DM_VERITY := true
PB_TORCH_PATH := "/tmp/flash" # fake path. Flash will not work

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TWRP Device Configuration for Poco M4 Pro 4g/Redmi Note 11s
# PBRP Device Configuration for Poco M4 Pro 4g/Redmi Note 11s

## Device specifications

Expand All @@ -23,7 +23,7 @@

## Device picture

![fleur/miel](https://github.com/ShazuxD/extras/raw/main/IMG/b09176f07d84e119623b4d218bfea455.png)
![fleur/miel](https://github.com/MT6781/.github/raw/main/b09176f07d84e119623b4d218bfea455.png)

# Status
Current state of features (from [here](https://twrp.me/faq/OfficialMaintainer.html)):
Expand Down
6 changes: 3 additions & 3 deletions twrp_fleur.mk → omni_fleur.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
# Installs gsi keys into ramdisk, to boot a developer GSI with verified boot.
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)

# Inherit some common twrp stuff.
$(call inherit-product, vendor/twrp/config/common.mk)
# Inherit some common pbrp stuff.
$(call inherit-product, vendor/pb/config/common.mk)

# Inherit from fleur device
$(call inherit-product, device/xiaomi/fleur/device.mk)

PRODUCT_DEVICE := fleur
PRODUCT_NAME := twrp_fleur
PRODUCT_NAME := omni_fleur
PRODUCT_BRAND := xiaomi
PRODUCT_MODEL := fleur
PRODUCT_MANUFACTURER := xiaomi

0 comments on commit 9c0de02

Please sign in to comment.