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