# ============================================== # MTK Policy Rule # ============================================== ############################ # A/B system /enableswap.sh u:object_r:rootfs:s0 /factory_init\..* u:object_r:rootfs:s0 /meta_init\..* u:object_r:rootfs:s0 /multi_init\..* u:object_r:rootfs:s0 ############################# # Custom files (/vendor)?/custom(/.*)? u:object_r:custom_file:s0 /dev/socket/netd u:object_r:netd_socket:s0 ############################# # Data files # /data/vendor/.tp(/.*)? u:object_r:thermal_manager_data_file:s0 /data/vendor_de/meta(/.*)? u:object_r:mddb_data_file:s0 /data/aee_exp(/.*)? u:object_r:aee_exp_data_file:s0 /data/vendor/aee_exp(/.*)? u:object_r:aee_exp_vendor_file:s0 /data/vendor/agps_supl(/.*)? u:object_r:agpsd_data_file:s0 #/data/mnl_flp(/.*)? u:object_r:mnld_data_file:s0 #/data/mnl_gfc(/.*)? u:object_r:mnld_data_file:s0 /data/vendor/gps(/.*)? u:object_r:gps_data_file:s0 /data/anr/SF_RTT(/.*)? u:object_r:sf_rtt_file:s0 /data/vendor/ccci_cfg(/.*)? u:object_r:ccci_cfg_file:s0 /data/vendor/mdlpm(/.*)? u:object_r:ccci_data_md1_file:s0 /data/vendor/flashless(/.*)? u:object_r:c2k_file:s0 /data/core(/.*)? u:object_r:aee_core_data_file:s0 /data/vendor/core(/.*)? u:object_r:aee_core_vendor_file:s0 #/data/dontpanic(/.*)? u:object_r:dontpanic_data_file:s0 /data/dumpsys(/.*)? u:object_r:aee_dumpsys_data_file:s0 /data/vendor/dumpsys(/.*)? u:object_r:aee_dumpsys_vendor_file:s0 /data/extmdl(/.*)? u:object_r:mdlog_data_file:s0 #/data/http-proxy-cfg(/.*)? u:object_r:http_proxy_cfg_data_file:s0 /data/log_temp(/.*)? u:object_r:logtemp_data_file:s0 #/data/lost\+found(/.*)? u:object_r:lost_found_data_file:s0 /data/mdlog(/.*)? u:object_r:mdlog_data_file:s0 /data/mdl(/.*)? u:object_r:mdlog_data_file:s0 /data/mdl3(/.*)? u:object_r:mdlog_data_file:s0 #/data/mediaserver(/.*)? u:object_r:mediaserver_data_file:s0 #/data/mediacodec(/.*)? u:object_r:mediacodec_data_file:s0 #/data/.tp(/.*)? u:object_r:thermal_manager_data_file:s0 /data/nfc_socket(/.*)? u:object_r:nfc_socket:s0 /data/vendor/nfc_socket(/.*)? u:object_r:vendor_nfc_socket:s0 #/data/nvram(/.*)? u:object_r:nvram_data_file:s0 #/data/cct(/.*)? u:object_r:cct_data_file:s0 /data/vendor/md3(/.*)? u:object_r:c2k_file:s0 #/data/mal(/.*)? u:object_r:mal_data_file:s0 /data/SF_dump(./*)? u:object_r:sf_bqdump_data_file:s0 /data/data_tmpfs_log(/.*)? u:object_r:data_tmpfs_log_file:s0 /data/vendor/data_tmpfs_log(/.*)? u:object_r:vendor_tmpfs_log_file:s0 #/data/tmp_mnt/data_tmpfs_log(/.*)? u:object_r:data_tmpfs_log_file:s0 #/data/tmp_mnt/vendor/data_tmpfs_log(/.*)? u:object_r:data_tmpfs_log_file:s0 #/data/setkey.conf u:object_r:ims_ipsec_data_file:s0 #/data/setkey_bak.conf u:object_r:ims_ipsec_data_file:s0 #/data/setkey_latest.conf u:object_r:ims_ipsec_data_file:s0 /data/vendor/audiohal(/.*)? u:object_r:mtk_audiohal_data_file:s0 /data/vendor/powerhal(/.*)? u:object_r:mtk_powerhal_data_file:s0 #/data/vendor/nfc(/.*)? u:object_r:nfc_data_file:s0 /data/connsyslog(/.*)? u:object_r:consyslog_data_file:s0 /data/vendor/stp_dump(/.*)? u:object_r:stp_dump_data_file:s0 /data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0 /data/vendor/dipdebug(/.*)? u:object_r:aee_dipdebug_vendor_file:s0 /data/vendor/key_provisioning(/.*)? u:object_r:key_install_data_file:s0 /data/vendor/vcodec(/.*)? u:object_r:vcodec_file:s0 # Misc data #/data/misc/acdapi(/.*)? u:object_r:acdapi_data_file:s0 /data/misc/mblog(/.*)? u:object_r:logmisc_data_file:s0 #/data/misc/ppp(/.*)? u:object_r:ppp_data_file:s0 #/data/misc/radvd(/.*)? u:object_r:radvd_data_file:s0 /data/vendor/sensor(/.*)? u:object_r:sensor_data_file:s0 #/data/misc/wpa_supplicant(/.*)? u:object_r:wpa_supplicant_data_file:s0 # Wallpaper file for smartbook /data/system/users/[0-9]+/smartbook_wallpaper u:object_r:wallpaper_file:s0 /data/vendor/connsyslog(/.*)? u:object_r:connsyslog_data_vendor_file:s0 # nvdata /mnt/vendor/nvdata(/.*)? u:object_r:nvdata_file:s0 /mnt/vendor/nvcfg(/.*)? u:object_r:nvcfg_file:s0 # protected data file /mnt/vendor/protect_f(/.*)? u:object_r:protect_f_data_file:s0 /mnt/vendor/protect_s(/.*)? u:object_r:protect_s_data_file:s0 /mnt/vendor/persist(/.*)? u:object_r:persist_data_file:s0 #fat on nand image /fat(/.*)? u:object_r:fon_image_data_file:s0 ########################## # Devices # /dev/aal_als(/.*)? u:object_r:aal_als_device:s0 /dev/accdet(/.*)? u:object_r:accdet_device:s0 /dev/AD5820AF(/.*)? u:object_r:AD5820AF_device:s0 /dev/aed[0-9]+ u:object_r:aed_device:s0 /dev/ampc0(/.*)? u:object_r:ampc0_device:s0 /dev/android(/.*)? u:object_r:android_device:s0 /dev/block/zram0 u:object_r:swap_block_device:s0 /dev/block/platform/bootdevice/by-name/otp u:object_r:otp_part_block_device:s0 /dev/bmtpool(/.*)? u:object_r:bmtpool_device:s0 /dev/bootimg(/.*)? u:object_r:bootimg_device:s0 /dev/BOOT(/.*)? u:object_r:BOOT_device:s0 /dev/btif(/.*)? u:object_r:btif_device:s0 /dev/btn(/.*)? u:object_r:btn_device:s0 /dev/BU6429AF(/.*)? u:object_r:BU6429AF_device:s0 /dev/BU64745GWZAF(/.*)? u:object_r:BU64745GWZAF_device:s0 /dev/MAINAF(/.*)? u:object_r:MAINAF_device:s0 /dev/MAIN2AF(/.*)? u:object_r:MAIN2AF_device:s0 /dev/SUBAF(/.*)? u:object_r:SUBAF_device:s0 /dev/cache(/.*)? u:object_r:cache_device:s0 /dev/CAM_CAL_DRV(/.*)? u:object_r:CAM_CAL_DRV_device:s0 /dev/CAM_CAL_DRV1(/.*)? u:object_r:CAM_CAL_DRV1_device:s0 /dev/CAM_CAL_DRV2(/.*)? u:object_r:CAM_CAL_DRV2_device:s0 /dev/gz_kree(/.*)? u:object_r:gz_device:s0 /dev/camera-fdvt(/.*)? u:object_r:camera_fdvt_device:s0 /dev/camera-isp(/.*)? u:object_r:camera_isp_device:s0 /dev/camera-dip(/.*)? u:object_r:camera_dip_device:s0 /dev/camera-dpe(/.*)? u:object_r:camera_dpe_device:s0 /dev/camera-tsf(/.*)? u:object_r:camera_tsf_device:s0 /dev/camera-rsc(/.*)? u:object_r:camera_rsc_device:s0 /dev/camera-gepf(/.*)? u:object_r:camera_gepf_device:s0 /dev/camera-wpe(/.*)? u:object_r:camera_wpe_device:s0 /dev/camera-owe(/.*)? u:object_r:camera_owe_device:s0 /dev/camera-mfb(/.*)? u:object_r:camera_mfb_device:s0 /dev/camera-pipemgr(/.*)? u:object_r:camera_pipemgr_device:s0 /dev/camera-sysram(/.*)? u:object_r:camera_sysram_device:s0 /dev/ccu(/.*)? u:object_r:ccu_device:s0 /dev/vpu(/.*)? u:object_r:vpu_device:s0 /dev/mdlactl(/.*)? u:object_r:mdla_device:s0 /dev/ccci_monitor u:object_r:ccci_monitor_device:s0 /dev/ccci.* u:object_r:ccci_device:s0 /dev/cpu_dma_latency(/.*)? u:object_r:cpu_dma_latency_device:s0 /dev/devmap(/.*)? u:object_r:devmap_device:s0 /dev/dri(/.*)? u:object_r:gpu_device:s0 /dev/dummy_cam_cal(/.*)? u:object_r:dummy_cam_cal_device:s0 /dev/DW9714AF(/.*)? u:object_r:DW9714AF_device:s0 /dev/DW9814AF(/.*)? u:object_r:DW9814AF_device:s0 /dev/AK7345AF(/.*)? u:object_r:AK7345AF_device:s0 /dev/DW9714A(/.*)? u:object_r:DW9714A_device:s0 /dev/DW9718AF(/.*)? u:object_r:DW9718AF_device:s0 /dev/WV511AAF(/.*)? u:object_r:lens_device:s0 /dev/ebc(/.*)? u:object_r:ebc_device:s0 /dev/usip(/.*)? u:object_r:ebc_device:s0 /dev/ebr[0-9]+ u:object_r:ebr_device:s0 /dev/eemcs.* u:object_r:eemcs_device:s0 /dev/emd.* u:object_r:emd_device:s0 /dev/etb u:object_r:etb_device:s0 /dev/exm0(/.*)? u:object_r:exm0_device:s0 /dev/expdb(/.*)? u:object_r:expdb_device:s0 /dev/fat(/.*)? u:object_r:fat_device:s0 /dev/FM50AF(/.*)? u:object_r:FM50AF_device:s0 /dev/fm(/.*)? u:object_r:fm_device:s0 /dev/fw_log_wmt u:object_r:fw_log_wmt_device:s0 /dev/fw_log_wifi u:object_r:fw_log_wifi_device:s0 #/dev/gps(/.*)? u:object_r:gps_device:s0 /dev/geofence(/.*)? u:object_r:geo_device:s0 /dev/fw_log_gps u:object_r:fw_log_gps_device:s0 #/dev/mt3337_gpsonly u:object_r:gps_device:s0 /dev/hdmitx(/.*)? u:object_r:graphics_device:s0 /dev/hid-keyboard(/.*)? u:object_r:hid_keyboard_device:s0 /dev/ion(/.*)? u:object_r:ion_device:s0 /dev/kd_camera_flashlight(/.*)? u:object_r:kd_camera_flashlight_device:s0 /dev/flashlight(/.*)? u:object_r:flashlight_device:s0 /dev/kd_camera_hw_bus2(/.*)? u:object_r:kd_camera_hw_bus2_device:s0 /dev/kd_camera_hw(/.*)? u:object_r:kd_camera_hw_device:s0 /dev/seninf(/.*)? u:object_r:seninf_device:s0 /dev/LC898122AF(/.*)? u:object_r:LC898122AF_device:s0 /dev/LC898212AF(/.*)? u:object_r:LC898212AF_device:s0 /dev/logo(/.*)? u:object_r:logo_device:s0 /dev/loop-control(/.*)? u:object_r:loop-control_device:s0 /dev/M4U_device(/.*)? u:object_r:M4U_device_device:s0 /dev/mali.* u:object_r:gpu_device:s0 /dev/MATV(/.*)? u:object_r:MATV_device:s0 /dev/mbr(/.*)? u:object_r:mbr_device:s0 /dev/md32(/.*)? u:object_r:md32_device:s0 /dev/scp(/.*)? u:object_r:scp_device:s0 /dev/scp_B(/.*)? u:object_r:scp_device:s0 /dev/sspm(/.*)? u:object_r:sspm_device:s0 /dev/misc-sd(/.*)? u:object_r:misc_sd_device:s0 /dev/misc(/.*)? u:object_r:misc_device:s0 /dev/misc2(/.*)? u:object_r:misc2_device:s0 /dev/MJC(/.*)? u:object_r:MJC_device:s0 /dev/mmp(/.*)? u:object_r:mmp_device:s0 /dev/MT6516_H264_DEC(/.*)? u:object_r:MT6516_H264_DEC_device:s0 /dev/mt6516-IDP(/.*)? u:object_r:mt6516_IDP_device:s0 /dev/MT6516_Int_SRAM(/.*)? u:object_r:MT6516_Int_SRAM_device:s0 /dev/mt6516-isp(/.*)? u:object_r:mt6516_isp_device:s0 /dev/mt6516_jpeg(/.*)? u:object_r:mt6516_jpeg_device:s0 /dev/MT6516_MM_QUEUE(/.*)? u:object_r:MT6516_MM_QUEUE_device:s0 /dev/MT6516_MP4_DEC(/.*)? u:object_r:MT6516_MP4_DEC_device:s0 /dev/MT6516_MP4_ENC(/.*)? u:object_r:MT6516_MP4_ENC_device:s0 /dev/mt6605 u:object_r:mt6605_device:s0 /dev/st21nfc u:object_r:st21nfc_device:s0 /dev/st54spi u:object_r:st54spi_device:s0 /dev/mt9p012(/.*)? u:object_r:mt9p012_device:s0 /dev/mtfreqhopping(/.*)? u:object_r:mtfreqhopping_device:s0 /dev/mtgpio(/.*)? u:object_r:mtgpio_device:s0 /dev/mtk-adc-cali(/.*)? u:object_r:mtk-adc-cali_device:s0 /dev/mtk_disp.* u:object_r:graphics_device:s0 /dev/mtkfb_vsync(/.*)? u:object_r:graphics_device:s0 /dev/mtkg2d(/.*)? u:object_r:mtkg2d_device:s0 /dev/mtk_jpeg(/.*)? u:object_r:mtk_jpeg_device:s0 /dev/mtk-kpd(/.*)? u:object_r:mtk_kpd_device:s0 /dev/mtk_sched(/.*)? u:object_r:mtk_sched_device:s0 /dev/MTK_SMI(/.*)? u:object_r:MTK_SMI_device:s0 /dev/mtk_cmdq(/.*)? u:object_r:mtk_cmdq_device:s0 /dev/mdp_device(/.*)? u:object_r:mdp_device:s0 /dev/mdp_sync(/.*)? u:object_r:mtk_mdp_device:s0 /dev/mtk_rrc(/.*)? u:object_r:mtk_rrc_device:s0 /dev/mtk_dfrc(/.*)? u:object_r:mtk_dfrc_device:s0 /dev/mt-mdp(/.*)? u:object_r:mt_mdp_device:s0 /dev/mt_otg_test(/.*)? u:object_r:mt_otg_test_device:s0 /dev/MT_pmic_adc_cali u:object_r:MT_pmic_adc_cali_device:s0 /dev/MT_pmic_adc_cali(/.*)? u:object_r:MT_pmic_cali_device:s0 /dev/MT_pmic(/.*)? u:object_r:MT_pmic_device:s0 /dev/network.* u:object_r:network_device:s0 /dev/nvram(/.*)? u:object_r:nvram_device:s0 /dev/nxpspk(/.*)? u:object_r:smartpa_device:s0 /dev/otp u:object_r:otp_device:s0 /dev/pmem_multimedia(/.*)? u:object_r:pmem_multimedia_device:s0 /dev/pmt(/.*)? u:object_r:pmt_device:s0 /dev/preloader(/.*)? u:object_r:preloader_device:s0 /dev/pro_info(/.*)? u:object_r:pro_info_device:s0 /dev/protect_f(/.*)? u:object_r:protect_f_device:s0 /dev/protect_s(/.*)? u:object_r:protect_s_device:s0 /dev/psaux(/.*)? u:object_r:psaux_device:s0 /dev/ptmx(/.*)? u:object_r:ptmx_device:s0 /dev/ptyp.* u:object_r:ptyp_device:s0 /dev/pvr_sync(/.*)? u:object_r:gpu_device:s0 /dev/qemu_pipe(/.*)? u:object_r:qemu_pipe_device:s0 /dev/recovery(/.*)? u:object_r:recovery_device:s0 /dev/rfkill(/.*)? u:object_r:rfkill_device:s0 /dev/rtc[0-9]+ u:object_r:rtc_device:s0 /dev/RT_Monitor(/.*)? u:object_r:RT_Monitor_device:s0 /dev/kick_powerkey(/.*)? u:object_r:kick_powerkey_device:s0 /dev/seccfg(/.*)? u:object_r:seccfg_device:s0 /dev/sec_ro(/.*)? u:object_r:sec_ro_device:s0 /dev/sec(/.*)? u:object_r:sec_device:s0 /dev/tee1 u:object_r:tee_part_device:s0 /dev/tee2 u:object_r:tee_part_device:s0 /dev/sensor(/.*)? u:object_r:sensor_device:s0 /dev/smartpa_i2c(/.*)? u:object_r:smartpa1_device:s0 /dev/snapshot(/.*)? u:object_r:snapshot_device:s0 /dev/socket/adbd(/.*)? u:object_r:adbd_socket:s0 /dev/socket/agpsd2(/.*)? u:object_r:agpsd_socket:s0 /dev/socket/agpsd3(/.*)? u:object_r:agpsd_socket:s0 /dev/socket/agpsd(/.*)? u:object_r:agpsd_socket:s0 /dev/socket/atci-audio(/.*)? u:object_r:atci-audio_socket:s0 /dev/socket/backuprestore(/.*)? u:object_r:backuprestore_socket:s0 /dev/socket/dfo(/.*)? u:object_r:dfo_socket:s0 /dev/socket/dnsproxyd(/.*)? u:object_r:dnsproxyd_socket:s0 /dev/socket/dumpstate(/.*)? u:object_r:dumpstate_socket:s0 /dev/socket/mdnsd(/.*)? u:object_r:mdnsd_socket:s0 /dev/socket/mdns(/.*)? u:object_r:mdns_socket:s0 /dev/socket/mnld(/.*)? u:object_r:mnld_socket:s0 /dev/socket/netdiag(/.*)? u:object_r:netdiag_socket:s0 /dev/socket/netd(/.*)? u:object_r:netd_socket:s0 /dev/socket/mrild(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/mrild2(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/mrild3(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/rild-atci u:object_r:gsmrild_socket:s0 /dev/socket/rild-mbim(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/msap_uim_socket1(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/msap_uim_socket2(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/sap_uim_socket(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/msap_c2k_socket1(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/msap_c2k_socket2(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/msap_c2k_socket3(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/msap_c2k_socket4(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/sap_uim_socket1(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/sap_uim_socket2(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/sap_uim_socket3(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/sap_uim_socket4(/.*)? u:object_r:gsmrild_socket:s0 /dev/socket/rild2-md2(/.*)? u:object_r:rild2_md2_socket:s0 /dev/socket/rild2(/.*)? u:object_r:rild2_socket:s0 /dev/socket/rild3(/.*)? u:object_r:rild3_socket:s0 /dev/socket/rild4(/.*)? u:object_r:rild4_socket:s0 /dev/socket/rild-mal(/.*)? u:object_r:rild_mal_socket:s0 /dev/socket/rild-mal-at(/.*)? u:object_r:rild_mal_at_socket:s0 /dev/socket/rild-mal-md2(/.*)? u:object_r:rild_mal_md2_socket:s0 /dev/socket/rild-mal-at-md2(/.*)? u:object_r:rild_mal_at_md2_socket:s0 /dev/socket/rild-ims(/.*)? u:object_r:rild_ims_socket:s0 /dev/socket/volte_imsm_dongle(/.*)? u:object_r:rild_imsm_socket:s0 /dev/socket/rild-vsim(/.*)? u:object_r:rild_vsim_socket:s0 /dev/socket/rild-vsim2(/.*)? u:object_r:rild_vsim_socket:s0 /dev/socket/rild-vsim3(/.*)? u:object_r:rild_vsim_socket:s0 /dev/socket/rild-vsim-md2(/.*)? u:object_r:rild_vsim_md2_socket:s0 /dev/socket/rild-ctclient u:object_r:rild_ctclient_socket:s0 /dev/socket/rild-debug-md2(/.*)? u:object_r:rild_debug_md2_socket:s0 /dev/socket/rild-debug(/.*)? u:object_r:rild_debug_socket:s0 /dev/socket/rild-dongle(/.*)? u:object_r:rild-dongle_socket:s0 /dev/socket/rild-md2(/.*)? u:object_r:rild_md2_socket:s0 /dev/socket/rild-mtk-modem-md2(/.*)? u:object_r:rild_mtk_modem_md2_socket:s0 /dev/socket/rild-mtk-modem(/.*)? u:object_r:rild_mtk_modem_socket:s0 /dev/socket/rild-mtk-ut-2-md2(/.*)? u:object_r:rild_mtk_ut_2_md2_socket:s0 /dev/socket/rild-mtk-ut-2(/.*)? u:object_r:rild_mtk_ut_2_socket:s0 /dev/socket/rild-mtk-ut-md2(/.*)? u:object_r:rild_mtk_ut_md2_socket:s0 /dev/socket/rild-mtk-ut(/.*)? u:object_r:rild_mtk_ut_socket:s0 /dev/socket/rild-oem-md2(/.*)? u:object_r:rild_oem_md2_socket:s0 /dev/socket/rild-oem(/.*)? u:object_r:rild_oem_socket:s0 /dev/socket/rild(/.*)? u:object_r:rild_socket:s0 /dev/socket/rild-via u:object_r:rild_via_socket:s0 /dev/socket/rildc-debug u:object_r:rild_via_socket:s0 /dev/socket/rild-atci-c2k u:object_r:rild_via_socket:s0 /dev/socket/mal-mfi(/.*)? u:object_r:mal_mfi_socket:s0 /dev/socket/mal-mfi-dongle(/.*)? u:object_r:mal_mfi_socket:s0 /dev/socket/rpc u:object_r:rpc_socket:s0 /dev/socket/soc_vt_stk(/.*)? u:object_r:soc_vt_stk_socket:s0 /dev/socket/soc_vt_svc(/.*)? u:object_r:soc_vt_svc_socket:s0 /dev/socket/soc_vt_tcv(/.*)? u:object_r:soc_vt_tcv_socket:s0 /dev/socket/sysctl(/.*)? u:object_r:sysctl_socket:s0 /dev/socket/volte_vt(/.*)? u:object_r:volte_vt_socket:s0 /dev/socket/wpa_wlan0(/.*)? u:object_r:wpa_wlan0_socket:s0 /dev/stpant(/.*)? u:object_r:stpant_device:s0 /dev/stpbt(/.*)? u:object_r:stpbt_device:s0 /dev/fw_log_bt u:object_r:fw_log_bt_device:s0 /dev/stpgps u:object_r:mnld_device:s0 /dev/stpgps(/.*)? u:object_r:stpgps_device:s0 /dev/gpsdl0 u:object_r:mnld_device:s0 /dev/gpsdl0(/.*)? u:object_r:gpsdl_device:s0 /dev/gpsdl1 u:object_r:mnld_device:s0 /dev/gpsdl1(/.*)? u:object_r:gpsdl_device:s0 /dev/stpwmt(/.*)? u:object_r:stpwmt_device:s0 /dev/sw_sync(/.*)? u:object_r:sw_sync_device:s0 /dev/tgt(/.*)? u:object_r:tgt_device:s0 /dev/touch(/.*)? u:object_r:touch_device:s0 /dev/tpd_em_log(/.*)? u:object_r:tpd_em_log_device:s0 /dev/ttyC0 u:object_r:gsm0710muxd_device:s0 /dev/ttyC1 u:object_r:mdlog_device:s0 /dev/ttyC2 u:object_r:agps_device:s0 /dev/ttyC3 u:object_r:icusb_device:s0 /dev/ttyC6 u:object_r:nlop_device:s0 /dev/ttyGS.* u:object_r:ttyGS_device:s0 /dev/ttyMT.* u:object_r:ttyMT_device:s0 /dev/ttyS.* u:object_r:ttyS_device:s0 /dev/ttyp.* u:object_r:ttyp_device:s0 /dev/ttySDIO.* u:object_r:ttySDIO_device:s0 /dev/ttyUSB0 u:object_r:tty_device:s0 /dev/ttyUSB1 u:object_r:tty_device:s0 /dev/ttyUSB2 u:object_r:tty_device:s0 /dev/ttyUSB3 u:object_r:tty_device:s0 /dev/ttyUSB4 u:object_r:tty_device:s0 /dev/TV-out(/.*)? u:object_r:TV_out_device:s0 /dev/uboot(/.*)? u:object_r:uboot_device:s0 /dev/uibc(/.*)? u:object_r:uibc_device:s0 /dev/uinput(/.*)? u:object_r:uinput_device:s0 /dev/uio0(/.*)? u:object_r:uio0_device:s0 /dev/usrdata(/.*)? u:object_r:usrdata_device:s0 /dev/Vcodec(/.*)? u:object_r:Vcodec_device:s0 /dev/vmodem u:object_r:vmodem_device:s0 /dev/vow(/.*)? u:object_r:vow_device:s0 /dev/wmtdetect(/.*)? u:object_r:wmtdetect_device:s0 /dev/wmtWifi(/.*)? u:object_r:wmtWifi_device:s0 /dev/ancservice(/.*)? u:object_r:ancservice_device:s0 /dev/offloadservice(/.*)? u:object_r:offloadservice_device:s0 /dev/audio_ipi(/.*)? u:object_r:audio_ipi_device:s0 /dev/adsp(/.*)? u:object_r:adsp_device:s0 /dev/audio_scp(/.*)? u:object_r:audio_scp_device:s0 /dev/irtx u:object_r:irtx_device:s0 /dev/spm(/.*)? u:object_r:spm_device:s0 /dev/xt_qtaguid(/.*)? u:object_r:xt_qtaguid_device:s0 /dev/pmic_ftm(/.*)? u:object_r:pmic_ftm_device:s0 /dev/charger_ftm(/.*)? u:object_r:charger_ftm_device:s0 /dev/shf u:object_r:shf_device:s0 /dev/ttyACM0 u:object_r:ttyACM_device:s0 /dev/hrm u:object_r:hrm_device:s0 /dev/trusty-ipc-dev0 u:object_r:tee_device:s0 /dev/nebula-ipc-dev0 u:object_r:tee_device:s0 /dev/mbim u:object_r:mbim_device:s0 /dev/alarm(/.*)? u:object_r:alarm_device:s0 ########################## # Sensor common Devices Start # /dev/als_ps(/.*)? u:object_r:als_ps_device:s0 /dev/barometer(/.*)? u:object_r:barometer_device:s0 /dev/humidity(/.*)? u:object_r:humidity_device:s0 /dev/gsensor(/.*)? u:object_r:gsensor_device:s0 /dev/gyroscope(/.*)? u:object_r:gyroscope_device:s0 /dev/hwmsensor(/.*)? u:object_r:hwmsensor_device:s0 /dev/msensor(/.*)? u:object_r:msensor_device:s0 /dev/biometric(/.*)? u:object_r:biometric_device:s0 /dev/sensorlist(/.*)? u:object_r:sensorlist_device:s0 ########################## # Sensor Devices Start # /dev/m_batch_misc(/.*)? u:object_r:m_batch_misc_device:s0 ########################## # Sensor bio Devices Start # /dev/m_als_misc(/.*)? u:object_r:m_als_misc_device:s0 /dev/m_ps_misc(/.*)? u:object_r:m_ps_misc_device:s0 /dev/m_baro_misc(/.*)? u:object_r:m_baro_misc_device:s0 /dev/m_hmdy_misc(/.*)? u:object_r:m_hmdy_misc_device:s0 /dev/m_acc_misc(/.*)? u:object_r:m_acc_misc_device:s0 /dev/m_mag_misc(/.*)? u:object_r:m_mag_misc_device:s0 /dev/m_gyro_misc(/.*)? u:object_r:m_gyro_misc_device:s0 /dev/m_act_misc(/.*)? u:object_r:m_act_misc_device:s0 /dev/m_pedo_misc(/.*)? u:object_r:m_pedo_misc_device:s0 /dev/m_situ_misc(/.*)? u:object_r:m_situ_misc_device:s0 /dev/m_step_c_misc(/.*)? u:object_r:m_step_c_misc_device:s0 /dev/m_fusion_misc(/.*)? u:object_r:m_fusion_misc_device:s0 /dev/m_bio_misc(/.*)? u:object_r:m_bio_misc_device:s0 # block partition definitions /dev/block/mmcblk0boot0 u:object_r:preloader_block_device:s0 /dev/block/mmcblk0boot1 u:object_r:preloader_block_device:s0 /dev/block/sda u:object_r:preloader_block_device:s0 /dev/block/sdb u:object_r:preloader_block_device:s0 /dev/block/mmcblk0 u:object_r:bootdevice_block_device:s0 /dev/block/sdc u:object_r:bootdevice_block_device:s0 /dev/block/mmcblk1 u:object_r:mmcblk1_block_device:s0 /dev/block/mmcblk1p1 u:object_r:mmcblk1p1_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/proinfo u:object_r:nvram_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/nvram u:object_r:nvram_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/nvdata u:object_r:nvdata_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/frp u:object_r:frp_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/expdb u:object_r:expdb_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/misc2 u:object_r:misc2_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/logo u:object_r:logo_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/para u:object_r:para_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/misc u:object_r:misc_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/seccfg u:object_r:seccfg_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/secro u:object_r:secro_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/system u:object_r:system_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/userdata u:object_r:userdata_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/cache u:object_r:cache_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/recovery u:object_r:recovery_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/protect1 u:object_r:protect1_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/protect2 u:object_r:protect2_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/keystore u:object_r:keystore_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/oemkeystore u:object_r:oemkeystore_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/boot u:object_r:boot_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/persist u:object_r:persist_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/metadata u:object_r:metadata_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/nvcfg u:object_r:nvcfg_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/ppl u:object_r:ppl_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/sec1 u:object_r:sec1_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/boot_para u:object_r:boot_para_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/boot(_[ab])? u:object_r:boot_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/system(_[ab])? u:object_r:system_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/odm(_[ab])? u:object_r:odm_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/oem(_[ab])? u:object_r:oem_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/vendor(_[ab])? u:object_r:vendor_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/lk(_[ab])? u:object_r:lk_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/odmdtbo(_[ab])? u:object_r:dtbo_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/dtbo(_[ab])? u:object_r:dtbo_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/tee([12]|_[ab]) u:object_r:tee_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/md1img(_[ab])? u:object_r:md_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/md1dsp(_[ab])? u:object_r:dsp_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/md1arm7(_[ab])? u:object_r:md_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/md3img(_[ab])? u:object_r:md_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/scp(_[ab])? u:object_r:scp_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/sspm(_[ab])? u:object_r:sspm_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/spmfw(_[ab])? u:object_r:spmfw_block_device:s0 /dev/block/platform/mtk-\b(msdc|ufs)\b\.0/[0-9]+\.\b(msdc0|ufs0)\b/by-name/vbmeta(_system|_vendor)?(_[ab])? u:object_r:vbmeta_block_device:s0 /dev/block/platform/bootdevice/by-name/proinfo u:object_r:nvram_device:s0 /dev/block/platform/bootdevice/by-name/nvram u:object_r:nvram_device:s0 /dev/block/platform/bootdevice/by-name/nvdata u:object_r:nvdata_device:s0 /dev/block/platform/bootdevice/by-name/frp u:object_r:frp_block_device:s0 /dev/block/platform/bootdevice/by-name/expdb u:object_r:expdb_block_device:s0 /dev/block/platform/bootdevice/by-name/misc2 u:object_r:misc2_block_device:s0 /dev/block/platform/bootdevice/by-name/logo u:object_r:logo_block_device:s0 /dev/block/platform/bootdevice/by-name/para u:object_r:para_block_device:s0 /dev/block/platform/bootdevice/by-name/misc u:object_r:misc_block_device:s0 /dev/block/platform/bootdevice/by-name/seccfg u:object_r:seccfg_block_device:s0 /dev/block/platform/bootdevice/by-name/secro u:object_r:secro_block_device:s0 /dev/block/platform/bootdevice/by-name/userdata u:object_r:userdata_block_device:s0 /dev/block/platform/bootdevice/by-name/cache u:object_r:cache_block_device:s0 /dev/block/platform/bootdevice/by-name/recovery u:object_r:recovery_block_device:s0 /dev/block/platform/bootdevice/by-name/protect1 u:object_r:protect1_block_device:s0 /dev/block/platform/bootdevice/by-name/protect2 u:object_r:protect2_block_device:s0 /dev/block/platform/bootdevice/by-name/keystore u:object_r:keystore_block_device:s0 /dev/block/platform/bootdevice/by-name/persist u:object_r:persist_block_device:s0 /dev/block/platform/bootdevice/by-name/metadata u:object_r:metadata_block_device:s0 /dev/block/platform/bootdevice/by-name/nvcfg u:object_r:nvcfg_block_device:s0 /dev/block/platform/bootdevice/by-name/sec1 u:object_r:sec1_block_device:s0 /dev/block/platform/bootdevice/by-name/boot_para u:object_r:boot_para_block_device:s0 /dev/block/platform/bootdevice/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/bootdevice/by-name/cam_vpu[1-3](_[ab])? u:object_r:cam_vpu_block_device:s0 /dev/block/platform/bootdevice/by-name/system(_[ab])? u:object_r:system_block_device:s0 /dev/block/platform/bootdevice/by-name/boot(_[ab])? u:object_r:boot_block_device:s0 /dev/block/platform/bootdevice/by-name/odm(_[ab])? u:object_r:odm_block_device:s0 /dev/block/platform/bootdevice/by-name/oem(_[ab])? u:object_r:oem_block_device:s0 /dev/block/platform/bootdevice/by-name/vendor(_[ab])? u:object_r:vendor_block_device:s0 /dev/block/platform/bootdevice/by-name/lk(_[ab])? u:object_r:lk_block_device:s0 /dev/block/platform/bootdevice/by-name/odmdtbo(_[ab])? u:object_r:dtbo_block_device:s0 /dev/block/platform/bootdevice/by-name/dtbo(_[ab])? u:object_r:dtbo_block_device:s0 /dev/block/platform/bootdevice/by-name/tee([12]|_[ab]) u:object_r:tee_block_device:s0 /dev/block/platform/bootdevice/by-name/md1img(_[ab])? u:object_r:md_block_device:s0 /dev/block/platform/bootdevice/by-name/md1dsp(_[ab])? u:object_r:dsp_block_device:s0 /dev/block/platform/bootdevice/by-name/md1arm7(_[ab])? u:object_r:md_block_device:s0 /dev/block/platform/bootdevice/by-name/md3img(_[ab])? u:object_r:md_block_device:s0 /dev/block/platform/bootdevice/by-name/scp(_[ab])? u:object_r:scp_block_device:s0 /dev/block/platform/bootdevice/by-name/sspm(_[ab])? u:object_r:sspm_block_device:s0 /dev/block/platform/bootdevice/by-name/spmfw(_[ab])? u:object_r:spmfw_block_device:s0 /dev/block/platform/bootdevice/by-name/mcupmfw(_[ab])? u:object_r:mcupmfw_block_device:s0 /dev/block/platform/bootdevice/by-name/loader_ext(_[ab])? u:object_r:loader_ext_block_device:s0 /dev/block/platform/bootdevice/by-name/vbmeta(_system|_vendor)?(_[ab])? u:object_r:vbmeta_block_device:s0 # Key manager /dev/block/platform/soc/[0-9]+\.mmc/by-name/kb u:object_r:kb_block_device:s0 /dev/block/platform/soc/[0-9]+\.mmc/by-name/dkb u:object_r:dkb_block_device:s0 # W19.23 Q new feature - Userdata Checkpoint /dev/block/by-name/md_udc u:object_r:metadata_block_device:s0 ############################# # System files # /(system\/vendor|vendor)/bin/audiocmdservice_atci u:object_r:audiocmdservice_atci_exec:s0 /(system\/vendor|vendor)/bin/stp_dump3 u:object_r:stp_dump3_exec:s0 /(system\/vendor|vendor)/bin/wmt_launcher u:object_r:mtk_wmt_launcher_exec:s0 /(system\/vendor|vendor)/bin/ccci_fsd u:object_r:ccci_fsd_exec:s0 /(system\/vendor|vendor)/bin/fuelgauged u:object_r:fuelgauged_exec:s0 /(system\/vendor|vendor)/bin/fuelgauged_nvram u:object_r:fuelgauged_nvram_exec:s0 /(system\/vendor|vendor)/bin/gsm0710muxd u:object_r:gsm0710muxd_exec:s0 /(system\/vendor|vendor)/bin/mmc_ffu u:object_r:mmc_ffu_exec:s0 /(system\/vendor|vendor)/bin/mtk_agpsd u:object_r:mtk_agpsd_exec:s0 /(system\/vendor|vendor)/bin/MtkCodecService u:object_r:MtkCodecService_exec:s0 /(system\/vendor|vendor)/bin/mtkrild u:object_r:mtkrild_exec:s0 /(system\/vendor|vendor)/bin/muxreport u:object_r:muxreport_exec:s0 /(system\/vendor|vendor)/bin/nvram_agent_binder u:object_r:nvram_agent_binder_exec:s0 /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.nvram@(.*)-service u:object_r:nvram_agent_binder_exec:s0 /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.nvram@(.*)-service-lazy u:object_r:nvram_agent_binder_exec:s0 /(system\/vendor|vendor)/bin/nvram_daemon u:object_r:nvram_daemon_exec:s0 /(system\/vendor|vendor)/bin/slpd u:object_r:slpd_exec:s0 /(system\/vendor|vendor)/bin/thermal_manager u:object_r:thermal_manager_exec:s0 /(system\/vendor|vendor)/bin/thermalloadalgod u:object_r:thermalloadalgod_exec:s0 /(system\/vendor|vendor)/bin/lbs_hidl_service u:object_r:lbs_hidl_service_exec:s0 /(system\/vendor|vendor)/bin/meta_tst u:object_r:meta_tst_exec:s0 /(system\/vendor|vendor)/bin/kisd u:object_r:kisd_exec:s0 /(system\/vendor|vendor)/bin/fm_hidl_service u:object_r:fm_hidl_service_exec:s0 /(system\/vendor|vendor)/bin/wlan_assistant u:object_r:wlan_assistant_exec:s0 /(system\/vendor|vendor)/bin/wmt_loader u:object_r:wmt_loader_exec:s0 /(system\/vendor|vendor)/bin/spm_loader u:object_r:spm_loader_exec:s0 /(system\/vendor|vendor)/bin/ccci_mdinit u:object_r:ccci_mdinit_exec:s0 /(system\/vendor|vendor)/bin/factory u:object_r:factory_exec:s0 /(system\/vendor|vendor)/bin/mnld u:object_r:mnld_exec:s0 #/system/bin/connsyslogger u:object_r:connsyslogger_exec:s0 /(system\/vendor|vendor)/bin/biosensord_nvram u:object_r:biosensord_nvram_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service-mediatek u:object_r:mtk_hal_bluetooth_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.gnss@2\.0-service-mediatek u:object_r:mtk_hal_gnss_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.audio@5\.0-service-mediatek u:object_r:mtk_hal_audio_exec:s0 /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.mtkpower@1\.0-service u:object_r:mtk_hal_power_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.sensors@1\.0-service-mediatek u:object_r:mtk_hal_sensors_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.sensors@2\.0-service-mediatek u:object_r:mtk_hal_sensors_exec:s0 /(system\/vendor|vendor)/bin/hw/rilproxy u:object_r:rild_exec:s0 /(system\/vendor|vendor)/bin/hw/mtkfusionrild u:object_r:rild_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.light@2\.0-service-mediatek u:object_r:mtk_hal_light_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.light@2\.0-service-mediatek-lazy u:object_r:mtk_hal_light_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service-mediatek u:object_r:hal_vibrator_default_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.vibrator@1\.0-service-mediatek-lazy u:object_r:hal_vibrator_default_exec:s0 /(system\/vendor|vendor)/bin/hw/camerahalserver u:object_r:mtk_hal_camera_exec:s0 /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.imsa@1\.0-service u:object_r:mtk_hal_imsa_exec:s0 # Google Trusty system files /(vendor|system\/vendor)/bin/hw/android\.hardware\.keymaster@3\.0-service\.trusty u:object_r:hal_keymaster_default_exec:s0 #PQ hal /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.pq@2\.2-service u:object_r:mtk_hal_pq_exec:s0 #MMS hal /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.mms@1\.3-service u:object_r:mtk_hal_mms_exec:s0 /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.mms@1\.3-service-lazy u:object_r:mtk_hal_mms_exec:s0 # Keymaster Attestation Hal /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.keymaster_attestation@1\.1-service u:object_r:hal_keymaster_attestation_exec:s0 #ST NFC 1.2 hidl service /(system\/vendor|vendor)/bin/hw/android\.hardware\.nfc@1\.2-service-st u:object_r:hal_nfc_default_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service-st54spi u:object_r:st54spi_hal_secure_element_exec:s0 # MTK Wifi Hal /(system\/vendor|vendor)/bin/hw/android\.hardware\.wifi@1\.0-service-mediatek u:object_r:mtk_hal_wifi_exec:s0 /(system\/vendor|vendor)/bin/hw/android\.hardware\.wifi@1\.0-service-lazy-mediatek u:object_r:mtk_hal_wifi_exec:s0 # MTK USB hal /(system\/vendor|vendor)/bin/hw/android\.hardware\.usb@1\.1-service-mediatek u:object_r:mtk_hal_usb_exec:s0 # MTK OMAPI for UICC /(system\/vendor|vendor)/bin/hw/android\.hardware\.secure_element@1\.0-service-mediatek u:object_r:mtk_hal_secure_element_exec:s0 #gpu hal /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.gpu@1\.0-service u:object_r:mtk_hal_gpu_exec:s0 ############################# # System/bin files #hidl process merging /(system\/vendor|vendor)/bin/hw/merged_hal_service u:object_r:merged_hal_service_exec:s0 ############################################### # same-process HAL files and their dependencies # /vendor/lib(64)?/hw/gralloc\.mt[0-9]+[a-z]*\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/hw/vulkan\.mt[0-9]+\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libIMGegl\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libglslcompiler\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libPVRScopeServices\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libsrv_um\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libmpvr\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libusc\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libtqvalidate\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libPVROCL\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libufwriter\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libmemtrack_GL\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libPVRTrace\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGLES_mali\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libgralloc_extra\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libgpu_aux\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libgpud\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libged\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libdrm\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libion_mtk\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libion_ulit\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/mtk_cache\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/hw/android\.hardware\.graphics\.mapper@2\.0-impl-2\.1\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libdpframework\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libpq_cust_base\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/vendor\.mediatek\.hardware\.pq@[0-9]\.[0-9]\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libpq_prot\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libhdrvideo\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libscltm\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/vendor\.mediatek\.hardware\.gpu@1\.0.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libladder\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libtflite_mtk.so u:object_r:same_process_hal_file:s0 /vendor/bin/hw/vendor\.mediatek\.hardware\.log@1\.0-service u:object_r:aee_hal_exec:s0 /vendor/bin/loghidlvendorservice u:object_r:loghidlvendorservice_exec:s0 /vendor/bin/em_hidl u:object_r:em_hidl_exec:s0 /vendor/bin/hw/modemdbfilter_service u:object_r:modemdbfilter_service_exec:s0 # Date: 2018/07/06 # Purpose for same-process HAL files and their dependencies: libGLES_mali.so need libm4u.so on mali GPU. /vendor/lib(64)?/libm4u\.so u:object_r:same_process_hal_file:s0 # Date: 2018/12/04 # Purpose: Neuron runtime API and the dependencies /vendor/lib(64)?/libneuron_platform.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libion_mtk.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/mtk_cache.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libvpu.so u:object_r:same_process_hal_file:s0 # Date: 2019/01/21 # Purpose: OpenCL feature requirments /vendor/lib(64)?/libOpenCL\.so u:object_r:same_process_hal_file:s0 #MRDUMP /dev/block/platform/bootdevice/by-name/mrdump(/.*)? u:object_r:mrdump_device:s0 # Date: 2019/07/16 # hdmi hal /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.hdmi@1\.0-service u:object_r:mtk_hal_hdmi_exec:s0 #Widevine drm hal(include lazy hal) /vendor/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service\.widevine u:object_r:hal_drm_widevine_exec:s0 /vendor/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service-lazy\.widevine u:object_r:hal_drm_widevine_exec:s0 #Cleaarkey hal(include lazy hal) /vendor/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0 /vendor/bin/hw/android\.hardware\.drm@[0-9]\.[0-9]-service-lazy\.clearkey u:object_r:hal_drm_clearkey_exec:s0 # Date : 2019/10/28 # Purpose : move these contexts from plat_private/file_contexts /(system\/vendor|vendor)/bin/aee_aedv u:object_r:aee_aedv_exec:s0 /(system\/vendor|vendor)/bin/aee_aedv64 u:object_r:aee_aedv_exec:s0 /vendor/bin/aeev u:object_r:aee_aedv_exec:s0