mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-01-26 07:15:57 -05:00
Add an option to disable overclocks
This commit is contained in:
parent
bf8f1e4d3d
commit
c6f7abd855
@ -75,7 +75,7 @@ patchWorkspace() {
|
||||
|
||||
source $scripts/Patch.sh;
|
||||
source $scripts/Defaults.sh;
|
||||
source $scripts/Overclock.sh;
|
||||
if [ "$OVERCLOCKS_ENABLED" = true ]; then source $scripts/Overclock.sh; fi;
|
||||
source $scripts/Optimize.sh;
|
||||
source $scripts/Rebrand.sh;
|
||||
source $scripts/Theme.sh;
|
||||
|
@ -198,6 +198,7 @@ cp -r $patches"android_vendor_cm/firmware_deblobber" .;
|
||||
cp $patches"android_vendor_cm/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk;
|
||||
sed -i 's/CM_BUILDTYPE := UNOFFICIAL/CM_BUILDTYPE := dos/' config/common.mk; #Change buildtype
|
||||
sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence
|
||||
#if [ "$HOSTS_BLOCKING" = false ]; then echo "PRODUCT_PACKAGES += DNS66" >> config/sce.mk; fi; #Include DNS66 as an alternative
|
||||
if [ "$HOSTS_BLOCKING" = false ]; then cp $patches"android_vendor_cm/dns66.json" prebuilt/common/etc/dns66.json; fi;
|
||||
if [ "$HOSTS_BLOCKING" = false ]; then sed -i '4iPRODUCT_COPY_FILES += vendor/cm/prebuilt/common/etc/dns66.json:system/etc/dns66/settings.json' config/common.mk; fi; #Include DNS66 default config
|
||||
|
||||
|
@ -84,7 +84,7 @@ patchWorkspace() {
|
||||
|
||||
source $scripts/Patch.sh;
|
||||
source $scripts/Defaults.sh;
|
||||
source $scripts/Overclock.sh;
|
||||
if [ "$OVERCLOCKS_ENABLED" = true ]; then source $scripts/Overclock.sh; fi;
|
||||
source $scripts/Optimize.sh;
|
||||
source $scripts/Rebrand.sh;
|
||||
source $scriptsCommon/Deblob.sh;
|
||||
|
@ -198,6 +198,7 @@ cp -r $patches"android_vendor_lineage/firmware_deblobber" .;
|
||||
cp $patches"android_vendor_lineage/firmware_deblobber.mk" build/tasks/firmware_deblobber.mk;
|
||||
sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := dos/' config/common.mk; #Change buildtype
|
||||
sed -i 's/messaging/Silence/' config/telephony.mk; #Replace AOSP Messaging app with Silence
|
||||
#if [ "$HOSTS_BLOCKING" = false ]; then echo "PRODUCT_PACKAGES += DNS66" >> config/sce.mk; fi; #Include DNS66 as an alternative
|
||||
if [ "$HOSTS_BLOCKING" = false ]; then cp $patches"android_vendor_lineage/dns66.json" prebuilt/common/etc/dns66.json; fi;
|
||||
if [ "$HOSTS_BLOCKING" = false ]; then sed -i '4iPRODUCT_COPY_FILES += vendor/lineage/prebuilt/common/etc/dns66.json:system/etc/dns66/settings.json' config/common.mk; fi; #Include DNS66 default config
|
||||
#
|
||||
|
@ -25,6 +25,7 @@ export MALWARE_SCAN_ENABLED=true; #Set true to perform a fast scan on patchWorks
|
||||
export MALWARE_SCAN_SETTING="quick"; #buildAll() scan speed. Options are quick, extra, slow, full
|
||||
export MICROG_INCLUDED=true; #Switch to false to prevent inclusion of microG
|
||||
export HOSTS_BLOCKING=true; #Switch to false to prevent inclusion of our HOSTS file
|
||||
export OVERCLOCKS_ENABLED=true; #Switch to false to disable overclocks
|
||||
export STRONG_ENCRYPTION_ENABLED=false; #Switch to true to enable AES-256bit encryption XXX: THIS WILL **DESTROY** EXISTING INSTALLS!
|
||||
export NON_COMMERCIAL_USE_PATCHES=false; #Switch to false to prevent inclusion of non-commercial use patches
|
||||
#END OF USER CONFIGURABLE OPTIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user