# Binaries
/vendor/bin/dmd                                                             u:object_r:dmd_exec:s0
/vendor/bin/modem_logging_control                                           u:object_r:modem_logging_control_exec:s0
/vendor/bin/sced                                                            u:object_r:sced_exec:s0
/vendor/bin/vcd                                                             u:object_r:vcd_exec:s0
/vendor/bin/chre                                                            u:object_r:chre_exec:s0
/vendor/bin/cbd                                                             u:object_r:cbd_exec:s0
/vendor/bin/modem_svc_sit                                                   u:object_r:modem_svc_sit_exec:s0
/vendor/bin/rfsd                                                            u:object_r:rfsd_exec:s0
/vendor/bin/bipchmgr                                                        u:object_r:bipchmgr_exec:s0
/vendor/bin/storageproxyd                                                   u:object_r:tee_exec:s0
/vendor/bin/init\.radio\.sh                                                 u:object_r:init_radio_exec:s0
/vendor/bin/tcpdump_logger                                                  u:object_r:tcpdump_logger_exec:s0
/vendor/bin/init\.display\.sh                                               u:object_r:init-display-sh_exec:s0
/vendor/bin/trusty_apploader                                                u:object_r:trusty_apploader_exec:s0
/vendor/bin/trusty_metricsd                                                 u:object_r:trusty_metricsd_exec:s0
/vendor/bin/dumpsys                                                         u:object_r:vendor_dumpsys:s0
/vendor/bin/init\.uwb\.calib\.sh                                            u:object_r:vendor_uwb_init_exec:s0
/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.trusty           u:object_r:hal_gatekeeper_default_exec:s0
/vendor/bin/hw/android\.hardware\.gatekeeper-service\.trusty                u:object_r:hal_gatekeeper_default_exec:s0
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.trusty         u:object_r:hal_keymint_default_exec:s0
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust\.trusty   u:object_r:hal_keymint_default_exec:s0
/vendor/bin/hw/android\.hardware\.security\.secretkeeper\.trusty            u:object_r:hal_secretkeeper_default_exec:s0
/vendor/bin/hw/vendor\.google\.radioext@1\.0-service                        u:object_r:hal_radioext_default_exec:s0
/vendor/bin/hw/android\.hardware\.composer\.hwc3-service\.pixel             u:object_r:hal_graphics_composer_default_exec:s0
/vendor/bin/hw/google\.hardware\.media\.c2@1\.0-service                     u:object_r:mediacodec_google_exec:s0
/vendor/bin/hw/android\.hardware\.secure_element@1\.2-service-gto           u:object_r:hal_secure_element_st54spi_exec:s0
/vendor/bin/hw/android\.hardware\.secure_element@1\.2-service-gto-ese2      u:object_r:hal_secure_element_st33spi_exec:s0
/vendor/bin/hw/android\.hardware\.secure_element@1\.2-uicc-service          u:object_r:hal_secure_element_uicc_exec:s0
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.goodix  u:object_r:hal_fingerprint_default_exec:s0
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.goodix   u:object_r:hal_fingerprint_default_exec:s0
/vendor/bin/hw/android\.hardware\.nfc-service\.st                           u:object_r:hal_nfc_default_exec:s0
/vendor/bin/hw/vendor\.google\.wireless_charger@1\.3-service-vendor         u:object_r:hal_wlc_exec:s0
/vendor/bin/hw/android\.hardware\.usb-service                               u:object_r:hal_usb_impl_exec:s0
/vendor/bin/hw/android\.hardware\.usb\.gadget-service                       u:object_r:hal_usb_gadget_impl_exec:s0
/vendor/bin/hw/rild_exynos                                                  u:object_r:rild_exec:s0
/vendor/bin/hw/android\.hardware\.qorvo\.uwb\.service                       u:object_r:hal_uwb_vendor_default_exec:s0
/vendor/bin/rlsservice                                                      u:object_r:rlsservice_exec:s0
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.fpc u:object_r:fingerprint_factory_service_exec:s0
/vendor/bin/hw/android\.hardware\.memtrack-service\.pixel                   u:object_r:hal_memtrack_default_exec:s0
/system_ext/bin/convert_to_ext4\.sh                                         u:object_r:convert-to-ext4-sh_exec:s0
/vendor/bin/hw/disable_contaminant_detection\.sh                            u:object_r:disable-contaminant-detection-sh_exec:s0
/vendor/bin/dump/dump_power_gs201\.sh                                       u:object_r:dump_power_gs201_exec:s0
/vendor/bin/ufs_firmware_update\.sh                                         u:object_r:ufs_firmware_update_exec:s0
/vendor/bin/init\.check_ap_pd_auth\.sh                                      u:object_r:init-check_ap_pd_auth-sh_exec:s0

