forked from BatikRecovery/br_devices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoardConfigTWRP.mk
executable file
·36 lines (29 loc) · 1010 Bytes
/
BoardConfigTWRP.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
# Recovery
RECOVERY_VARIANT := twrp
# TWRP-Specific
TW_THEME := portrait_hdpi
TW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightness
TW_MAX_BRIGHTNESS := 255
TW_DEFAULT_BRIGHTNESS := 178
TW_EXCLUDE_DEFAULT_USB_INIT := true
TW_INCLUDE_CRYPTO := true
TW_CRYPTO_USE_SYSTEM_VOLD := qseecomd hwservicemanager keymaster-3-0
TW_INCLUDE_NTFS_3G := true
TW_NO_EXFAT_FUSE := true
# Correct time
TARGET_RECOVERY_QCOM_RTC_FIX := true
TARGET_RECOVERY_DEVICE_MODULE := tzdata
TW_RECOVERY_ADDITIONAL_RELINK_FILES += $(TARGET_OUT)/usr/share/zoneinfo/tzdata
# Remove cursor
TW_INPUT_BLACKLIST := "hbtp_vm"
# Extra configurations
TW_EXTRA_LANGUAGES := true
TW_EXCLUDE_SUPERSU := true
# Fix access denied issue
BOARD_SEPOLICY_DIRS += device/asus/X00TD/sepolicy
# Fix error using mke2fs
TW_RECOVERY_ADDITIONAL_RELINK_FILES := \
$(OUT)/system/lib64/libext2_misc.so
# For decrypting /data, we need to hack recovery.img and inject new os and
# security version
BOARD_CUSTOM_BOOTIMG_MK := device/asus/X00TD/boot.mk