DivestOS/Patches/LineageOS-15.1/android_device_lge_mako/0001-Enable_LTE.patch
2018-05-30 03:45:43 -04:00

54 lines
2.2 KiB
Diff

From 8d82bed53344a877de91309eef42c6b5f9ca6db1 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 30 May 2018 02:17:39 -0400
Subject: [PATCH] Enable LTE
Change-Id: Iabc9e512ee27cc52466d0baed88c6bc18bc90ad6
---
overlay/frameworks/base/core/res/res/values/config.xml | 2 +-
overlay/packages/services/Telephony/res/values/config.xml | 3 +++
system.prop | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 1d2e845..e2e1b35 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -212,7 +212,7 @@
Empty is viewed as "all". Only used on devices which
don't support RIL_REQUEST_GET_RADIO_CAPABILITY
format is UMTS|LTE|... -->
- <string translatable="false" name="config_radio_access_family">GSM|WCDMA</string>
+ <string translatable="false" name="config_radio_access_family">GSM|WCDMA|LTE</string>
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
<bool name="config_cellBroadcastAppLinks">true</bool>
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). -->
<bool name="send_mic_mute_to_AudioManager">true</bool>
+
+ <!-- Show enabled lte option for lte device -->
+ <bool name="config_enabled_lte" translatable="false">true</bool>
</resources>
diff --git a/system.prop b/system.prop
index 0723d79..94ce8fa 100644
--- a/system.prop
+++ b/system.prop
@@ -26,7 +26,7 @@ debug.hwui.use_buffer_age=false
# RIL
rild.libpath=/vendor/lib/libril-qc-qmi-1.so
-telephony.lteOnCdmaDevice=0
+telephony.lteOnCdmaDevice=1
persist.radio.apm_sim_not_pwdn=1
ro.telephony.call_ring.multiple=0
--
2.17.0