blob: afc172535064f596db6a296faba8b43ca93440a1 [file] [log] [blame]
Iliyan Malchevfefe23c2012-06-08 10:36:25 -07001# Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modification, are permitted provided that the following conditions are met:
5# * Redistributions of source code must retain the above copyright
6# notice, this list of conditions and the following disclaimer.
7# * Redistributions in binary form must reproduce the above copyright
8# notice, this list of conditions and the following disclaimer in the
9# documentation and/or other materials provided with the distribution.
10# * Neither the name of Code Aurora nor
11# the names of its contributors may be used to endorse or promote
12# products derived from this software without specific prior written
13# permission.
14#
15# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
19# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27
28import init.mako.usb.rc
29
30on early-init
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070031 # for backwards compatibility
Brian Muramatsu80018b22012-06-18 15:08:34 -070032 export EXTERNAL_STORAGE /storage/sdcard0
33 mkdir /storage 0050 system sdcard_r
34 mkdir /storage/sdcard0 0000 system system
35 symlink /storage/sdcard0 /sdcard
36 symlink /storage/sdcard0 /mnt/sdcard
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070037
38on init
39 # Set permissions for persist partition
40 mkdir /persist 0771 system system
41
42on fs
Brian Muramatsu482dad72012-06-18 18:58:21 -070043
44 mount_all ./fstab.mako
45
46 # TODO: Move the following mount commands into the fstab. /system has
47 # been moved to the fstab but is probably missing some options
48 # to run a fsck.
49 # wait /dev/block/platform/msm_sdcc.1/by-name/system
50 # chmod 0777 /sbin/e2fsck_static
51 # exec /sbin/e2fsck_static -y /dev/block/platform/msm_sdcc.1/by-name/system
52 # mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system ro barrier=1
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070053
54 #userdata
55 wait /dev/block/platform/msm_sdcc.1/by-name/userdata
56 exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/userdata
57 mount ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata /data nosuid nodev barrier=1 data=ordered noauto_da_alloc
58
59 #persist
60 mkdir /persist 0771 system system
61 wait /dev/block/platform/msm_sdcc.1/by-name/persist
62 exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/persist
63 mount ext4 /dev/block/platform/msm_sdcc.1/by-name/persist /persist nosuid nodev barrier=1 data=ordered nodelalloc
64
65 #modem firmware files
66 mkdir /firmware 0771 system system
67 wait /dev/block/platform/msm_sdcc.1/by-name/modem
Ajay Dudani1cecc8d2012-06-17 12:31:08 -070068 mount vfat /dev/block/platform/msm_sdcc.1/by-name/modem /firmware ro dmask=177 fmask=177
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070069
70 #cache
71 wait /dev/block/platform/msm_sdcc.1/by-name/cache
72 exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/cache
73 mount ext4 /dev/block/platform/msm_sdcc.1/by-name/cache /cache nosuid nodev barrier=1 data=ordered
74
75 #persist-lg
76 mkdir /persist-lg 0771 system system
77 wait /dev/block/platform/msm_sdcc.1/by-name/drm
78 exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/drm
79 mount ext4 /dev/block/platform/msm_sdcc.1/by-name/drm /persist-lg nosuid nodev barrier=1 data=ordered
80
81 #mpt
82 mkdir /mpt 0775 system system
83 wait /dev/block/platform/msm_sdcc.1/by-name/mpt
84 exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/mpt
85 mount ext4 /dev/block/platform/msm_sdcc.1/by-name/mpt /mpt nosuid nodev barrier=1 data=ordered
86
87 #factory
88 mkdir /factory 0775 system system
89 wait /dev/block/platform/msm_sdcc.1/by-name/factory
90 exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/factory
91 mount ext4 /dev/block/platform/msm_sdcc.1/by-name/factory /factory nosuid nodev barrier=1 data=ordered
92 chmod 0775 /factory
93 chown system system /factory
94
95 #sns
96 mkdir /sns 0775 system system
97 wait /dev/block/platform/msm_sdcc.1/by-name/sns
98 exec /system/bin/e2fsck -y /dev/block/platform/msm_sdcc.1/by-name/sns
99 mount ext4 /dev/block/platform/msm_sdcc.1/by-name/sns /sns nosuid nodev barrier=1 data=ordered
100 mkdir /sns/cal 0771 system system
101
102 setprop ro.crypto.fuse_sdcard true
103
104on early-boot
105 # set RLIMIT_MEMLOCK to 64MB
106 setrlimit 8 67108864 67108864
107
108on boot
109 chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
110 chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
111 chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
112 chown bluetooth bluetooth /proc/bluetooth/sleep/proto
113 chown system system /sys/module/sco/parameters/disable_esco
114 chown bluetooth bluetooth /sys/module/hci_smd/parameters/hcismd_set
115 chmod 0660 /sys/module/bluetooth_power/parameters/power
116 chmod 0666 /sys/module/hci_smd/parameters/hcismd_set
117 chmod 0660 /sys/class/rfkill/rfkill0/state
118 chmod 0660 /proc/bluetooth/sleep/proto
119 chown bluetooth bluetooth /dev/ttyHS0
120 chmod 0660 /dev/ttyHS0
121 chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/clock
122 chmod 0660 /sys/devices/platform/msm_serial_hs.0/clock
123
124 #Create QMUX deamon socket area
125 mkdir /dev/socket/qmux_radio 0770 radio radio
126 chmod 2770 /dev/socket/qmux_radio
127 mkdir /dev/socket/qmux_audio 0770 media audio
128 chmod 2770 /dev/socket/qmux_audio
129 mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth
130 chmod 2770 /dev/socket/qmux_bluetooth
Abhishek Adappad0e57532012-06-15 19:32:55 -0700131 # Allow QMUX daemon to assign port open wait time
132 chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700133
134 setprop wifi.interface wlan0
135
136 # Enable Bluetooth 802.11 PAL when Bluetooth is turned on
137 setprop ro.config.bt.amp no
138
139 #Set SUID bit for usbhub
140 chmod 4755 /system/bin/usbhub
141 chmod 755 /system/bin/usbhub_init
142
143 #Remove SUID bit for iproute2 ip tool
144 chmod 0755 /system/bin/ip
145
146 #port-bridge
147 chmod 0660 /dev/smd0
148 chown system system /dev/smd0
149
150 #BT DUN port-bridge
151 chmod 0660 /dev/smd7
152 chown bluetooth bluetooth /dev/smd7
153
154 chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state
155
156 # create symlink for fb1 as HDMI
157 symlink /dev/graphics/fb1 /dev/graphics/hdmi
158
159 # Remove write permissions to video related nodes
160 chmod 0664 /sys/devices/virtual/graphics/fb1/hpd
161 chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode
162 chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d
163
164 # Change owner and group for media server and surface flinger
165 chown system system /sys/devices/virtual/graphics/fb1/format_3d
166
167 #For bridgemgr daemon to inform the USB driver of the correct transport
168 chown radio radio /sys/class/android_usb/f_rmnet_smd_sdio/transport
169
170 chmod 660 /dev/rtc0
171 chown system system /dev/rtc0
172
173 chown root system /proc/net/ip_conntrack
174
175
176 #To allow interfaces to get v6 address when tethering is enabled
177 write /proc/sys/net/ipv6/conf/rmnet0/accept_ra 2
178 write /proc/sys/net/ipv6/conf/rmnet1/accept_ra 2
179 write /proc/sys/net/ipv6/conf/rmnet2/accept_ra 2
180 write /proc/sys/net/ipv6/conf/rmnet3/accept_ra 2
181 write /proc/sys/net/ipv6/conf/rmnet4/accept_ra 2
182 write /proc/sys/net/ipv6/conf/rmnet5/accept_ra 2
183 write /proc/sys/net/ipv6/conf/rmnet6/accept_ra 2
184 write /proc/sys/net/ipv6/conf/rmnet7/accept_ra 2
185 write /proc/sys/net/ipv6/conf/rmnet_sdio0/accept_ra 2
186 write /proc/sys/net/ipv6/conf/rmnet_sdio1/accept_ra 2
187 write /proc/sys/net/ipv6/conf/rmnet_sdio2/accept_ra 2
188 write /proc/sys/net/ipv6/conf/rmnet_sdio3/accept_ra 2
189 write /proc/sys/net/ipv6/conf/rmnet_sdio4/accept_ra 2
190 write /proc/sys/net/ipv6/conf/rmnet_sdio5/accept_ra 2
191 write /proc/sys/net/ipv6/conf/rmnet_sdio6/accept_ra 2
192 write /proc/sys/net/ipv6/conf/rmnet_sdio7/accept_ra 2
193
194
195 insmod /system/lib/modules/texfat.ko
196
197
198
199# import cne init file
200on post-fs
201 export_rc /persist/init.cne.rc
202
203# msm specific files that need to be created on /data
204on post-fs-data
205 # we will remap this as /mnt/sdcard with the sdcard fuse tool
206 mkdir /data/media 0775 media_rw media_rw
207 chown media_rw media_rw /data/media
208
209 mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
210
211 # Create the directories used by the Wireless subsystem
212 mkdir /data/misc/wifi 0770 wifi wifi
213 mkdir /data/misc/wifi/sockets 0770 wifi wifi
214 mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
215 mkdir /data/misc/dhcp 0770 dhcp dhcp
216# to observe dnsmasq.leases file for dhcp information of soft ap.
217 chown dhcp system /data/misc/dhcp
218
219 write /dev/wcnss_wlan 1
220
221 # Create directory used by audio subsystem
222 mkdir /data/misc/audio 0770 audio audio
223
224 # Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections
225 # We chown/chmod /persist again so because mount is run as root + defaults
226 chown system system /persist
227 chmod 0771 /persist
228 chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
229 chmod 0664 /sys/devices/platform/msm_sdcc.2/polling
230 chmod 0664 /sys/devices/platform/msm_sdcc.3/polling
231 chmod 0664 /sys/devices/platform/msm_sdcc.4/polling
232
233 # Chown polling nodes as needed from UI running on system server
234 chown system system /sys/devices/platform/msm_sdcc.1/polling
235 chown system system /sys/devices/platform/msm_sdcc.2/polling
236 chown system system /sys/devices/platform/msm_sdcc.3/polling
237 chown system system /sys/devices/platform/msm_sdcc.4/polling
238
239 # Mobile DM Router
240 chmod 0660 /dev/lge_dm_tty0
241 chown system system /dev/lge_dm_tty0
242
243 #Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant
244 mkdir /data/system 0775 system system
Iliyan Malcheve011ca22012-06-14 14:58:24 -0700245 #symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700246
247 #Create directories for wiper services
248 mkdir /data/wpstiles/ 0755 shell
249 mkdir /data/wiper 0755 location qcom_oncrpc
250
251 #Create directories for gpsone_daemon services
252 mkdir /data/misc/gpsone_d 0770 system gps
253
254 #Create directories for QuIPS
255 mkdir /data/misc/quipc 0770 gps system
256
257 #Create directories for Location services
258 mkdir /data/misc/location 0770 gps gps
259 mkdir /data/misc/location/mq 0770 gps gps
260
261 #Create directory from IMS services
262 mkdir /data/shared 0755
263 chown system system /data/shared
264
265 #Create directory for FOTA
266 mkdir /data/fota 0771
267 chown system system /data/fota
268
269 #Provide the access to hostapd.conf only to root and group
270 chmod 0660 /data/hostapd/hostapd.conf
271
272 # Create /data/time folder for time-services
273 mkdir /data/time/ 0700 system system
274
275 mkdir /data/audio 0770 media audio
276 # Enable the setgid bit on the directory
277 chmod 2770 /data/audio
278
279 mkdir /data/bluetooth 0770 bluetooth bluetooth
280 # Enable the setgid bit on the directory
281 chmod 2770 /data/bluetooth
282
283 mkdir /data/logger 0775 system system
284 exec /system/bin/smpl_count
285
286 setprop vold.post_fs_data_done 1
287
288# Export GPIO56 for fusion targets to enable/disable hub
289service usbhub_init /system/bin/usbhub_init
290 class late_start
291 user root
292 disabled
293 oneshot
294
295on property:ro.board.platform=msm7630_fusion
296 start usbhub_init
297
298on property:init.svc.wpa_supplicant=stopped
299 stop dhcpcd
300
301on property:bluetooth.isEnabled=true
302 start btwlancoex
303 start amp_load
304 write /sys/class/bluetooth/hci0/idle_timeout 7000
305
306on property:bluetooth.isEnabled=false
307 start amp_unload
308 stop btwlancoex
309
310service cnd /system/bin/cnd
311 class late_start
312 socket cnd stream 666 root radio
313
Abhishek Adappad0e57532012-06-15 19:32:55 -0700314service rmt_storage /system/bin/rmt_storage
315 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700316 user root
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700317
318service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
319 class late_start
320 user bluetooth
321 group qcom_oncrpc bluetooth net_bt_admin system
322 disabled
323 oneshot
324
325service bridgemgrd /system/bin/bridgemgrd
Abhishek Adappad0e57532012-06-15 19:32:55 -0700326 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700327 user radio
328 group radio
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700329
330# QMUX must be in multiple groups to support external process connections
331service qmuxd /system/bin/qmuxd
Abhishek Adappad0e57532012-06-15 19:32:55 -0700332 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700333 user radio
334 group radio audio bluetooth
Abhishek Adappad0e57532012-06-15 19:32:55 -0700335
336service kickstart /system/bin/qcks -i /firmware/image/
337 class main
338 oneshot
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700339
340service netmgrd /system/bin/netmgrd
Abhishek Adappad0e57532012-06-15 19:32:55 -0700341 class main
342
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700343
344service sensors /system/bin/sensors.qcom
345 class late_start
346 user root
347 group root
348 disabled
349
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700350service amp_init /system/bin/amploader -i
351 class late_start
352 user root
353 disabled
354 oneshot
355
356service amp_load /system/bin/amploader -l 7000
357 class late_start
358 user root
359 disabled
360 oneshot
361
362service amp_unload /system/bin/amploader -u
363 class late_start
364 user root
365 disabled
366 oneshot
367
Iliyan Malcheve011ca22012-06-14 14:58:24 -0700368service wpa_supplicant /system/bin/wpa_supplicant \
369 -Dnl80211 -iwlan0 -c/system/etc/wifi/wpa_supplicant.conf \
370 -C/data/misc/wifi/sockets -ddd
371 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700372 group wifi inet
Iliyan Malcheve011ca22012-06-14 14:58:24 -0700373 socket wpa_wlan0 dgram 660 wifi wifi
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700374 disabled
375 oneshot
376
377service dhcpcd_wlan0 /system/bin/dhcpcd -ABKLG
378 class late_start
379 disabled
380 oneshot
381
382service dhcpcd_p2p /system/bin/dhcpcd -ABKLG
383 class late_start
384 disabled
385 oneshot
386
387service iprenew_wlan0 /system/bin/dhcpcd -n
388 class late_start
389 disabled
390 oneshot
391
392service iprenew_p2p /system/bin/dhcpcd -n p2p
393 class late_start
394 disabled
395 oneshot
396
397service dhcpcd_bnep0 /system/bin/dhcpcd -BKLG
398 disabled
399 oneshot
400
401service wiperiface /system/bin/wiperiface
402 user location
403 group qcom_oncrpc
404 oneshot
405
406service gpsone_daemon /system/bin/gpsone_daemon
407 class late_start
408 user gps
409 group gps qcom_oncrpc inet
410 disabled
411
412service quipc_igsn /system/bin/quipc_igsn
413 class late_start
414 user gps
415 group inet gps
416 disabled
417
418service quipc_main /system/bin/quipc_main
419 class late_start
420 user gps
421 group net_admin wifi inet gps
422 disabled
423
424service fm_dl /system/bin/sh /system/etc/init.qcom.fm.sh
425 class late_start
426 user root
427 group system qcom_oncrpc
428 disabled
429 oneshot
430
431on property:crypto.driver.load=1
432 insmod /system/lib/modules/qce.ko
433 insmod /system/lib/modules/qcedev.ko
434
435on property:crypto.driver.load=0
436 exec /system/bin/rmmod qcedev.ko
437 exec /system/bin/rmmod qce.ko
438
439service drmdiag /system/bin/drmdiagapp
440 class late_start
441 user root
442 disabled
443 oneshot
444
445on property:drmdiag.load=1
446 start drmdiag
447
448on property:drmdiag.load=0
449 stop drmdiag
450
451service qcom-sh /system/bin/sh /init.qcom.sh
452 class late_start
453 user root
454 oneshot
455
456service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh
457 class late_start
458 user root
459 disabled
460 oneshot
461
462service qcom-wifi /system/bin/sh /system/etc/init.qcom.wifi.sh
463 class late_start
464 oneshot
465
466on property:sys.boot_completed=1
467 start qcom-post-boot
468
469service atfwd /system/bin/ATFWD-daemon
470 class late_start
471 user system
472 group system radio
473 onrestart /system/bin/log -t RIL-ATFWD -p w "ATFWD daemon restarted"
474
475service hdmid /system/bin/hdmid
476 class late_start
477 socket hdmid stream 0660 root system graphics
478 disabled
479
480service ppd /system/bin/mm-pp-daemon
481 class late_start
482 user system
483 socket pps stream 0660 system system graphics
484 group system graphics
485
486service hostapd /system/bin/hostapd -dddd /data/hostapd/hostapd.conf
487 class late_start
488 user root
489 group root
490 oneshot
491 disabled
492
493service ds_fmc_appd /system/bin/ds_fmc_appd -p "rmnet0" -D
494 class late_start
495 group radio wifi inet
496 disabled
497 oneshot
498
499on property:persist.data.ds_fmc_app.mode=1
500 start ds_fmc_appd
501
502service ims_regmanager /system/bin/exe-ims-regmanagerprocessnative
503 class late_start
504 user system
505 group qcom_oncrpc net_bt_admin inet radio wifi
506 disabled
507
508on property:persist.ims.regmanager.mode=1
509 start ims_regmanager
510
511on property:ro.data.large_tcp_window_size=true
512 # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
513 write /proc/sys/net/ipv4/tcp_adv_win_scale 1
514
515service time_daemon /system/bin/time_daemon
516 class late_start
517 user root
518 group root
519 oneshot
520 disabled
521
522on property:persist.timed.enable=true
523 start time_daemon
524
525service battery_monitor /system/bin/battery_monitor
526 user system
527 group system
528 disabled
529
530service ril-daemon1 /system/bin/rild -c 1
531 class late_start
532 socket rild1 stream 660 root radio
533 socket rild-debug1 stream 660 radio system
534 user root
535 disabled
536 group radio cache inet misc audio sdcard_rw qcom_oncrpc diag
537
538service profiler_daemon /system/bin/profiler_daemon
539 class late_start
540 user root
541 group root
542 disabled
543
544service hcidump /system/bin/sh /system/etc/hcidump.sh
545 user bluetooth
546 group bluetooth system net_bt_admin net_admin
547 disabled
548 oneshot
549
550service charger /charger
551 class charger
552
553service wlan-on-off /system/bin/sh /system/etc/init.wlan-on-off.sh
554 class late_start
555 user root
556 disabled
557 oneshot
558
559# Workaround to resolve WCNSS power problem in Kernel Mode booting
560on property:init.svc.qcom-wifi=stopped
561 start wlan-on-off
562
563on property:persist.service.fakebatt=1
564 write /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8921-charger/power_supply/battery/pseudo_batt "1 1 100 40 4100 80 1"
565
566on property:persist.service.fakebatt=0
567 write /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8921-charger/power_supply/battery/pseudo_batt "0 1 100 40 4100 80 1"
568
569# TouchSense Player Service
570service immvibed /system/bin/immvibed
571 class main
572 user root
573 group root
574 oneshot
575
Brian Muramatsu80018b22012-06-18 15:08:34 -0700576# create virtual SD card at /storage/sdcard0, based on the /data/media directory
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700577# daemon will drop to user/group system/media_rw after initializing
578# underlying files in /data/media will be created with user and group media_rw (1023)
579service sdcard /system/bin/sdcard /data/media 1023 1023
580 class late_start
Devin Kim693f9b12012-06-15 09:56:58 -0700581
582# Create ext4 filesystems when the partitions are empty or corrupted.
583service setup_fs /system/bin/setup_fs \
584 /dev/block/platform/msm_sdcc.1/by-name/userdata \
585 /dev/block/platform/msm_sdcc.1/by-name/cache
586 class core
587 user root
588 group root
589 oneshot