[Nexus 6 Q&A, Help & Troubleshooting] KLBrey:
From SELinux Denials to Sensor Failure

I've flash each partition individually with 71.18 BL Stock & 71.21 BL N Preview Stock to no avail.

Mixing 71.18 & 71.21 Roms brought about a SeLinux issue but that was solved by getting the BLs and their appropriate Roms right.

Now I'm running into an odd sensor failure in my LogCat that I can't get around:

--------- beginning of main
02-09 20:45:15.323 245 245 W auditd : type=2000 audit(0.0:1): initialized
02-09 20:45:17.385 252 252 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
--------- beginning of system
02-09 20:45:17.396 246 246 I vold : Vold 3.0 (the awakening) firing up
02-09 20:45:17.396 246 246 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
02-09 20:45:18.099 279 279 D QSEECOMD: : qseecom listener services process entry PPID = 1
02-09 20:45:18.099 279 279 E QSEECOMD: : Listener: index = 0, hierarchy = 0
02-09 20:45:18.099 277 277 I mdm_helper: 1 supported modem(s) found
02-09 20:45:18.099 277 277 I mdm_helper: Setting up mdm helper device structure
02-09 20:45:18.099 277 277 I mdm_helper: Found private data for MDM9x25
02-09 20:45:18.099 277 277 I mdm_helper: ESOC Details:
02-09 20:45:18.099 277 277 I mdm_helper: Name:MDM9x25
02-09 20:45:18.099 277 277 I mdm_helper: Port:/dev/esoc-0
02-09 20:45:18.099 277 277 I mdm_helper: Link:HSIC
02-09 20:45:18.099 277 277 I mdm_helper: Device configuration loaded
02-09 20:45:18.099 277 277 I mdm_helper: Starting MDM helper
02-09 20:45:18.099 277 277 I mdm_helper: Creating thread for MDM9x25
02-09 20:45:18.099 277 280 I mdm_helper: Starting MDM9x25
02-09 20:45:18.099 277 280 I mdm_helper: MDM9x25 : switching state to POWERUP
02-09 20:45:18.100 277 280 I mdm_helper: MDM9x25: Initializing environment
02-09 20:45:18.100 279 279 D QSEECOMD: : Init dlopen(librpmb.so, RTLD_NOW) succeeds
02-09 20:45:18.100 279 279 D QSEECOMD: : Init::Init dlsym(g_FSHandle rpmb_init_service) succeeds
02-09 20:45:18.100 279 279 I rpmb : RPMB Mult = 16384, Rel_sec_cnt = 1
02-09 20:45:18.100 279 279 E DrmLibRpmb: rpmb_init succeeded! with ret = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : Init rpmb_init_service ret = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : RPMB system services: init (Listener ID = 8192)
02-09 20:45:18.101 279 279 E QSEECOMD: : Listener: index = 1, hierarchy = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : Init dlopen(libssd.so, RTLD_NOW) succeeds
02-09 20:45:18.101 279 279 D QSEECOMD: : Init::Init dlsym(g_FSHandle ssd_init_service) succeeds
02-09 20:45:18.101 279 279 E SSD : ssd_init_service succeeded!
02-09 20:45:18.101 279 279 D QSEECOMD: : Init ssd_init_service ret = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : SSD system services: init (Listener ID = 12288)
02-09 20:45:18.102 279 279 D QSEECOMAPI: : QSEECom_get_handle sb_length = 0x400
02-09 20:45:18.102 279 279 D QSEECOMAPI: : App is not loaded in QSEE
02-09 20:45:18.107 274 274 I lowmemorykiller: Using in-kernel low memory killer interface
02-09 20:45:18.122 278 291 E Sensors : sns_fsa_la.c(78):realpath failed for directory name2
02-09 20:45:18.123 278 291 E Sensors : sns_reg_la.c(289):Error creating registry file
02-09 20:45:18.123 278 291 W Sensors : sns_reg_mr.c(370):File init failed 5
02-09 20:45:18.136 276 276 I SurfaceFlinger: SurfaceFlinger is starting
02-09 20:45:18.136 276 276 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
02-09 20:45:18.143 276 276 D libEGL : loaded /vendor/lib/egl/libEGL_adreno.so
02-09 20:45:18.176 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:18.176 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:18.252 276 276 D libEGL : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
02-09 20:45:18.260 276 276 D libEGL : loaded /vendor/lib/egl/libGLESv2_adreno.so
02-09 20:45:18.277 276 276 I Adreno : QUALCOMM build : 52af4d2, I8366cd0437
02-09 20:45:18.277 276 276 I Adreno : Build Date : 10/20/15
02-09 20:45:18.277 276 276 I Adreno : OpenGL ES Shader Compiler Version: XE031.05.13.02
02-09 20:45:18.277 276 276 I Adreno : Local Branch : M14
02-09 20:45:18.277 276 276 I Adreno : Remote Branch :
02-09 20:45:18.277 276 276 I Adreno : Remote Branch :
02-09 20:45:18.277 276 276 I Adreno : Reconstruct Branch :
02-09 20:45:18.584 279 279 D QSEECOMAPI: : Loaded image: APP id = 2
02-09 20:45:18.586 279 279 D QSEECOMD: : Parent qseecom daemon process paused!!
02-09 20:45:18.587 331 331 D QSEECOMD: : qseecom listener service threads starting!!!
02-09 20:45:18.587 331 331 D QSEECOMD: : Total listener services to start = 5
02-09 20:45:18.587 331 331 E QSEECOMD: : Listener: index = 0, hierarchy = 1
02-09 20:45:18.587 331 331 D QSEECOMD: : Init dlopen(librpmb.so, RTLD_NOW) succeeds
02-09 20:45:18.587 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle rpmb_start) succeeds
02-09 20:45:18.587 331 331 D QSEECOMAPI: : QSEECom_register_listener 8192 sb_length = 0x5000
02-09 20:45:18.591 331 331 D QSEECOMD: : Init rpmb_start ret = 0
02-09 20:45:18.591 331 331 D QSEECOMD: : RPMB system services: Started (Listener ID = 8192)
02-09 20:45:18.591 331 331 E QSEECOMD: : Listener: index = 1, hierarchy = 1
02-09 20:45:18.591 331 331 D QSEECOMD: : Init dlopen(libssd.so, RTLD_NOW) succeeds
02-09 20:45:18.591 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle ssd_start) succeeds
02-09 20:45:18.591 331 331 D QSEECOMAPI: : QSEECom_register_listener 12288 sb_length = 0x5000
02-09 20:45:18.592 331 331 D QSEECOMD: : Init ssd_start ret = 0
02-09 20:45:18.592 331 331 D QSEECOMD: : SSD system services: Started (Listener ID = 12288)
02-09 20:45:18.592 331 331 E QSEECOMD: : Listener: index = 2, hierarchy = 1
02-09 20:45:18.593 331 331 E QSEECOMD: : Init dlopen(libsecureui.so, RLTD_NOW) is failed....
02-09 20:45:18.593 331 331 E QSEECOMD: : Listener: index = 3, hierarchy = 1
02-09 20:45:18.599 331 331 D QSEECOMD: : Init dlopen(libdrmtime.so, RTLD_NOW) succeeds
02-09 20:45:18.599 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle atime_start) succeeds
02-09 20:45:18.599 331 331 D DrmLibTime: QSEE Time Listener: atime_start
02-09 20:45:18.599 331 331 D QSEECOMAPI: : QSEECom_register_listener 11 sb_length = 0x5000
02-09 20:45:18.600 331 331 D DrmLibTime: registering fs service to QSEECom is done!
02-09 20:45:18.600 331 331 D DrmLibTime: begin to create a thread!
02-09 20:45:18.600 331 331 D DrmLibTime: Creating a pthread in atime_start is done! return 0
02-09 20:45:18.600 331 331 D QSEECOMD: : Init atime_start ret = 0
02-09 20:45:18.600 331 338 D DrmLibTime: QSEE Time Listener: dispatch
02-09 20:45:18.600 331 331 D QSEECOMD: : time services: Started (Listener ID = 11)
02-09 20:45:18.600 331 338 D DrmLibTime: before calling ioctl to read the next time_cmd
02-09 20:45:18.600 331 331 E QSEECOMD: : Listener: index = 4, hierarchy = 1
02-09 20:45:18.600 331 331 D QSEECOMD: : Init dlopen(libdrmfs.so, RTLD_NOW) succeeds
02-09 20:45:18.600 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle fs_start) succeeds
02-09 20:45:18.600 331 331 D QSEECOMAPI: : QSEECom_register_listener 10 sb_length = 0x5000
02-09 20:45:18.601 331 331 D QSEECOMD: : Init fs_start ret = 0
02-09 20:45:18.601 331 331 D QSEECOMD: : file system services: Started (Listener ID = 10)
02-09 20:45:18.601 331 331 D QSEECOMD: : QSEECOM DAEMON RUNNING
02-09 20:45:18.711 276 276 I qdutils : PartialUpdate status: Enabled
02-09 20:45:18.711 276 276 I qdutils : Left Align: 8
02-09 20:45:18.712 276 276 I qdutils : Width Align: 8
02-09 20:45:18.712 276 276 I qdutils : Top Align: 1
02-09 20:45:18.712 276 276 I qdutils : Height Align: 1
02-09 20:45:18.712 276 276 I qdutils : Min ROI Width: 8
02-09 20:45:18.712 276 276 I qdutils : Min ROI Height: 1
02-09 20:45:18.712 276 276 I qdutils : Needs ROI Merge: 1
02-09 20:45:18.712 276 276 I qdutils : Left Split=720
02-09 20:45:18.712 276 276 I qdutils : Right Split=720
02-09 20:45:18.715 276 276 I qdhwcomposer: Initializing Qualcomm Hardware Composer
02-09 20:45:18.715 276 276 I qdhwcomposer: MDP version: 500
02-09 20:45:18.715 276 276 I SurfaceFlinger: Using composer version 1.5
02-09 20:45:18.715 276 276 I qdhwcomposer: hwc_registerProcs
02-09 20:45:18.715 276 276 I qdhwcomposer: Initializing UEVENT Thread
02-09 20:45:18.715 276 276 I qdhwcomposer: Initializing VSYNC Thread
02-09 20:45:18.716 276 342 I qdhwcomposer: vsync_loop: Reading event 0 for dpy 0 from /sys/class/graphics/fb0/vsync_event
02-09 20:45:18.716 276 276 D qdhwcomposer: hwc_getDisplayAttributes disp = 0, width = 1440
02-09 20:45:18.716 276 276 D qdhwcomposer: hwc_getDisplayAttributes disp = 0, height = 2560
02-09 20:45:18.717 276 276 I SurfaceFlinger: EGL information:
02-09 20:45:18.717 276 276 I SurfaceFlinger: vendor : Android
02-09 20:45:18.717 276 276 I SurfaceFlinger: version : 1.4 Android META-EGL
02-09 20:45:18.717 276 276 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_KHR_create_context_no_error
02-09 20:45:18.717 276 276 I SurfaceFlinger: Client API: OpenGL_ES
02-09 20:45:18.717 276 276 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0xb6a86978
02-09 20:45:18.718 276 342 I qdhwcomposer: vsync_loop: Reading event 1 for dpy 0 from /sys/class/graphics/fb0/show_blank_event
02-09 20:45:18.719 276 342 I qdhwcomposer: vsync_loop: Reading event 2 for dpy 0 from /sys/class/graphics/fb0/cec/rd_msg
02-09 20:45:18.721 276 342 E qdhwcomposer: vsync_loop:unable to open event node for dpy=0 event=2, No such file or directory
02-09 20:45:18.722 276 342 I qdhwcomposer: vsync_loop: Reading event 0 for dpy 1 from /sys/class/graphics/fb-1/vsync_event
02-09 20:45:18.722 276 342 I qdhwcomposer: vsync_loop: Reading event 1 for dpy 1 from /sys/class/graphics/fb-1/show_blank_event
02-09 20:45:18.723 276 342 I qdhwcomposer: vsync_loop: Reading event 2 for dpy 1 from /sys/class/graphics/fb-1/cec/rd_msg
02-09 20:45:18.726 276 276 I SurfaceFlinger: OpenGL ES informations:
02-09 20:45:18.726 276 276 I SurfaceFlinger: vendor : Qualcomm
02-09 20:45:18.726 276 276 I SurfaceFlinger: renderer : Adreno (TM) 420
02-09 20:45:18.726 276 276 I SurfaceFlinger: version : OpenGL ES 3.1 V@127.0 (GIT@I8366cd0437)
02-09 20:45:18.726 276 276 I SurfaceFlinger: extensions: GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_arr
02-09 20:45:18.726 276 276 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 16384
02-09 20:45:18.726 276 276 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 16384
02-09 20:45:18.730 276 276 D SurfaceFlinger: Set power mode=2, type=0 flinger=0xb6aa4000
02-09 20:45:18.730 276 276 D qdhwcomposer: hwc_setPowerMode: Setting mode 2 on display: 0
02-09 20:45:18.730 276 276 D qdhwcomposer: hwc_setPowerMode: Done setting mode 2 on display 0
02-09 20:45:18.730 276 342 I qdhwcomposer: handle_blank_event: dpy:0 panel power state: 1
02-09 20:45:18.841 344 346 D libEGL : loaded /vendor/lib/egl/libEGL_adreno.so
02-09 20:45:18.888 344 346 D libEGL : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
02-09 20:45:18.896 344 346 D libEGL : loaded /vendor/lib/egl/libGLESv2_adreno.so
02-09 20:45:18.907 344 346 I Adreno : QUALCOMM build : 52af4d2, I8366cd0437
02-09 20:45:18.907 344 346 I Adreno : Build Date : 10/20/15
02-09 20:45:18.907 344 346 I Adreno : OpenGL ES Shader Compiler Version: XE031.05.13.02
02-09 20:45:18.907 344 346 I Adreno : Local Branch : M14
02-09 20:45:18.907 344 346 I Adreno : Remote Branch :
02-09 20:45:18.907 344 346 I Adreno : Remote Branch :
02-09 20:45:18.907 344 346 I Adreno : Reconstruct Branch :
02-09 20:45:18.923 344 346 E BootAnimation: couldn't find audio_conf.txt
02-09 20:45:19.617 276 276 D SurfaceFlinger: shader cache generated - 24 shaders in 267.772125 ms
02-09 20:45:19.637 276 276 D qdutils : DEBUG_CALC_FPS: 0
02-09 20:45:19.637 276 276 D qdutils : period: 10
02-09 20:45:19.637 276 276 D qdutils : ignorethresh_us: 500000
03-21 17:30:31.580 245 245 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
03-21 17:30:31.580 245 245 W auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
02-09 20:45:28.065 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.066 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.069 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.069 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.071 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.071 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.074 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.074 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.076 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.077 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.078 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.078 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.079 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.080 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.081 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.081 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.082 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.082 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.083 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.083 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.085 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.085 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.087 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.087 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.089 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.089 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.090 278 291 E Sensors : sns_reg.c(255):Invalid ID: 3040
02-09 20:45:28.091 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.091 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.093 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.093 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.094 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.094 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.096 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.096 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.097 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.097 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.098 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.098 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.099 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.099 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.108 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.108 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.109 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.109 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.111 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.111 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.111 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.111 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.111 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.111 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5