# goldfish /dev/block/mtdblock0 u:object_r:system_block_device:s0 /dev/block/mtdblock1 u:object_r:userdata_block_device:s0 /dev/block/mtdblock2 u:object_r:cache_block_device:s0 # ranchu /dev/block/vda u:object_r:system_block_device:s0 /dev/block/vdb u:object_r:cache_block_device:s0 /dev/block/vdc u:object_r:userdata_block_device:s0 /dev/block/vdd u:object_r:metadata_block_device:s0 /dev/block/vde u:object_r:system_block_device:s0 /dev/block/zram0 u:object_r:swap_block_device:s0 /dev/goldfish_pipe_dprctd u:object_r:qemu_device:s0 /dev/vport.*p.* u:object_r:qemu_device:s0 /dev/goldfish_sync u:object_r:qemu_device:s0 /dev/goldfish_address_space u:object_r:qemu_device:s0 /dev/dri/card0 u:object_r:gpu_device:s0 /dev/dri/controlD64 u:object_r:gpu_device:s0 /dev/dri/renderD128 u:object_r:gpu_device:s0 /dev/ttyGF[0-9]* u:object_r:serial_device:s0 /dev/ttyS2 u:object_r:console_device:s0 # kernel console /dev/hvc0 u:object_r:serial_device:s0 # logcat /dev/hvc1 u:object_r:serial_device:s0 # Bluetooth /dev/vhci u:object_r:bt_device:s0 /dev/bluetooth0 u:object_r:bt_device:s0 # UWB /dev/hvc2 u:object_r:uwb_device:s0 /system_ext/bin/init\.ranchu\.adb\.setup\.sh u:object_r:goldfish_system_setup_exec:s0 /vendor/bin/init_ranchu_device_state\.sh u:object_r:init_ranchu_device_state_exec:s0 /vendor/bin/init\.ranchu-core\.sh u:object_r:goldfish_setup_exec:s0 /vendor/bin/init\.ranchu-net\.sh u:object_r:goldfish_setup_exec:s0 /vendor/bin/dlkm_loader u:object_r:dlkm_loader_exec:s0 /vendor/bin/qemu-props u:object_r:qemu_props_exec:s0 /vendor/bin/mac80211_create_radios u:object_r:mac80211_create_radios_exec:s0 /vendor/bin/hw/libgoldfish-rild u:object_r:rild_exec:s0 /vendor/bin/dhcpclient u:object_r:dhcpclient_exec:s0 /vendor/bin/bt_vhci_forwarder u:object_r:bt_vhci_forwarder_exec:s0 /vendor/bin/hw/android\.hardware\.graphics\.allocator@3\.0-service\.ranchu u:object_r:hal_graphics_allocator_default_exec:s0 /vendor/bin/hw/android\.hardware\.drm-service\.widevine u:object_r:hal_drm_widevine_exec:s0 /vendor/bin/hw/android\.hardware\.drm-service-lazy\.widevine u:object_r:hal_drm_widevine_exec:s0 /vendor/bin/hw/android\.hardware\.drm-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0 /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service.software u:object_r:hal_gatekeeper_default_exec:s0 /vendor/bin/hw/android\.hardware\.thermal@2\.0-service.mock u:object_r:hal_thermal_default_exec:s0 /vendor/bin/hw/android\.hardware\.authsecret-service\.example u:object_r:hal_authsecret_default_exec:s0 /vendor/bin/hw/android\.hardware\.power\.stats-service\.example u:object_r:hal_power_stats_default_exec:s0 /vendor/bin/hw/android\.hardware\.gnss-service\.ranchu u:object_r:hal_gnss_default_exec:s0 /vendor/bin/hw/android\.hardware\.neuralnetworks-shim-service-sample u:object_r:hal_neuralnetworks_sample_exec:s0 /vendor/bin/hw/android\.hardware\.neuralnetworks-service-sample-.* u:object_r:hal_neuralnetworks_sample_exec:s0 /vendor/bin/hw/android\.hardware\.audio\.service.ranchu u:object_r:hal_audio_default_exec:s0 /vendor/bin/hw/android\.hardware\.media\.c2@1\.0-service-goldfish u:object_r:mediacodec_exec:s0 /vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.ranchu u:object_r:hal_fingerprint_default_exec:s0 /vendor/bin/hw/android\.hardware\.graphics\.composer3-service\.ranchu u:object_r:hal_graphics_composer_default_exec:s0 /vendor/lib(64)?/hw/vulkan\.ranchu\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libEGL_emulation\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGLESv1_CM_emulation\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGLESv2_emulation\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libOpenglCodecCommon\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libOpenglSystemCommon\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/lib_renderControl_enc\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGLESv1_enc\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGLESv2_enc\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libvulkan_enc\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libandroidemu\.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)?/hw/android\.hardware\.graphics\.mapper@3\.0-impl-ranchu\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGoldfishProfiler\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/dri/.* u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/hw/android\.hardware\.graphics\.mapper@4\.0-impl\.minigbm\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/hw/mapper\.minigbm\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libminigbm_gralloc.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libminigbm_gralloc4_utils.so u:object_r:same_process_hal_file:s0 /vendor/bin/hw/android\.hardware\.graphics\.allocator-service\.minigbm u:object_r:hal_graphics_allocator_default_exec:s0 /vendor/bin/hw/android\.hardware\.graphics\.allocator@4\.0-service\.minigbm u:object_r:hal_graphics_allocator_default_exec:s0 # data /data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0 /data/vendor/var/run(/.*)? u:object_r:varrun_file:s0 # not yet AOSP HALs /vendor/bin/hw/android\.hardware\.camera\.provider\.ranchu u:object_r:hal_camera_default_exec:s0 /vendor/bin/hw/android\.hardware\.camera\.provider@2\.7-service-google u:object_r:hal_camera_default_exec:s0 /vendor/bin/hw/android\.hardware\.rebootescrow-service\.default u:object_r:hal_rebootescrow_default_exec:s0 /vendor/bin/hw/android\.hardware\.contexthub-service\.example u:object_r:hal_contexthub_default_exec:s0 /vendor/lib(64)?/libEGL_angle\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGLESv1_CM_angle\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libGLESv2_angle\.so u:object_r:same_process_hal_file:s0 /vendor/lib(64)?/libfeature_support_angle\.so u:object_r:same_process_hal_file:s0