1/dev/ttyAMA0           u:object_r:console_device:s0
2/dev/ttyAMA3           u:object_r:console_device:s0
3/dev/ttyAMA5           u:object_r:console_device:s0
4/dev/ttyFIQ0           u:object_r:console_device:s0
5/dev/mali              u:object_r:gpu_device:s0
6/dev/mali0             u:object_r:gpu_device:s0
7/dev/nanohub           u:object_r:sensors_device:s0
8/dev/nanohub_comms     u:object_r:sensors_device:s0
9/dev/dri/card0         u:object_r:gpu_device:s0
10/dev/hci_tty           u:object_r:hci_attach_dev:s0
11/dev/ttyAMA1           u:object_r:hci_attach_dev:s0
12/dev/ttyAMA4           u:object_r:hci_attach_dev:s0
13/dev/hifi_misc         u:object_r:audio_device:s0
14/dev/hi_vdec	       u:object_r:video_device:s0
15/dev/hi_venc	       u:object_r:video_device:s0
16/dev/dma_heap/linux,cma u:object_r:dmabuf_cma_heap_device:s0
17/dev/graphics/fb0      u:object_r:graphics_device:s0
18
19# files in /vendor
20/(vendor|system/vendor)/bin/uim  u:object_r:hci_attach_exec:s0
21/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service\.hikey      u:object_r:hal_bluetooth_hikey_exec:s0
22/(vendor|system/vendor)/bin/nanoapp_cmd  u:object_r:nanoapp_cmd_exec:s0
23/(vendor|system/vendor)/bin/suspend_blocker								u:object_r:suspend_blocker_exec:s0
24
25/(vendor|system/vendor)/lib(64)?/hw/gralloc\.hikey960\.so u:object_r:same_process_hal_file:s0
26/(vendor|system/vendor)/lib(64)?/hw/gralloc\.hikey\.so u:object_r:same_process_hal_file:s0
27
28# /data
29/data/vendor/sensor(/.*)?        u:object_r:sensor_vendor_data_file:s0
30
31/sys/devices/platform/ddr_devfreq/devfreq/ddr_devfreq/min_freq		u:object_r:sysfs_power:s0
32/sys/devices/platform/e82c0000\.mali/devfreq/e82c0000\.mali/min_freq	u:object_r:sysfs_power:s0
33
34# for HiKey Board
35/dev/block/platform/soc/f723d000\.dwmmc0/by-name/cache u:object_r:cache_block_device:s0
36/dev/block/platform/soc/f723d000\.dwmmc0/by-name/userdata u:object_r:userdata_block_device:s0
37
38# for HiKey960 Board
39# temporary workaround for metadata encryption support
40/dev/block/platform/soc/ff3b0000\.ufs/by-name/cache u:object_r:metadata_block_device:s0
41/dev/block/platform/soc/ff3b0000\.ufs/by-name/userdata u:object_r:userdata_block_device:s0
42# temporary workaround for the bootcontrol hal support after the dynamic partititon support
43/dev/block/platform/soc/ff3b0000\.ufs/by-name/vendor u:object_r:misc_block_device:s0
44
45/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software         u:object_r:hal_gatekeeper_default_exec:s0
46/vendor/bin/hw/android\.hardware\.power@1\.1-service\.hikey-common          u:object_r:hal_power_default_exec:s0
47
48/vendor/lib(64)?/hw/vulkan\.hikey960\.so u:object_r:same_process_hal_file:s0
49/vendor/lib(64)?/libRSDriverArm\.so u:object_r:same_process_hal_file:s0
50/vendor/lib64/libbccArm\.so u:object_r:same_process_hal_file:s0
51/vendor/lib64/libbcc\.so u:object_r:same_process_hal_file:s0
52/vendor/lib64/libLLVM_android\.so u:object_r:same_process_hal_file:s0
53/vendor/lib(64)?/libclcore\.bc u:object_r:same_process_hal_file:s0
54/vendor/lib(64)?/libmalicore\.bc u:object_r:same_process_hal_file:s0
55/vendor/lib/libclcore_neon\.bc u:object_r:same_process_hal_file:s0
56/vendor/bin/bcc                u:object_r:same_process_hal_file:s0
57