Hi,

Thanks for your response,

After fixing lot of avc denied errors I am able to change the selinux mode 
to enforcing using setenforce 1 command.
But after that all the app are crashing link launcher 3, System UI etc.

I am attaching the log which I took after changing selinux mode to 
enforcing. Hope this will help.

Also below error is appearing lot of times.
09-04 06:00:13.819  2213  2213 W RenderThread: type=1400 audit(0.0:120): 
avc: denied { write } for path="/dev/dri/card0" dev="tmpfs" ino=12330 
scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 
tclass=chr_file permissive=0 

But I have included *"allow untrusted_app device:chr_file write;"  *in 
untrusted_app.te file.

Thanks.

On Tuesday, 28 August 2018 23:17:00 UTC+5:30, Akshay Mhaske wrote:
>
> Hi,
>
> I am trying to port the aosp project to x86 based platform.
> With permissive mode everything is working fine. but I am not able to boot 
> with enforcing mode.
>
> I am compiling the aosp source with user build variant. Compilation is 
> successful.
>
> But while booting. I am getting following log.
>
> Detecting Android-x86.... found at /dev/sda1
> [   2.125466] sysrq: Sysrq : Emergency Remount R/O
>
> After that its restarting again.
>
>
> Can anyone please help me ?
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
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 android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: logcat_log
Description: Binary data

Reply via email to