From f495da19f7eea08fd0d364a5fac159de25a0c044 Mon Sep 17 00:00:00 2001 From: Wayne Lin Date: Thu, 19 Sep 2024 23:00:53 +0800 Subject: [PATCH 1/5] gps: set default SUPL SSL method to SSLv23 Bug: 363886476 Test: verify SUPL NI test pass (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cd8d3c9819f3850573d7bad81fd49b49c7b4c2d0) Merged-In: I24ba47dafb991c395fa27ba7585c907e7b9f1920 Change-Id: I24ba47dafb991c395fa27ba7585c907e7b9f1920 --- location/gps.6.1.xml.l10 | 2 +- location/gps.xml.l10 | 2 +- location/gps_user.6.1.xml.l10 | 2 +- location/gps_user.xml.l10 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/location/gps.6.1.xml.l10 b/location/gps.6.1.xml.l10 index 4a4b847..aa2b787 100644 --- a/location/gps.6.1.xml.l10 +++ b/location/gps.6.1.xml.l10 @@ -18,7 +18,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps.xml.l10 b/location/gps.xml.l10 index adc8585..5a45e70 100644 --- a/location/gps.xml.l10 +++ b/location/gps.xml.l10 @@ -18,7 +18,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps_user.6.1.xml.l10 b/location/gps_user.6.1.xml.l10 index 27a5a53..005fe4d 100644 --- a/location/gps_user.6.1.xml.l10 +++ b/location/gps_user.6.1.xml.l10 @@ -17,7 +17,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" diff --git a/location/gps_user.xml.l10 b/location/gps_user.xml.l10 index db993ca..ea78dd3 100644 --- a/location/gps_user.xml.l10 +++ b/location/gps_user.xml.l10 @@ -17,7 +17,7 @@ SuplLogFullName="/data/vendor/gps/suplflow.txt" tlsEnable="true" - SuplSslMethod="SSLv23_NO_TLSv1_2" + SuplSslMethod="SSLv23" SuplEnable="true" SuplUseApn="false" SuplUseApnNI="true" From b7ac236d48c17796639af147a71dc12f18e943b0 Mon Sep 17 00:00:00 2001 From: Isaac Chiou Date: Fri, 8 Nov 2024 09:49:11 +0000 Subject: [PATCH 2/5] Disable Wifi BugReport for subsystem restart Flag: EXEMPT gated by overlay Bug: 373594936 Test: Manuel test, trigger SSR and won't create bugreport automatically Change-Id: I35b73b9287463456d6a3376afb76fd2c3ce3115f --- rro_overlays/WifiOverlay/res/values/config.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml index 7c85551..d500238 100644 --- a/rro_overlays/WifiOverlay/res/values/config.xml +++ b/rro_overlays/WifiOverlay/res/values/config.xml @@ -157,4 +157,7 @@ 3 + + + false From b7fb9e1e8ddb19885e67a11932cc2c54e2b810b4 Mon Sep 17 00:00:00 2001 From: Eileen Lai Date: Sun, 8 Dec 2024 07:39:17 +0000 Subject: [PATCH 3/5] modem_svc: use modem_svc_sit version sepolicy For solving sepolicy conflicts for different AP version, modem_svc_sit will support devices from gs101 to zuma_pro. Bug: 372400955 Change-Id: I9e371028b1848b4ddbefa924f91dc84949817df1 Flag: NONE local testing only --- device-lynx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-lynx.mk b/device-lynx.mk index b6ac258..24d5ef1 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -94,7 +94,7 @@ PRODUCT_PACKAGES += \ SHARED_MODEM_PLATFORM_VENDOR := lassen # Shared Modem Platform -include device/google/gs-common/modem/shared_modem_platform/shared_modem_platform.mk +include device/google/gs-common/modem/modem_svc_sit/shared_modem_platform.mk # SecureElement PRODUCT_PACKAGES += \ From 63f1518c06e9cb1dade6a4d5f1a563f24483a10b Mon Sep 17 00:00:00 2001 From: Nathan Kulczak Date: Tue, 17 Sep 2024 02:20:56 +0000 Subject: [PATCH 4/5] Vibrator: Add permissions for owt_lib_compat Add permissions to access owt_lib_compat sysfs attribute Bug: 346570576 Flag: vendor.vibrator.hal.flags.enable_pwle_v2 Test: Flash to device and use access sysfs Change-Id: I73105a29b067d31951d137a02909335402388385 Signed-off-by: Nathan Kulczak --- conf/init.lynx.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index ee6e30f..dfc95e1 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -107,6 +107,7 @@ on property:vendor.all.modules.ready=1 chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_ms chown system system /sys/bus/i2c/devices/8-0043/default/f0_offset chown system system /sys/bus/i2c/devices/8-0043/default/owt_free_space + chown system system /sys/bus/i2c/devices/8-0043/default/owt_lib_compat chown system system /sys/bus/i2c/devices/8-0043/default/f0_comp_enable chown system system /sys/bus/i2c/devices/8-0043/default/redc_comp_enable chown system system /sys/bus/i2c/devices/8-0043/default/delay_before_stop_playback_us From 38fc365a6808d1e00b9633cf26efac8d9e85896a Mon Sep 17 00:00:00 2001 From: Chungkai Mei Date: Tue, 17 Dec 2024 09:34:27 +0000 Subject: [PATCH 5/5] remove unused hint As we already migrated kernel to 6.1, NewlyIdleBalancer is not used anymore. Flag: NONE just remove unused hint Bug: 379810138 Change-Id: I320983d36c2cc8edae99e5c132ca63f4d2237046 Signed-off-by: Chungkai Mei --- powerhint.json | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/powerhint.json b/powerhint.json index 022c6f1..d3d5cbc 100644 --- a/powerhint.json +++ b/powerhint.json @@ -335,14 +335,6 @@ ], "ResetOnInit": true }, - { - "Name": "NewlyIdleBalancer", - "Path": "/proc/vendor_sched/idle_balancer", - "Values": [ - "0", - "1" - ] - }, { "Name": "DisplayWakeup", "Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup", @@ -1216,12 +1208,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_EXTREME", - "Node": "NewlyIdleBalancer", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "PMU_POLL", @@ -1330,12 +1316,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_HIGH", - "Node": "NewlyIdleBalancer", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "PowerHALCameraRunning", @@ -1390,12 +1370,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "NewlyIdleBalancer", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_STREAMING_LOW", "Node": "PowerHALCameraRunning", @@ -1456,12 +1430,6 @@ "Duration": 0, "Value": "0" }, - { - "PowerHint": "CAMERA_STREAMING_LOW", - "Node": "NewlyIdleBalancer", - "Duration": 0, - "Value": "0" - }, { "PowerHint": "CAMERA_VIDEO_RECORDING", "Type": "MaskHint",