This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtwrp_oppo6833.mk
79 lines (69 loc) · 2.16 KB
/
twrp_oppo6833.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 30
# Dynamic
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
# Inherit from TWRP common configurations
$(call inherit-product, vendor/twrp/config/common.mk)
# enable v-ab ota
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
$(call inherit-product, device/alps/oppo6833/device.mk)
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,$(LOCAL_PATH)/recovery/root,recovery/root)
# Extra required packages
# Boot control HAL
# Health HAL
# Storage health HAL
# A/B support
# Write flags to the vendor space in /misc partition
PRODUCT_PACKAGES += \
fastbootd \
\
\
\
\
otapreopt_script \
cppreopts.sh \
update_engine \
update_verifier \
\
misc_writer \
\
update_engine_sideload \
libmalistener
PRODUCT_PACKAGES_DEBUG += \
sg_write_buffer \
f2fs_io \
check_f2fs \
bootctl \
update_engine_client
# PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete. Use shared library module instead.
#PRODUCT_STATIC_BOOT_CONTROL_HAL := \
# libcutils \
# libgptutils \
# libz
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := oppo6833
#PRODUCT_PLATFORM := mt6833
PRODUCT_NAME := twrp_oppo6833
PRODUCT_BRAND := alps
PRODUCT_MODEL := oppo6833
PRODUCT_MANUFACTURER := alps
# Hack: Set vendor patch level
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.build.security_patch=2099-12-31 \
ro.crypto.volume.filenames_mode=aes-256-cts
# PRODUCT_SYSTEM_PROPERTY_BLACKLIST := \
# ro.product.device \
# ro.product.name