# Vendor Firmwares
/vendor/firmware(/.*)?                                                      u:object_r:vendor_fw_file:s0

# Gralloc
/(vendor|system/vendor)/lib(64)?/hw/mapper\.pixel\.so                       u:object_r:same_process_hal_file:s0

# Vendor libraries
/vendor/lib(64)?/libdrm\.so                                                 u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libion_google\.so                                          u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/arm\.graphics-V1-ndk\.so                                   u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libOpenCL-pixel\.so                                        u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libOpenCL\.so                                              u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/lib_aion_buffer\.so                                        u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libGralloc4Wrapper\.so                                     u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/pixel-power-ext-V1-ndk\.so                                 u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/android\.frameworks\.stats-V1-ndk\.so                      u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/vendor-pixelatoms-cpp\.so                                  u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libprotobuf-cpp-lite-(\d+\.){2,3}so                        u:object_r:same_process_hal_file:s0

# Graphics
/vendor/lib(64)?/hw/gralloc\.gs201\.so                                      u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/hw/vulkan\.mali\.so                                        u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libgpudataproducer\.so                                     u:object_r:same_process_hal_file:s0

# Devices
/dev/dma_heap/sensor_direct_heap                                            u:object_r:sensor_direct_heap_device:s0
/dev/ttySAC0                                                                u:object_r:tty_device:s0
/dev/dma_heap/faceauth_tpu-secure                                           u:object_r:faceauth_heap_device:s0
/dev/dma_heap/faimg-secure                                                  u:object_r:faceauth_heap_device:s0
/dev/dma_heap/famodel-secure                                                u:object_r:faceauth_heap_device:s0
/dev/dma_heap/faprev-secure                                                 u:object_r:faceauth_heap_device:s0
/dev/dma_heap/farawimg-secure                                               u:object_r:faceauth_heap_device:s0
/dev/dma_heap/vframe-secure                                                 u:object_r:dmabuf_system_secure_heap_device:s0
/dev/dma_heap/vscaler-secure                                                u:object_r:vscaler_heap_device:s0
/dev/dma_heap/vstream-secure                                                u:object_r:dmabuf_system_secure_heap_device:s0
/dev/janeiro                                                                u:object_r:edgetpu_device:s0
/dev/bigocean                                                               u:object_r:video_device:s0
/dev/goodix_fp                                                              u:object_r:fingerprint_device:s0
/dev/stmvl53l1_ranging                                                      u:object_r:rls_device:s0
/dev/watchdog0                                                              u:object_r:watchdog_device:s0
/dev/mali0                                                                  u:object_r:gpu_device:s0
/dev/logbuffer_usbpd                                                        u:object_r:logbuffer_device:s0
/dev/logbuffer_pogo_transport                                               u:object_r:logbuffer_device:s0
/dev/logbuffer_ssoc                                                         u:object_r:logbuffer_device:s0
/dev/logbuffer_wireless                                                     u:object_r:logbuffer_device:s0
/dev/logbuffer_ttf                                                          u:object_r:logbuffer_device:s0
/dev/logbuffer_maxq                                                         u:object_r:logbuffer_device:s0
/dev/logbuffer_rtx                                                          u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg                                                        u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg_base                                                   u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg_flip                                                   u:object_r:logbuffer_device:s0
/dev/logbuffer_pca9468_tcpm                                                 u:object_r:logbuffer_device:s0
/dev/logbuffer_pca9468                                                      u:object_r:logbuffer_device:s0
/dev/logbuffer_cpm                                                          u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg_monitor                                                u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg_base_monitor                                           u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg_flip_monitor                                           u:object_r:logbuffer_device:s0
/dev/logbuffer_bd                                                           u:object_r:logbuffer_device:s0
/dev/logbuffer_cpif                                                         u:object_r:logbuffer_device:s0
/dev/logbuffer_pcie0                                                        u:object_r:logbuffer_device:s0
/dev/logbuffer_pcie1                                                        u:object_r:logbuffer_device:s0
/dev/bbd_pwrstat                                                            u:object_r:power_stats_device:s0
/dev/lwis-act-jotnar                                                        u:object_r:lwis_device:s0
/dev/lwis-act-slenderman                                                    u:object_r:lwis_device:s0
/dev/lwis-act-slenderman-sandworm                                           u:object_r:lwis_device:s0
/dev/lwis-csi                                                               u:object_r:lwis_device:s0
/dev/lwis-dpm                                                               u:object_r:lwis_device:s0
/dev/lwis-eeprom-gargoyle                                                   u:object_r:lwis_device:s0
/dev/lwis-eeprom-jotnar                                                     u:object_r:lwis_device:s0
/dev/lwis-eeprom-smaug-buraq                                                u:object_r:lwis_device:s0
/dev/lwis-eeprom-smaug-dokkaebi                                             u:object_r:lwis_device:s0
/dev/lwis-eeprom-smaug-sandworm                                             u:object_r:lwis_device:s0
/dev/lwis-flash-lm3644                                                      u:object_r:lwis_device:s0
/dev/lwis-g3aa                                                              u:object_r:lwis_device:s0
/dev/lwis-gdc0                                                              u:object_r:lwis_device:s0
/dev/lwis-gdc1                                                              u:object_r:lwis_device:s0
/dev/lwis-gtnr-align                                                        u:object_r:lwis_device:s0
/dev/lwis-gtnr-merge                                                        u:object_r:lwis_device:s0
/dev/lwis-ipp                                                               u:object_r:lwis_device:s0
/dev/lwis-itp                                                               u:object_r:lwis_device:s0
/dev/lwis-mcsc                                                              u:object_r:lwis_device:s0
/dev/lwis-ois-gargoyle                                                      u:object_r:lwis_device:s0
/dev/lwis-ois-jotnar                                                        u:object_r:lwis_device:s0
/dev/lwis-pdp                                                               u:object_r:lwis_device:s0
/dev/lwis-scsc                                                              u:object_r:lwis_device:s0
/dev/lwis-sensor-buraq                                                      u:object_r:lwis_device:s0
/dev/lwis-sensor-dokkaebi                                                   u:object_r:lwis_device:s0
/dev/lwis-sensor-kraken                                                     u:object_r:lwis_device:s0
/dev/lwis-sensor-lamassu                                                    u:object_r:lwis_device:s0
/dev/lwis-sensor-nagual                                                     u:object_r:lwis_device:s0
/dev/lwis-sensor-sandworm                                                   u:object_r:lwis_device:s0
/dev/lwis-slc                                                               u:object_r:lwis_device:s0
/dev/lwis-top                                                               u:object_r:lwis_device:s0
/dev/lwis-votf                                                              u:object_r:lwis_device:s0
/dev/dri/card0                                                              u:object_r:graphics_device:s0
/dev/fimg2d                                                                 u:object_r:graphics_device:s0
/dev/g2d                                                                    u:object_r:graphics_device:s0
/dev/gxp                                                                    u:object_r:gxp_device:s0
/dev/dit2                                                                   u:object_r:vendor_toe_device:s0
/dev/trusty-ipc-dev0                                                        u:object_r:tee_device:s0
/dev/st21nfc                                                                u:object_r:nfc_device:s0
/dev/st54spi                                                                u:object_r:st54spi_device:s0
/dev/st33spi                                                                u:object_r:st33spi_device:s0
/dev/ttyGS[0-3]                                                             u:object_r:serial_device:s0
/dev/oem_ipc[0-7]                                                           u:object_r:radio_device:s0
/dev/oem_test                                                               u:object_r:radio_test_device:s0
/dev/umts_boot0                                                             u:object_r:radio_device:s0
/dev/umts_ipc0                                                              u:object_r:radio_device:s0
/dev/umts_ipc1                                                              u:object_r:radio_device:s0
/dev/umts_rfs0                                                              u:object_r:radio_device:s0
/dev/umts_dm0                                                               u:object_r:radio_device:s0
/dev/umts_router                                                            u:object_r:radio_device:s0
/dev/logbuffer_tcpm                                                         u:object_r:logbuffer_device:s0
/dev/sys/block/bootdevice(/.*)?                                             u:object_r:bootdevice_sysdev:s0
/dev/socket/chre                                                            u:object_r:chre_socket:s0
/dev/block/sda                                                              u:object_r:sda_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/abl_[ab]                          u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/bl1_[ab]                          u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/bl2_[ab]                          u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/bl31_[ab]                         u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/boot_[ab]                         u:object_r:boot_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/init_boot_[ab]                    u:object_r:boot_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/devinfo                           u:object_r:devinfo_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/dram_train_[ab]                   u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/dtbo_[ab]                         u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/efs                               u:object_r:efs_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/efs_backup                        u:object_r:efs_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/frp                               u:object_r:frp_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/gsa_[ab]                          u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/ldfw_[ab]                         u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/metadata                          u:object_r:metadata_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/mfg_data                          u:object_r:mfg_data_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/misc                              u:object_r:misc_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/modem_[ab]                        u:object_r:modem_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/modem_userdata                    u:object_r:modem_userdata_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/pbl_[ab]                          u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/persist                           u:object_r:persist_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/pvmfw_[ab]                        u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/super                             u:object_r:super_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/tzsw_[ab]                         u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/userdata                          u:object_r:userdata_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/vbmeta_[ab]                       u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/vbmeta_system_[ab]                u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/vbmeta_vendor_[ab]                u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/vendor_boot_[ab]                  u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/vendor_kernel_boot_[ab]           u:object_r:custom_ab_block_device:s0
/dev/block/platform/14700000\.ufs/by-name/fips                              u:object_r:fips_block_device:s0

