DivestOS/Patches/CyanogenMod-14.1/android_device_lge_mako/0002-TWRP.patch
2016-12-21 19:30:02 -05:00

38 lines
1.1 KiB
Diff

From 65d11ac33d0a3da260668c6dd18e5d28fefb272e Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 23 Nov 2016 18:38:32 -0500
Subject: [PATCH] TWRP Support
Change-Id: Ib0a86923a40e21cddc1199141c70a7c776de3d1e
---
BoardConfig.mk | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/BoardConfig.mk b/BoardConfig.mk
index ec97bae..ecf5253 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -132,3 +132,19 @@ MALLOC_IMPL := dlmalloc
BOARD_HAS_NO_SELECT_BUTTON := true
BOARD_HARDWARE_CLASS := device/lge/mako/cmhw/
+
+#TWRP
+TW_THEME := portrait_hdpi
+RECOVERY_SDCARD_ON_DATA := true
+RECOVERY_GRAPHICS_USE_LINELENGTH := true
+BOARD_HAS_NO_REAL_SDCARD := true
+PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
+TW_INCLUDE_JB_CRYPTO := true
+TW_FLASH_FROM_STORAGE := true
+TW_NO_USB_STORAGE := true
+TW_MAX_BRIGHTNESS := 255
+TW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightness
+TW_INTERNAL_STORAGE_PATH := "/data/media"
+TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
+TW_EXTERNAL_STORAGE_PATH := "/usb-otg"
+TW_EXTERNAL_STORAGE_MOUNT_POINT := "usb-otg"
--
2.9.3