zumapro: Update init scripts from BP2A

Change-Id: I9e36e0faec4860fe714c0151b3cb7f373cbcf0ea
This commit is contained in:
Michael Bestas 2025-06-14 01:53:53 +03:00 committed by Michael Bestas
parent 6be7ebf0b0
commit d882fcf2d8
No known key found for this signature in database
4 changed files with 17 additions and 5 deletions

View file

@ -192,7 +192,7 @@ on post-fs-data
chmod 0660 /dev/ispolin_ranging
# Audio dump and debug
mkdir /data/vendor/audio 0770 audio audio
mkdir /data/vendor/audio 0770 system audio
# Create the directories for Darwinn HAL.
mkdir /data/vendor/hal_neuralnetworks_darwinn 0770 system system
@ -313,6 +313,7 @@ on fs
chown system system /sys/devices/platform/exynos-drm/primary-panel/frame_rate
chown system system /sys/devices/platform/exynos-drm/primary-panel/frame_interval_ns
chown system system /sys/devices/platform/exynos-drm/primary-panel/expected_present_time_ns
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/debug
chown system system /sys/class/dqe0/atc/ambient_light
@ -569,6 +570,8 @@ on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/tz-by-name/btmspkr_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/rfpa_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/rfpa_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_hyst
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
@ -649,3 +652,10 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/9-0043/default/redc_comp_enable
chown system system /sys/bus/i2c/devices/9-0043/default/delay_before_stop_playback_us
enable vendor.vibrator.cs40l26
# 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

View file

@ -178,9 +178,6 @@ on property:sys.boot_completed=1
write /sys/devices/system/cpu/cpufreq/policy7/sched_pixel/limit_frequency 2363000
write /proc/vendor_sched/pmu_poll_time 10
# To be removed after InputDispatche and InputReader become ADPF
write /proc/vendor_sched/prefer_idle_task_name "InputDispatcher,InputReader"
# MTE
on property:persist.device_config.runtime_native_boot.mode_override=sync
# Per-core mode overrides.

View file

@ -75,7 +75,7 @@ on early-boot
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/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
# setup control params
mkdir /config/usb_gadget/g1/functions/uvc.0/control/header/h

View file

@ -42,6 +42,8 @@ on init
chown system system /sys/class/power_supply/wireless/device/features
chown system system /sys/class/power_supply/wireless/device/authtype
chown system system /sys/class/power_supply/wireless/device/authstart
chown system system /sys/class/power_supply/wireless/device/stream
chown system system /sys/class/power_supply/wireless/device/fwupdate_data
# Adaptive charge
chown system system /sys/class/power_supply/battery/charge_deadline
@ -112,6 +114,7 @@ on early-boot
chown system system /dev/logbuffer_cpm
chown system system /dev/logbuffer_wc68
chown system system /dev/logbuffer_max77779_fwupdate
chown system system /dev/logbuffer_wlc_fw_update
on property:sys.boot_completed=1
# gvotables for dumpstate
@ -128,6 +131,8 @@ on property:sys.boot_completed=1
chown system system /sys/class/power_supply/wireless/device/status
chown system system /sys/class/power_supply/wireless/device/version
chown system system /sys/class/power_supply/wireless/device/authstart
chown system system /sys/class/power_supply/wireless/device/stream
chown system system /sys/class/power_supply/wireless/device/fwupdate_data
# write serialno to battery path for pairing
write /sys/class/power_supply/battery/dev_sn ${ro.boot.serialno}