AnsweredAssumed Answered

About   Android 7.0  selinux  authority  problem

Question asked by yangzi deng on Apr 6, 2017

         When we modify Android 7.0  to IMX6QP board  , We encounter the problem .Now , the Uboot, kernel and system  is running  on our IMX6QP hardware board,but  owning  to  Android  7.0  selinux  authority, many  command  authority cant't  execute   in  system  . Moreover ,  USB Storage can  mount  on our  PC computer  , but  nothing is in  the disk .I also think so  about  Android 7.0   selinux   authority  problem . HOW to  modfity  Android 7.0  selinux  authority ?  anybody  help  me  solve  this  problem .  give me some  suggestion . thanks !  attachment   is  the  log .



  log  as follow :


android_work: sent uevent USB_STATE=CONFIGURED
healthd: No battery devices found
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
type=1400 audit(19.470:9): avc: denied { write } for pid=237 comm="cameraserver" name="trace_marker" dev="tracefs" ino=125 scontext=u:r:cameraserver:s0 tcontext=u:object_r:debugfs_tracing:s0 tclass=file permissive=0
init: Service 'magd' (pid 246) exited with status 255
type=1400 audit(19.990:10): avc: denied { write } for pid=289 comm="AudioOut_D" name="trace_marker" dev="tracefs" ino=125 scontext=u:r:audioserver:s0 tcontext=u:object_r:debugfs_tracing:s0 tclass=file permissive=0
type=1400 audit(20.080:11): avc: denied { write } for pid=232 comm="surfaceflinger" name="trace_marker" dev="tracefs" ino=125 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:debugfs_tracing:s0 tclass=file permissive=0
init: no such service 'bootanim'
random: nonblocking pool is initialized
capability: warning: `main' uses 32-bit capabilities (legacy support in use)

Original Attachment has been moved to: