msm8937-common: rootdir: Cleanup
This commit is contained in:
parent
1cf86829f5
commit
51a8da8ec8
2 changed files with 8 additions and 53 deletions
|
@ -37,8 +37,6 @@ on early-init
|
|||
chmod 0620 /dev/kmsg
|
||||
|
||||
on init
|
||||
# Set permissions for persist partition
|
||||
mkdir /persist 0771 root system
|
||||
|
||||
# Support legacy path
|
||||
symlink /sdcard /storage/sdcard0
|
||||
|
@ -51,9 +49,8 @@ on post-fs
|
|||
on early-boot
|
||||
# set RLIMIT_MEMLOCK to 64MB
|
||||
setrlimit 8 67108864 67108864
|
||||
# Allow subsystem (modem etc) debugging
|
||||
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
write /sys/kernel/boot_slpi/boot 1
|
||||
chown root audio /sys/kernel/boot_adsp/boot
|
||||
|
||||
# Graphics
|
||||
|
@ -82,14 +79,10 @@ on boot
|
|||
chmod 0660 /sys/module/radio_iris_transport/parameters/fmsmd_set
|
||||
|
||||
# Create QMUX deamon socket area
|
||||
mkdir /dev/socket/qmux_radio 0770 radio radio
|
||||
chmod 2770 /dev/socket/qmux_radio
|
||||
mkdir /dev/socket/qmux_audio 0770 media audio
|
||||
chmod 2770 /dev/socket/qmux_audio
|
||||
mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth
|
||||
chmod 2770 /dev/socket/qmux_bluetooth
|
||||
mkdir /dev/socket/qmux_gps 0770 gps gps
|
||||
chmod 2770 /dev/socket/qmux_gps
|
||||
mkdir /dev/socket/qmux_radio 2770 radio radio
|
||||
mkdir /dev/socket/qmux_audio 2770 media audio
|
||||
mkdir /dev/socket/qmux_bluetooth 2770 bluetooth bluetooth
|
||||
mkdir /dev/socket/qmux_gps 2770 gps gps
|
||||
|
||||
mkdir /persist/display 0770 system graphics
|
||||
mkdir /persist/drm 0770 system system
|
||||
|
@ -194,14 +187,11 @@ on post-fs-data
|
|||
|
||||
# Create the directories used by CnE subsystem
|
||||
mkdir /data/connectivity 0771 system system
|
||||
chown system system /data/connectivity
|
||||
|
||||
# Create the directories used by DPM subsystem
|
||||
mkdir /data/dpm 0771 system system
|
||||
chown system system /data/dpm
|
||||
|
||||
mkdir /data/dpm/nsrm 0771 system system
|
||||
chown system system /data/dpm/nsrm
|
||||
|
||||
# Create directory used by audio subsystem
|
||||
mkdir /data/vendor/misc/audio 0770 audio audio
|
||||
|
@ -224,10 +214,6 @@ on post-fs-data
|
|||
mkdir /data/vendor/location/mq 0770 gps gps
|
||||
mkdir /data/vendor/location/xtwifi 0770 gps gps
|
||||
|
||||
# Create directory from IMS services
|
||||
mkdir /data/shared 0755
|
||||
chown system system /data/shared
|
||||
|
||||
mkdir /data/vendor/audio/ 0770 media audio
|
||||
|
||||
# Create a folder for audio delta files
|
||||
|
@ -236,16 +222,8 @@ on post-fs-data
|
|||
|
||||
setprop vold.post_fs_data_done 1
|
||||
|
||||
# Create a folder for SRS to be able to create a usercfg file
|
||||
mkdir /data/data/media 0770 media media
|
||||
|
||||
# Create FM dir for patchdownloader
|
||||
mkdir /data/misc/fm 0770 system system
|
||||
chmod 0770 /data/misc/fm
|
||||
|
||||
# Create PERFD deamon related dirs
|
||||
mkdir /data/vendor/perfd 0770 root system
|
||||
chmod 2770 /data/vendor/perfd
|
||||
rm /data/vendor/perfd/default_values
|
||||
|
||||
# Create IOP deamon related dirs
|
||||
|
@ -256,18 +234,6 @@ on post-fs-data
|
|||
chown radio radio /data/vendor/radio/copy_complete
|
||||
chmod 0660 /data/vendor/radio/copy_complete
|
||||
|
||||
# copy prebuilt qcril.db files always
|
||||
copy /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
|
||||
chown radio radio /data/vendor/radio/qcril_prebuilt.db
|
||||
chmod 0660 /data/vendor/radio/qcril_prebuilt.db
|
||||
# File flags for prebuilt ril db file
|
||||
write /data/vendor/radio/prebuilt_db_support 1
|
||||
chown radio radio /data/vendor/radio/prebuilt_db_support
|
||||
chmod 0400 /data/vendor/radio/prebuilt_db_support
|
||||
write /data/vendor/radio/db_check_done 0
|
||||
chown radio radio /data/vendor/radio/db_check_done
|
||||
chmod 0660 /data/vendor/radio/db_check_done
|
||||
|
||||
# set aggressive read ahead for dm-0 and dm-1 during boot up
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 2048
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 2048
|
||||
|
|
|
@ -28,10 +28,7 @@
|
|||
#
|
||||
|
||||
on early-init
|
||||
mkdir /firmware 0771 system system
|
||||
mkdir /system 0777 root root
|
||||
symlink /data/tombstones /tombstones
|
||||
mkdir /dsp 0771 media media
|
||||
|
||||
on fs
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
|
@ -43,7 +40,6 @@ on fs
|
|||
write /proc/sys/vm/swappiness 100
|
||||
|
||||
mkdir /persist/data 0700 system system
|
||||
mkdir /persist/bms 0700 root system
|
||||
restorecon_recursive /persist
|
||||
|
||||
on post-fs-data
|
||||
|
@ -71,7 +67,7 @@ service qseecomd /vendor/bin/qseecomd
|
|||
user root
|
||||
group root
|
||||
|
||||
service thermal-engine /system/vendor/bin/thermal-engine -c ${sys.qcom.thermalcfg:-/vendor/etc/thermal-engine.conf}
|
||||
service thermal-engine /vendor/bin/thermal-engine -c ${sys.qcom.thermalcfg:-/vendor/etc/thermal-engine.conf}
|
||||
class main
|
||||
user root
|
||||
socket thermal-send-client stream 0666 system system
|
||||
|
@ -106,14 +102,13 @@ on property:vendor.ims.QMI_DAEMON_STATUS=1
|
|||
service ims_rtp_daemon /vendor/bin/ims_rtp_daemon
|
||||
class main
|
||||
user system
|
||||
socket ims_rtpd stream 0660 system radio
|
||||
group radio diag inet log
|
||||
disabled
|
||||
|
||||
service vendor.imsrcsservice /vendor/bin/imsrcsd
|
||||
class main
|
||||
user system
|
||||
group radio inet log
|
||||
group radio diag inet log
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
disabled
|
||||
|
||||
|
@ -121,7 +116,7 @@ on property:vendor.ims.DATA_DAEMON_STATUS=1
|
|||
start ims_rtp_daemon
|
||||
start vendor.imsrcsservice
|
||||
|
||||
service ppd /system/vendor/bin/mm-pp-dpps
|
||||
service ppd /vendor/bin/mm-pp-dpps
|
||||
class late_start
|
||||
disabled
|
||||
user system
|
||||
|
@ -156,12 +151,6 @@ on charger
|
|||
setprop persist.sys.usb.config mass_storage
|
||||
start hvdcp_opti
|
||||
|
||||
service hbtp /system/vendor/bin/hbtp_daemon
|
||||
class main
|
||||
user system
|
||||
group system
|
||||
disabled
|
||||
|
||||
service adsprpcd /vendor/bin/adsprpcd
|
||||
class main
|
||||
user media
|
||||
|
|
Loading…
Reference in a new issue