diff --git a/Manifests/Manifest_LAOS-15.1.xml b/Manifests/Manifest_LAOS-15.1.xml index e2465a36..e88cc02c 100644 --- a/Manifests/Manifest_LAOS-15.1.xml +++ b/Manifests/Manifest_LAOS-15.1.xml @@ -97,14 +97,6 @@ - - - - - - - - @@ -116,23 +108,6 @@ - - - - - - - - - - - - - - - - - @@ -143,12 +118,6 @@ - - - - - - @@ -181,13 +150,6 @@ - - - - - - - @@ -212,12 +174,6 @@ - - - - - - @@ -226,14 +182,6 @@ - - - - - - - - @@ -248,12 +196,6 @@ - - - - - - diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index a041c905..9f303a9b 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -18,7 +18,7 @@ #Last verified: 2018-04-27 patchAllKernels() { - startPatcher "kernel_asus_fugu kernel_asus_msm8916 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_essential_msm8998 kernel_fairphone_msm8974 kernel_google_dragon kernel_google_marlin kernel_google_msm kernel_google_wahoo kernel_google_yellowstone kernel_htc_flounder kernel_htc_msm8974 kernel_htc_msm8994 kernel_huawei_angler kernel_lge_bullhead kernel_lge_g3 kernel_lge_hammerhead kernel_lge_mako kernel_lge_msm8974 kernel_lge_msm8996 kernel_moto_shamu kernel_motorola_msm8974 kernel_motorola_msm8996 kernel_nextbit_msm8992 kernel_oneplus_msm8994 kernel_oneplus_msm8996 kernel_oneplus_msm8998 kernel_oneplus_sdm845 kernel_oppo_msm8974 kernel_samsung_msm8974 kernel_samsung_smdk4412 kernel_samsung_universal9810 kernel_xiaomi_sdm845 kernel_zte_msm8996"; + startPatcher "kernel_asus_fugu kernel_asus_msm8916 kernel_cyanogen_msm8916 kernel_cyanogen_msm8974 kernel_google_dragon kernel_google_marlin kernel_google_msm kernel_google_yellowstone kernel_htc_flounder kernel_htc_msm8994 kernel_huawei_angler kernel_lge_bullhead kernel_lge_hammerhead kernel_lge_msm8974 kernel_lge_msm8996 kernel_moto_shamu kernel_motorola_msm8974 kernel_motorola_msm8996 kernel_nextbit_msm8992 kernel_oneplus_msm8994 kernel_oneplus_msm8996 kernel_oneplus_msm8998 kernel_oneplus_sdm845 kernel_samsung_smdk4412 kernel_samsung_universal9810 kernel_xiaomi_sdm845 kernel_zte_msm8996"; } export -f patchAllKernels; @@ -70,8 +70,6 @@ buildAll() { buildDevice dragon verity; #The following are all superseded, and should only be enabled if the newer version is broken (not building/booting/etc.) - buildDevice flo; #Last version without repartitioning required - buildDevice mako; #testing buildDevice hammerhead; #16.0 has bluetooth issues? buildDevice shamu verity; #Last version with working IMS buildDevice oneplus2; #Last version with working IMS + broken - needs vendor patching @@ -80,13 +78,7 @@ buildAll() { if [ "$DOS_BUILDALL_SUPERSEDED" = true ]; then buildDevice crackling; buildDevice d802; - buildDevice bacon; - buildDevice d852; - buildDevice d855; - buildDevice FP2; buildDevice ham; - buildDevice klte; - buildDevice m8; buildDevice victara; buildDevice kipper; buildDevice oneplus3; @@ -95,13 +87,6 @@ buildAll() { buildDevice h850; #broken buildDevice rs988; buildDevice griffin; - buildDevice marlin verity; - buildDevice sailfish verity; - buildDevice cheeseburger; - buildDevice dumpling; - buildDevice mata verity; - buildDevice taimen avb; - buildDevice walleye avb; buildDevice beryllium; buildDevice enchilada avb; buildDeviceUserDebug i9100; diff --git a/Scripts/LineageOS-15.1/Patch.sh b/Scripts/LineageOS-15.1/Patch.sh index decb9caa..26cfa56a 100644 --- a/Scripts/LineageOS-15.1/Patch.sh +++ b/Scripts/LineageOS-15.1/Patch.sh @@ -229,41 +229,21 @@ if [ "$DOS_HOSTS_BLOCKING" = false ]; then echo "PRODUCT_PACKAGES += $DOS_HOSTS_ # #START OF DEVICE CHANGES # -enterAndClear "device/asus/flo"; -compressRamdisks; -echo "/dev/block/platform/msm_sdcc\.1/by-name/misc u:object_r:misc_block_device:s0" >> sepolicy/file_contexts; - enterAndClear "device/asus/msm8916-common"; rm -rf Android.bp sensors; #already included in asus/flo -enterAndClear "device/google/marlin"; -patch -p1 < "$DOS_PATCHES/android_device_google_marlin/0001-Fix_MediaProvider_Deadlock.patch"; #Fix MediaProvider using 100% CPU (due to broken ppoll on functionfs?) - enterAndClear "device/lge/g2-common"; sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te; -enterAndClear "device/lge/g3-common"; -sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te; -sed -i '1itypeattribute wcnss_service misc_block_device_exception;' sepolicy/wcnss_service.te; -sed -i 's|qcrilmsgtunnel.apk|qcrilmsgtunnel.apk:vendor/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk|' proprietary-files.txt; #Fix vendor Android.mk path for qcrilmsgtunnel.apk - enterAndClear "device/lge/msm8996-common"; sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te; -enterAndClear "device/lge/mako"; -git revert --no-edit e277722bb3f10dad7a6078aa0dba7b78738e6071; #restore releasetools -echo "allow kickstart usbfs:dir search;" >> sepolicy/kickstart.te; #Fix forceencrypt on first boot -echo "pmf=0" >> wifi/wpa_supplicant_overlay.conf; #Wi-Fi chipset doesn't support PMF - enterAndClear "device/moto/shamu"; #git revert --no-edit 05fb49518049440f90423341ff25d4f75f10bc0c; #restore releasetools #TODO enterAndClear "device/oneplus/msm8998-common"; patch -p1 < "$DOS_PATCHES_COMMON/android_device_audio/0001-No_Vorbis_Offload.patch"; #Fix Ogg Vorbis playback -enterAndClear "device/oppo/msm8974-common"; -sed -i "s/TZ.BF.2.0-2.0.0134/TZ.BF.2.0-2.0.0134|TZ.BF.2.0-2.0.0137/" board-info.txt; #Suport new TZ firmware https://review.lineageos.org/#/c/178999/ - #Make changes to all devices cd "$DOS_BUILD_BASE"; if [ "$DOS_LOWRAM_ENABLED" = true ]; then find "device" -maxdepth 2 -mindepth 2 -type d -print0 | xargs -0 -n 1 -P 8 -I {} bash -c 'enableLowRam "{}"'; fi;