From a07cea7507a15a91e68e48d94a19a7d8be5b7d3a Mon Sep 17 00:00:00 2001 From: Emil Kosz Date: Sun, 27 Sep 2026 08:40:50 +0200 Subject: [PATCH] misc: move HAL config from vendor to dt --- configs/sensors/_hals.conf | 1 + lineage_rubenslte.mk | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 configs/sensors/_hals.conf diff --git a/configs/sensors/_hals.conf b/configs/sensors/_hals.conf new file mode 100644 index 0000000..77ea7ce --- /dev/null +++ b/configs/sensors/_hals.conf @@ -0,0 +1 @@ +/system/lib/hw/sensors.msm8226.so diff --git a/lineage_rubenslte.mk b/lineage_rubenslte.mk index 2c0bc7c..7241664 100644 --- a/lineage_rubenslte.mk +++ b/lineage_rubenslte.mk @@ -22,5 +22,10 @@ PRODUCT_PACKAGES += fstab.qcom init.target.rc PRODUCT_COPY_FILES += \ frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \ +# Sensors +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/sensors/_hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/_hals.conf + + $(call inherit-product-if-exists, vendor/samsung/rubenslte/rubenslte-vendor.mk) $(call inherit-product, device/samsung/msm8226-common/msm8226.mk)