Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 533 lines (449 sloc) 20.867 kb
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
1 on boot
2
3 # insert modules
4 insmod /system/lib/modules/storage.ko
5
6 # ko files for vibrator
7 insmod /system/lib/modules/vibrator.ko
8
9 insmod /system/lib/modules/bthid.ko
64aa7d8 M. Adam Kendall Move the keylayouts to their own dir for organization. Update to new ker...
LinuxBozo authored
10 insmod /system/lib/modules/tun.ko
d2489da M. Adam Kendall Make sure we are loading correct modules
LinuxBozo authored
11 insmod /system/lib/cifs.ko
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
12
13 mount debugfs /sys/kernel/debug /sys/kernel/debug
14
15 # Include extra init file
16 import /system/etc/init.local.rc
17 import /device.rc
18
19 # Run sysinit
20 exec /system/bin/sysinit
21
991a683 M. Adam Kendall tweak init and recovery.rc fix up kernel for dempsey
LinuxBozo authored
22 setprop ro.build.product aries
23 setprop ro.product.device aries
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
24 setprop ro.radio.noril yes
25
26 # fake some battery state
27 setprop status.battery.state Slow
28 setprop status.battery.level 5
29 setprop status.battery.level_raw 50
30 setprop status.battery.level_scale 9
31
32 # wi-fi
33 mkdir /data/misc/wifi/sockets 0770 wifi wifi
34 mkdir /data/misc/dhcp 0770 dhcp dhcp
35
36 # phone
37 setprop ro.telephony.call_ring.multiple 0
38
0a8925e M. Adam Kendall Add in some new prop services and new permissions
LinuxBozo authored
39 # for sensor control
40 chown system input /sys/class/input/input0/enable
41 chown system input /sys/class/input/input0/delay
42 chown system input /sys/class/input/input0/wake
43 chown system input /sys/class/input/input0/data
44
45 chown system input /sys/class/input/input1/enable
46 chown system input /sys/class/input/input1/delay
47 chown system input /sys/class/input/input1/wake
48 chown system input /sys/class/input/input1/threshold
49 chown system input /sys/class/input/input1/distortion
50 chown system input /sys/class/input/input1/shape
51 chown system input /sys/class/input/input1/offsets
52 chown system input /sys/class/input/input1/filter_enable
53 chown system input /sys/class/input/input1/filter_len
54 chown system input /sys/class/input/input1/data
55 chown system input /sys/class/input/input1/status
56 chown system input /sys/class/input/input1/position
57
58 chown system input /sys/class/input/input2/enable
59 chown system input /sys/class/input/input2/delay
60 chown system input /sys/class/input/input2/wake
61 chown system input /sys/class/input/input2/threshold
62 chown system input /sys/class/input/input2/distortion
63 chown system input /sys/class/input/input2/shape
64 chown system input /sys/class/input/input2/offsets
65 chown system input /sys/class/input/input2/filter_enable
66 chown system input /sys/class/input/input2/filter_len
67 chown system input /sys/class/input/input2/data
68 chown system input /sys/class/input/input2/status
69 chown system input /sys/class/input/input2/position
70
71 chown system input /sys/class/input/input3/enable
72 chown system input /sys/class/input/input3/delay
73 chown system input /sys/class/input/input3/wake
74 chown system input /sys/class/input/input3/threshold
75 chown system input /sys/class/input/input3/distortion
76 chown system input /sys/class/input/input3/shape
77 chown system input /sys/class/input/input3/offsets
78 chown system input /sys/class/input/input3/filter_enable
79 chown system input /sys/class/input/input3/filter_len
80 chown system input /sys/class/input/input3/data
81 chown system input /sys/class/input/input3/status
82 chown system input /sys/class/input/input3/position
83
84 chown system input /sys/class/input/input4/enable
85 chown system input /sys/class/input/input4/delay
86 chown system input /sys/class/input/input4/wake
87 chown system input /sys/class/input/input5/enable
88 chown system input /sys/class/input/input5/delay
89 chown system input /sys/class/input/input5/wake
90 chown system input /sys/class/input/input6/enable
91 chown system input /sys/class/input/input6/delay
92 chown system input /sys/class/input/input6/wake
93 chown system input /sys/class/input/input7/enable
94 chown system input /sys/class/input/input7/delay
95 chown system input /sys/class/input/input7/wake
96 chown system input /sys/class/input/input8/enable
97 chown system input /sys/class/input/input8/delay
98 chown system input /sys/class/input/input8/wake
99 chown system input /sys/class/input/input9/enable
100 chown system input /sys/class/input/input9/delay
101 chown system input /sys/class/input/input9/wake
102 chown system input /dev/i2c-12
103
104 #change permissions for modem
105 chown radio system /sys/class/modemctl/xmm/control
106 chown radio system /sys/class/net/svnet0/waketime
107 chown radio system /sys/class/net/svnet0/pdp/activate
108 chown radio system /sys/class/net/svnet0/pdp/deactivate
109 chown radio system /sys/class/net/svnet0/pdp/suspend
110 chown radio system /sys/class/net/svnet0/pdp/resume
111 #change permissions for USB
112 chown radio system /sys/class/sec/switch/usb_sel
113 chown radio system /sys/class/sec/switch/uart_sel
114 chown radio system /sys/class/sec/switch/usb_state
115 chown radio system /sys/class/sec/switch/disable_vbus
116
117 #change permissions for fuel gauge
118 chown radio system /sys/class/sec/fg_atcom_test/set_fuel_gauage_read
119 chown radio system /sys/class/sec/fg_atcom_test/set_fuel_gauage_reset
120
121 #change permissions for battery
122 chown radio system /sys/class/power_supply/battery/batt_vol
123 chown radio system /sys/class/power_supply/battery/batt_vol_adc
124 chown radio system /sys/class/power_supply/battery/batt_temp
125 chown radio system /sys/class/power_supply/battery/batt_temp_adc
126 chown radio system /sys/class/power_supply/battery/charging_source
127 chown radio system /sys/class/power_supply/battery/fg_soc
128 chown radio system /sys/class/power_supply/battery/reset_soc
129 chown radio system /sys/class/power_supply/battery/charging_mode_booting
130 chown radio system /sys/class/power_supply/battery/batt_temp_check
131 chown radio system /sys/class/power_supply/battery/batt_full_check
132 chown radio system /sys/class/power_supply/battery/batt_type
133
134 chown radio system /sys/class/power_supply/battery/batt_vol_adc_cal
135 chown radio system /sys/class/power_supply/battery/batt_temp_adc_cal
136 chown radio system /sys/class/power_supply/battery/batt_vol_adc_aver
137 chown radio system /sys/class/power_supply/battery/batt_test_mode
138 chown radio system /sys/class/power_supply/battery/batt_vol_aver
139 chown radio system /sys/class/power_supply/battery/batt_temp_aver
140 chown radio system /sys/class/power_supply/battery/batt_temp_adc_aver
141 chown radio system /sys/class/power_supply/battery/batt_v_f_adc
142 chown radio system /sys/class/power_supply/battery/batt_chg_current
143 chown radio system /sys/class/power_supply/battery/charging_source
144 chown radio system /sys/class/power_supply/battery/vibrator
145 chown radio system /sys/class/power_supply/battery/camera
146 chown radio radio /sys/class/power_supply/battery/mp3
147 chown radio radio /sys/class/power_supply/battery/video
148 chown radio system /sys/class/power_supply/battery/talk_gsm
149 chown radio system /sys/class/power_supply/battery/talk_wcdma
150 chown radio system /sys/class/power_supply/battery/data_call
151 chown radio system /sys/class/power_supply/battery/wifi
152 chown radio system /sys/class/power_supply/battery/gps
153 chown radio system /sys/class/power_supply/battery/device_state
154 chown radio system /sys/class/power_supply/battery/batt_compendation
155 chown radio system /sys/class/power_supply/battery/is_booting
156
157 #for jack control
158 chown radio system /sys/class/jack/jack_selector/select_jack
159
160 #change permissions for touch
161 chown radio system /sys/class/sec/qt602240_noise_test/set_refer0
162 chown radio system /sys/class/sec/qt602240_noise_test/set_delta0
163 chown radio system /sys/class/sec/qt602240_noise_test/set_refer1
164 chown radio system /sys/class/sec/qt602240_noise_test/set_delta1
165 chown radio system /sys/class/sec/qt602240_noise_test/set_refer2
166 chown radio system /sys/class/sec/qt602240_noise_test/set_delta2
167 chown radio system /sys/class/sec/qt602240_noise_test/set_refer3
168 chown radio system /sys/class/sec/qt602240_noise_test/set_delta3
169 chown radio system /sys/class/sec/qt602240_noise_test/set_refer4
170 chown radio system /sys/class/sec/qt602240_noise_test/set_delta4
171 chown radio system /sys/class/sec/qt602240_noise_test/set_referminmax
172 chown radio system /sys/class/sec/qt602240_noise_test/set_deltaminmax
173 chown radio system /sys/class/sec/qt602240_noise_test/set_threshould
174 chown radio system /sys/class/sec/qt602240_atcom_test/set_qt_update
175 chown radio system /sys/class/sec/qt602240_atcom_test/set_qt_firm_version
176 chown radio system /sys/class/sec/qt602240_atcom_test/set_qt_firm_status
177 chown radio system /sys/class/sec/qt602240_atcom_test/set_qt_firm_version_read
178 chown radio system /sys/class/touch/switch/set_power
179 chown radio system /sys/class/touch/switch/set_acquisition
180 chown radio system /sys/class/touch/switch/set_touchscreen
181 chown radio system /sys/class/touch/switch/set_keyarray
182 chown radio system /sys/class/touch/switch/set_total
183 chown radio system /sys/class/touch/switch/set_write
184 chown radio system /sys/class/touch/switch/set_noise
185 chown radio system /sys/class/touch/switch/set_grip
186 chown radio system /sys/class/touch/qt_stylus/config_mode
187
188 #change permissions for lcd
189 chown radio system /sys/class/lcd/s5p_lcd/lcd_power
190 chown radio radio /sys/class/gammaset/switch_gammaset/gammaset_file_cmd
191 chown radio radio /sys/class/aclset/switch_aclset/aclset_file_cmd
192 chown radio system /sys/class/sec/sec_lcd/lcdtype_file_cmd
193 chown radio radio /sys/class/mdnieset_ui/switch_mdnieset_ui/mdnieset_ui_file_cmd
194 chown radio radio /sys/class/mdnieset_outdoor/switch_mdnieset_outdoor/mdnieset_outdoor_file_cmd
195
196 #change permissions for touchkey
197 chown radio system /sys/class/misc/melfas_touchkey/touch_version
198 chown radio system /sys/class/misc/melfas_touchkey/touch_update
199 chown radio system /sys/class/misc/melfas_touchkey/brightness
200 chown radio system /sys/class/misc/melfas_touchkey/enable_disable
201
202 chown radio system /sys/devices/platform/s3c-keypad/key_pressed
203
204 chown radio system /sys/class/misc/level/control
205
206 chown radio system /sys/class/sec/switch/tethering
207
625b1fa M. Adam Kendall Fix haptic. Vibes man, vibes.
LinuxBozo authored
208 #change permissions for vibrator
209 chmod 0660 /sys/class/timed_output/vibrator/enable
210 chown system system /sys/class/timed_output/vibrator/enable
211
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
212 # create data/gps for GPS demon
8d49103 M. Adam Kendall New kernel. Few changes to get sensors going.
LinuxBozo authored
213 mkdir /data/gps 770 gps system
214 chown system system /data/gps
215 chown radio system /sys/class/power_supply/battery/gps
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
216
217 on fs
218 mount ext4 /dev/block/stl9 /system ro remount
219 mount ext4 /dev/block/stl11 /cache nosuid nodev noatime nodiratime noauto_da_alloc
220 mount ext4 /dev/block/mmcblk0p2 /data wait nosuid noatime nodiratime noauto_da_alloc
77b3fd9 M. Adam Kendall Ref dbdata as /datadata, fix wiping /datadata, bln liblight
LinuxBozo authored
221 mount ext4 /dev/block/stl10 /datadata nosuid nodev nodiratime noauto_da_alloc
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
222
223 # We chown/chmod /efs because mount is run as root + defaults
224 mkdir /efs 0775 radio radio
225 mount rfs /dev/block/stl3 /efs nosuid nodev check=no
226 chown radio radio /efs
227 chmod 770 /efs/bluetooth
228 chmod 770 /efs/imei
229
230 # permissions for bluetooth.
231 chown bluetooth bluetooth /dev/s3c2410_serial0
fc8b1e6 M. Adam Kendall Fix boneheaded breakage of usb storage
LinuxBozo authored
232 chown bluetooth bluetooth /data/bdaddr
8d49103 M. Adam Kendall New kernel. Few changes to get sensors going.
LinuxBozo authored
233 chmod 0660 /dev/s3c2410_serial0
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
234 chmod 0660 /sys/class/rfkill/rfkill0/state
8d49103 M. Adam Kendall New kernel. Few changes to get sensors going.
LinuxBozo authored
235 chmod 0660 /sys/class/rfkill/rfkill1/state
236 chmod 0660 /sys/class/rfkill/rfkill2/state
237 chmod 0660 /sys/class/rfkill/rfkill3/state
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
238 chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
8d49103 M. Adam Kendall New kernel. Few changes to get sensors going.
LinuxBozo authored
239 chown bluetooth bluetooth /sys/class/rfkill/rfkill1/state
240 chown bluetooth bluetooth /sys/class/rfkill/rfkill2/state
241 chown bluetooth bluetooth /sys/class/rfkill/rfkill3/state
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
242 chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
8d49103 M. Adam Kendall New kernel. Few changes to get sensors going.
LinuxBozo authored
243 chown bluetooth bluetooth /sys/class/rfkill/rfkill1/type
244 chown bluetooth bluetooth /sys/class/rfkill/rfkill2/type
245 chown bluetooth bluetooth /sys/class/rfkill/rfkill3/type
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
246
247 # Permissions for System Server and daemons.
248 chown system system /sys/class/backlight/s5p_bl/brightness
249
250 on post-fs
251
252 # remove /sbin/sh so that "adb install" can work properly
253 exec /sbin/setupenv.sh
254
77b3fd9 M. Adam Kendall Ref dbdata as /datadata, fix wiping /datadata, bln liblight
LinuxBozo authored
255 # We chown/chmod /data and /datadata again so because mount is run as root + defaults
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
256 chown system system /data
257 chmod 0771 /data
77b3fd9 M. Adam Kendall Ref dbdata as /datadata, fix wiping /datadata, bln liblight
LinuxBozo authored
258 chown system system /datadata
259 chmod 0771 /datadata
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
260
261 # Create dump dir and collect dumps.
262 # Do this before we mount cache so eventually we can use cache for
263 # storing dumps on platforms which do not have a dedicated dump partition.
264
265 mkdir /data/dontpanic
266 chown root log /data/dontpanic
267 chmod 0750 /data/dontpanic
268
269 # Collect apanic data, free resources and re-arm trigger
270 copy /proc/apanic_console /data/dontpanic/apanic_console
271 chown root log /data/dontpanic/apanic_console
272 chmod 0640 /data/dontpanic/apanic_console
273
274 copy /proc/apanic_threads /data/dontpanic/apanic_threads
275 chown root log /data/dontpanic/apanic_threads
276 chmod 0640 /data/dontpanic/apanic_threads
277
278 write /proc/apanic_console 1
279
280 # Same reason as /data above
281 chown system cache /cache
282 chmod 0771 /cache
283
284 # This may have been created by the recovery system with odd permissions
285 chown system cache /cache/recovery
286 chmod 0770 /cache/recovery
287
288 #change permissions on vmallocinfo so we can grab it from bugreports
289 chown root log /proc/vmallocinfo
290 chmod 0440 /proc/vmallocinfo
291
292 #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
293 chown root system /proc/kmsg
294 chmod 0440 /proc/kmsg
295 chown root system /proc/sysrq-trigger
296 chmod 0220 /proc/sysrq-trigger
297
298 # create basic filesystem structure
299 mkdir /data/misc 01771 system misc
300 mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
301 mkdir /data/misc/bluetooth 0770 system system
302 mkdir /data/misc/keystore 0700 keystore keystore
303 mkdir /data/misc/vpn 0770 system system
304 mkdir /data/misc/systemkeys 0700 system system
305 mkdir /data/misc/vpn/profiles 0770 system system
306 # give system access to wpa_supplicant.conf for backup and restore
2191011 M. Adam Kendall argh. ok, let's try this again. wpa_supplicant removed
LinuxBozo authored
307 mkdir /data/misc/wifi 0770 wifi wifi
308 chmod 0770 /data/misc/wifi
0a8925e M. Adam Kendall Add in some new prop services and new permissions
LinuxBozo authored
309 chown system wifi /data/misc/wifi
310 chmod 0660 /data/misc/wifi/wpa_supplicant.conf
311 chown system wifi /data/misc/wifi/wpa_supplicant.conf
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
312 mkdir /data/local 0771 shell shell
313 mkdir /data/local/tmp 0771 shell shell
4a68541 M. Adam Kendall New kernel with voodoo sound fixes, GPS and BT functionality
LinuxBozo authored
314 mkdir /data/data 0771 system system
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
315
316 mkdir /data/app-private 0771 system system
317 mkdir /data/app 0771 system system
318 mkdir /data/property 0700 root root
319
320 # create dalvik-cache and double-check the perms
321 mkdir /data/dalvik-cache 0771 system system
322 chown system system /data/dalvik-cache
323 chmod 0771 /data/dalvik-cache
324
325 # create the lost+found directories, so as to enforce our permissions
326 mkdir /data/lost+found 0770
327 mkdir /cache/lost+found 0770
328
329 # double check the perms, in case lost+found already exists, and set owner
330 chown root root /data/lost+found
331 chmod 0770 /data/lost+found
332 chown root root /cache/lost+found
333 chmod 0770 /cache/lost+found
334
1e36bf7 M. Adam Kendall create market download paths
LinuxBozo authored
335 mkdir /data/local/download 0771 system cache
336 mkdir /cache/download 0771 system cache
337
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
338 # allow net_raw to have access to /dev/socket directory
339 chown root net_raw /dev/socket
340 chmod 0775 /dev/socket
341
342 # allow system to modify cpufreq control files
343 chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
344 chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
345 chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
346 chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
347 chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
348 chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
349
0a8925e M. Adam Kendall Add in some new prop services and new permissions
LinuxBozo authored
350 # GPS_CHIPSET_STE_CG2900
351 #STE: Added for CG2900 Support
352 #+Scott.Re-setup permission right
353 chown system system /dev/s3c2410_serial1
354 chmod 0770 /dev/s3c2410_serial1
db6bd59 M. Adam Kendall Made an oops in make. Updater now remounts cache, unmounts tested partio...
LinuxBozo authored
355 chown system system /system/vendor/bin/ste-cg29xx_ctrl
356 chmod 0770 /system/vendor/bin/ste-cg29xx_ctrl
0a8925e M. Adam Kendall Add in some new prop services and new permissions
LinuxBozo authored
357 mkdir /data/gps 770 system system
358 chown system system /data/gps
359 chmod 770 /data/GPS_NV_Data.bin
360 chmod 770 /data/GPS_UTC_Calib.bin
4a68541 M. Adam Kendall New kernel with voodoo sound fixes, GPS and BT functionality
LinuxBozo authored
361 chown system system /dev/cg2900_audio
0a8925e M. Adam Kendall Add in some new prop services and new permissions
LinuxBozo authored
362 chmod 0770 /dev/cg2900_audio
363 chown system system /dev/cg2900_bt_audio
364 chmod 0770 /dev/cg2900_bt_audio
365 chown system system /dev/cg2900_core
366 chmod 0770 /dev/cg2900_core
367 chown system system /dev/cg2900_driver0
368 chmod 0770 /dev/cg2900_driver0
369 chown system system /dev/cg2900_fm_audio
370 chmod 0770 /dev/cg2900_fm_audio
371 chown system system /dev/cg2900_gnss
372 chmod 0770 /dev/cg2900_gnss
373 chown system system /dev/cg2900_hci_logger
374 chmod 0770 /dev/cg2900_hci_logger
375 chown system system /dev/cg2900_us_ctrl
376 chmod 0770 /dev/cg2900_us_ctrl
377
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
378 # 3D init
379 service pvrsrvinit /system/vendor/bin/pvrsrvinit
380 user root
381 group root
382 oneshot
383
fc8b1e6 M. Adam Kendall Fix boneheaded breakage of usb storage
LinuxBozo authored
384 service bdaddr /system/bin/bdaddr_read
385 user root
386 disabled
387 oneshot
388
389 on property:init.svc.bootanim=running
390 start bdaddr
391
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
392 service servicemanager /system/bin/servicemanager
393 user system
394 critical
395 onrestart restart zygote
396 onrestart restart media
397
398 service vold /system/bin/vold
399 socket vold stream 0660 root mount
400 ioprio be 2
401
402 service netd /system/bin/netd
403 socket netd stream 0660 root system
874c9bb M. Adam Kendall Added needed dnsproxyd socket
LinuxBozo authored
404 socket dnsproxyd stream 0660 root inet
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
405
406 service debuggerd /system/bin/debuggerd
407
408 service ril-daemon /system/bin/rild
409 socket rild stream 660 root radio
410 socket rild-debug stream 660 radio system
411 user root
34bc646 M. Adam Kendall Updated kernel, revert custom sec_mm
LinuxBozo authored
412 group radio cache inet misc audio sdcard_rw net_admin net_raw log
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
413
414 service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
415 socket zygote stream 666
416 onrestart write /sys/android_power/request_state wake
417 onrestart write /sys/power/state on
418 onrestart restart media
419 onrestart restart netd
420
421 service media /system/bin/mediaserver
422 user media
34bc646 M. Adam Kendall Updated kernel, revert custom sec_mm
LinuxBozo authored
423 group system audio camera graphics inet net_bt net_bt_admin net_raw radio
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
424 ioprio rt 4
425
426 service bootanim /system/bin/bootanimation
427 user graphics
428 group graphics
429 disabled
430 oneshot
431
34bc646 M. Adam Kendall Updated kernel, revert custom sec_mm
LinuxBozo authored
432 service dhcpcd_eth0 /system/bin/dhcpcd -ABKL eth0
433 disabled
434 oneshot
435
436 service iprenew_eth0 /system/bin/dhcpcd -n
437 disabled
438 oneshot
439
440 service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf
441 socket wpa_eth0 dgram 0660 wifi wifi
442 disabled
443 oneshot
444
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
445 service dbus /system/bin/dbus-daemon --system --nofork
446 socket dbus stream 660 bluetooth bluetooth
447 user bluetooth
448 group bluetooth net_bt_admin
449
4a68541 M. Adam Kendall New kernel with voodoo sound fixes, GPS and BT functionality
LinuxBozo authored
450 service hciattach /system/bin/logwrapper /system/bin/hciattach /dev/s3c2410_serial0 any
451 #service hciattach /system/bin/logwrapper /system/bin/brcm_patchram_plus --enable_hci --enable_lpm --baudrate 2000000 --patchram /system/bin/BCM4330B1_002.001.003.0043.0061.hcd /dev/s3c2410_serial0
452 user bluetooth
453 group bluetooth net_bt_admin
454 disabled
455 oneshot
fc8b1e6 M. Adam Kendall Fix boneheaded breakage of usb storage
LinuxBozo authored
456
34bc646 M. Adam Kendall Updated kernel, revert custom sec_mm
LinuxBozo authored
457 service bluetoothd /system/bin/logwrapper /system/bin/bluetoothd -d -n
d2ccf9b M. Adam Kendall kernel is built with direct initramfs, not stage1. init.rc and init.dem...
LinuxBozo authored
458 socket bluetooth stream 660 bluetooth bluetooth
459 socket dbus_bluetooth stream 660 bluetooth bluetooth
460 # init.rc does not yet support applying capabilities, so run as root and
461 # let bluetoothd drop uid to bluetooth with the right linux capabilities
462 group bluetooth net_bt_admin misc
463 disabled
464
465 service hfag /system/bin/sdptool add --channel=10 HFAG
466 user bluetooth
467 group bluetooth net_bt_admin
468 disabled
469 oneshot
470
471 service hsag /system/bin/sdptool add --channel=11 HSAG
472 user bluetooth
473 group bluetooth net_bt_admin
474 disabled
475 oneshot
476
477 service opush /system/bin/sdptool add --channel=12 OPUSH
478 user bluetooth
479 group bluetooth net_bt_admin
480 disabled
481 oneshot
482
483 service pbap /system/bin/sdptool add --channel=19 PBAP
484 user bluetooth
485 group bluetooth net_bt_admin
486 disabled
487 oneshot
488
489 service installd /system/bin/installd
490 socket installd stream 600 system system
491
492 service racoon /system/bin/racoon
493 socket racoon stream 600 system system
494 # racoon will setuid to vpn after getting necessary resources.
495 group net_admin
496 disabled
497 oneshot
498
499 service mtpd /system/bin/mtpd
500 socket mtpd stream 600 system system
501 user vpn
502 group vpn net_admin net_raw
503 disabled
504 oneshot
505
506 service keystore /system/bin/keystore /data/misc/keystore
507 user keystore
508 group keystore
509 socket keystore stream 666
510
511 service dumpstate /system/bin/dumpstate -s
512 socket dumpstate stream 0660 shell log
513 disabled
514 oneshot
515
516 service tvout /system/bin/tvoutserver
517 user system
518 group graphics
519
0a8925e M. Adam Kendall Add in some new prop services and new permissions
LinuxBozo authored
520 # +STE UART Contol Application
521 service ste-cg29xx_ctrl /system/vendor/bin/ste-cg29xx_ctrl -b 115200 /dev/s3c2410_serial1
522 user system
34bc646 M. Adam Kendall Updated kernel, revert custom sec_mm
LinuxBozo authored
523 group system misc
0a8925e M. Adam Kendall Add in some new prop services and new permissions
LinuxBozo authored
524 oneshot
525
526 # +STE GPS Daemon
527 #GPS_CHIPSET_STE_CG2900
528 service agpsd /system/vendor/bin/agpsd
529 user system
530 group system inet
531 oneshot
532
Something went wrong with that request. Please try again.