Files
device_xiaomi_sm6150-common/rootdir/etc/init.recovery.qcom.rc
Yumi Yukimura e671eb6c69 sm6150-common: Run hvdcp_opti in recovery mode
* Enables charging in recovery mode
  (will be useful when the main OS is not downstream Android...)

Change-Id: Ife2b7b82439ccedf2456080d8106966cdad7669f
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-10 08:54:16 +00:00

14 lines
378 B
Plaintext

service hvdcp_opti /system/bin/hvdcp_opti
user root
group system wakelock
task_profiles ServiceCapacityLow
seclabel u:r:vendor_hvdcp:s0
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
on init
setprop sys.usb.controller a600000.dwc3
setprop sys.usb.configfs 1