diff --git a/Patches/LineageOS-14.1/android_device_lge_mako/0001-Enable_LTE.patch b/Patches/LineageOS-14.1/android_device_lge_mako/0001-Enable_LTE.patch deleted file mode 100644 index b330685d..00000000 --- a/Patches/LineageOS-14.1/android_device_lge_mako/0001-Enable_LTE.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 4edf341b3b70c3bfe391dff53a7e63691c9e7bcb Mon Sep 17 00:00:00 2001 -From: Tad -Date: Mon, 21 Nov 2016 21:30:33 -0500 -Subject: [PATCH] Enable LTE - -Change-Id: I69afb82cc409bd2590b320f5b85636ee2f1de327 ---- - device.mk | 2 +- - overlay/frameworks/base/core/res/res/values/config.xml | 2 +- - overlay/packages/services/Telephony/res/values/config.xml | 3 +++ - 3 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/device.mk b/device.mk -index 1960be2..69fe0b8 100644 ---- a/device.mk -+++ b/device.mk -@@ -234,7 +234,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ - rild.libpath=/system/lib/libril-qc-qmi-1.so - - PRODUCT_PROPERTY_OVERRIDES += \ -- telephony.lteOnCdmaDevice=0 -+ telephony.lteOnCdmaDevice=1 - - ifeq ($(findstring tiny, $(TARGET_PRODUCT)),) - PRODUCT_PROPERTY_OVERRIDES += \ -diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml -index 6c68c1d..6febaf2 100644 ---- a/overlay/frameworks/base/core/res/res/values/config.xml -+++ b/overlay/frameworks/base/core/res/res/values/config.xml -@@ -231,7 +231,7 @@ - Empty is viewed as "all". Only used on devices which - don't support RIL_REQUEST_GET_RADIO_CAPABILITY - format is UMTS|LTE|... --> -- GSM|WCDMA -+ GPRS|EDGE|UMTS|HSDPA|HSUPA|HSPA|LTE|HSPAP|GSM|WCDMA - - - true -diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml -index af352a4..22c65ea 100644 ---- a/overlay/packages/services/Telephony/res/values/config.xml -+++ b/overlay/packages/services/Telephony/res/values/config.xml -@@ -21,4 +21,7 @@ - are routed through the android.media.AudioManager class (true) or through - the com.android.internal.telephony.Phone interface (false). --> - true -+ -+ -+ true - --- -2.9.3 - diff --git a/Scripts/LineageOS-14.1/Patch.sh b/Scripts/LineageOS-14.1/Patch.sh index f5a2a47a..0a0bc016 100755 --- a/Scripts/LineageOS-14.1/Patch.sh +++ b/Scripts/LineageOS-14.1/Patch.sh @@ -209,9 +209,6 @@ 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. #enterAndClear "kernel/lge/g3" #sed -i 's/39 01 00 00 00 00 04 F2 01 00 40/39 01 00 00 00 00 04 F2 01 00 00/' arch/arm/boot/dts/msm8974pro-lge-common/msm8974pro-lge-panel.dtsi; #Oversharpening fix, Credit: @Skin1980 -#enterAndClear "device/lge/mako" -#patch -p1 < $patches"android_device_lge_mako/0001-Enable_LTE.patch" #Enable LTE support (Requires LTE hybrid modem to be flashed) XXX: Doesn't seem to work on 7+ - #Make changes to all devices cd $base find "device" -maxdepth 2 -mindepth 2 -type d -exec bash -c 'enhanceLocation "$0"' {} \; diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index 632e8d3c..4b1ef295 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -75,7 +75,7 @@ export -f buildAll; patchWorkspace() { source build/envsetup.sh; - repopick 204743 204744 205021 206123; #Cherry picks + repopick 205021 206123; #Cherry picks source $scripts/Patch.sh; source $scripts/Defaults.sh;