aboutsummaryrefslogtreecommitdiff
path: root/rootdir/ueventd.mt6735.rc
blob: b0235c9e6cfc7616bfa2a16c889f1787bbc7e3cb (plain) (blame)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
subsystem adf
	devname uevent_devname

/dev/null                 0666   root       root
/dev/zero                 0666   root       root
/dev/full                 0666   root       root
/dev/ptmx                 0666   root       root
/dev/tty                  0666   root       root
/dev/random               0666   root       root
/dev/urandom              0666   root       root
# Make HW RNG readable by group system to let EntropyMixer read it.
/dev/hw_random            0440   root       system
/dev/ashmem               0666   root       root
/dev/binder               0666   root       root

   #change partition permission
/dev/preloader            0640   root       system
/dev/bootimg              0640   root       system
/dev/recovery             0660   root       system
/dev/sec_ro               0640   root       system
/dev/kb                   0660   root       system
/dev/dkb                  0660   root       system
/dev/seccfg               0660   root       system
/dev/pro_info             0660	 root	    system
/dev/otp 		  0660	 root	    system
/dev/nvram 		   0660	 root	    system
/dev/misc		   0660	 root	    system
/dev/misc2		   0660	 root	    system
/dev/block/platform/mtk-msdc.0/by-name/misc2		   0660	 root	    system
/dev/block/mmcblk0	   0660	 root	    system
/dev/block/mmcblk0boot0	   0660	 root	    system
/dev/block/mmcblk0boot1	   0660	 root	    system
/dev/misc-sd              0660   root       system


# Connectivity
/dev/stpwmt              0660  system     system
/dev/wmtdetect           0660  system     system

# BT
/dev/stpbt               0660  bluetooth  net_bt_stack

# GPS
/dev/stpgps              0660  gps        gps
/dev/gps                 0660  gps        system

# ANT
/dev/stpant              0660  system     system

# WIFI
/dev/wmtWifi             0660  system     system

# MTK BTIF driver
/dev/btif                 0600   system     system

# Trusty driver
/dev/trusty-ipc-dev0      0660   system     keystore

