Skip to content

Instantly share code, notes, and snippets.

View Redmi note 9t secure_element error
[ 1.970260] (6)[1:init]init: Parsing file /vendor/etc/init/android.hardware.secure_element@1.0-service-mediatek.rc...
[ 6.615100] (7)[1:init]init: starting service 'mtk_secure_element_hal_service'...
[ 7.146354] (7)[1:init]init: Could not start service 'vendor.secure_element' as part of class 'late_start': File /vendor/bin/hw/vendor.microtrust.hardware.se@1.0-service(labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials. Note: this error shows up even in permissive mode in order to make auditing denials possible.
[ 13.395425] (1)[1:init]init: Control message: Could not find 'android.hardware.secure_element@1.2::ISecureElement/SIM1' for ctl.interface_start from pid: 469 (/system/bin/hwservicemanager)