From c624dbb62cf1b99d657cb115bf9755a50333ef6b Mon Sep 17 00:00:00 2001 From: Tad Date: Tue, 13 Feb 2018 08:27:43 -0500 Subject: [PATCH] 15.1: It builds! --- Scripts/LineageOS-15.1/Functions.sh | 9 +++++++-- Scripts/LineageOS-15.1/Patch.sh | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index f74114db..3388f6f2 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -46,8 +46,7 @@ gitReset() { export -f gitReset; resetWorkspace() { - #rm -rf packages/apps/{FDroid,GmsCore,Silence} - 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 packages/apps/{FDroid,GmsCore,Silence} out && repo sync -j20 --force-sync; } export -f resetWorkspace; @@ -59,8 +58,14 @@ export -f buildDevice; buildAll() { #Select devices are userdebug due to SELinux policy issues #TODO: Add victara, griffin, athene, us997, us996, pme, t0lte, hlte + brunch lineage_bacon-user; brunch lineage_d852-userdebug; brunch lineage_d855-userdebug; + brunch lineage_angler-user; + brunch lineage_bullhead-user; + brunch lineage_flounder-user; + #brunch lineage_shamu-user; + #brunch lineage_hammerhead-user; } export -f buildAll; diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index 1e70a24f..177f5d16 100755 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -130,7 +130,7 @@ patch -p1 < $patches"android_packages_apps_LineageParts/0001-Remove_Analytics.pa #patch -p1 < $patches"android_packages_apps_LineageParts/0002-Reduced_Resolution.patch" #Allow reducing resolution to save power #TODO: Rebase enterAndClear "packages/apps/Settings" -git revert 7caa1b691a137ba1a49cb258d774679229ee2de5 +git revert a96df110e84123fe1273bff54feca3b4ca484dcd sed -i 's/private int mPasswordMaxLength = 16;/private int mPasswordMaxLength = 48;/' src/com/android/settings/password/ChooseLockPassword.java; #Increase max password length sed -i 's/GSETTINGS_PROVIDER = "com.google.settings";/GSETTINGS_PROVIDER = "com.google.oQuae4av";/' src/com/android/settings/PrivacySettings.java; #MicroG doesn't support Backup, hide the options #patch -p1 < $patches"android_packages_apps_Settings/0001-Privacy_Guard-More_Perms.patch" #Allow more control over various permissions via Privacy Guard #TODO: Rebase