aquaris-dev / DEPRECATED_android_device_bq_piccolo

Android device configuration for the bq Aquaris M5
4 stars 6 forks source link

cm-13: sensors not working #38

Closed stucki closed 8 years ago

stucki commented 8 years ago

From @piwats on January 20, 2016 23:46

cm-13-20160120: Orientational sensors are not working.

Proximity and light sensors are working, though.

Maybe #37 is related to this.

dmesg is full of:

[  124.762272] init: cannot execve('/system/bin/sensord'): Permission denied
[  124.762807] init: Service 'sensord' (pid 3818) exited with status 127
[  124.762834] init: Service 'sensord' (pid 3818) killing any children in process group
[  129.768540] init: Warning!  Service sensord needs a SELinux domain defined; please fix!
[  129.768564] init: Starting service 'sensord'...
[  129.769149] init: cannot execve('/system/bin/sensord'): Permission denied
[  129.769210] type=1400 audit(1453333709.896:34): avc: denied { execute_no_trans } for pid=3826 comm="init" path="/system/bin/sensord" dev="mmcblk0p27" ino=399 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
[  129.769575] init: Service 'sensord' (pid 3826) exited with status 127
[  129.769596] init: Service 'sensord' (pid 3826) killing any children in process group
[  132.398707] binder: 3444:3452 refcount change on invalid ref 12
[  132.453517] binder: 3444:3463 refcount change on invalid ref 12
[  132.453530] binder: 3444:3463 refcount change on invalid ref 12
[  132.453537] binder: transaction release 97298 bad handle 12
[  134.775629] init: Warning!  Service sensord needs a SELinux domain defined; please fix!
[  134.775655] init: Starting service 'sensord'...
[  134.776944] type=1400 audit(1453333714.896:35): avc: denied { execute_no_trans } for pid=3868 comm="init" path="/system/bin/sensord" dev="mmcblk0p27" ino=399 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
[  134.777508] init: cannot execve('/system/bin/sensord'): Permission denied
[  134.777972] init: Service 'sensord' (pid 3868) exited with status 127
[  134.777999] init: Service 'sensord' (pid 3868) killing any children in process group
[  139.784138] init: Warning!  Service sensord needs a SELinux domain defined; please fix!
[  139.784165] init: Starting service 'sensord'...
[  139.785436] type=1400 audit(1453333719.906:36): avc: denied { execute_no_trans } for pid=3879 comm="init" path="/system/bin/sensord" dev="mmcblk0p27" ino=399 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
[  139.786012] init: cannot execve('/system/bin/sensord'): Permission denied
[  139.786456] init: Service 'sensord' (pid 3879) exited with status 127
[  139.786483] init: Service 'sensord' (pid 3879) killing any children in process group
[  140.737672] wlan: [1135:E :HDP] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
[  144.792638] init: Warning!  Service sensord needs a SELinux domain defined; please fix!
[  144.792665] init: Starting service 'sensord'...
[  144.793905] init: cannot execve('/system/bin/sensord'): Permission denied
[  144.794302] init: Service 'sensord' (pid 3891) exited with status 127
[  144.794330] init: Service 'sensord' (pid 3891) killing any children in process group
[  144.794831] type=1400 audit(1453333724.916:37): avc: denied { execute_no_trans } for pid=3891 comm="init" path="/system/bin/sensord" dev="mmcblk0p27" ino=399 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
[  149.800495] init: Warning!  Service sensord needs a SELinux domain defined; please fix!
[  149.800521] init: Starting service 'sensord'...
[  149.801788] type=1400 audit(1453333729.926:38): avc: denied { execute_no_trans } for pid=3904 comm="init" path="/system/bin/sensord" dev="mmcblk0p27" ino=399 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
[  149.802363] init: cannot execve('/system/bin/sensord'): Permission denied
[  149.802803] init: Service 'sensord' (pid 3904) exited with status 127
[  149.802830] init: Service 'sensord' (pid 3904) killing any children in process group
[  154.808971] init: Warning!  Service sensord needs a SELinux domain defined; please fix!
[  154.808997] init: Starting service 'sensord'...
[  154.810188] init: cannot execve('/system/bin/sensord'): Permission denied
[  154.810872] init: Service 'sensord' (pid 3909) exited with status 127
[  154.810910] init: Service 'sensord' (pid 3909) killing any children in process group
[  154.814144] type=1400 audit(1453333734.936:39): avc: denied { execute_no_trans } for pid=3909 comm="init" path="/system/bin/sensord" dev="mmcblk0p27" ino=399 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=0

_Copied from original issue: piccolo-dev/android_device_bqpiccolo#38

stucki commented 8 years ago

From @cmorlok on January 21, 2016 7:8

SELinux needs to be updated

stucki commented 8 years ago

From @cmorlok on January 28, 2016 16:53

Fixed in build 2016/01/24.