This repository has been archived by the owner on Aug 7, 2022. It is now read-only.
forked from KudProject/device_xiaomi_mido-twrp
-
Notifications
You must be signed in to change notification settings - Fork 4
/
BoardConfigSHRP.mk
47 lines (42 loc) · 1.24 KB
/
BoardConfigSHRP.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
# Refer to https://shrp.github.io/#/guide?id=reference-configuration for details
IS_OFFICIAL := false
# Mandatory flags
SHRP_DEVICE_CODE := mi8937
SHRP_PATH := device/xiaomi/$(SHRP_DEVICE_CODE)
#SHRP_MAINTAINER :=
SHRP_REC_TYPE := Normal
SHRP_DEVICE_TYPE := A-only
SHRP_REC := /dev/block/platform/soc/7824900.sdhci/by-name/recovery
# Important flags
SHRP_EDL_MODE := 1
SHRP_INTERNAL := /sdcard
SHRP_EXTERNAL := /sdcard1
SHRP_OTG := /usb_otg
SHRP_FLASH := 1
# Optional flags
SHRP_AB :=
SHRP_STATUSBAR_RIGHT_PADDING :=
SHRP_STATUSBAR_LEFT_PADDING :=
SHRP_NOTCH :=
SHRP_EXPRESS := true
SHRP_EXPRESS_USE_DATA :=
SHRP_DARK := # White theme looks better, we aren't AMOLED so don't have to stick to dark theme
# People want white flashlight even on recovery it seems
SHRP_CUSTOM_FLASHLIGHT := true
SHRP_FONP_1 := /sys/class/leds/flashlight/brightness
SHRP_FONP_2 :=
SHRP_FONP_3 :=
SHRP_FLASH_MAX_BRIGHTNESS := 1
SHRP_NO_SAR_AUTOMOUNT :=
SHRP_LITE := true
# SHRP default add-ons
SHRP_SKIP_DEFAULT_ADDON_1 :=
#INC_IN_REC_ADDON_1 := true
SHRP_SKIP_DEFAULT_ADDON_2 :=
#INC_IN_REC_ADDON_2 := true
SHRP_SKIP_DEFAULT_ADDON_3 :=
#INC_IN_REC_ADDON_3 := true
SHRP_SKIP_DEFAULT_ADDON_4 :=
#INC_IN_REC_ADDON_4 := true
#INC_IN_REC_MAGISK := true
SHRP_EXCLUDE_MAGISK_FLASH :=