-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtwrp_a23.mk
More file actions
89 lines (69 loc) · 2.17 KB
/
twrp_a23.mk
File metadata and controls
89 lines (69 loc) · 2.17 KB
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
80
81
82
83
84
85
86
87
88
89
#
# Copyright (C) 2024 The Android Open Source Project
# Copyright (C) 2024 The TWRP Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
DEVICE_PATH := device/samsung/a23
# Release name
PRODUCT_RELEASE_NAME := a23
# Inherit from common AOSP config
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
# Inherit some common TWRP stuff.
$(call inherit-product, vendor/twrp/config/common.mk)
# Inherit device configuration
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# TWRP
TW_INCLUDE_FASTBOOTD := true
TW_INCLUDE_FASTBOOT := true
# fastbootd
PRODUCT_PACKAGES += \
fastbootd
PRODUCT_PACKAGES += \
android.hardware.fastboot@1.0-impl-mock \
android.hardware.fastboot@1.0-impl-mock.recovery
PRODUCT_PACKAGES += \
fastboot_recovery
# Encryption
PRODUCT_PACKAGES += \
libcryptfs_hw \
qcom_decrypt \
qcom_decrypt_fbe
# TWRP
TW_HAS_FASTBOOTD := true
TW_HAS_FASTBOOT := true
PRODUCT_PROPERTY_OVERRIDES +=\
ro.fastbootd.available=true
ro.fastboot.available=true
ro.boot.dynamic_partitions=true
# Apex Libraries
PRODUCT_HOST_PACKAGES += \
libandroidicu
TW_EXCLUDE_APEX := true
#TWRP Flags
TW_INCLUDE_PYTHON := true
# Vibrator
TW_SUPPORT_INPUT_AIDL_HAPTICS := true
# Charger
PRODUCT_PACKAGES += \
charger_res_images
PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,$(DEVICE_PATH)/recovery/root,recovery/root)
## Device identifier. This must come after all inclusions
PRODUCT_NAME := twrp_a23
PRODUCT_DEVICE := a23
PRODUCT_MODEL := SM-A235x
PRODUCT_BRAND := samsung
PRODUCT_MANUFACTURER := samsung
PRODUCT_GMS_CLIENTID_BASE := android-samsung