mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
mako: add back LTE support patch
This commit is contained in:
parent
cd98cee42f
commit
fe6f853746
@ -0,0 +1,53 @@
|
||||
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
|
||||
|
@ -212,6 +212,7 @@ echo "/dev/block/platform/msm_sdcc\.1/by-name/pad u:object_r:misc_block_devi
|
||||
enterAndClear "device/lge/mako";
|
||||
cp $patches"android_device_lge_mako/proprietary-blobs.txt" proprietary-blobs.txt; #update that? nah
|
||||
echo "allow kickstart usbfs:dir search;" >> sepolicy/kickstart.te; #Fix forceencrypt on first boot
|
||||
patch -p1 < $patches"android_device_lge_mako/0001-Enable_LTE.patch";
|
||||
|
||||
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/
|
||||
|
Loading…
Reference in New Issue
Block a user