> Hi Deepak
>
     
     From the top of the AOSP directory issue these commands, (for more 
info read- https://source.android.com/security/selinux/validate)

adb pull /sys/fs/selinux/policy
adb logcat -b all -d | audit2allow -p policy

it should output something like this

#============= bootanim ==============
allow bootanim rootfs:lnk_file getattr;

  
Now navigate to the sepolicy directory of your device's 
folder(TOP/device/your_device/sepolicy) and add the allow rule returned 
above, in the respective te file.
Here I add this (allow bootanim rootfs:lnk_file getattr; ) line to 
(bootanim.te) file.

Hope this helps.


Regards 
Jeshurun

 


-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to