[Nexus 5 Original Android Development] liudonghua123:
does not startup!

Hi, I flash the ROM! But it does not startup!

I looked the adb logcat! It seems to be SELinux problem, I don't know how to fix this!

Any help would be appreciated!

>adb logcat
--------- beginning of main
01-02 12:42:48.214 138 138 W auditd : type=2000 audit(0.0:1): initialized
01-02 12:42:50.590 138 138 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-02 12:42:51.444 0 141 I SELinux : SELinux: Loaded service_contexts from:
01-02 12:42:51.446 0 141 I SELinux : /vndservice_contexts
01-02 12:42:51.449 0 139 I SELinux : SELinux: Loaded service_contexts from:
01-02 12:42:51.450 0 139 I SELinux : /plat_service_contexts
01-02 12:42:51.450 0 139 I SELinux : /nonplat_service_contexts
01-02 12:42:51.497 140 140 E hwservicemanager: BINDER_SET_INHERIT_FIFO_PRIO failed with error -1
--------- beginning of system
01-02 12:42:51.534 142 142 I vold : Vold 3.0 (the awakening) firing up
01-02 12:42:51.534 142 142 V vold : Detected support for: ext4 f2fs vfat
01-02 12:42:51.537 142 142 I vold : [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt
01-02 12:42:51.547 142 153 D vold : e4crypt_init_user0
01-02 12:42:51.547 142 153 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-02 12:42:51.547 142 153 D vold : Preparing: /data/system/users/0
01-02 12:42:51.547 142 153 D vold : Preparing: /data/misc/profiles/cur/0
01-02 12:42:51.547 142 153 D vold : Preparing: /data/system_de/0
01-02 12:42:51.548 142 153 D vold : Preparing: /data/misc_de/0
01-02 12:42:51.548 142 153 D vold : Preparing: /data/user_de/0
01-02 12:42:51.548 142 153 D vold : e4crypt_unlock_user_key 0 serial=0 token_present=0
01-02 12:42:51.548 142 153 E vold : Failed to chmod /data/system_ce/0: No such file or directory
01-02 12:42:51.548 142 153 E vold : Failed to chmod /data/misc_ce/0: No such file or directory
01-02 12:42:52.450 1 1 I init : type=1400 audit(0.0:3): avc: denied { relabelfrom } for name="system" dev="mmcblk0p28" ino=114398 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1
01-02 12:42:52.460 1 1 I init : type=1400 audit(0.0:4): avc: denied { relabelfrom } for name="BasicDreams.apk" dev="mmcblk0p28" ino=114409 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
01-02 12:42:52.460 1 1 I init : type=1400 audit(0.0:5): avc: denied { relabelfrom } for name="libbluetooth_jni.so" dev="mmcblk0p28" ino=114418 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=lnk_file permissive=1
01-02 12:42:52.550 1 1 I init : type=1400 audit(0.0:6): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/blkid" dev="mmcblk0p28" ino=114703 scontext=u:r:init:s0 tcontext=u:object_r:blkid_exec:s0 tclass=file permissive=1
01-02 12:42:52.550 1 1 I init : type=1400 audit(0.0:7): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/clatd" dev="mmcblk0p28" ino=114725 scontext=u:r:init:s0 tcontext=u:object_r:clatd_exec:s0 tclass=file permissive=1
01-02 12:42:52.550 1 1 I init : type=1400 audit(0.0:8): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/dex2oat" dev="mmcblk0p28" ino=114740 scontext=u:r:init:s0 tcontext=u:object_r:dex2oat_exec:s0 tclass=file permissive=1
01-02 12:42:52.550 1 1 I init : type=1400 audit(0.0:9): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/dexoptanalyzer" dev="mmcblk0p28" ino=114744 scontext=u:r:init:s0 tcontext=u:object_r:dexoptanalyzer_exec:s0 tclass=file permissive=1
01-02 12:42:52.550 1 1 I init : type=1400 audit(0.0:10): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/dnsmasq" dev="mmcblk0p28" ino=114750 scontext=u:r:init:s0 tcontext=u:object_r:dnsmasq_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:11): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/idmap" dev="mmcblk0p28" ino=114790 scontext=u:r:init:s0 tcontext=u:object_r:idmap_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:12): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/incident" dev="mmcblk0p28" ino=114793 scontext=u:r:init:s0 tcontext=u:object_r:incident_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:13): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/pppd" dev="mmcblk0p28" ino=114890 scontext=u:r:init:s0 tcontext=u:object_r:ppp_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:14): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/profman" dev="mmcblk0p28" ino=114893 scontext=u:r:init:s0 tcontext=u:object_r:profman_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:15): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/run-as" dev="mmcblk0p28" ino=114911 scontext=u:r:init:s0 tcontext=u:object_r:runas_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:16): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/sdcard" dev="mmcblk0p28" ino=114916 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:17): avc: denied { getattr } for path="/data/media/0/multirom/roms/aosp_hammerhead-8.0.0-2017/system/bin/sgdisk" dev="mmcblk0p28" ino=114929 scontext=u:r:init:s0 tcontext=u:object_r:sgdisk_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:18): avc: denied { relabelfrom } for name="am" dev="mmcblk0p28" ino=114690 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:19): avc: denied { relabelfrom } for name="app_process32" dev="mmcblk0p28" ino=114692 scontext=u:r:init:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:20): avc: denied { relabelfrom } for name="atrace" dev="mmcblk0p28" ino=114697 scontext=u:r:init:s0 tcontext=u:object_r:atrace_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:21): avc: denied { relabelfrom } for name="audioserver" dev="mmcblk0p28" ino=114698 scontext=u:r:init:s0 tcontext=u:object_r:audioserver_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:22): avc: denied { relabelfrom } for name="bdAddrLoader" dev="mmcblk0p28" ino=114702 scontext=u:r:init:s0 tcontext=u:object_r:bluetooth_loader_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:23): avc: denied { relabelfrom } for name="blkid" dev="mmcblk0p28" ino=114703 scontext=u:r:init:s0 tcontext=u:object_r:blkid_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:24): avc: denied { relabelfrom } for name="bootanimation" dev="mmcblk0p28" ino=114706 scontext=u:r:init:s0 tcontext=u:object_r:bootanim_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:25): avc: denied { relabelfrom } for name="bootstat" dev="mmcblk0p28" ino=114707 scontext=u:r:init:s0 tcontext=u:object_r:bootstat_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:26): avc: denied { relabelfrom } for name="bridgemgrd" dev="mmcblk0p28" ino=114708 scontext=u:r:init:s0 tcontext=u:object_r:bridge_exec:s0 tclass=file permissive=1
01-02 12:42:52.560 1 1 I init : type=1400 audit(0.0:27): avc: denied { relabelfrom } for name="cameraserver" dev="mmcblk0p28" ino=114716 scontext=u:r:init:s0 tcontext=u:object_r:cameraserver_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:28): avc: denied { relabelfrom } for name="clatd" dev="mmcblk0p28" ino=114725 scontext=u:r:init:s0 tcontext=u:object_r:clatd_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:29): avc: denied { relabelfrom } for name="crash_dump32" dev="mmcblk0p28" ino=114733 scontext=u:r:init:s0 tcontext=u:object_r:crash_dump_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:30): avc: denied { relabelfrom } for name="dex2oat" dev="mmcblk0p28" ino=114740 scontext=u:r:init:s0 tcontext=u:object_r:dex2oat_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:31): avc: denied { relabelfrom } for name="dexoptanalyzer" dev="mmcblk0p28" ino=114744 scontext=u:r:init:s0 tcontext=u:object_r:dexoptanalyzer_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:32): avc: denied { relabelfrom } for name="dnsmasq" dev="mmcblk0p28" ino=114750 scontext=u:r:init:s0 tcontext=u:object_r:dnsmasq_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:33): avc: denied { relabelfrom } for name="drmserver" dev="mmcblk0p28" ino=114753 scontext=u:r:init:s0 tcontext=u:object_r:drmserver_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:34): avc: denied { relabelfrom } for name="dumpstate" dev="mmcblk0p28" ino=114756 scontext=u:r:init:s0 tcontext=u:object_r:dumpstate_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:35): avc: denied { relabelfrom } for name="e2fsck" dev="mmcblk0p28" ino=114758 scontext=u:r:init:s0 tcontext=u:object_r:fsck_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:36): avc: denied { relabelfrom } for name="gatekeeperd" dev="mmcblk0p28" ino=114773 scontext=u:r:init:s0 tcontext=u:object_r:gatekeeperd_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:37): avc: denied { relabelfrom } for name="healthd" dev="mmcblk0p28" ino=114782 scontext=u:r:init:s0 tcontext=u:object_r:healthd_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:38): avc: denied { relabelfrom } for name="hw" dev="mmcblk0p28" ino=114785 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:39): avc: denied { relabelfrom } for name="android.hidl.allocator@1.0-service" dev="mmcblk0p28" ino=114786 scontext=u:r:init:s0 tcontext=u:object_r:hal_allocator_default_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:40): avc: denied { relabelfrom } for name="hwservicemanager" dev="mmcblk0p28" ino=114788 scontext=u:r:init:s0 tcontext=u:object_r:hwservicemanager_exec:s0 tclass=file permissive=1
01-02 12:42:52.570 1 1 I init : type=1400 audit(0.0:41): avc: denied { relabelfrom } for name="idmap" dev="mmcblk0p28" ino=114790 scontext=u:r:init:s0 tcontext=u:object_r:idmap_exec:s0 tclass=file permissive=1
01-02 12:42:55.120 194 194 I adbd : type=1400 audit(0.0:116): avc: denied { execute } for name="sh" dev="mmcblk0p28" ino=114930 scontext=u:r:adbd:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=file permissive=1
01-02 12:42:55.120 194 194 I adbd : type=1400 audit(0.0:117): avc: denied { execute_no_trans } for path="/system/bin/sh" dev="mmcblk0p28" ino=114930 scontext=u:r:adbd:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=file permissive=1
01-02 12:42:55.140 194 194 I sh : type=1400 audit(0.0:118): avc: denied { read } for name="getprop" dev="mmcblk0p28" ino=114777 scontext=u:r:adbd:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=lnk_file permissive=1
01-02 12:42:56.090 217 217 I sh : type=1400 audit(0.0:119): avc: denied { execute } for name="mtools2" dev="mmcblk0p28" ino=138547 scontext=u:r:adbd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=1
01-02 12:42:56.090 217 217 I sh : type=1400 audit(0.0:120): avc: denied { execute_no_trans } for path="/data/local/tmp/mtools2" dev="mmcblk0p28" ino=138547 scontext=u:r:adbd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=file permissive=1
01-02 12:42:58.370 301 301 I cat : type=1400 audit(0.0:121): avc: denied { read } for name="capacity" dev="sysfs" ino=19216 scontext=u:r:adbd:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
01-02 12:42:58.370 301 301 I cat : type=1400 audit(0.0:122): avc: denied { open } for name="capacity" dev="sysfs" ino=19216 scontext=u:r:adbd:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=1
01-02 12:43:13.729 347 347 I logcat : type=1400 audit(0.0:123): avc: denied { write } for name="logdr" dev="tmpfs" ino=6765 scontext=u:r:adbd:s0 tcontext=u:object_r:logdr_socket:s0 tclass=sock_file permissive=1
01-02 12:43:13.729 347 347 I logcat : type=1400 audit(0.0:124): avc: denied { connectto } for path="/dev/socket/logdr" scontext=u:r:adbd:s0 tcontext=u:r:logd:s0 tclass=unix_stream_socket permissive=1