From d9ff36c8ff7b5b54a888b44c9d6408a77affadea Mon Sep 17 00:00:00 2001 From: Tad Date: Thu, 26 Jan 2017 18:01:53 -0500 Subject: [PATCH] Fix broken script and fix broken builds --- Changelogs/Changes-LAOS_14.1.txt | 8 ++++---- Scripts/LAOS-14.1_Deblob.sh | 4 ++-- Scripts/LAOS-14.1_Patches.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Changelogs/Changes-LAOS_14.1.txt b/Changelogs/Changes-LAOS_14.1.txt index 77138c35..94f565f9 100644 --- a/Changelogs/Changes-LAOS_14.1.txt +++ b/Changelogs/Changes-LAOS_14.1.txt @@ -2,11 +2,11 @@ Last Updated: 01/24/2017 Credits: LineageOS, CyanogenMod, CopperheadOS, OmniROM, TeamWin, F-Droid, MicroG, EmojiOne, anarkia1976, bhb27, Daniel Micay, dirtyhank, Evisceration, faux123, flar2, franciscofranco, hellsgod, mar-v-in, mimi89999, nikhil18, nvllsvm, savoca, stefano.villa1976, WedyDQ10, XileForce Warnings - - Do *NOT* flash Xposed, it will SEVERELY decrease the security of your device - - Do *NOT* use AdAway or any other Adblocker - - Flashing of any Gapps is not recommended, but it should work without issue. + - Do *not* flash Xposed, it will *severly* decrease the security of your device + - Do *not* use AdAway or any other Adblocker + - Flashing of any Gapps is not recommended and most likely won't work. - No browser is installed by default, please install getChromium or IceCat from F-Droid. Chromium will be included in future releases. - - Root is *NOT* included, please flash the accompaning addonsu.zip for your device. Only use open source SU solutions such as LAOS/Phh/Magisk, proprietary ones such as SuperSU should be treated as rootkits and avoided at all cost. + - Root is *not* included, please flash the accompaning addonsu.zip for your device. Only use open source SU solutions such as LAOS/Phh/Magisk, proprietary ones such as SuperSU should be treated as rootkits and avoided at all cost. Recommended Apps - Visit https://spotco.us/faa after flashing to find a very comprehensive list of apps that can replace what you're used to diff --git a/Scripts/LAOS-14.1_Deblob.sh b/Scripts/LAOS-14.1_Deblob.sh index 551d699e..ae5d0be2 100644 --- a/Scripts/LAOS-14.1_Deblob.sh +++ b/Scripts/LAOS-14.1_Deblob.sh @@ -4,7 +4,7 @@ #Outcome: Increased battery/performance/privacy/security, Decreased ROM size #This script and subsequent builds have been tested -base="~/Android/Build/LineageOS-14.1/" +base="/home/tad/Android/Build/LineageOS-14.1/" deblob() { dir=$1 blobList=$2; @@ -21,7 +21,7 @@ deblob() { #blobs=$blobs"|libcneapiclient.so"; #CNE (Automatic Cell/Wi-Fi Switching) - blobs=$blobs"|andsfCne.xml|ATT_profile1.xml|ATT_profile2.xml|ATT_profile3.xml|ATT_profile4.xml|ATT_profiles.xml|cnd|cneapiclient.jar|cneapiclient.xml|CNEService.apk|com.quicinc.cne.jar|com.quicinc.cne.xml|ConnectivityExt.jar|ConnectivityExt.xml|libcneconn.so|libcneqmiutils.so|libcne.so|libNimsWrap.so|libvendorconn.so|libwqe.so|libxml.so|profile1.xml|profile2.xml|profile3.xml|profile4.xml|profile5.xml|ROW_profile1.xml|ROW_profile2.xml|ROW_profile3.xml|ROW_profile4.xml|ROW_profile5.xml|ROW_profiles.xml|SwimConfig.xml|VZW_profile1.xml|VZW_profile2.xml|VZW_profile3.xml|VZW_profile4.xml|VZW_profile5.xml|VZW_profile6.xml|VZW_profiles.xml"; + blobs=$blobs"|andsfCne.xml|ATT_profile1.xml|ATT_profile2.xml|ATT_profile3.xml|ATT_profile4.xml|ATT_profiles.xml|cnd|cneapiclient.jar|cneapiclient.xml|CNEService.apk|com.quicinc.cne.jar|com.quicinc.cne.xml|ConnectivityExt.jar|ConnectivityExt.xml|libcneconn.so|libcneqmiutils.so|libcne.so|libNimsWrap.so|libvendorconn.so|libwqe.so|profile1.xml|profile2.xml|profile3.xml|profile4.xml|profile5.xml|ROW_profile1.xml|ROW_profile2.xml|ROW_profile3.xml|ROW_profile4.xml|ROW_profile5.xml|ROW_profiles.xml|SwimConfig.xml|VZW_profile1.xml|VZW_profile2.xml|VZW_profile3.xml|VZW_profile4.xml|VZW_profile5.xml|VZW_profile6.xml|VZW_profiles.xml"; if [ -f system.prop ]; then sed -i 's/persist.cne.feature=./persist.cne.feature=0/' system.prop; fi if [ -f BoardConfig.mk ]; then sed -i 's/BOARD_USES_QCNE := true/BOARD_USES_QCNE := false/' BoardConfig.mk; fi; diff --git a/Scripts/LAOS-14.1_Patches.sh b/Scripts/LAOS-14.1_Patches.sh index cc95a2d1..5d2c0223 100644 --- a/Scripts/LAOS-14.1_Patches.sh +++ b/Scripts/LAOS-14.1_Patches.sh @@ -15,9 +15,9 @@ #START OF PREPRATION # #Set some variables for use later on -base="~/Android/Build/LineageOS-14.1/" -patches="~/Android/Patches/LineageOS-14.1/" -ANDROID_HOME="~/Android/SDK" +base="/home/tad/Android/Build/LineageOS-14.1/" +patches="/home/tad/Android/Patches/LineageOS-14.1/" +ANDROID_HOME="/home/tad/Android/SDK" #Download some out-of-tree files for use later on mkdir -p /tmp/ar