forked from lopestom/twrp_device_oppo_CPH1717
-
Notifications
You must be signed in to change notification settings - Fork 0
/
factory_init.connectivity.rc
68 lines (56 loc) · 1.53 KB
/
factory_init.connectivity.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
on post-fs-data
#
# Connectivity related modules and character device nodes (Begin)
#
#/dev/ttyMT2 for Connectivity BT/FM/GPS usage
chmod 0660 /dev/ttyMT2
chown system system /dev/ttyMT2
# GPS
mkdir /data/gps_mnl 0771 gps system
mkdir /data/misc/gps 0770 gps system
chown gps system /data/mpe_mnl
chmod 0775 /vendor/xbin/MPED
chown gps gps /dev/stpgps
chown gps gps /sys/class/gpsdrv/gps/pwrctl
chown gps gps /sys/class/gpsdrv/gps/suspend
chown gps gps /sys/class/gpsdrv/gps/state
chown gps gps /sys/class/gpsdrv/gps/pwrsave
chown gps gps /sys/class/gpsdrv/gps/status
chmod 0660 /dev/stpgps
# WiFi
mkdir /data/misc/wifi 0770 wifi wifi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/wpa_supplicant 0770 wifi wifi
#
# Connectivity related device nodes & configuration (end)
#
on boot
#
# Connectivity related services (Begin)
#
# WMT
service wmt_loader /vendor/bin/wmt_loader
user root
group root
oneshot
service wmt_launcher /vendor/bin/wmt_launcher -p /vendor/firmware/
user system
group system
# GPS
#service mnld /vendor/bin/mnld
# class main
# user gps
# group gps inet misc sdcard_rw sdcard_r media_rw system radio
# socket mnld stream 660 gps system
service MPED /vendor/bin/MPED
class main
user gps
group gps inet misc sdcard_rw sdcard_r media_rw system
socket MPED stream 660 gps system
#service BGW /vendor/bin/BGW
# user system
# group gps system radio
# class main
#
# Connectivity related services (End)
#