sm6225-common: Add missing hvdcp_opti blobs
Change-Id: I8490534c582bae2e28d0ec5783a642c150d236d4
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
||||
#
|
||||
|
||||
# Android fstab file.
|
||||
# The filesystem that contains the filesystem checker binary (typically /system) cannot
|
||||
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
|
||||
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
# Copyright (c) 2019-2020, Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
|
||||
service vendor.hvdcp_opti /vendor/bin/hvdcp_opti
|
||||
class main
|
||||
user system
|
||||
group system wakelock
|
||||
capabilities BLOCK_SUSPEND WAKE_ALARM
|
||||
disabled
|
||||
|
||||
service vendor.qti-chg-policy-sh /vendor/bin/init.qti.chg_policy.sh
|
||||
class core
|
||||
user root
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on boot
|
||||
enable vendor.qti-chg-policy-sh
|
||||
start vendor.qti-chg-policy-sh
|
||||
|
||||
on charger
|
||||
chown radio wakelock /sys/power/wake_lock
|
||||
chmod 0660 /sys/power/wake_lock
|
||||
chown radio wakelock /sys/power/wake_unlock
|
||||
chmod 0660 /sys/power/wake_unlock
|
||||
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
|
||||
mount_all /vendor/etc/charger_fstab.qti --early
|
||||
enable vendor.qti-chg-policy-sh
|
||||
start vendor.qti-chg-policy-sh
|
||||
|
||||
on property:persist.vendor.hvdcp_opti.start=2
|
||||
rmdir /mnt/vendor/persist/hvdcp_opti
|
||||
setprop persist.vendor.hvdcp_opti.start 0
|
||||
|
||||
on property:persist.vendor.hvdcp_opti.start=1
|
||||
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
|
||||
enable vendor.hvdcp_opti
|
||||
start vendor.hvdcp_opti
|
||||
setprop persist.vendor.hvdcp_opti.start 0
|
||||
Reference in New Issue
Block a user