diff --git a/Manifests/Manifest_LAOS-17.1.xml b/Manifests/Manifest_LAOS-17.1.xml index 598831c5..583c6160 100644 --- a/Manifests/Manifest_LAOS-17.1.xml +++ b/Manifests/Manifest_LAOS-17.1.xml @@ -101,6 +101,9 @@ + + + diff --git a/Scripts/LineageOS-11.0/Functions.sh b/Scripts/LineageOS-11.0/Functions.sh index 274429ac..4cc88b94 100644 --- a/Scripts/LineageOS-11.0/Functions.sh +++ b/Scripts/LineageOS-11.0/Functions.sh @@ -24,7 +24,7 @@ export -f patchAllKernels; resetWorkspace() { umask 0022; - repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j20 --force-sync; + repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j8 --force-sync; } export -f resetWorkspace; diff --git a/Scripts/LineageOS-14.1/Functions.sh b/Scripts/LineageOS-14.1/Functions.sh index c51c6643..14ab0b05 100644 --- a/Scripts/LineageOS-14.1/Functions.sh +++ b/Scripts/LineageOS-14.1/Functions.sh @@ -24,7 +24,7 @@ export -f patchAllKernels; resetWorkspace() { umask 0022; - repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j20 --force-sync; + repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j8 --force-sync; } export -f resetWorkspace; diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index e4be102a..7db3337e 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -24,7 +24,7 @@ export -f patchAllKernels; resetWorkspace() { umask 0022; - repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j20 --force-sync; + repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j8 --force-sync; } export -f resetWorkspace; diff --git a/Scripts/LineageOS-16.0/Functions.sh b/Scripts/LineageOS-16.0/Functions.sh index ca362326..386faf80 100644 --- a/Scripts/LineageOS-16.0/Functions.sh +++ b/Scripts/LineageOS-16.0/Functions.sh @@ -24,7 +24,7 @@ export -f patchAllKernels; resetWorkspace() { umask 0022; - repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j20 --force-sync; + repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j8 --force-sync; } export -f resetWorkspace; diff --git a/Scripts/LineageOS-17.1/Functions.sh b/Scripts/LineageOS-17.1/Functions.sh index 13a651a9..6f73b4a8 100644 --- a/Scripts/LineageOS-17.1/Functions.sh +++ b/Scripts/LineageOS-17.1/Functions.sh @@ -24,7 +24,7 @@ export -f patchAllKernels; resetWorkspace() { umask 0022; - repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j20 --force-sync; + repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j8 --force-sync; } export -f resetWorkspace; @@ -57,6 +57,7 @@ buildAll() { #SD410 buildDevice crackling; buildDevice osprey; + buildDevice surnia; #SD801 buildDevice m8; #18.1 has issues? #SD808 diff --git a/Scripts/LineageOS-17.1/Patch.sh b/Scripts/LineageOS-17.1/Patch.sh index 7f12b9cc..05b61538 100644 --- a/Scripts/LineageOS-17.1/Patch.sh +++ b/Scripts/LineageOS-17.1/Patch.sh @@ -287,6 +287,7 @@ fi; if enterAndClear "device/google/marlin"; then git revert --no-edit 777dafa35f185b1f501e3c80b8ab495191583444; #remove some carrier blobs +sed -i 's/BTLogSave \\/BTLogSave/' common/base.mk; #deblobber fixup fi; if enterAndClear "device/htc/m8-common"; then @@ -353,6 +354,7 @@ removeBuildFingerprints; #Tweaks for <2GB RAM devices #enableLowRam "device/motorola/osprey"; +#enableLowRam "device/motorola/surnia"; #Fix broken options enabled by hardenDefconfig() sed -i "s/CONFIG_DEBUG_RODATA=y/# CONFIG_DEBUG_RODATA is not set/" kernel/google/yellowstone/arch/arm*/configs/*_defconfig; #Breaks on compile diff --git a/Scripts/LineageOS-18.1/Functions.sh b/Scripts/LineageOS-18.1/Functions.sh index ebe72d0b..5a844cb8 100644 --- a/Scripts/LineageOS-18.1/Functions.sh +++ b/Scripts/LineageOS-18.1/Functions.sh @@ -24,7 +24,7 @@ export -f patchAllKernels; resetWorkspace() { umask 0022; - repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j20 --force-sync; + repo forall -c 'git add -A && git reset --hard' && rm -rf out && repo sync -j8 --force-sync; } export -f resetWorkspace; diff --git a/Scripts/LineageOS-18.1/Patch.sh b/Scripts/LineageOS-18.1/Patch.sh index f15e0666..25947653 100644 --- a/Scripts/LineageOS-18.1/Patch.sh +++ b/Scripts/LineageOS-18.1/Patch.sh @@ -252,7 +252,7 @@ awk -i inplace '!/PRODUCT_EXTRA_RECOVERY_KEYS/' config/*.mk; #Remove Lineage ext awk -i inplace '!/security\/lineage/' config/*.mk; #Remove Lineage extra keys awk -i inplace '!/WeatherProvider/' config/*.mk; #Remove Weather awk -i inplace '!/def_backup_transport/' overlay/common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml; #Unset default backup provider -if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then awk -i inplace '!/AudioFX/' config/*.mk; fi; #Remove AudioFX #XXX: 18REBASE +if [ "$DOS_DEBLOBBER_REMOVE_AUDIOFX" = true ]; then sed -i '25d' config/common_mobile.mk && awk -i inplace '!/AudioFX/' config/*.mk; fi; #Remove AudioFX #XXX: 18REBASE if [ "$DOS_MICROG_INCLUDED" = "NLP" ]; then sed -i '/Google provider/!b;n;s/com.google.android.gms/org.microg.nlp/' overlay/common/frameworks/base/core/res/res/values/config.xml; fi; #Adjust the fused providers sed -i 's/LINEAGE_BUILDTYPE := UNOFFICIAL/LINEAGE_BUILDTYPE := dos/' config/*.mk; #Change buildtype if [ "$DOS_NON_COMMERCIAL_USE_PATCHES" = true ]; then sed -i 's/LINEAGE_BUILDTYPE := dos/LINEAGE_BUILDTYPE := dosNC/' config/*.mk; fi;