diff --git a/Scripts/Generic_Deblob.sh b/Scripts/Generic_Deblob.sh index 57e42265..e67e83f2 100755 --- a/Scripts/Generic_Deblob.sh +++ b/Scripts/Generic_Deblob.sh @@ -8,8 +8,7 @@ # #Device Status (Tested under LineageOS 14.1) # -#Functioning as Expected: bacon, clark, mako -#Not booting: thor +#Functioning as Expected: bacon, clark, mako, thor base="/mnt/Drive-1/Development/Other/Android_ROMs/Build/LineageOS-14.1/"; export base; @@ -53,8 +52,8 @@ export base; #blobs=$blobs"|cmnlib.b00|cmnlib.b01|cmnlib.b02|cmnlib.b03|cmnlib.b04|cmnlib.b05|cmnlib.mdt|cmnlib64.b00|cmnlib64.b01|cmnlib64.b02|cmnlib64.b03|cmnlib64.b04|cmnlib64.b05|cmnlib64.mdt"; #CNE (Automatic Cell/Wi-Fi Switching) [Qualcomm] - #blobs=$blobs"|libcneapiclient.so"; #XXX: Breaks radio - 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"; + #blobs=$blobs"|libcneapiclient.so|libNimsWrap.so"; #XXX: Breaks radio + 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|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"; makes=$makes"libcnefeatureconfig"; #Diagnostics [Qualcomm] @@ -199,7 +198,7 @@ export base; deblobDevice() { devicePath=$1; cd $base$devicePath; - if [ "${PWD##*/}" == "flo" ] || [ "${PWD##*/}" == "mako" ] || [ "${PWD##*/}" == "kona-common" ] || [ "${PWD##*/}" == "n5110" ] || [ "${PWD##*/}" == "smdk4412-common" ]; then #Some devices don't need/like TimeKeep + if [ "${PWD##*/}" == "flo" ] || [ "${PWD##*/}" == "mako" ] || [ "${PWD##*/}" == "kona-common" ] || [ "${PWD##*/}" == "n5110" ] || [ "${PWD##*/}" == "smdk4412-common" ] || [ "${PWD##*/}" == "hdx-common" ] || [ "${PWD##*/}" == "thor" ]; then #Some devices don't need/like TimeKeep replaceTime="false"; fi; if [ -f Android.mk ]; then diff --git a/Scripts/LAOS-14.1_Patches.sh b/Scripts/LAOS-14.1_Patches.sh index a5d5e2fe..94d788ef 100755 --- a/Scripts/LAOS-14.1_Patches.sh +++ b/Scripts/LAOS-14.1_Patches.sh @@ -22,7 +22,6 @@ ANDROID_HOME="/home/$USER/Android/Sdk" mkdir /tmp/ar cd /tmp/ar wget https://spotco.us/hosts -N #XXX: /hosts is built from non-commercial use files, switch to /hsc for release -wget https://github.com/EmojiTwo/emojitwo/raw/master/fonts/emojione-android.ttf -N #XXX: Requires attribuition #Accept all SDK licences, not normally needed but Gradle managed apps fail without it mkdir -p "$ANDROID_HOME/licenses" @@ -70,9 +69,6 @@ sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app w enter "device/qcom/sepolicy" patch -p1 < $patches"android_device_qcom_sepolicy/0001-Camera_Fix.patch" #Fix camera on user builds -enter "external/noto-fonts" -cp /tmp/ar/emojione-android.ttf other/NotoColorEmoji.ttf #Change emoji font to EmojiTwo - enter "external/sqlite" patch -p1 < $patches"android_external_sqlite/0001-Secure_Delete.patch" #Enable secure_delete by default