sdm660-common: rootdir: Clean up init stuffs
This commit is contained in:
parent
478a2b33b6
commit
e9bec8a155
4 changed files with 15 additions and 32 deletions
|
@ -60,7 +60,6 @@ on init
|
|||
|
||||
# ZRAM setup
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
write /sys/block/zram0/max_comp_streams 8
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
|
||||
on post-fs
|
||||
|
@ -82,7 +81,6 @@ on early-boot
|
|||
write /sys/kernel/boot_slpi/boot 1
|
||||
write /sys/devices/virtual/cvp/cvp/boot 1
|
||||
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh
|
||||
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh
|
||||
|
||||
# for backward compatibility
|
||||
chown system system /persist/sensors
|
||||
|
|
|
@ -66,7 +66,6 @@ on fs
|
|||
chmod 0771 /mnt/vendor/persist
|
||||
mkdir /mnt/vendor/persist/data 0700 system system
|
||||
mkdir /mnt/vendor/persist/bms 0700 root system
|
||||
exec u:r:vendor_toolbox:s0 root audio bluetooth graphics media net_raw system vendor_rfs vendor_rfs_shared -- /vendor/bin/toybox_vendor find /mnt/vendor/persist -type d -exec /vendor/bin/toybox_vendor setfattr -x security.sehash {} \;
|
||||
restorecon_recursive /mnt/vendor/persist
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
|
||||
|
@ -132,10 +131,7 @@ on boot
|
|||
|
||||
# Touchpanel
|
||||
chown system system /sys/touchpanel/double_tap
|
||||
|
||||
chmod 0664 /sys/touchpanel/capacitive_keys
|
||||
chmod 0664 /sys/touchpanel/double_tap
|
||||
chmod 0664 /sys/touchpanel/reversed_keys
|
||||
|
||||
# SmartCharging
|
||||
chown system system /sys/class/power_supply/battery/input_suspend
|
||||
|
|
|
@ -46,15 +46,3 @@ on boot
|
|||
chmod 660 /sys/devices/platform/kcal_ctrl.0/kcal_val
|
||||
chmod 660 /sys/devices/platform/kcal_ctrl.0/kcal_min
|
||||
chmod 660 /sys/devices/platform/kcal_ctrl.0/kcal
|
||||
|
||||
service folio_daemon /system/bin/folio_daemon
|
||||
class late_start
|
||||
user system
|
||||
group system uhid
|
||||
disabled
|
||||
|
||||
on property:persist.service.folio_daemon=0
|
||||
stop folio_daemon
|
||||
|
||||
on property:persist.service.folio_daemon=1
|
||||
start folio_daemon
|
||||
|
|
|
@ -60,15 +60,15 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/dev/synx_device 0660 root camera
|
||||
/dev/hab 0666 system system
|
||||
|
||||
#permissions for CSVT
|
||||
# permissions for CSVT
|
||||
/dev/smd11 0660 radio radio
|
||||
|
||||
#permsissions for BT/FM
|
||||
# permsissions for BT/FM
|
||||
/dev/smd2 0660 bluetooth bluetooth
|
||||
/dev/smd3 0660 bluetooth bluetooth
|
||||
/dev/btpower 0660 bluetooth system
|
||||
|
||||
#permissions for pta
|
||||
# permissions for pta
|
||||
/dev/pta 0660 system system
|
||||
|
||||
/dev/radio0 0640 system system
|
||||
|
@ -164,11 +164,11 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/dev/mhi_qdss 0660 system oem_2902
|
||||
/sys/class/qdss_bridge/mhi_qdss mode 0660 system oem_2902
|
||||
|
||||
#qg
|
||||
# qg
|
||||
/dev/qg 0660 system system
|
||||
/dev/qg_battery 0660 system system
|
||||
|
||||
#qvr
|
||||
# qvr
|
||||
/dev/qvr_external_sensor_ioctl 0660 system system
|
||||
/sys/kernel/qvr_external_sensor/fd 0660 system system
|
||||
|
||||
|
@ -190,7 +190,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/dev/msm_rotator 0660 system system
|
||||
/dev/sdsprpc-smd 0660 system system
|
||||
|
||||
#permissions for audio
|
||||
# permissions for audio
|
||||
/dev/wcd_dsp0_control 0660 system audio
|
||||
/dev/wcd-dsp-glink 0660 system audio
|
||||
/dev/audio_slimslave 0660 system audio
|
||||
|
@ -231,6 +231,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/dev/i2c-5 0660 media media
|
||||
/dev/avtimer 0660 system audio
|
||||
/dev/spidev2.0 0660 system audio
|
||||
/dev/spidev7.1 0660 system system
|
||||
/dev/aud_pasthru_adsp 0660 system audio
|
||||
# DVB devices
|
||||
/dev/dvb/adapter0/demux* 0440 media media
|
||||
|
@ -355,7 +356,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
|||
/sys/class/dual_role_usb/* power_role 0660 system system
|
||||
/sys/class/dual_role_usb/* mode 0660 system system
|
||||
|
||||
#Memory Offline
|
||||
# Memory Offline
|
||||
/sys/devices/system/memory/memory* state 0660 system system
|
||||
|
||||
/sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics
|
||||
|
|
Loading…
Reference in a new issue