mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-04 05:07:25 +09:00
sm6250-common: rootdir: remove sensors specific boot up commands from init.qcom.rc
move sensors specific boot up commands from global init.qcom.rc to component specific rc files , which are part of individual component projects. Change-Id: Ib0410cd0af8d77573bd320063982b504b1b1d1d5
This commit is contained in:
parent
a7a4a3f4d8
commit
02f6317e04
@ -77,7 +77,6 @@ on early-boot
|
|||||||
write /sys/kernel/boot_adsp/boot 1
|
write /sys/kernel/boot_adsp/boot 1
|
||||||
write /sys/kernel/boot_cdsp/boot 1
|
write /sys/kernel/boot_cdsp/boot 1
|
||||||
write /sys/devices/virtual/npu/msm_npu/boot 1
|
write /sys/devices/virtual/npu/msm_npu/boot 1
|
||||||
write /sys/kernel/boot_slpi/boot 1
|
|
||||||
write /sys/devices/virtual/cvp/cvp/boot 1
|
write /sys/devices/virtual/cvp/cvp/boot 1
|
||||||
|
|
||||||
write /sys/class/drm/card0-DSI-1/status "detect"
|
write /sys/class/drm/card0-DSI-1/status "detect"
|
||||||
@ -85,27 +84,6 @@ on early-boot
|
|||||||
|
|
||||||
exec u:r:qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh
|
exec u:r:qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh
|
||||||
|
|
||||||
# for backward compatibility
|
|
||||||
chown system system /persist/sensors
|
|
||||||
chown system system /persist/sensors/registry
|
|
||||||
chown system system /persist/sensors/registry/registry
|
|
||||||
chown system system /persist/sensors/registry/registry/sensors_registry
|
|
||||||
chown system system /persist/sensors/sensors_settings
|
|
||||||
chown system system /persist/sensors/registry/config
|
|
||||||
chmod 0664 /persist/sensors/sensors_settings
|
|
||||||
|
|
||||||
chown system system /mnt/vendor/persist/sensors
|
|
||||||
chown system system /mnt/vendor/persist/sensors/sns.reg
|
|
||||||
chown system system /mnt/vendor/persist/sensors/sensors_list.txt
|
|
||||||
chown system system /mnt/vendor/persist/sensors/registry
|
|
||||||
chown system system /mnt/vendor/persist/sensors/registry/registry
|
|
||||||
chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry
|
|
||||||
chown system system /mnt/vendor/persist/sensors/sensors_settings
|
|
||||||
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_config
|
|
||||||
chown system system /mnt/vendor/persist/sensors/registry/sns_reg_version
|
|
||||||
chown system system /mnt/vendor/persist/sensors/registry/config
|
|
||||||
chmod 0664 /mnt/vendor/persist/sensors/sensors_settings
|
|
||||||
|
|
||||||
chown system system /mnt/vendor/persist/data/pfm/licenses
|
chown system system /mnt/vendor/persist/data/pfm/licenses
|
||||||
chmod 0775 /mnt/vendor/persist/data/pfm/licenses
|
chmod 0775 /mnt/vendor/persist/data/pfm/licenses
|
||||||
|
|
||||||
@ -258,10 +236,6 @@ on boot
|
|||||||
#Create camera directory
|
#Create camera directory
|
||||||
mkdir /mnt/vendor/persist/camera 0755 system cameraserver
|
mkdir /mnt/vendor/persist/camera 0755 system cameraserver
|
||||||
|
|
||||||
#sensors log dir
|
|
||||||
mkdir /data/vendor/sensors
|
|
||||||
chown system system /data/vendor/sensors
|
|
||||||
|
|
||||||
# msm specific files that need to be created on /data
|
# msm specific files that need to be created on /data
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
mkdir /data/vendor/misc 01771 system system
|
mkdir /data/vendor/misc 01771 system system
|
||||||
@ -597,17 +571,6 @@ service qmiproxy /system/bin/qmiproxy
|
|||||||
group radio diag
|
group radio diag
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
service vendor.sensors /vendor/bin/sscrpcd sensorspd
|
|
||||||
class early_hal
|
|
||||||
user system
|
|
||||||
group system wakelock
|
|
||||||
capabilities BLOCK_SUSPEND
|
|
||||||
|
|
||||||
service vendor.sensors.qti /vendor/bin/sensors.qti
|
|
||||||
class core
|
|
||||||
user system
|
|
||||||
group system
|
|
||||||
|
|
||||||
# Adjust socket buffer to enlarge TCP receive window for high bandwidth
|
# Adjust socket buffer to enlarge TCP receive window for high bandwidth
|
||||||
# but only if ro.data.large_tcp_window_size property is set.
|
# but only if ro.data.large_tcp_window_size property is set.
|
||||||
on property:ro.data.large_tcp_window_size=true
|
on property:ro.data.large_tcp_window_size=true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user