步骤一:新建.te文件
android/device/qcom/sepolicy / vendor/common/aserver.te
typeattribute aserver coredomain;
type aserver_exec, exec_type, file_type;
init_daemon_domain(aserver)
步骤二:修改file_contexts ,最后一行添加启动文件
android/device/qcom/sepolicy / vendor/common/file_contexts
/system/bin/aserver 空格 u:object_r:aserver_exec:s0