mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
* 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>
14 lines
378 B
Plaintext
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
|