# add the read write right of ttyUSB*
/dev/bus/usb/*     	  0660   root       usb
/dev/ttyUSB0              0660   radio      radio
/dev/ttyUSB1              0660   radio      radio
/dev/ttyUSB2              0660   radio      radio
/dev/ttyUSB3              0660   radio      radio
/dev/ttyUSB4              0660   radio      radio

# Anyone can read the logs, but if they're not in the "logs"
# group, then they'll only see log entries for their UID.
/dev/xLog                 0600   root       root
/dev/log/ksystem          0600   root       log

# the msm hw3d client device node is world writable/readable
/dev/msm_hw3dc            0666   root       root

# the DIAG device node is not world writable/readable.
/dev/diag                 0660   system     qcom_diag

# gpu driver for adreno200 is globally accessible
/dev/kgsl                 0666   root       root

# kms driver for drm based gpu
/dev/dri/*                0666   root       graphics

# these should not be world writable
/dev/diag                 0660   radio      radio
/dev/diag_arm9            0660   radio      radio
/dev/android_adb          0660   adb        adb
/dev/android_adb_enable   0660   adb        adb
/dev/ttyMSM0              0600   bluetooth  bluetooth
/dev/uhid                 0660   system     net_bt_stack
/dev/uinput               0660   system     net_bt_stack
/dev/alarm                0664   system     radio
/dev/rtc0                 0640   system     system
/dev/tty0                 0660   root       system
/dev/graphics/*           0660   system     graphics
/dev/msm_hw3dm            0660   system     graphics
/dev/input/*              0660   root       input
/dev/eac                  0660   root       audio
/dev/cam                  0660   root       camera
/dev/pmem                 0660   system     graphics
/dev/pmem_adsp*           0660   system     audio
/dev/pmem_camera*         0660   system     camera
/dev/oncrpc/*             0660   root       system
/dev/adsp/*               0660   system     audio
/dev/snd/*                0660   system     audio
/dev/mt9t013              0660   system     system
/dev/msm_camera/*         0660   system     system
/dev/akm8976_daemon       0640   compass    system
/dev/akm8976_aot          0640   compass    system
/dev/akm8973_daemon       0640   compass    system
/dev/akm8973_aot          0640   compass    system
/dev/bma150               0640   compass    system
/dev/cm3602               0640   compass    system
/dev/akm8976_pffd         0640   compass    system
/dev/lightsensor          0640   system     system
/dev/msm_pcm_out*         0660   system     audio
/dev/msm_pcm_in*          0660   system     audio
/dev/msm_pcm_ctl*         0660   system     audio
/dev/msm_snd*             0660   system     audio
/dev/msm_mp3*             0660   system     audio
/dev/audience_a1026*      0660   system     audio
/dev/tpa2018d1*           0660   system     audio
/dev/msm_audpre           0660   system     audio
/dev/msm_audio_ctl        0660   system     audio
/dev/htc-acoustic         0660   system     audio
/dev/vdec                 0660   system     audio
/dev/q6venc               0660   system     audio
/dev/snd/dsp              0660   system     audio
/dev/snd/dsp1             0660   system     audio
/dev/snd/mixer            0660   system     audio
/dev/smd0                 0640   radio      radio
/dev/qmi                  0640   radio      radio
/dev/qmi0                 0640   radio      radio
/dev/qmi1                 0640   radio      radio
/dev/qmi2                 0640   radio      radio
/dev/bus/usb/*            0660   root       usb
/dev/mtp_usb              0660   root       mtp
/dev/usb_accessory        0660   root       usb
/dev/tun                  0660   system     vpn

/dev/ccci*                0660   radio      radio
/dev/ttyC*                0660   radio      radio
/sys/kernel/ccci          modem_info   0644   radio       radio
/sys/kernel/ccci          md1_postfix  0644   radio       radio
/sys/kernel/ccci          md2_postfix  0644   radio       radio
/dev/eemcs*               0660   radio      radio
/dev/emd*                 0660   radio      radio
/dev/ccci_pcm_rx          0660   media      media
/dev/ccci_pcm_tx          0660   media      media
/dev/ccci_aud             0660   media      media
/dev/ccci2_aud            0660   media      media
/dev/eemcs_aud            0660   media      media

# SGX device node
/dev/pvrsrvkm             0666   root       root
/dev/pvr_sync             0666   root       root

# CDMA radio interface MUX
/dev/ts0710mux*           0640   radio      radio
/dev/ppp                  0660   radio      vpn

# sysfs properties
/sys/devices/platform/trusty.*      trusty_version        0440  root   log
/sys/devices/virtual/input/input*   enable      0660  root   input
/sys/devices/virtual/input/input*   poll_delay  0660  root   input
/sys/devices/virtual/usb_composite/*   enable      0664  root   system
/sys/devices/system/cpu/cpu*   cpufreq/scaling_max_freq   0664  system system
/sys/devices/system/cpu/cpu*   cpufreq/scaling_min_freq   0664  system system
/sys/devices/system/cpu/cpu*   cpufreq/scaling_governor   0664  system system

/sys/devices/system/cpu/cpufreq ondemand/boostfreq   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/boostpulse  0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/boosttime   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/down_differential   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/down_differential_multi_core   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/ignore_nice_load   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/input_boost   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/io_is_busy      0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/optimal_freq   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/powersave_bias  0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/sampling_down_factor    0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/sampling_rate   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/sampling_rate_min   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/sync_freq   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/up_threshold   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/up_threshold_any_cpu_load   0664    system  system
/sys/devices/system/cpu/cpufreq ondemand/up_threshold_multi_core   0664    system  system

/sys/devices/system/cpu/cpufreq interactive/above_hispeed_delay 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/align_windows 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/boost  0664    system  system
/sys/devices/system/cpu/cpufreq interactive/boostpulse  0664    system  system
/sys/devices/system/cpu/cpufreq interactive/boostpulse_duration  0664    system  system
/sys/devices/system/cpu/cpufreq interactive/go_hispeed_load 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/hispeed_freq    0664    system  system
/sys/devices/system/cpu/cpufreq interactive/io_is_busy      0664    system  system
/sys/devices/system/cpu/cpufreq interactive/max_freq_hysteresis 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/min_sample_rate 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/min_sample_time 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/sampling_down_factor 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/sync_freq 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/target_loads 0664    system  system
/sys/devices/system/cpu/cpufreq interactive/timer_rate  0664    system  system
/sys/devices/system/cpu/cpufreq interactive/timer_slack      0664    system  system
/sys/devices/system/cpu/cpufreq interactive/up_threshold_any_cpu_freq      0664    system  system
/sys/devices/system/cpu/cpufreq interactive/up_threshold_any_cpu_load      0664    system  system
/sys/devices/platform/leds-mt65xx/leds/green   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/green   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/red   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/red   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/blue   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/blue   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/yellow   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/yellow   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/white   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/white   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/cyan   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/cyan   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/violet   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/violet   delay_off      0664  system   system

#GPS
/dev/gps	0660	gps	system

#GPIO
/dev/mtgpio	0600	radio	root

#MTK BTIF driver
/dev/btif 0600  system system

#FOR VIA MODEM
/dev/ttySDIO*	0660	radio    sdcard_rw
/dev/ttyRB*     0660    radio    radio

# Mali node
/dev/mali               0666  system graphics

#touch
/dev/touch              0660   root  system
/dev/hotknot            0660   root  system

#hang_detect
/dev/RT_Monitor         0600   system  system
/dev/kick_powerkey      0600   system  system

#MTK In-House TEE
/dev/ttyACM0		0660   radio   radio

# for lsm6ds3

#common sensors files
/sys/devices/iio:device* buffer/enable 0666 system system
/sys/devices/iio:device* buffer/length 0666 system system
/sys/devices/iio:device* flush 0666 system system
/sys/devices/iio:device* self_test 0666 system system
/sys/devices/iio:device* sampling_frequency 0666 system system
/sys/devices/iio:device* scan_elements/in_timestamp_en 0666 system system

#accelerometer sensor
/sys/devices/iio:device* scan_elements/in_accel_x_en 0666 system system
/sys/devices/iio:device* scan_elements/in_accel_y_en 0666 system system
/sys/devices/iio:device* scan_elements/in_accel_z_en 0666 system system
/sys/devices/iio:device* in_accel_x_scale 0666 system system
/sys/devices/iio:device* in_accel_y_scale 0666 system system
/sys/devices/iio:device* in_accel_z_scale 0666 system system
/sys/devices/iio:device* sensor_phone_calling 0666 system system

#magnetometer sensor
/sys/devices/iio:device* scan_elements/in_magn_x_en 0666 system system
/sys/devices/iio:device* scan_elements/in_magn_y_en 0666 system system
/sys/devices/iio:device* scan_elements/in_magn_z_en 0666 system system
/sys/devices/iio:device* in_magn_x_scale 0666 system system
/sys/devices/iio:device* in_magn_y_scale 0666 system system
/sys/devices/iio:device* in_magn_z_scale 0666 system system

#light sensor
/sys/devices/iio:device* scan_elements/in_illuminance_x_en 0666 system system
/sys/devices/iio:device* in_illuminance_x_scale 0666 system system

#proximity sensor
/sys/devices/iio:device* scan_elements/in_proximity_x_en 0666 system system
/sys/devices/iio:device* in_proximity_x_scale 0666 system system

#gyroscope sensor
/sys/devices/iio:device* scan_elements/in_anglvel_x_en 0666 system system
/sys/devices/iio:device* scan_elements/in_anglvel_y_en 0666 system system
/sys/devices/iio:device* scan_elements/in_anglvel_z_en 0666 system system
/sys/devices/iio:device* in_anglvel_x_scale 0666 system system
/sys/devices/iio:device* in_anglvel_y_scale 0666 system system
/sys/devices/iio:device* in_anglvel_z_scale 0666 system system

#step counter sensor
/sys/devices/iio:device* max_delivery_rate 0666 system system
/sys/devices/iio:device* reset_counter 0666 system system
/sys/devices/iio:device* scan_elements/in_step_counter_en 0666 system system

#significant motion sensor
/sys/devices/iio:device* scan_elements/in_sign_motion_en 0666 system system

#step detector sensor
/sys/devices/iio:device* scan_elements/in_step_detector_en 0666 system system

#tilt sensor
/sys/devices/iio:device* scan_elements/in_tilt_en 0666 system system