From 10c1d825c2adc64f70f9303274998f982a978c95 Mon Sep 17 00:00:00 2001 From: Tad Date: Sat, 7 Jan 2023 11:14:11 -0500 Subject: [PATCH] Revert e10d4b17 17.1 is plagued with the same issue, no reason to use it Signed-off-by: Tad --- Manifests/Manifest_LAOS-17.1.xml | 7 - .../295147.patch | 41 -- .../android_kernel_htc_msm8974.sh | 514 ------------------ Scripts/LineageOS-17.1/Functions.sh | 7 +- Scripts/LineageOS-17.1/Patch.sh | 12 - 5 files changed, 2 insertions(+), 579 deletions(-) delete mode 100644 Patches/LineageOS-17.1/android_device_htc_msm8974-common/295147.patch delete mode 100644 Scripts/LineageOS-17.1/CVE_Patchers/android_kernel_htc_msm8974.sh diff --git a/Manifests/Manifest_LAOS-17.1.xml b/Manifests/Manifest_LAOS-17.1.xml index aff323e9..56815e22 100644 --- a/Manifests/Manifest_LAOS-17.1.xml +++ b/Manifests/Manifest_LAOS-17.1.xml @@ -82,13 +82,6 @@ - - - - - - - diff --git a/Patches/LineageOS-17.1/android_device_htc_msm8974-common/295147.patch b/Patches/LineageOS-17.1/android_device_htc_msm8974-common/295147.patch deleted file mode 100644 index 11a1cf99..00000000 --- a/Patches/LineageOS-17.1/android_device_htc_msm8974-common/295147.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Bruno Martins -Date: Thu, 3 Dec 2020 20:52:39 +0000 -Subject: [PATCH] msm8974-common: Re-enable ZRAM - -This time around with ZRAM size set to 75% of total RAM size, -as per Qualcomm Android GO Performance Tuning Guide. - -Change-Id: I8f8362ccb5110fba6c5ed50b5d87a0b94a48e01c ---- - rootdir/etc/fstab.qcom | 2 ++ - rootdir/etc/init.qcom.rc | 4 ++++ - 2 files changed, 6 insertions(+) - -diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom -index 2698694..2896531 100644 ---- a/rootdir/etc/fstab.qcom -+++ b/rootdir/etc/fstab.qcom -@@ -18,5 +18,7 @@ - /dev/block/platform/msm_sdcc.1/by-name/radio /firmware/radio vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait - /dev/block/platform/msm_sdcc.1/by-name/adsp /firmware/adsp vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait - -+/dev/block/zram0 none swap defaults zramsize=75%,max_comp_streams=4,swapprio=10,notrim -+ - /devices/msm_sdcc.2/mmc_host* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata - /devices/platform/xhci-hcd/usb* auto auto defaults voldmanaged=usb:auto -diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc -index 670cfdc..3685645 100644 ---- a/rootdir/etc/init.qcom.rc -+++ b/rootdir/etc/init.qcom.rc -@@ -300,6 +300,10 @@ service wcnss-service /vendor/bin/wcnss_service - oneshot - - ## Properties start here -+on property:sys.boot_completed=1 -+ # Enable ZRAM once boot is completed -+ swapon_all /vendor/etc/fstab.qcom -+ - on property:vendor.bluetooth.hciattach=true - start hciattach - diff --git a/Scripts/LineageOS-17.1/CVE_Patchers/android_kernel_htc_msm8974.sh b/Scripts/LineageOS-17.1/CVE_Patchers/android_kernel_htc_msm8974.sh deleted file mode 100644 index cc9404a4..00000000 --- a/Scripts/LineageOS-17.1/CVE_Patchers/android_kernel_htc_msm8974.sh +++ /dev/null @@ -1,514 +0,0 @@ -#!/bin/bash -cd "$DOS_BUILD_BASE""kernel/htc/msm8974" -git apply $DOS_PATCHES_LINUX_CVES/0002-Misc_Fixes/ANY/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc/ANY/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc2/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/0005-AndroidHardening-Deny_USB/3.4/3.4-Backport.patch -git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0007.patch -#git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0010.patch -git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.10/0017.patch -#git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.18/0043.patch -git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.18/0046.patch -git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/3.18/0050.patch -git apply $DOS_PATCHES_LINUX_CVES/0006-AndroidHardening-Kernel_Hardening/ANY/0001.patch -#git apply $DOS_PATCHES_LINUX_CVES/0008-Graphene-Kernel_Hardening/4.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/0090-Unknown/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-3076/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-3222/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-3225/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-3227/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-3228/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-3229/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-3231/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2013-4470/^3.12/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2014-3688/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2014-6410/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2014-7842/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2014-7975/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2014-9904/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-2042/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-3290/3.18/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-6937/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-7513/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-7566/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-8553/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-8746/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-8812/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-8970/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-2085/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-2443/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-2543/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-3140/3.4/0010.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-3672/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-3907/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-3955/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-4485/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-4565/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-4580/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-4913/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-4998/3.10/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-4998/3.10/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-5244/3.18/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-5828/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-5859/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-5867/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-6480/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-7117/^3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-7425/3.10/0002.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-8393/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-8404/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-8450/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-8481/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-9555/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-9806/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-10232/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-10234/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-10284/3.18/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-10318/^4.8/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-10741/3.18/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-partial-SMAP-bypass/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16USB/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16USB/ANY/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16USB/ANY/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0452/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0453/prima/0003.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0463/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0610/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0613/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0627/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0630/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0630/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0786/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0861/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0862/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-5549/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-6426/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-7273/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-7368/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-7374/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-7645/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-7889/3.4/0010.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-8236/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-8266/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-8281/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-8824/3.10/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-9684/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-9684/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-9714/prima/0003.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-9719/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-9984/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-10911/3.18/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11002/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11013/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11014/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11024/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11033/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11033/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11039/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11085/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11089/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11090/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11092/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11176/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-11473/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-12153/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-12762/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13078/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13166/3.4/0076.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13167/3.4/0012.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13167/3.4/0013.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13167/3.4/0014.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13167/3.4/0015.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13167/3.4/0016.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13167/3.4/0017.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13167/3.4/0018.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13168/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13215/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13216/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13218/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13245/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13246/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13305/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13695/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-14051/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-14106/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-14489/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-14879/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15115/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15265/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15649/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15817/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15817/prima/0002.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15819/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15819/prima/0002.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15850/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15857/^3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15868/3.4/0012.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15868/3.4/0013.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-15868/3.4/0014.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16525/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16526/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16527/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16529/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16531/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16532/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16533/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16534/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16535/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16537/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16643/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16650/3.18/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16939/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16994/3.18/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-17450/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-17558/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-17769/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-17770/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-17805/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-17806/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-17807/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18017/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18079/3.18/0003.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18193/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18203/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18216/3.18/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18241/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18249/4.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18257/4.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18360/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18509/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-18551/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-1000111/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-1000363/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-1068/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-1068/^4.16/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-1092/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-1130/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-3561/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-3563/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-3564/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-3584/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-3586/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5332/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5333/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5344/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5390/3.10/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5390/3.10/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5750/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5803/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5825/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5835/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5844/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5858/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5896/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-6927/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-7492/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-7566/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-7755/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-7757/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-8781/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-8822/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9389/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9416/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9422/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9422/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9422/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9439/ANY/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9516/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9517/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9517/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9517/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9517/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9517/3.4/0010.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9568/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10021/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10087/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10124/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10675/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10876/3.4/0010.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10877/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10879/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10879/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10880/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10882/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10883/3.4/0013.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-10940/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-11266/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-11506/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-11832/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-11894/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-11939/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-11987/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-11988/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-12010/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-12011/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-12233/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-13053/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-13099/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-13405/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-13900/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-13917/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-13919/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-14614/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-14634/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-15594/3.18/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-16276/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-16658/3.18/0002.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-17972/3.18/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-18710/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-19824/3.10/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-19985/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-20169/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-20511/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-1000199/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-1000199/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-1000204/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2001/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2054/ANY/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2101/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2215/3.4/0012.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2324/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2331/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2333/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2333/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-2341/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-3459/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-3460/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-3701/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-3846/3.18/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-5489/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-5489/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-7222/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-8912/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-9456/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-9456/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10142/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10491/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10497/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10527/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10571/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10580/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10607/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10622/ANY/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10626/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-10638/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-11477/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-11478/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-11479/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-11479/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-11810/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-11833/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-11884/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14037/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14040/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14041/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14053/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14283/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14821/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14835/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14896/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15117/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15118/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15213/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15214/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15216/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15219/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15239/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15505/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15807/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-15926/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-16233/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-16746/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-16746/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-16746/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-17052/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-17052/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-17052/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-17052/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-17133/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-18806/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19051/3.18/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19051/4.4/0011.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19051/4.4/0012.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19063/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19066/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19073/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19074/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19448/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19524/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19527/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19527/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19528/^5.3/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19528/^5.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19532/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19536/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19536/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-19537/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-20054/3.18/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-20054/3.18/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-20096/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-20636/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-20812/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0009/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0030/3.10/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0040/3.4/0002.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0305/4.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0404/3.4/0002.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0429/4.4/0011.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0431/4.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0465/3.4/0015.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-0466/3.4/0015.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-3651/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-8647/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-8648/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-8648/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-8648/3.4/0006.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-8992/4.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-9383/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-10732/3.4/0010.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-10751/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-10773/4.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-10942/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11115/prima/0003.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11116/prima/0003.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11118/prima/0003.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11160/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11234/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11267/ANY/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11267/ANY/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11272/prima/0002.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11282/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-11565/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-12653/4.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-12654/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-12656/4.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-12770/3.18/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-13974/3.18/0002.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-14305/4.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-14314/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-14331/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-15393/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-15436/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-16119/4.4/0006.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-24588/4.4/0019.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-24588/4.4/0020.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-24588/prima/0015.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-25211/3.18/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-25643/3.18/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-25669/3.18/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-26139/prima/0009.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-27066/3.18/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-27068/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-27815/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-28974/3.18/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-29371/3.18/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-29568/4.4/0020.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-29661/3.0-^3.10/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2020-36158/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-0512/3.18/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-0695/ANY/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-0929/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-0961/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-0961/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-1048/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-1048/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3178/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3428/3.18/0001.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3428/4.4/0013.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3483/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3609/4.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3612/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3653/4.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3655/3.4/0022.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3655/3.4/0023.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3655/3.4/0024.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3655/3.4/0025.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3753/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3896/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-20261/^3.15/0001.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-21781/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-27363/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-28713/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-28972/3.18/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-29650/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-30262/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-31916/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-34693/3.18/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-37576/4.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-39634/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-39685/3.4/0025.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-42008/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-45095/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-45868/4.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0055.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0056.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0057.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0060.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0061.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0062.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0064.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0065.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0066.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0067.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0068.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0071.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0072.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/3.4/0073.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0012.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0013.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0014.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0015.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0018.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0019.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0020.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0021.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0032.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0040.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0041.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-Misc2/ANY/0043.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1353/4.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1652/4.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-1836/4.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-2318/4.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3028/4.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3111/4.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3424/^6.1/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-3635/4.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-4378/^6.1/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-20141/3.4/0008.patch -#git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-22058/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-22064/3.4/0007.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-24958/3.4/0017.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-25258/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-25375/3.4/0009.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-25720/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-25720/prima/0001.patch --directory=drivers/staging/prima -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-28390/4.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-36280/^6.1/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-41850/^5.19/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-41858/4.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-Misc2/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-Misc2/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-Misc2/3.4/0003.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-Misc2/3.4/0004.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-Misc2/3.4/0005.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-Misc2/3.4/0006.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-Misc2/3.4/0008.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-6752/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14053/3.4/0001.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2019-14053/3.4/0002.patch -git apply $DOS_PATCHES_LINUX_CVES/CVE-2022-20423/3.4/0010.patch -editKernelLocalversion "-dos.p510" -cd "$DOS_BUILD_BASE" diff --git a/Scripts/LineageOS-17.1/Functions.sh b/Scripts/LineageOS-17.1/Functions.sh index 5a14b3ff..8466243d 100644 --- a/Scripts/LineageOS-17.1/Functions.sh +++ b/Scripts/LineageOS-17.1/Functions.sh @@ -19,7 +19,7 @@ umask 0022; #Last verified: 2021-10-16 patchAllKernels() { - startPatcher "kernel_cyanogen_msm8916 kernel_htc_msm8974 kernel_motorola_msm8916 kernel_motorola_msm8992 kernel_motorola_msm8996 kernel_oneplus_msm8994 kernel_oneplus_sm7250 kernel_samsung_universal9810 kernel_xiaomi_sm6150 kernel_yandex_sdm660"; + startPatcher "kernel_cyanogen_msm8916 kernel_motorola_msm8916 kernel_motorola_msm8992 kernel_motorola_msm8996 kernel_oneplus_msm8994 kernel_oneplus_sm7250 kernel_samsung_universal9810 kernel_xiaomi_sm6150 kernel_yandex_sdm660"; } export -f patchAllKernels; @@ -54,9 +54,6 @@ buildAll() { buildDevice merlin; buildDevice osprey; buildDevice surnia; - #SD801 - buildDevice m8; - buildDevice m8d; #SD808 buildDevice clark; #SD810 @@ -107,7 +104,7 @@ enableDexPreOpt() { if [ -f BoardConfig.mk ]; then echo "WITH_DEXPREOPT := true" >> BoardConfig.mk; echo "WITH_DEXPREOPT_DEBUG_INFO := false" >> BoardConfig.mk; - if [ "$1" != "device/htc/m8" ] && [ "$1" != "device/htc/m8d" ]; then + if true; then echo "WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := false" >> BoardConfig.mk; echo "Enabled full dexpreopt for $1"; else diff --git a/Scripts/LineageOS-17.1/Patch.sh b/Scripts/LineageOS-17.1/Patch.sh index d6aeec11..5f92695c 100644 --- a/Scripts/LineageOS-17.1/Patch.sh +++ b/Scripts/LineageOS-17.1/Patch.sh @@ -425,14 +425,6 @@ if enterAndClear "device/cyanogen/msm8916-common"; then awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #broken releasetools fi; -if enterAndClear "device/htc/m8-common"; then -awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #broken releasetools -fi; - -if enterAndClear "device/htc/msm8974-common"; then -applyPatch "$DOS_PATCHES/android_device_htc_msm8974-common/295147.patch"; #Re-enable ZRAM (bgcngm) -fi; - if enterAndClear "device/motorola/clark"; then echo "allow mm-qcamerad camera_prop:property_service set;" >> sepolicy/mm-qcamerad.te; echo "allow mm-qcamerad property_socket:sock_file write;" >> sepolicy/mm-qcamerad.te; @@ -497,10 +489,6 @@ enableLowRam "device/motorola/osprey" "osprey"; enableLowRam "device/motorola/surnia" "surnia"; #Tweaks for <3GB RAM devices enableLowRam "device/cyanogen/msm8916-common" "msm8916-common"; -enableLowRam "device/htc/m8-common" "m8-common"; -enableLowRam "device/htc/m8" "m8"; -enableLowRam "device/htc/m8d" "m8d"; -enableLowRam "device/htc/msm8974-common" "msm8974-common"; enableLowRam "device/wileyfox/crackling" "crackling"; #Fix broken options enabled by hardenDefconfig()