blob: e593451ee952236e4334f77613467dd9e6970123 [file] [log] [blame]
Patrick Tjinea3b3cd2015-03-31 10:38:39 -07001#
2# Copyright 2015 The Android Open Source Project
3#
4# 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.
15#
16
17import init.angler.usb.rc
18import init.angler.diag.rc
Patrick Tjind18dd242015-05-21 23:43:58 -070019import init.angler.sensorhub.rc
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070020
21on early-init
22 mount debugfs debugfs /sys/kernel/debug
23 chown system system /sys/kernel/debug/kgsl/proc
24
25on init
Patrick Tjin435a3eb2015-06-10 11:37:52 -070026 # Load persistent dm-verity state
27 verity_load_state
28
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070029 # Set permissions for persist partition
30 mkdir /persist 0771 system system
31 mkdir /firmware 0771 system system
32
33 # Support legacy paths
34 symlink /sdcard /mnt/sdcard
35 symlink /sdcard /storage/sdcard0
36
Tim Murray882bedb2015-09-13 13:17:34 -070037 # Setup zram options
38 write /sys/block/zram0/comp_algorithm lz4
39 write /sys/block/zram0/max_comp_streams 4
40
Patrick Tjina7464c22015-09-15 15:18:27 -070041 write /proc/sys/vm/page-cluster 0
42
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070043on fs
44 mount_all ./fstab.angler
Tim Murray882bedb2015-09-13 13:17:34 -070045 swapon_all ./fstab.angler
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070046
dcashman73d96702015-08-10 13:20:55 -070047 restorecon_recursive /persist
dcashman66ac8042015-08-31 15:21:24 -070048 mkdir /persist/data/sfs 0700 system system
49 mkdir /persist/data/tz 0700 system system
dcashman73d96702015-08-10 13:20:55 -070050
Naveen Ramaraj87018982015-04-24 21:10:40 -070051 # Enable rmnet data and aggregation
52 setprop persist.rmnet.mux enabled
53 setprop persist.rmnet.data.enable true
54 setprop persist.data.wda.enable true
55 setprop persist.data.df.agg.dl_pkt 10
56 setprop persist.data.df.agg.dl_size 4096
57
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070058on early-boot
59 # set RLIMIT_MEMLOCK to 64MB
60 setrlimit 8 67108864 67108864
61
Patrick Tjin435a3eb2015-06-10 11:37:52 -070062 # Adjust parameters for dm-verity device
63 write /sys/block/dm-0/queue/read_ahead_kb 2048
64
65 # Update dm-verity state and set partition.*.verified properties
66 verity_update_state
67
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070068on boot
Tim Murray6abb5fd2015-06-15 19:45:47 -070069 # execute script to set initial CPU settings
70 # don't run as a service to avoid race conditions
dcashman1bca35b2015-08-26 10:16:51 -070071 exec - root system -- /system/bin/init.angler.power.sh
Zhihui Wu7d7b98c2015-04-24 00:40:19 -070072
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070073 # Enable DEBUG_SUSPEND, DEBUG_EXIT_SUSPEND, and DEBUG_WAKEUP
74 write /sys/module/wakelock/parameters/debug_mask 7
75
Tim Murray4e53f232015-06-04 16:18:03 -070076 # update foreground cpuset now that processors are up
Tim Murrayf1d94342016-01-25 14:18:08 -080077 # reserve CPU 3 for the top app
78 write /dev/cpuset/foreground/cpus 0-2,4-7
Tim Murray12a88062015-09-01 14:24:18 -070079 write /dev/cpuset/foreground/boost/cpus 4-7
Tim Murray4e53f232015-06-04 16:18:03 -070080 write /dev/cpuset/background/cpus 0
Tim Murrayf1d94342016-01-25 14:18:08 -080081 write /dev/cpuset/system-background/cpus 0-2
82 write /dev/cpuset/top-app/cpus 0-7
Tim Murray4e53f232015-06-04 16:18:03 -070083
lijianzhaoad203152015-09-15 04:01:18 -070084 # setup permissions for fb0 related nodes
cunfeicfdaafb2015-09-21 23:58:22 +080085 chown radio radio /sys/class/graphics/fb0/dynamic_dsitiming
lijianzhaoad203152015-09-15 04:01:18 -070086
Patrick Tjinea3b3cd2015-03-31 10:38:39 -070087 # create symlink for fb1 as HDMI
88 symlink /dev/graphics/fb1 /dev/graphics/hdmi
89
90 # setup permissions for fb1 related nodes
91 chown system graphics /sys/class/graphics/fb1/hpd
92 chown system graphics /sys/class/graphics/fb1/vendor_name
93 chown system graphics /sys/class/graphics/fb1/product_description
94 chmod 0664 /sys/devices/virtual/graphics/fb1/hpd
95 chmod 0664 /sys/devices/virtual/graphics/fb1/vendor_name
96 chmod 0664 /sys/devices/virtual/graphics/fb1/product_description
97
Naveen Ramaraj87018982015-04-24 21:10:40 -070098 #Create QMUX deamon socket
99 mkdir /dev/socket/qmux_radio 0770 radio radio
100 chmod 2770 /dev/socket/qmux_radio
101 mkdir /dev/socket/qmux_audio 0770 media audio
102 chmod 2770 /dev/socket/qmux_audio
103 mkdir /dev/socket/qmux_gps 0770 gps gps
104 chmod 2770 /dev/socket/qmux_gps
105
wang pingd69321a2015-05-13 00:11:24 +0800106 setprop wifi.interface wlan0
107
wang ping123e0952015-07-27 21:24:03 -0700108 #wifi sar
109 chown radio radio /sys/module/wifi_sar/parameters/wifi_tx_power_limit
110
lijianzhaoeed67ea2015-08-18 10:12:16 -0700111 #compass compensation
112 chown root system /sys/class/power_supply/battery/compass_compensation
113
Naveen Ramaraj87018982015-04-24 21:10:40 -0700114 write /sys/bus/platform/drivers/xhci_msm_hsic/unbind msm_hsic_host
115 write /sys/module/rmnet_usb/parameters/mux_enabled 1
116 write /sys/module/rmnet_usb/parameters/no_fwd_rmnet_links 8
117 write /sys/module/rmnet_usb/parameters/no_rmnet_insts_per_dev 17
118 write /sys/module/rmnet_usb/parameters/rmnet_data_init 1
119 chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
120
Patrick Tjincd0180c2015-09-10 11:35:13 -0700121 # Assign TCP buffer thresholds to be ceiling value of technology maximums
122 # Increased technology maximums should be reflected here.
123 write /proc/sys/net/core/rmem_max 8388608
124 write /proc/sys/net/core/wmem_max 8388608
125
Patrick Tjinaec86752015-08-25 00:15:08 -0700126 # Leds
127 chown system system /sys/class/leds/red/on_off_ms
128 chown system system /sys/class/leds/green/on_off_ms
129 chown system system /sys/class/leds/blue/on_off_ms
130 chown system system /sys/class/leds/red/rgb_start
131
Naveen Ramaraj87018982015-04-24 21:10:40 -0700132on property:init.svc.per_mgr=running
133 start per_proxy
134
135on property:sys.shutdown.requested=*
136 stop per_proxy
137
Paul Lawrence58b21032016-01-05 15:16:08 -0800138on post-fs
139 symlink /dev/block/platform/soc.0/f9824900.sdhci /dev/block/bootdevice
140
141 start qseecomd
142 exec - root root system -- /system/bin/init.angler.qseecomd.sh
143
Patrick Tjinea3b3cd2015-03-31 10:38:39 -0700144on post-fs-data
145 write /sys/kernel/boot_adsp/boot 1
146
147 # Ecc_Handler qcril.db
Sooraj Sasindranafa352f2015-06-19 11:12:19 -0700148 mkdir /data/misc/radio 0770 system radio
Patrick Tjinea3b3cd2015-03-31 10:38:39 -0700149
150 setprop vold.post_fs_data_done 1
151
Mekala Natarajaneb9c2a32015-04-27 11:01:22 -0700152 mkdir /data/misc/qsee 0770 system system
dcashman73d96702015-08-10 13:20:55 -0700153 mkdir /data/fpc 0700 system system
Mekala Natarajaneb9c2a32015-04-27 11:01:22 -0700154
Zhihui Wu7055b3e2015-05-13 18:14:46 -0700155 #Create folder for mm-qcamera-daemon
156 mkdir /data/misc/camera 0770 camera camera
157
Naseer Ahmed1b0f56a2015-07-09 16:46:40 -0400158 #Create folder for display calibration data
159 mkdir /data/misc/display 0770 system graphics
160
Naveen Ramaraj4517b042015-07-29 20:02:42 -0700161 # Create /data/time folder for time-services
162 mkdir /data/time/ 0700 system system
163 mkdir /data/audio/ 0770 media audio
164
165 # Create folder for perf daemon
166 mkdir /data/misc/perfd 0755 root system
167 chmod 2755 /data/misc/perfd
168 mkdir /data/system/perfd 0770 root system
169 rm /data/system/perfd/default_values
170 chmod 2770 /data/system/perfd
171 setprop ro.min_freq_0 384000
172 setprop ro.min_freq_4 384000
173
Zhihui Wu5dd2b472015-05-20 16:31:35 -0700174 # Create the directories used by CnE subsystem
175 mkdir /data/connectivity 0771 system system
176 chown system system /data/connectivity
177
178 #Create directory from IMS services
179 mkdir /data/shared 0755
180 chown system system /data/shared
181
Naveen Ramaraj4517b042015-07-29 20:02:42 -0700182 # Mark the copy complete flag to not completed
183 write /data/misc/radio/copy_complete 0
184 chown radio radio /data/misc/radio/copy_complete
185 chmod 0660 /data/misc/radio/copy_complete
Zhenhua Ma786d29b2015-06-04 13:22:50 +0800186
wang pingdc7ea962015-05-09 00:37:27 +0800187 # Configure bluetooth
188 chmod 0660 /proc/bluetooth/sleep/lpm
189 chmod 0660 /proc/bluetooth/sleep/btwrite
190 chmod 0660 /sys/class/rfkill/rfkill0/state
191 chmod 0660 /dev/ttyHS0
192 chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm
193 chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite
194 chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
195 chown bluetooth net_bt_stack /dev/ttyHS0
196
wang ping0684e522015-05-20 22:58:34 +0800197 # Create nfc local data
198 mkdir /data/nfc 0770 nfc nfc
199
zhaoyang yin2928a3c2015-06-04 20:00:12 +0800200 #modify access for speaker calibdata
201 chown system system /persist/audio/speaker_calibdata.bin
202 chmod 0444 /persist/audio/speaker_calibdata.bin
203
zhihui wu81580032015-07-27 17:19:25 -0700204 #modify access for laser calibration data
205 chmod 0710 /persist/data
206 chmod 0440 /persist/data/st_offset
207 chmod 0440 /persist/data/st_xtalk
208
Patrick Tjinea3b3cd2015-03-31 10:38:39 -0700209on charger
zhen yuanda5e00b2015-08-25 12:07:05 +0800210 #set cpu4,5 online first, or they can't get into low power consumption mode
211 write /sys/devices/system/cpu/cpu4/online 1
212 write /sys/devices/system/cpu/cpu5/online 1
Zhihui Wu13d03c62015-04-23 22:06:27 -0700213 #low power governing
zhen yuanf33b6422015-08-11 04:35:35 +0800214 write /sys/devices/soc.0/qcom,bcl.60/mode disable
215 write /sys/devices/soc.0/qcom,bcl.60/hotplug_mask 0
216 write /sys/devices/soc.0/qcom,bcl.60/hotplug_soc_mask 0
Zhihui Wu13d03c62015-04-23 22:06:27 -0700217 write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive
218 write /sys/devices/system/cpu/cpu1/online 0
219 write /sys/devices/system/cpu/cpu2/online 0
220 write /sys/devices/system/cpu/cpu3/online 0
221 write /sys/devices/system/cpu/cpu4/online 0
222 write /sys/devices/system/cpu/cpu5/online 0
223 write /sys/devices/system/cpu/cpu6/online 0
224 write /sys/devices/system/cpu/cpu7/online 0
225
Mekala Natarajan4f299632015-07-17 00:21:29 -0700226on property:sys.boot_completed=1
227 #allow CPUs to go in deeper idle state than C0
228 write /sys/module/lpm_levels/parameters/sleep_disabled 0
229
hongfengluo01109622015-08-26 23:42:39 +0800230# Search the laser device under /dev/input, then create symlink
Yin-Chia Yeh86a58952015-10-23 17:31:05 -0700231service InputEventFind /vendor/bin/InputEventFind
hongfengluo01109622015-08-26 23:42:39 +0800232 class main
233 oneshot
234
Zhenhua Ma739e45e2015-07-01 13:36:39 +0800235service ssr_setup /system/bin/ssr_setup
236 oneshot
237 disabled
238
239service ss_ramdump /system/bin/subsystem_ramdump
240 class main
241 user system
242 group system
243 disabled
244
245on property:persist.sys.ssr.restart_level=*
246 start ssr_setup
247
248on property:persist.sys.ssr.enable_ramdumps=1
249 write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
250 start ss_ramdump
251
252on property:persist.sys.ssr.enable_ramdumps=0
253 write /sys/module/subsystem_restart/parameters/enable_ramdumps 0
254
Zhihui Wu13d03c62015-04-23 22:06:27 -0700255service charger /sbin/healthd -c
256 class charger
257 group log
258 seclabel u:r:healthd:s0
Patrick Tjinea3b3cd2015-03-31 10:38:39 -0700259
Naveen Ramaraj87018982015-04-24 21:10:40 -0700260service per_mgr /system/bin/pm-service
261 class core
262 user root
263 group system net_raw
264
265service per_proxy /system/bin/pm-proxy
266 class core
267 user root
268 group system net_raw
269 disabled
270
271service rmt_storage /system/bin/rmt_storage
272 class core
273 user root
Pavlin Radoslavov326d91d2015-11-23 17:35:30 -0800274 group system wakelock
Naveen Ramaraj87018982015-04-24 21:10:40 -0700275
Paul Lawrencedcda89a2015-10-01 07:54:07 -0700276service qseecomd /vendor/bin/qseecomd
Mekala Natarajaneb9c2a32015-04-27 11:01:22 -0700277 class core
278 user root
279 group root
280
Naveen Ramaraj87018982015-04-24 21:10:40 -0700281service irsc_util /system/bin/irsc_util "/etc/sec_config"
282 class main
283 user root
284 oneshot
285
Naveen Ramaraj910680c2015-05-04 10:45:49 -0700286service thermal-engine /system/bin/thermal-engine
287 class main
288 user root
289 socket thermal-send-client stream 0660 system system
290 socket thermal-recv-client stream 0660 system system
291 socket thermal-recv-passive-client stream 0660 system system
dcashmana170fa32015-08-14 15:09:25 -0700292 group root radio
Naveen Ramaraj910680c2015-05-04 10:45:49 -0700293
Naveen Ramaraj87018982015-04-24 21:10:40 -0700294# QMUX must be in multiple groups to support external process connections
295service qmuxd /system/bin/qmuxd
296 class main
Tom Cherry858f6312015-06-05 11:07:58 -0700297 user radio
Pavlin Radoslavov326d91d2015-11-23 17:35:30 -0800298 group radio audio bluetooth wakelock gps
Naveen Ramaraj87018982015-04-24 21:10:40 -0700299
Naveen Ramaraj84aa57d2015-06-11 18:37:03 -0700300service perfd /system/bin/perfd
301 class main
302 user root
Naveen Ramarajf60ac5b2015-09-14 18:34:11 -0700303 group system
Tim Murray4fe466d2015-09-18 13:28:30 -0700304 writepid /dev/cpuset/system-background/tasks
Naveen Ramaraj84aa57d2015-06-11 18:37:03 -0700305
Naveen Ramaraj87018982015-04-24 21:10:40 -0700306service netmgrd /system/bin/netmgrd
Ajay Dudani1faa3d32015-06-22 11:12:09 -0700307 class main
Pavlin Radoslavov326d91d2015-11-23 17:35:30 -0800308 group radio system wakelock
Naveen Ramaraj87018982015-04-24 21:10:40 -0700309
Zhihui Wu384b2222015-05-19 13:42:18 -0700310service qti /system/vendor/bin/qti
311 class main
312 user radio
313 group radio net_raw usb net_admin
Zhihui Wu384b2222015-05-19 13:42:18 -0700314
Naveen Ramaraj87018982015-04-24 21:10:40 -0700315service time_daemon /system/bin/time_daemon
316 class late_start
317 user root
318 group root
319
Mekala Natarajan19925592015-05-04 10:19:48 -0700320service loc_launcher /system/bin/loc_launcher
321 class late_start
322 group gps inet net_raw net_admin wifi
323
Patrick Tjinea3b3cd2015-03-31 10:38:39 -0700324# bugreport is triggered by holding down volume down, volume up and power
Felipe Lemeaf6169a2015-11-16 14:22:10 -0800325service bugreport /system/bin/dumpstate -d -p -B -z \
Jeff Sharkey49a6a592016-02-07 13:15:50 -0700326 -o /data/user_de/0/com.android.shell/files/bugreports/bugreport
Patrick Tjinea3b3cd2015-03-31 10:38:39 -0700327 class main
328 disabled
329 oneshot
330 keycodes 114 115 116
Zhihui Wu7055b3e2015-05-13 18:14:46 -0700331
332# start camera server as daemon
Yin-Chia Yeh54558b92015-10-09 14:41:36 -0700333service qcamerasvr /vendor/bin/mm-qcamera-daemon
Zhihui Wu7055b3e2015-05-13 18:14:46 -0700334 class late_start
335 user camera
336 group camera system inet input graphics
Tim Murray7bafe332015-10-05 13:31:51 -0700337 writepid /dev/cpuset/system-background/tasks
Vineeta Srivastavaf6ab59a2015-05-20 17:29:44 -0700338
339service fingerprintd /system/bin/fingerprintd
340 class late_start
341 user system
lijianzhao72688d42015-06-26 22:12:13 -0700342 group input
wang pingd69321a2015-05-13 00:11:24 +0800343
344service p2p_supplicant /system/bin/wpa_supplicant \
345 -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
346 -I/system/etc/wifi/p2p_supplicant_overlay.conf \
347 -O/data/misc/wifi/sockets \
348 -m/data/misc/wifi/p2p_supplicant.conf \
349 -puse_p2p_group_interface=1p2p_device=1 \
350 -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
351 class main
352 socket wpa_wlan0 dgram 660 wifi wifi
353 disabled
354 oneshot
355
356service wpa_supplicant /system/bin/wpa_supplicant \
357 -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
358 -I/system/etc/wifi/wpa_supplicant_overlay.conf \
359 -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
360 class main
361 socket wpa_wlan0 dgram 660 wifi wifi
362 disabled
363 oneshot
364
365service dhcpcd_wlan0 /system/bin/dhcpcd -aABKL
366 class main
367 disabled
368 oneshot
369
370service dhcpcd_p2p /system/bin/dhcpcd -aABKL
371 class main
372 disabled
373 oneshot
374
375service iprenew_wlan0 /system/bin/dhcpcd -n
376 class main
377 disabled
378 oneshot
379
380service iprenew_p2p /system/bin/dhcpcd -n
381 class main
382 disabled
383 oneshot
Zhihui Wu5dd2b472015-05-20 16:31:35 -0700384
wang1f7df762015-06-19 18:14:47 +0800385service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG
386 class main
387 disabled
388 oneshot
389
390service iprenew_bt-pan /system/bin/dhcpcd -n
391 class main
392 disabled
393 oneshot
394
Erik Kline6e9ca842015-09-15 11:53:53 +0900395service dhcpcd_eth0 /system/bin/dhcpcd -aABDKL
396 class late_start
397 disabled
398 oneshot
399
400service iprenew_eth0 /system/bin/dhcpcd -n
401 class late_start
402 disabled
403 oneshot
404
Zhihui Wu5dd2b472015-05-20 16:31:35 -0700405service imsqmidaemon /system/bin/imsqmidaemon
406 class main
407 user system
408 socket ims_qmid stream 0660 system radio
409 group radio net_raw log diag
410
411service imsdatadaemon /system/bin/imsdatadaemon
412 class main
413 user system
414 socket ims_datad stream 0660 system radio
415 group system wifi radio inet net_raw log diag net_admin
416 disabled
417
418on property:sys.ims.QMI_DAEMON_STATUS=1
419 start imsdatadaemon
420
Zhihui Wu5dd2b472015-05-20 16:31:35 -0700421service imscmservice /system/bin/imscmservice
422 class main
423 user system
424 group radio net_raw diag diag log
425
426service cnd /system/bin/cnd
427 class late_start
428 socket cnd stream 660 root inet
Pavlin Radoslavov326d91d2015-11-23 17:35:30 -0800429 group root wakelock
Patrick Tjin435a3eb2015-06-10 11:37:52 -0700430
wang ping04252d82015-06-10 22:55:51 -0700431on property:ro.boot.hardware.revision=ANGLER-V1
432 write /sys/module/bcmdhd/parameters/nvram_path \
433 /system/etc/wifi/bcmdhd-pme.cal
434
435on property:ro.boot.hardware.revision=ANGLER-V2
436 write /sys/module/bcmdhd/parameters/nvram_path \
437 /system/etc/wifi/bcmdhd-pme.cal
Zhenhua Ma786d29b2015-06-04 13:22:50 +0800438
wang ping9ee90202015-08-17 21:06:16 -0700439on property:ro.boot.wifi_cal=2
440 write /sys/module/bcmdhd/parameters/nvram_path \
441 /system/etc/wifi/bcmdhd-low.cal
442
443on property:ro.boot.wifi_cal=3
444 write /sys/module/bcmdhd/parameters/nvram_path \
445 /system/etc/wifi/bcmdhd-high.cal
446
Patrick Tjin299a3b82015-09-08 12:38:21 -0700447on property:ro.boot.hardware.sku=H1511
448 setprop ro.boot.wificountrycode US
449
dcashman717b6b62015-08-12 15:01:22 -0700450service mcfg-sh /system/bin/init.mcfg.sh
Zhenhua Ma786d29b2015-06-04 13:22:50 +0800451 class late_start
dcashman717b6b62015-08-12 15:01:22 -0700452 user radio
453 group radio system
Zhenhua Ma786d29b2015-06-04 13:22:50 +0800454 oneshot
renjie zhao0de37582015-06-05 14:22:37 +0800455
456service oem_qmi_server /vendor/bin/oem_qmi_server
renjie zhaob56cfa92015-07-23 11:17:05 +0800457 class main
renjie zhao0de37582015-06-05 14:22:37 +0800458 user root
renjie zhao56c62682015-08-26 14:17:19 -0400459 group system radio
Riley Andrewsa1399722015-06-22 15:53:18 -0700460
461service msm_irqbalance /system/bin/msm_irqbalance -f /system/etc/msm_irqbalance.conf
462 socket msm_irqbalance seqpacket 660 root system
463 class core
464 user root
465 group root
Tim Murray4fe466d2015-09-18 13:28:30 -0700466 writepid /dev/cpuset/system-background/tasks
zhangmingzhenff53d442015-07-06 17:54:11 +0800467
468#start atfwd as daemon
469service atfwd /system/bin/ATFWD-daemon
470 class late_start
471 user system
472 group system radio
473
Naseer Ahmed1b0f56a2015-07-09 16:46:40 -0400474service ppd /system/bin/mm-pp-daemon
475 class late_start
476 user system
477 socket pps stream 0660 system system
478 group system graphics
479
480on property:init.svc.surfaceflinger=stopped
481 stop ppd
renjie zhao57797562015-07-18 11:58:58 +0800482
483service diag_test_server /vendor/bin/diag_test_server
484 class core
485 user root
486 disabled
487
488on property:ro.boot.mode=hw-factory
489 start diag_test_server
490