allow system_app hal_motor_hwservice_xiaomi:hwservice_manager find; binder_call(system_app, hal_motor) allow system_app { motor_device vendor_sysfs_graphics sysfs_leds }:dir search; allow system_app { cgroup vendor_sysfs_graphics }:file rw_file_perms; allow system_app { motor_device vendor_sysfs_graphics hall_device }:chr_file rw_file_perms;