From af51a63925867c0ba8995ea45e76a5d76441b9be Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Mon, 22 Apr 2024 00:25:02 -0400 Subject: [PATCH 1/3] GS290: Drop CarrierConfig overlays - Enable Volte, WFC and Volte TTY by default. Signed-off-by: Jackeagle --- device.mk | 3 +- .../base/core/res/res/values/config.xml | 13 + .../CarrierConfigOverlayGS290/Android.bp | 7 - .../AndroidManifest.xml | 20 - .../res/xml/vendor_oppo.xml | 921 ------------------ 5 files changed, 14 insertions(+), 950 deletions(-) delete mode 100644 rro_overlays/CarrierConfigOverlayGS290/Android.bp delete mode 100644 rro_overlays/CarrierConfigOverlayGS290/AndroidManifest.xml delete mode 100644 rro_overlays/CarrierConfigOverlayGS290/res/xml/vendor_oppo.xml diff --git a/device.mk b/device.mk index c621aec..9a11dba 100644 --- a/device.mk +++ b/device.mk @@ -317,8 +317,7 @@ PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \ # RRO Overlays PRODUCT_PACKAGES += \ - GS290NoCutoutOverlay \ - CarrierConfigOverlayGS290 + GS290NoCutoutOverlay # Screen density PRODUCT_AAPT_CONFIG := normal diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index d329c5b..43c6280 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -182,6 +182,16 @@ ehrpd:4094,87380,1048576,4096,16384,262144 + + true + + + true + true @@ -205,6 +215,9 @@ true + + true + true diff --git a/rro_overlays/CarrierConfigOverlayGS290/Android.bp b/rro_overlays/CarrierConfigOverlayGS290/Android.bp deleted file mode 100644 index 46d8de8..0000000 --- a/rro_overlays/CarrierConfigOverlayGS290/Android.bp +++ /dev/null @@ -1,7 +0,0 @@ -runtime_resource_overlay { - name: "CarrierConfigOverlayGS290", - theme: "CarrierConfigOverlay", - sdk_version: "current", - product_specific: true, - aaptflags: ["--keep-raw-values"], -} diff --git a/rro_overlays/CarrierConfigOverlayGS290/AndroidManifest.xml b/rro_overlays/CarrierConfigOverlayGS290/AndroidManifest.xml deleted file mode 100644 index c963603..0000000 --- a/rro_overlays/CarrierConfigOverlayGS290/AndroidManifest.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - diff --git a/rro_overlays/CarrierConfigOverlayGS290/res/xml/vendor_oppo.xml b/rro_overlays/CarrierConfigOverlayGS290/res/xml/vendor_oppo.xml deleted file mode 100644 index 87cdb29..0000000 --- a/rro_overlays/CarrierConfigOverlayGS290/res/xml/vendor_oppo.xml +++ /dev/null @@ -1,921 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - com.google.android.ims - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 41919 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- GitLab From 2467f1dd8fb2fe5a0be2cff9167715db2651b412 Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Mon, 22 Apr 2024 00:27:18 -0400 Subject: [PATCH 2/3] GS290: Force enable IMS features - Some carriers necessitate these properties for the activation of IMS features. Signed-off-by: Jackeagle --- rootdir/etc/init.mt6763.rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.mt6763.rc b/rootdir/etc/init.mt6763.rc index abcbe18..8186628 100644 --- a/rootdir/etc/init.mt6763.rc +++ b/rootdir/etc/init.mt6763.rc @@ -851,9 +851,9 @@ on property:sys.boot_completed=1 write /dev/stune/rt/schedtune.prefer_idle 0 # Force Disable VOLTE/VT/WFC Support - setprop persist.dbg.volte_avail_ovr 0 - setprop persist.dbg.vt_avail_ovr 0 - setprop persist.dbg.wfc_avail_ovr 0 + setprop persist.dbg.volte_avail_ovr 1 + setprop persist.dbg.vt_avail_ovr 1 + setprop persist.dbg.wfc_avail_ovr 1 # restore perf. parameters write /proc/perfmgr/boost_ctrl/cpu_ctrl/boot_freq "-1 -1 -1 -1" -- GitLab From 8b34d3905d479ada30d5965a6d3096f81c9c8372 Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Fri, 26 Apr 2024 03:52:49 -0400 Subject: [PATCH 3/3] GS290: Pin patched librilfusion Signed-off-by: Jackeagle --- proprietary-files.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proprietary-files.txt b/proprietary-files.txt index e021f23..606998b 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1100,7 +1100,7 @@ vendor/lib64/libmtktinyxml.so vendor/lib64/libmtkutils.so vendor/lib64/libratconfig.so vendor/lib64/librgbwlightsensor.so -vendor/lib64/librilfusion.so +vendor/lib64/librilfusion.so|f7232cfeec529c2c29008c99c6e065d62ba67eb2 vendor/lib64/libstereoinfoaccessor_vsdof.so vendor/lib64/libsysenv.so vendor/lib64/libwo.so -- GitLab