Bläddra i källkod

Use magiskboot; work-around spontaneous reboot in the extra about page

Darth9 6 år sedan
förälder
incheckning
f3ed3ea956
2 ändrade filer med 7 tillägg och 5 borttagningar
  1. 4 2
      BoardConfig.mk
  2. 3 3
      vendorsetup.sh

+ 4 - 2
BoardConfig.mk

@@ -56,15 +56,16 @@ TW_DEFAULT_BRIGHTNESS := 162
 TW_NO_REBOOT_BOOTLOADER := true
 TW_HAS_DOWNLOAD_MODE := true
 TW_NO_EXFAT_FUSE := true
-#TW_INCLUDE_NTFS_3G := true
 TW_MTP_DEVICE := "/dev/mtp_usb"
 TW_EXCLUDE_SUPERSU := true
 
 # Encryption support
 TW_INCLUDE_CRYPTO := true
-#TW_INCLUDE_CRYPTO_SAMSUNG := true
 TARGET_HW_DISK_ENCRYPTION := true
 TARGET_KEYMASTER_WAIT_FOR_QSEE := true
+#TW_EXTRA_LANGUAGES := true
+#TW_INCLUDE_NTFS_3G := true
+#TW_INCLUDE_CRYPTO_SAMSUNG := true
 #TWRP_INCLUDE_LOGCAT := true
 #TARGET_USES_LOGD := true
 
@@ -73,3 +74,4 @@ TARGET_UNIFIED_DEVICE := true
 TARGET_INIT_VENDOR_LIB := libinit_klte
 TARGET_RECOVERY_DEVICE_MODULES := libinit_klte
 TARGET_LIBINIT_DEFINES_FILE := $(DEVICE_TREE)/init/init_klte.cpp
+#

+ 3 - 3
vendorsetup.sh

@@ -12,9 +12,8 @@ if [ "$1" = "$FDEVICE" -o "$FOX_BUILD_DEVICE" = "$FDEVICE" ]; then
 	export OF_NO_TREBLE_COMPATIBILITY_CHECK=1
 	export OF_DONT_PATCH_ENCRYPTED_DEVICE=1	
 	export FOX_USE_TWRP_RECOVERY_IMAGE_BUILDER=1
-
-	#export OF_USE_MAGISKBOOT=1
-	#export OF_USE_MAGISKBOOT_FOR_ALL_PATCHES=1
+	export OF_USE_MAGISKBOOT=1
+	export OF_USE_MAGISKBOOT_FOR_ALL_PATCHES=1
 	export OF_USE_TWRP_SAR_DETECT=0
 	export OF_FLASHLIGHT_ENABLE=0
 	unset FOX_REPLACE_BUSYBOX_PS
@@ -22,6 +21,7 @@ if [ "$1" = "$FDEVICE" -o "$FOX_BUILD_DEVICE" = "$FDEVICE" ]; then
 	export OF_DISABLE_KEYMASTER2=1
 	export OF_LEGACY_SHAR512=1
 	export OF_DEVICE_WITHOUT_PERSIST=1
+	export OF_DISABLE_EXTRA_ABOUT_PAGE=1
 	
 	export FOX_REMOVE_AAPT=1; # doesn't work
 	export FOX_USE_NANO_EDITOR=0