From f24e16e5fb1e9bb0b62903081fe3498ac257f823 Mon Sep 17 00:00:00 2001 From: Ankur Bakshi Date: Thu, 30 May 2024 00:03:04 +0000 Subject: [PATCH 1/5] Update lynx SVN to 44 Bug: 342381152 Change-Id: I6be0c030e892e41624d6ca3cdaf2f1d8b505711b --- device-lynx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-lynx.mk b/device-lynx.mk index 75d7787..42f303c 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -212,7 +212,7 @@ PRODUCT_VENDOR_PROPERTIES += \ # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=43 + ro.vendor.build.svn=44 # Set support hide display cutout feature PRODUCT_PRODUCT_PROPERTIES += \ From 25c03bda4beab733bf519217b86e2a4792fc6f7b Mon Sep 17 00:00:00 2001 From: leonardian Date: Wed, 12 Jun 2024 01:59:31 +0000 Subject: [PATCH 2/5] Enable all primitive effects - Remove ro.vendor.vibrator.hal.supported_primitives to support all primitive effects - Set ACTUATOR_MODEL to legacy_zlra_actuator Bug: 342062469 Test: idlcli commands Test: atest PTS, VTS, CTS Test: Checked HAL dumpsys for durations Change-Id: I7b6d8d9669fa0d671c0867401583c6073c5588ca --- device-lynx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-lynx.mk b/device-lynx.mk index 42f303c..ba03d52 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -160,8 +160,8 @@ endif # Vibrator HAL $(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION))) ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1 +ACTUATOR_MODEL := legacy_zlra_actuator PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.vibrator.hal.supported_primitives=243 \ ro.vendor.vibrator.hal.f0.comp.enabled=1 \ ro.vendor.vibrator.hal.redc.comp.enabled=0 \ persist.vendor.vibrator.hal.context.enable=false \ From 5c8a282c258a96af892130ecab248d9acd756a16 Mon Sep 17 00:00:00 2001 From: leonardian Date: Thu, 23 May 2024 03:34:06 +0000 Subject: [PATCH 3/5] conf: Enable access for braking time sysfs nodes Sysfs nodes: - braking_time_bank - braking_time_index - braking_time_ms Bug: 325121485 Test: Open sysfs nodes successfully during HAL init Change-Id: I00ffb65d2fc51f5cceb2292383ecc23164542c4f Signed-off-by: leonardian --- conf/init.lynx.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index 74fd523..1a427dc 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -102,6 +102,9 @@ on property:vendor.all.modules.ready=1 chown system system /sys/bus/i2c/devices/8-0043/calibration/redc_stored chown system system /sys/bus/i2c/devices/8-0043/default/vibe_state chown system system /sys/bus/i2c/devices/8-0043/default/num_waves + chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_bank + chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_index + 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/f0_comp_enable From 282198036ae2984bb65e522cb634de144782a18e Mon Sep 17 00:00:00 2001 From: chenkris Date: Fri, 21 Jun 2024 04:11:15 +0000 Subject: [PATCH 4/5] =?UTF-8?q?Build=20g7=5Ftrusty=5Fnext=20for=20?= =?UTF-8?q?=E2=80=9Cnext=E2=80=9D=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: 348542941 Test: build Change-Id: I51ad9bfbfafe168f401ddb6f19efe45d3b33ba7d --- device-lynx.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-lynx.mk b/device-lynx.mk index ba03d52..0b49375 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -149,7 +149,11 @@ include device/google/lynx/bluetooth/qti_default.mk # ro.hardware.gatekeeper=software # Fingerprint HAL +ifneq (,$(filter AP4%,$(RELEASE_PLATFORM_VERSION))) +GOODIX_CONFIG_BUILD_VERSION := g7_trusty_next +else GOODIX_CONFIG_BUILD_VERSION := g7_trusty +endif $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk) ifeq ($(filter factory%, $(TARGET_PRODUCT)),) $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk) From 6177fcd4582562566911c6813cbe9b99e004061a Mon Sep 17 00:00:00 2001 From: chenkris Date: Mon, 24 Jun 2024 11:21:59 +0000 Subject: [PATCH 5/5] =?UTF-8?q?Revert=20"Build=20g7=5Ftrusty=5Fnext=20for?= =?UTF-8?q?=20=E2=80=9Cnext=E2=80=9D=20configuration"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 282198036ae2984bb65e522cb634de144782a18e. Bug: 348542941 Test: build Change-Id: Id51002513811f009354ba9fdbc4561ec7b286473 --- device-lynx.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/device-lynx.mk b/device-lynx.mk index 0b49375..ba03d52 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -149,11 +149,7 @@ include device/google/lynx/bluetooth/qti_default.mk # ro.hardware.gatekeeper=software # Fingerprint HAL -ifneq (,$(filter AP4%,$(RELEASE_PLATFORM_VERSION))) -GOODIX_CONFIG_BUILD_VERSION := g7_trusty_next -else GOODIX_CONFIG_BUILD_VERSION := g7_trusty -endif $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk) ifeq ($(filter factory%, $(TARGET_PRODUCT)),) $(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk)