-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
45 lines (36 loc) · 1.21 KB
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Copyright (C) 2024-2025 The TeamWin Recovery Project
# SPDX-License-Identifier: Apache-2.0
#
# health hal
PRODUCT_PACKAGES += \
ifeq ($(LAZY_INCLUDE_FASTBOOTD), true)
# fastbootd
PRODUCT_PACKAGES += \
fastbootd
PRODUCT_PROPERTY_OVERRIDES += \
ro.fastbootd.available=true
endif
TARGET_RECOVERY_DEVICE_MODULES += \
libion
RECOVERY_LIBRARY_SOURCE_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/libion.so
# qcom decryption
PRODUCT_PACKAGES += \
qcom_decrypt \
qcom_decrypt_fbe
PRODUCT_PROPERTY_OVERRIDES += \
vendor.gatekeeper.disable_spu=true \
ro.crypto.dm_default_key.options_format.version=2
# oem otacerts
PRODUCT_EXTRA_RECOVERY_KEYS += \
$(DEVICE_PATH)/security/realmelocal \
$(DEVICE_PATH)/security/realmespecial
ifeq ($(LAZY_INCLUDE_PREBUILT_ICU_LIBS), true)
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*.so,$(LOCAL_PATH)/prebuilt/icu_libraries,$(TARGET_COPY_OUT_RECOVERY)/root/system/lib64)
endif