-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvendorsetup.sh
66 lines (59 loc) · 2.04 KB
/
vendorsetup.sh
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
#
# This file is part of the OrangeFox Recovery Project
# Copyright (C) 2019-2020 The OrangeFox Recovery Project
#
# OrangeFox is free software: you can redistribute it and/or modifyblock
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# OrangeFox is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# This software is released under GPL version 3 or any later version.
# See <http://www.gnu.org/licenses/>.
#
# Please maintain this if you use this script or any part of it
#
FDEVICE="shamu"
# shamu specific
export OF_DISABLE_MIUI_SPECIFIC_FEATURES="1"
export OF_FLASHLIGHT_ENABLE="0"
export OF_MAINTAINER="AmirHrc"
export OF_TWRP_COMPATIBILITY_MODE="1"
# R11
export FOX_R11="1"
export FOX_BUILD_TYPE="Beta"
export FOX_VERSION="R11.0"
export FOX_ADVANCED_SECURITY="1"
export OF_USE_TWRP_SAR_DETECT="1"
export OF_DISABLE_MIUI_OTA_BY_DEFAULT="1"
# Common
export TARGET_ARCH="arm"
export ALLOW_MISSING_DEPENDENCIES="true"
export LC_ALL="C"
export PLATFORM_VERSION="16.1.0"
export PLATFORM_SECURITY_PATCH="2099-12-31"
export TW_DEFAULT_LANGUAGE="en"
export OF_USE_MAGISKBOOT="1"
export OF_USE_MAGISKBOOT_FOR_ALL_PATCHES="1"
export OF_DONT_PATCH_ENCRYPTED_DEVICE="1"
export FOX_USE_TWRP_RECOVERY_IMAGE_BUILDER="1"
export OF_NO_TREBLE_COMPATIBILITY_CHECK="1"
export FOX_USE_LZMA_COMPRESSION="1"
export LZMA_RAMDISK_TARGETS="recovery"
export FOX_DELETE_AROMAFM="1"
export FOX_USE_BASH_SHELL="1"
export FOX_ASH_IS_BASH="1"
export OF_USE_NEW_MAGISKBOOT="1"
export OF_NO_SPLASH_CHANGE="1"
export FOX_REMOVE_AAPT="1"
export OF_DISABLE_DM_VERITY_FORCED_ENCRYPTION="0"
export FOX_USE_NANO_EDITOR="1"
export OF_KEEP_DM_VERITY_FORCED_ENCRYPTION="1"
# OTA for custom ROMs
export OF_SUPPORT_ALL_BLOCK_OTA_UPDATES="1"
export OF_FIX_OTA_UPDATE_MANUAL_FLASH_ERROR="1"
add_lunch_combo omni_"$FDEVICE"-eng