From ad5208d950302633b66c94b6832da201f543c5e8 Mon Sep 17 00:00:00 2001 From: Tad Date: Sun, 1 Apr 2018 14:11:47 -0400 Subject: [PATCH] 15.1: Add unofficial clark --- Manifests/Manifest_LAOS-15.1.xml | 4 ++ .../android_kernel_motorola_msm8992.sh | 70 +++++++++++++++++++ Scripts/LineageOS-15.1/Functions.sh | 3 +- 3 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_motorola_msm8992.sh diff --git a/Manifests/Manifest_LAOS-15.1.xml b/Manifests/Manifest_LAOS-15.1.xml index 0b07aff8..0e859f2a 100644 --- a/Manifests/Manifest_LAOS-15.1.xml +++ b/Manifests/Manifest_LAOS-15.1.xml @@ -137,6 +137,10 @@ --> + + + + diff --git a/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_motorola_msm8992.sh b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_motorola_msm8992.sh new file mode 100644 index 00000000..aa3fdfd8 --- /dev/null +++ b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_motorola_msm8992.sh @@ -0,0 +1,70 @@ +#!/bin/bash +cd $base"kernel/motorola/msm8992" +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0004-No_dir-relax.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0005.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0006.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0007.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0008.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0009.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0010.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0011.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0013.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0014.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0015.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0016.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0017.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/3.10/0018.patch +git apply $cvePatchesLinux/0002-Copperhead-Kernel_Hardening/ANY/0001.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0011.patch +git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch +git apply $cvePatchesLinux/CVE-2014-9904/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2016-6672/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2016-8394/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-0648/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-0861/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-0862/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-1000410/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-11600/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-13163/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-13168/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-13216/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-13218/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-13218/3.10/0002.patch +git apply $cvePatchesLinux/CVE-2017-13218/3.10/0003.patch +git apply $cvePatchesLinux/CVE-2017-13218/3.10/0004.patch +git apply $cvePatchesLinux/CVE-2017-13245/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16531/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0002.patch +git apply $cvePatchesLinux/CVE-2017-16643/3.5+/0001.patch +git apply $cvePatchesLinux/CVE-2017-16645/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-16939/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0003.patch +git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch +git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-17762/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-6345/^4.9/0001.patch +git apply $cvePatchesLinux/CVE-2017-7533/3.10/0002.patch +git apply $cvePatchesLinux/CVE-2017-7533/3.10/0003.patch +git apply $cvePatchesLinux/CVE-2017-8243/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-8281/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2017-8281/3.10/0003.patch +git apply $cvePatchesLinux/CVE-2017-9723/ANY/0001.patch +git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch +git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch +editKernelLocalversion "-dos.p66" +cd $base diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index 86e9372d..b7c6dde4 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -22,7 +22,7 @@ startPatcher() { export -f startPatcher; patchAllKernels() { - startPatcher "kernel_fairphone_msm8974 kernel_google_marlin kernel_google_msm kernel_htc_flounder kernel_huawei_angler kernel_lge_bullhead kernel_lge_g3 kernel_lge_hammerhead kernel_lge_mako kernel_lge_msm8974 kernel_moto_shamu kernel_nextbit_msm8992 kernel_oppo_msm8974 kernel_samsung_msm8974"; + startPatcher "kernel_fairphone_msm8974 kernel_google_marlin kernel_google_msm kernel_htc_flounder kernel_huawei_angler kernel_lge_bullhead kernel_lge_g3 kernel_lge_hammerhead kernel_lge_mako kernel_lge_msm8974 kernel_moto_shamu kernel_motorola_msm8992 kernel_nextbit_msm8992 kernel_oppo_msm8974 kernel_samsung_msm8974"; } export -f patchAllKernels; @@ -61,6 +61,7 @@ buildAll() { brunch lineage_d852-userdebug; brunch lineage_bacon-user; #brunch lineage_mako-user; + #brunch lineage_clark-user; brunch lineage_angler-user; brunch lineage_bullhead-user; brunch lineage_d802-userdebug;