# Data
/data/vendor/chre(/.*)?                                                     u:object_r:chre_data_file:s0
/data/vendor/slog(/.*)?                                                     u:object_r:vendor_slog_file:s0
/data/vendor/modem_stat(/.*)?                                               u:object_r:modem_stat_data_file:s0
/data/vendor/log(/.*)?                                                      u:object_r:vendor_log_file:s0
/data/vendor/log/rfsd(/.*)?                                                 u:object_r:vendor_rfsd_log_file:s0
/data/vendor/rild(/.*)?                                                     u:object_r:rild_vendor_data_file:s0
/data/vendor/ss(/.*)?                                                       u:object_r:tee_data_file:s0
/data/nfc(/.*)?                                                             u:object_r:nfc_data_file:s0
/data/vendor/firmware/wifi(/.*)?                                            u:object_r:updated_wifi_firmware_data_file:s0
/data/vendor/misc(/.*)?                                                     u:object_r:vendor_misc_data_file:s0
/data/per_boot(/.*)?                                                        u:object_r:per_boot_file:s0
/data/vendor/uwb(/.*)?                                                      u:object_r:uwb_data_vendor:s0
/dev/maxfg_history                                                          u:object_r:battery_history_device:s0
/dev/battery_history                                                        u:object_r:battery_history_device:s0
/data/vendor/powerstats(/.*)?                                               u:object_r:powerstats_vendor_data_file:s0
/data/vendor/fingerprint(/.*)?                                              u:object_r:fingerprint_vendor_data_file:s0

# Persist
/mnt/vendor/persist/battery(/.*)?                                           u:object_r:persist_battery_file:s0
/mnt/vendor/persist/camera(/.*)?                                            u:object_r:persist_camera_file:s0
/mnt/vendor/persist/modem(/.*)?                                             u:object_r:persist_modem_file:s0
/mnt/vendor/persist/ss(/.*)?                                                u:object_r:persist_ss_file:s0
/mnt/vendor/persist/uwb(/.*)?                                               u:object_r:persist_uwb_file:s0
/mnt/vendor/persist/display(/.*)?                                           u:object_r:persist_display_file:s0

# Extra mount images
/mnt/vendor/modem_img(/.*)?                                                 u:object_r:modem_img_file:s0
/mnt/vendor/efs(/.*)?                                                       u:object_r:modem_efs_file:s0
/mnt/vendor/efs_backup(/.*)?                                                u:object_r:modem_efs_file:s0
/mnt/vendor/modem_userdata(/.*)?                                            u:object_r:modem_userdata_file:s0
