38 lines
1.0 KiB
Diff
38 lines
1.0 KiB
Diff
From e45f35cec9cf409e459abc546069ce9bec6900d1 Mon Sep 17 00:00:00 2001
|
|
From: harvey186 <harvey186@hotmail.com>
|
|
Date: Wed, 16 Oct 2024 08:35:50 +0200
|
|
Subject: [PATCH] dive_phh_treble_legacy
|
|
|
|
---
|
|
base.mk | 3 +++
|
|
board-base.mk | 2 ++
|
|
2 files changed, 224 insertions(+)
|
|
|
|
|
|
diff --git a/base.mk b/base.mk
|
|
index 43e261b..96b2139 100644
|
|
--- a/base.mk
|
|
+++ b/base.mk
|
|
@@ -1,3 +1,6 @@
|
|
+
|
|
+PRODUCT_COMPRESSED_APEX := true
|
|
+
|
|
#Huawei devices don't declare fingerprint and telephony hardware feature
|
|
#TODO: Proper detection
|
|
PRODUCT_COPY_FILES := \
|
|
diff --git a/board-base.mk b/board-base.mk
|
|
index 2cb5dbc..2cd1355 100644
|
|
--- a/board-base.mk
|
|
+++ b/board-base.mk
|
|
@@ -9,4 +9,6 @@ DEVICE_FRAMEWORK_MANIFEST_FILE := device/phh/treble/framework_manifest.xml
|
|
BOARD_ROOT_EXTRA_FOLDERS += bt_firmware sec_storage efs persist
|
|
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
|
|
|
|
+BOARD_EXT4_SHARE_DUP_BLOCKS := false
|
|
+
|
|
BOARD_ROOT_EXTRA_SYMLINKS := $(filter-out $(BOARD_ROOT_EXTRA_SYMLINKS),/mnt/vendor/persist:/persist)
|
|
|
|
--
|
|
2.34.1
|
|
|