blob: 6ff0d3a96ff057f538c226fb8fd383ea87b1c2bf [file] [log] [blame]
Iliyan Malchevfefe23c2012-06-08 10:36:25 -07001#
Sungmin Choicb14b4d2012-07-05 19:07:56 -07002# Copyright 2012 The Android Open Source Project
Iliyan Malchevfefe23c2012-06-08 10:36:25 -07003#
Sungmin Choicb14b4d2012-07-05 19:07:56 -07004# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070015#
16
17import init.mako.usb.rc
18
19on early-init
Glenn Kasten48d58952012-08-03 09:40:02 -070020 mount debugfs debugfs /sys/kernel/debug
21
Jeff Sharkey3fc7e002012-08-16 14:05:42 -070022on init
Jeff Sharkey5d4c4662012-08-20 13:33:23 -070023 mkdir /mnt/shell/sdcard0 0700 shell shell
Jeff Sharkey3fc7e002012-08-16 14:05:42 -070024
Jeff Sharkey5d4c4662012-08-20 13:33:23 -070025 # External storage path for apps
Brian Muramatsu80018b22012-06-18 15:08:34 -070026 export EXTERNAL_STORAGE /storage/sdcard0
Jeff Sharkey5d4c4662012-08-20 13:33:23 -070027 # External storage path for adb
28 export ADB_EXTERNAL_STORAGE /mnt/shell/sdcard0/0
29
Jeff Sharkey3fc7e002012-08-16 14:05:42 -070030 mkdir /storage 0711 root root
31 mkdir /storage/sdcard0 0000 root root
Brian Muramatsu80018b22012-06-18 15:08:34 -070032 symlink /storage/sdcard0 /sdcard
33 symlink /storage/sdcard0 /mnt/sdcard
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070034
Jeff Sharkey3fc7e002012-08-16 14:05:42 -070035 # Save bugreports as owner
Jeff Sharkey5d4c4662012-08-20 13:33:23 -070036 export BUGREPORT_WRITE_PATH /mnt/shell/sdcard0/0
Jeff Sharkey3fc7e002012-08-16 14:05:42 -070037 export BUGREPORT_READ_PATH /storage/sdcard0
38
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070039on init
40 # Set permissions for persist partition
41 mkdir /persist 0771 system system
Sungmin Choie87b04d2012-07-12 20:42:14 -070042 mkdir /tombstones 0771 system system
43 mkdir /firmware 0771 system system
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070044
45on fs
Brian Muramatsu482dad72012-06-18 18:58:21 -070046 mount_all ./fstab.mako
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070047 setprop ro.crypto.fuse_sdcard true
48
49on early-boot
50 # set RLIMIT_MEMLOCK to 64MB
51 setrlimit 8 67108864 67108864
52
53on boot
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070054 chown bluetooth bluetooth /sys/module/hci_smd/parameters/hcismd_set
Sungmin Choi154f0e22012-07-25 17:34:52 -070055 chmod 0660 /sys/module/hci_smd/parameters/hcismd_set
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070056
57 #Create QMUX deamon socket area
58 mkdir /dev/socket/qmux_radio 0770 radio radio
59 chmod 2770 /dev/socket/qmux_radio
60 mkdir /dev/socket/qmux_audio 0770 media audio
61 chmod 2770 /dev/socket/qmux_audio
62 mkdir /dev/socket/qmux_bluetooth 0770 bluetooth bluetooth
63 chmod 2770 /dev/socket/qmux_bluetooth
Ajay Dudanie1144092012-06-15 21:07:31 -070064 mkdir /dev/socket/qmux_gps 0770 gps gps
65 chmod 2770 /dev/socket/qmux_gps
66
Abhishek Adappad0e57532012-06-15 19:32:55 -070067 # Allow QMUX daemon to assign port open wait time
68 chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070069
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070070 #Remove SUID bit for iproute2 ip tool
71 chmod 0755 /system/bin/ip
72
73 #port-bridge
74 chmod 0660 /dev/smd0
75 chown system system /dev/smd0
76
77 #BT DUN port-bridge
78 chmod 0660 /dev/smd7
79 chown bluetooth bluetooth /dev/smd7
80
81 chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state
82
83 # create symlink for fb1 as HDMI
84 symlink /dev/graphics/fb1 /dev/graphics/hdmi
85
86 # Remove write permissions to video related nodes
87 chmod 0664 /sys/devices/virtual/graphics/fb1/hpd
88 chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode
89 chmod 0664 /sys/devices/virtual/graphics/fb1/format_3d
90
91 # Change owner and group for media server and surface flinger
92 chown system system /sys/devices/virtual/graphics/fb1/format_3d
Sungmin Choi04a53b32012-07-23 23:14:29 -070093 chown system system /sys/devices/virtual/graphics/fb1/hpd
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070094
95 #For bridgemgr daemon to inform the USB driver of the correct transport
96 chown radio radio /sys/class/android_usb/f_rmnet_smd_sdio/transport
97
98 chmod 660 /dev/rtc0
99 chown system system /dev/rtc0
100
101 chown root system /proc/net/ip_conntrack
102
103
104 #To allow interfaces to get v6 address when tethering is enabled
105 write /proc/sys/net/ipv6/conf/rmnet0/accept_ra 2
106 write /proc/sys/net/ipv6/conf/rmnet1/accept_ra 2
107 write /proc/sys/net/ipv6/conf/rmnet2/accept_ra 2
108 write /proc/sys/net/ipv6/conf/rmnet3/accept_ra 2
109 write /proc/sys/net/ipv6/conf/rmnet4/accept_ra 2
110 write /proc/sys/net/ipv6/conf/rmnet5/accept_ra 2
111 write /proc/sys/net/ipv6/conf/rmnet6/accept_ra 2
112 write /proc/sys/net/ipv6/conf/rmnet7/accept_ra 2
113 write /proc/sys/net/ipv6/conf/rmnet_sdio0/accept_ra 2
114 write /proc/sys/net/ipv6/conf/rmnet_sdio1/accept_ra 2
115 write /proc/sys/net/ipv6/conf/rmnet_sdio2/accept_ra 2
116 write /proc/sys/net/ipv6/conf/rmnet_sdio3/accept_ra 2
117 write /proc/sys/net/ipv6/conf/rmnet_sdio4/accept_ra 2
118 write /proc/sys/net/ipv6/conf/rmnet_sdio5/accept_ra 2
119 write /proc/sys/net/ipv6/conf/rmnet_sdio6/accept_ra 2
120 write /proc/sys/net/ipv6/conf/rmnet_sdio7/accept_ra 2
121
122
Martijn Coenen6c11a692012-07-31 13:25:27 -0700123# NFC: create data/nfc for nv storage
124 mkdir /data/nfc 770 nfc nfc
125 mkdir /data/nfc/param 770 nfc nfc
wongab.jeon65212cc2012-07-23 14:04:12 +0900126
jewon.lee06d6a3d2012-08-01 12:54:31 +0900127# Assign TCP buffer thresholds to be ceiling value of technology maximums
128# Increased technology maximums should be reflected here.
129 write /proc/sys/net/core/rmem_max 1220608
130 write /proc/sys/net/core/wmem_max 1220608
131
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700132# msm specific files that need to be created on /data
133on post-fs-data
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700134 mkdir /data/media 0775 media_rw media_rw
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700135
136 mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
137
138 # Create the directories used by the Wireless subsystem
139 mkdir /data/misc/wifi 0770 wifi wifi
140 mkdir /data/misc/wifi/sockets 0770 wifi wifi
141 mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
142 mkdir /data/misc/dhcp 0770 dhcp dhcp
143# to observe dnsmasq.leases file for dhcp information of soft ap.
144 chown dhcp system /data/misc/dhcp
145
146 write /dev/wcnss_wlan 1
147
148 # Create directory used by audio subsystem
149 mkdir /data/misc/audio 0770 audio audio
150
151 # Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections
152 # We chown/chmod /persist again so because mount is run as root + defaults
153 chown system system /persist
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700154 chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
155 chmod 0664 /sys/devices/platform/msm_sdcc.2/polling
156 chmod 0664 /sys/devices/platform/msm_sdcc.3/polling
157 chmod 0664 /sys/devices/platform/msm_sdcc.4/polling
158
159 # Chown polling nodes as needed from UI running on system server
160 chown system system /sys/devices/platform/msm_sdcc.1/polling
161 chown system system /sys/devices/platform/msm_sdcc.2/polling
162 chown system system /sys/devices/platform/msm_sdcc.3/polling
163 chown system system /sys/devices/platform/msm_sdcc.4/polling
164
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700165 #Create the symlink to qcn wpa_supplicant folder for ar6000 wpa_supplicant
166 mkdir /data/system 0775 system system
Iliyan Malcheve011ca22012-06-14 14:58:24 -0700167 #symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700168
dongkeun1.lee39507ab2012-06-21 18:35:51 -0700169 #Create directory used by sensor subsystem(dsps)
170 mkdir /data/system/sensors
171 chmod 665 /data/system/sensors
172 write /data/system/sensors/settings 1
Sungmin Choi154f0e22012-07-25 17:34:52 -0700173 chmod 660 /data/system/sensors/settings
dongkeun1.lee39507ab2012-06-21 18:35:51 -0700174
eugene.goh787e85b2012-07-26 19:13:16 +0900175 mkdir /persist/sensors
176 chmod 775 /persist/sensors
dongkeun1.lee39507ab2012-06-21 18:35:51 -0700177
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700178 #Create directories for gpsone_daemon services
179 mkdir /data/misc/gpsone_d 0770 system gps
180
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700181 #Create directories for Location services
182 mkdir /data/misc/location 0770 gps gps
183 mkdir /data/misc/location/mq 0770 gps gps
184
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700185 #Provide the access to hostapd.conf only to root and group
186 chmod 0660 /data/hostapd/hostapd.conf
187
188 # Create /data/time folder for time-services
189 mkdir /data/time/ 0700 system system
190
191 mkdir /data/audio 0770 media audio
192 # Enable the setgid bit on the directory
193 chmod 2770 /data/audio
194
195 mkdir /data/bluetooth 0770 bluetooth bluetooth
196 # Enable the setgid bit on the directory
197 chmod 2770 /data/bluetooth
198
Iliyan Malchev9ec760d2012-06-21 17:57:22 -0700199 mkdir /data/qcks 0770 system system
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700200 setprop vold.post_fs_data_done 1
201
Iliyan Malchev4b2f22f2012-08-16 14:38:51 -0700202 mkdir /data/local 0770 root root
203 mkdir /data/local/tmp 0770 shell shell
204 rm /data/local/tmp/adreno_config.txt
205 write /data/local/tmp/adreno_config.txt "enableRotationShaderPatching=0
206"
207 chmod 0777 /data/local
208 chmod 0777 /data/local/tmp
209 chmod 0444 /data/local/tmp/adreno_config.txt
210
samin.ryu60606b02012-08-04 10:34:39 +0900211 # LED On/Off synchronization
212 chown system system /sys/class/leds/red/device/lock
213
roy.park178cd842012-07-02 14:09:26 -0700214 # Enable Power modes and set the CPU Freq Sampling rates
215 write /sys/module/rpm_resources/enable_low_power/L2_cache 1
216 write /sys/module/rpm_resources/enable_low_power/pxo 1
217 write /sys/module/rpm_resources/enable_low_power/vdd_dig 1
218 write /sys/module/rpm_resources/enable_low_power/vdd_mem 1
219 write /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled 1
220 write /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled 1
221 write /sys/module/pm_8x60/modes/cpu2/power_collapse/suspend_enabled 1
222 write /sys/module/pm_8x60/modes/cpu3/power_collapse/suspend_enabled 1
223 write /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled 1
224 write /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled 1
225 write /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/suspend_enabled 1
226 write /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/suspend_enabled 1
227 write /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled 1
228 write /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled 1
229 write /sys/module/pm_8x60/modes/cpu2/standalone_power_collapse/idle_enabled 1
230 write /sys/module/pm_8x60/modes/cpu3/standalone_power_collapse/idle_enabled 1
231 write /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled 1
232 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "ondemand"
233 write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "ondemand"
234 write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "ondemand"
235 write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor "ondemand"
236 write /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 90
237 write /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate 50000
238 write /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy 1
239 write /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor 4
240 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 384000
241 write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 384000
242 write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 384000
243 write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 384000
244 chown system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
245 chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
246 chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
247 chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
248 chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
249 chown system /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
250 chown system /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
251 chown system /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
252 chown system /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
253 chown root.system /sys/devices/system/cpu/mfreq
254 chmod 220 /sys/devices/system/cpu/mfreq
255 chown root.system /sys/devices/system/cpu/cpu1/online
256 chown root.system /sys/devices/system/cpu/cpu2/online
257 chown root.system /sys/devices/system/cpu/cpu3/online
258 chmod 664 /sys/devices/system/cpu/cpu1/online
259 chmod 664 /sys/devices/system/cpu/cpu2/online
260 chmod 664 /sys/devices/system/cpu/cpu3/online
261
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700262on property:init.svc.wpa_supplicant=stopped
263 stop dhcpcd
264
Abhishek Adappad0e57532012-06-15 19:32:55 -0700265service rmt_storage /system/bin/rmt_storage
266 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700267 user root
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700268
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -0700269service hciattach /system/bin/sh /system/etc/init.mako.bt.sh
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700270 class late_start
271 user bluetooth
272 group qcom_oncrpc bluetooth net_bt_admin system
273 disabled
274 oneshot
275
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -0700276on property:bluetooth.hciattach=true
277 start hciattach
278
279on property:bluetooth.hciattach=false
Jeonghoon lim0a3bd802012-08-14 18:08:24 -0700280 setprop bluetooth.status off
jeonghoon.lim6a2ca5a2012-07-13 13:00:37 -0700281
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700282service bridgemgrd /system/bin/bridgemgrd
Abhishek Adappad0e57532012-06-15 19:32:55 -0700283 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700284 user radio
285 group radio
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700286
287# QMUX must be in multiple groups to support external process connections
288service qmuxd /system/bin/qmuxd
Abhishek Adappad0e57532012-06-15 19:32:55 -0700289 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700290 user radio
Ajay Dudanie1144092012-06-15 21:07:31 -0700291 group radio audio bluetooth gps
Abhishek Adappad0e57532012-06-15 19:32:55 -0700292
293service kickstart /system/bin/qcks -i /firmware/image/
294 class main
295 oneshot
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700296
297service netmgrd /system/bin/netmgrd
Abhishek Adappad0e57532012-06-15 19:32:55 -0700298 class main
299
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700300
301service sensors /system/bin/sensors.qcom
302 class late_start
303 user root
304 group root
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700305
Mekala Natarajancdea6b02012-06-26 18:59:03 -0700306service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
Jeff Johnson8c3bee82012-08-14 07:36:06 -0700307 -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
308 -e/data/misc/wifi/entropy.bin
309 # we will start as root and wpa_supplicant will switch to user wifi
310 # after setting up the capabilities required for WEXT
311 # user wifi
312 # group wifi inet keystore
Mekala Natarajancdea6b02012-06-26 18:59:03 -0700313 class main
Mekala Natarajancdea6b02012-06-26 18:59:03 -0700314 socket wpa_wlan0 dgram 660 wifi wifi
315 disabled
316 oneshot
317
318service p2p_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
Jeff Johnson8c3bee82012-08-14 07:36:06 -0700319 -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -N \
320 -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
321 -e/data/misc/wifi/entropy.bin -puse_p2p_group_interface=1
322# we will start as root and wpa_supplicant will switch to user wifi
323# after setting up the capabilities required for WEXT
324# user wifi
325# group wifi inet keystore
Iliyan Malcheve011ca22012-06-14 14:58:24 -0700326 class main
Iliyan Malcheve011ca22012-06-14 14:58:24 -0700327 socket wpa_wlan0 dgram 660 wifi wifi
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700328 disabled
329 oneshot
330
Jeff Johnson8c3bee82012-08-14 07:36:06 -0700331service dhcpcd_wlan0 /system/bin/dhcpcd -aABKL
332 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700333 disabled
334 oneshot
335
Jeff Johnson8c3bee82012-08-14 07:36:06 -0700336service dhcpcd_p2p /system/bin/dhcpcd -aABKL
337 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700338 disabled
339 oneshot
340
341service iprenew_wlan0 /system/bin/dhcpcd -n
Jeff Johnson8c3bee82012-08-14 07:36:06 -0700342 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700343 disabled
344 oneshot
345
Jeff Johnson8c3bee82012-08-14 07:36:06 -0700346service iprenew_p2p /system/bin/dhcpcd -n
347 class main
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700348 disabled
349 oneshot
350
351service dhcpcd_bnep0 /system/bin/dhcpcd -BKLG
352 disabled
353 oneshot
354
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700355on property:ro.data.large_tcp_window_size=true
356 # Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
357 write /proc/sys/net/ipv4/tcp_adv_win_scale 1
358
359service time_daemon /system/bin/time_daemon
360 class late_start
361 user root
362 group root
363 oneshot
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700364
365service ril-daemon1 /system/bin/rild -c 1
366 class late_start
367 socket rild1 stream 660 root radio
368 socket rild-debug1 stream 660 radio system
369 user root
370 disabled
371 group radio cache inet misc audio sdcard_rw qcom_oncrpc diag
372
373service profiler_daemon /system/bin/profiler_daemon
374 class late_start
375 user root
376 group root
377 disabled
378
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700379service charger /charger
380 class charger
381
Jeff Sharkey3fc7e002012-08-16 14:05:42 -0700382# virtual sdcard daemon running as media_rw (1023)
Jeff Sharkey5d4c4662012-08-20 13:33:23 -0700383service sdcard /system/bin/sdcard /data/media /mnt/shell/sdcard0 1023 1023
Iliyan Malchevfefe23c2012-06-08 10:36:25 -0700384 class late_start
Devin Kim693f9b12012-06-15 09:56:58 -0700385
386# Create ext4 filesystems when the partitions are empty or corrupted.
387service setup_fs /system/bin/setup_fs \
388 /dev/block/platform/msm_sdcc.1/by-name/userdata \
Devin Kimd64b8462012-06-25 10:01:04 -0700389 /dev/block/platform/msm_sdcc.1/by-name/cache \
jihyun.leeac9202f2012-06-27 18:13:10 -0700390 /dev/block/platform/msm_sdcc.1/by-name/tombstones
Devin Kim693f9b12012-06-15 09:56:58 -0700391 class core
392 user root
393 group root
394 oneshot
Ajay Dudani652bfde2012-07-08 13:31:43 -0700395
396service thermald /system/bin/thermald
397 class main
398
399service mpdecision /system/bin/mpdecision --no_sleep --avg_comp
400 class main
Ajay Dudanib3f2b962012-07-08 17:02:10 -0700401
402service qcamerasvr /system/bin/mm-qcamera-daemon
403 class late_start
404 user camera
405 group camera system inet input
406
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700407service conn_init /system/bin/logwrapper /system/bin/conn_init
bill.jungcf534392012-07-24 20:02:34 +0900408 class main
Sungmin Choi5fd819d2012-07-18 01:49:40 -0700409 user system
410 group system wifi
411 oneshot
Sungmin Choic7c04c62012-07-25 10:51:27 -0700412
413# bugreport is triggered by holding down volume down, volume up and power
414service bugreport /system/bin/bugmailer.sh -v
415 class main
416 disabled
417 oneshot
418 keycodes 114 115 116
Sungmin Choi8e134362012-07-10 16:19:28 -0700419
420service qseecomd /system/bin/qseecomd
421 class late_start
422 user system
423 group system