sm8350-common: Build Lineage Health HAL

Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
This commit is contained in:
Michael Bestas 2023-03-03 23:43:42 +02:00 committed by Arian
parent 547958b311
commit 22f550f593
3 changed files with 10 additions and 0 deletions

View file

@ -100,6 +100,9 @@ BOARD_KERNEL_CMDLINE += pcie_ports=compat
BOARD_KERNEL_CMDLINE += iptable_raw.raw_before_defrag=1
BOARD_KERNEL_CMDLINE += ip6table_raw.raw_before_defrag=1
# Lineage Health
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_BYPASS := false
# PowerShare
SOONG_CONFIG_NAMESPACES += XIAOMI_POWERSHARE
SOONG_CONFIG_XIAOMI_POWERSHARE := WIRELESS_TX_ENABLE_PATH

View file

@ -278,6 +278,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
android.hardware.keymaster@4.1.vendor
# Lineage Health
PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
# LiveDisplay
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.0-service-sdm

View file

@ -132,6 +132,9 @@ firmware_directories /vendor/firmware_mnt/image/
# socinfo
/sys/devices/soc0 serial_number 0000 root root
# Charger
/sys/class/qcom-battery input_suspend 0660 system system
# mius iio devices
/dev/iio:device* 0660 system system
/sys/bus/iio/devices/iio:device* buffer/enable 0600 system system