|
|
@@ -1,10 +1,28 @@
|
|
|
+#
|
|
|
+# This file is part of the OrangeFox Recovery Project
|
|
|
+# Copyright (C) 2020 The OrangeFox Recovery Project
|
|
|
+#
|
|
|
+# OrangeFox is free software: you can redistribute it and/or modify
|
|
|
+# 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="klte"
|
|
|
if [ "$1" = "$FDEVICE" -o "$FOX_BUILD_DEVICE" = "$FDEVICE" ]; then
|
|
|
export TARGET_ARCH=arm
|
|
|
export FOX_RECOVERY_INSTALL_PARTITION=/dev/block/platform/msm_sdcc.1/by-name/recovery
|
|
|
export FOX_RECOVERY_SYSTEM_PARTITION=/dev/block/platform/msm_sdcc.1/by-name/system
|
|
|
export TW_DEFAULT_LANGUAGE="en"
|
|
|
-
|
|
|
export OF_VANILLA_BUILD=1
|
|
|
export OF_SKIP_ORANGEFOX_PROCESS=1
|
|
|
export OF_DISABLE_MIUI_SPECIFIC_FEATURES=1
|
|
|
@@ -17,9 +35,6 @@ if [ "$1" = "$FDEVICE" -o "$FOX_BUILD_DEVICE" = "$FDEVICE" ]; then
|
|
|
export OF_USE_TWRP_SAR_DETECT=0
|
|
|
export OF_FLASHLIGHT_ENABLE=0
|
|
|
unset FOX_REPLACE_BUSYBOX_PS
|
|
|
-
|
|
|
- export OF_DISABLE_KEYMASTER2=1
|
|
|
- export OF_LEGACY_SHAR512=1
|
|
|
export OF_DEVICE_WITHOUT_PERSIST=1
|
|
|
export OF_DISABLE_EXTRA_ABOUT_PAGE=1
|
|
|
|