gts4lv-common: Migrate to lineagehealth IFastCharge

Change-Id: Ia2f1f213de2f2e5afd913e5de38712fddc386b49
This commit is contained in:
LuK1337
2025-08-13 21:56:50 +02:00
parent 985419a08c
commit 9fbc8e3abd
6 changed files with 4 additions and 11 deletions

View File

@@ -145,10 +145,6 @@ TARGET_BOARD_FASTBOOT_INFO_FILE := $(LOCAL_PATH)/fastboot-info.txt
PRODUCT_PACKAGES += \
fastbootd
# FastCharge
PRODUCT_PACKAGES += \
vendor.lineage.fastcharge@1.0-service.samsung
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint-service.samsung
@@ -175,6 +171,9 @@ $(call soong_config_set,lineage_health,charging_control_charging_path,/sys/class
$(call soong_config_set,lineage_health,charging_control_charging_enabled,0)
$(call soong_config_set,lineage_health,charging_control_charging_disabled,1)
$(call soong_config_set,lineage_health,charging_control_supports_bypass,false)
$(call soong_config_set,lineage_health,fast_charge_node,/sys/class/sec/switch/afc_disable)
$(call soong_config_set,lineage_health,fast_charge_value_none,1)
$(call soong_config_set,lineage_health,fast_charge_value_fast_charge,0)
# LiveDisplay
PRODUCT_PACKAGES += \

View File

@@ -171,7 +171,6 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.health-service\.samsung u:object_r:hal_health_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@4\.0-service\.samsung u:object_r:hal_keymaster_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors-service\.samsung-multihal u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.fastcharge@1\.0-service\.samsung u:object_r:hal_lineage_fastcharge_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.samsung-qcom u:object_r:hal_lineage_livedisplay_sysfs_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.thermal@1\.0-service u:object_r:hal_thermal_default_exec:s0

View File

@@ -1,4 +0,0 @@
allow hal_lineage_fastcharge_default sysfs_sec_switch:dir search;
allow hal_lineage_fastcharge_default sysfs_sec_switch:file rw_file_perms;
set_prop(hal_lineage_fastcharge, sec_fastcharge_prop)

View File

@@ -1 +1,2 @@
rw_dir_file(hal_lineage_health_default, sysfs_batteryinfo)
rw_dir_file(hal_lineage_health_default, sysfs_sec_switch)

View File

@@ -4,7 +4,6 @@ vendor_internal_prop(ina_status_prop)
vendor_internal_prop(receiver_error_prop)
vendor_internal_prop(sec_camera_prop)
vendor_internal_prop(sec_cnss_diag_prop)
vendor_internal_prop(sec_fastcharge_prop)
vendor_internal_prop(vendor_factory_prop)
vendor_internal_prop(vendor_members_prop)
vendor_internal_prop(vendor_qseecomd_prop)

View File

@@ -7,7 +7,6 @@ persist.sys.bt.driver.version u:object_r:vendor_bluetooth_prop:s0
persist.sys.ina.status u:object_r:ina_status_prop:s0
persist.vendor.camera. u:object_r:sec_camera_prop:s0
persist.vendor.camera.debug.logfile u:object_r:sec_camera_prop:s0
persist.vendor.sec.fastchg_enabled u:object_r:sec_fastcharge_prop:s0
persist.vendor.members. u:object_r:vendor_members_prop:s0
ro.csc. u:object_r:csc_prop:s0
ro.error.receiver.default u:object_r:receiver_error_prop:s0