zuma: Update init scripts from BP2A
Change-Id: I9e36e0faec4860fe714c0151b3cb7f373cbcf0ea
This commit is contained in:
parent
6fbf59f267
commit
2c50db1300
2 changed files with 14 additions and 5 deletions
|
@ -354,7 +354,7 @@ on post-fs-data
|
||||||
chmod 0660 /dev/ispolin_ranging
|
chmod 0660 /dev/ispolin_ranging
|
||||||
|
|
||||||
# Audio dump and debug
|
# Audio dump and debug
|
||||||
mkdir /data/vendor/audio 0770 audio audio
|
mkdir /data/vendor/audio 0770 system audio
|
||||||
|
|
||||||
# Create the directories for Darwinn HAL.
|
# Create the directories for Darwinn HAL.
|
||||||
mkdir /data/vendor/hal_neuralnetworks_darwinn 0770 system system
|
mkdir /data/vendor/hal_neuralnetworks_darwinn 0770 system system
|
||||||
|
@ -538,6 +538,7 @@ on fs
|
||||||
chown system system /sys/devices/platform/exynos-drm/primary-panel/op_hz
|
chown system system /sys/devices/platform/exynos-drm/primary-panel/op_hz
|
||||||
chown system system /sys/devices/platform/exynos-drm/primary-panel/refresh_ctrl
|
chown system system /sys/devices/platform/exynos-drm/primary-panel/refresh_ctrl
|
||||||
chown system system /sys/devices/platform/exynos-drm/primary-panel/power_state
|
chown system system /sys/devices/platform/exynos-drm/primary-panel/power_state
|
||||||
|
chown system system /sys/devices/platform/exynos-drm/displayport/drm-displayport/hdcp_negotiation
|
||||||
chown system system /sys/module/drm/parameters/vblankoffdelay
|
chown system system /sys/module/drm/parameters/vblankoffdelay
|
||||||
chown system system /sys/module/drm/parameters/debug
|
chown system system /sys/module/drm/parameters/debug
|
||||||
chown system system /sys/class/dqe0/atc/ambient_light
|
chown system system /sys/class/dqe0/atc/ambient_light
|
||||||
|
@ -734,9 +735,6 @@ on property:sys.boot_completed=1
|
||||||
# Enable SICD
|
# Enable SICD
|
||||||
write /sys/devices/system/cpu/cpupm/cpupm/sicd 1
|
write /sys/devices/system/cpu/cpupm/cpupm/sicd 1
|
||||||
|
|
||||||
# To be removed after InputDispatche and InputReader become ADPF
|
|
||||||
write /proc/vendor_sched/prefer_idle_task_name "InputDispatcher,InputReader"
|
|
||||||
|
|
||||||
on property:sys.boot_completed=1 && property:persist.sys.device_provisioned=1
|
on property:sys.boot_completed=1 && property:persist.sys.device_provisioned=1
|
||||||
write /sys/class/power_supply/battery/first_usage_date 0
|
write /sys/class/power_supply/battery/first_usage_date 0
|
||||||
|
|
||||||
|
@ -974,3 +972,14 @@ on property:persist.device_config.runtime_native_boot.mode_override=asymm
|
||||||
write /sys/devices/system/cpu/cpu6/mte_tcf_preferred asymm
|
write /sys/devices/system/cpu/cpu6/mte_tcf_preferred asymm
|
||||||
write /sys/devices/system/cpu/cpu7/mte_tcf_preferred asymm
|
write /sys/devices/system/cpu/cpu7/mte_tcf_preferred asymm
|
||||||
write /sys/devices/system/cpu/cpu8/mte_tcf_preferred asymm
|
write /sys/devices/system/cpu/cpu8/mte_tcf_preferred asymm
|
||||||
|
|
||||||
|
# Battery health
|
||||||
|
on property:persist.vendor.pulsar.opt_out=1
|
||||||
|
write /sys/class/power_supply/battery/aacp_opt_out 1
|
||||||
|
|
||||||
|
on property:persist.vendor.pulsar.opt_out=0
|
||||||
|
write /sys/class/power_supply/battery/aacp_opt_out 0
|
||||||
|
|
||||||
|
# NFC
|
||||||
|
on post-fs-data
|
||||||
|
mkdir /data/vendor/nfc 0770 nfc nfc
|
||||||
|
|
|
@ -75,7 +75,7 @@ on early-boot
|
||||||
mkdir /config/usb_gadget/g1/functions/uvc.0
|
mkdir /config/usb_gadget/g1/functions/uvc.0
|
||||||
write /config/usb_gadget/g1/functions/uvc.0/function_name "Android Webcam"
|
write /config/usb_gadget/g1/functions/uvc.0/function_name "Android Webcam"
|
||||||
write /config/usb_gadget/g1/functions/uvc.0/streaming_maxpacket 3072
|
write /config/usb_gadget/g1/functions/uvc.0/streaming_maxpacket 3072
|
||||||
# write /config/usb_gadget/g1/functions/uvc.0/streaming_maxburst 5
|
write /config/usb_gadget/g1/functions/uvc.0/streaming_maxburst 1
|
||||||
# write /config/usb_gadget/g1/functions/uvc.0/streaming_interval 2
|
# write /config/usb_gadget/g1/functions/uvc.0/streaming_interval 2
|
||||||
# setup control params
|
# setup control params
|
||||||
mkdir /config/usb_gadget/g1/functions/uvc.0/control/header/h
|
mkdir /config/usb_gadget/g1/functions/uvc.0/control/header/h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue