sm8350-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 4aca996701
.
Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
This commit is contained in:
parent
4e4a00634b
commit
6ec43311ae
@ -18,7 +18,7 @@ on property:sys.boot_completed=1
|
||||
start batterysecret
|
||||
|
||||
#run batterysecret in off-charge mode
|
||||
on property:init.svc.vendor.charger=running
|
||||
on charger
|
||||
start batterysecret
|
||||
chmod 0664 /sys/class/qcom-battery/pd_verifed
|
||||
chmod 0664 /sys/class/qcom-battery/request_vdm_cmd
|
||||
|
@ -1,4 +1,4 @@
|
||||
on property:init.svc.vendor.charger=running
|
||||
on charger
|
||||
wait /sys/class/power_supply/usb/type
|
||||
start mi_thermald
|
||||
on boot
|
||||
|
@ -25,7 +25,7 @@
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
on property:init.svc.vendor.charger=running
|
||||
on charger
|
||||
mkdir /config/usb_gadget/g1 0770
|
||||
mkdir /config/usb_gadget/g1/strings/0x409 0770
|
||||
|
||||
|
@ -161,7 +161,7 @@ on init && property:ro.boot.mode=charger
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
wait /sys/class/power_supply/battery
|
||||
|
||||
on property:init.svc.vendor.charger=running
|
||||
on charger
|
||||
start vendor.power_off_alarm
|
||||
setprop sys.usb.controller a600000.dwc3
|
||||
setprop sys.usb.configfs 1
|
||||
|
Loading…
Reference in New Issue
Block a user