sm8450-common: Partially revert "Move to QTI health AIDL service"

https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099

This partially reverts commit 2d6f07b00c.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
This commit is contained in:
Sebastiano Barezzi 2024-05-30 19:28:43 +02:00 committed by Arian
parent 7851954b06
commit 856fd64d7b
4 changed files with 3 additions and 6 deletions

View file

@ -67,9 +67,6 @@ function blob_fixup() {
vendor/bin/hw/android.hardware.security.keymint-service-qti|vendor/lib/libqtikeymint.so|vendor/lib64/libqtikeymint.so)
grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || "${PATCHELF_0_17_2}" --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}"
;;
vendor/etc/init/hw/init.mi_thermald.rc|vendor/etc/init/hw/init.qcom.usb.rc|vendor/etc/init/hw/init.qti.kernel.rc)
sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}"
;;
vendor/etc/init/init.embmssl_server.rc)
sed -i -n '/interface/!p' "${2}"
;;

View file

@ -803,7 +803,7 @@ service esepmdaemon /system/vendor/bin/esepmdaemon
user system
group nfc
on property:init.svc.vendor.charger=running
on charger
setprop persist.sys.usb.config mass_storage
start qcom-post-boot

View file

@ -167,7 +167,7 @@ on property:sys.boot_completed=1
start kernel-boot
start kernel-post-boot
on property:init.svc.vendor.charger=running
on charger
start kernel-post-boot
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf

View file

@ -129,7 +129,7 @@ on init && property:ro.boot.mode=charger
wait /sys/kernel/boot_adsp/boot
write /sys/kernel/boot_adsp/boot 1
on property:init.svc.vendor.charger=running
on charger
start vendor.power_off_alarm
setprop sys.usb.controller a600000.dwc3
wait /sys/class/udc/${sys.usb.controller}