thanhdatpd / android_device_meizu_bicot

my first test build android 9 Pie for meizu m6 note(bicot, named for it *-*) , almost clone/fork edit from xiaomi mi a1. I just recognized i cant, android v9 need kernel 4.4.107 or higher(wrong) :(. So i will try to build lower ver - 14.1. Hope everything be okeyyy. Have a nice dayyy
9 stars 1 forks source link

booting logging 27/7 #44

Closed thanhdatpd closed 5 years ago

thanhdatpd commented 5 years ago

[ 13.460268] init: Command 'chown root log /dev/fscklogs/log' action=post-fs-data (/init.cm.rc:29) returned -2 took 0.00s [ 13.468722] type=1400 audit(288221.789:3): avc: denied { getattr } for pid=469 comm="sysinit" path="/system/bin/sh" dev="mmcblk0p54" ino=414 scontext=u:r:sysinit:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=1 [ 13.470049] type=1400 audit(288221.789:4): avc: denied { read } for pid=469 comm="sysinit" path="/system/bin/sh" dev="mmcblk0p54" ino=414 scontext=u:r:sysinit:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=1 [ 13.475008] type=1400 audit(288221.799:5): avc: denied { read } for pid=469 comm="sysinit" name="init.d" dev="mmcblk0p54" ino=635 scontext=u:r:sysinit:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1 [ 13.475073] type=1400 audit(288221.799:6): avc: denied { open } for pid=469 comm="sysinit" path="/system/etc/init.d" dev="mmcblk0p54" ino=635 scontext=u:r:sysinit:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1 [ 13.475712] type=1400 audit(288221.799:7): avc: denied { getattr } for pid=469 comm="sysinit" path="/system/bin/toolbox" dev="mmcblk0p54" ino=453 scontext=u:r:sysinit:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=file permissive=1 [ 13.475760] type=1400 audit(288221.799:8): avc: denied { execute } for pid=469 comm="sysinit" name="toolbox" dev="mmcblk0p54" ino=453 scontext=u:r:sysinit:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=file permissive=1 [ 13.476222] type=1400 audit(288221.799:9): avc: denied { read open } for pid=470 comm="sysinit" path="/system/bin/toolbox" dev="mmcblk0p54" ino=453 scontext=u:r:sysinit:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=file permissive=1 [ 13.476459] type=1400 audit(288221.799:10): avc: denied { execute_no_trans } for pid=470 comm="sysinit" path="/system/bin/toolbox" dev="mmcblk0p54" ino=453 scontext=u:r:sysinit:s0 tcontext=u:object_r:toolbox_exec:s0 tclass=file permissive=1 [ 13.491179] type=1400 audit(288221.819:11): avc: denied { execute_no_trans } for pid=471 comm="sysinit" path="/system/etc/init.d/00banner" dev="mmcblk0p54" ino=636 scontext=u:r:sysinit:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1 [ 13.491954] type=1400 audit(288221.819:12): avc: denied { execute } for pid=471 comm="sysinit" name="sh" dev="mmcblk0p54" ino=414 scontext=u:r:sysinit:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=1 [ 13.492008] type=1400 audit(288221.819:13): avc: denied { open } for pid=471 comm="sysinit" path="/system/bin/sh" dev="mmcblk0p54" ino=414 scontext=u:r:sysinit:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=1 [ 13.691298] init: Service 'sysinit' (pid 469) exited with status 0

thanhdatpd commented 5 years ago

fix with this commit https://github.com/thanhdatpd/android_device_meizu_bicot/commit/aab0e11d39893643a3b7107deaa084f9f226c68a and https://github.com/thanhdatpd/android_device_meizu_bicot/commit/1d611850b833087720f79003b685c65687b14e32