[Android Software Development] LSS4181:
How much is the x86 architecture supported and is it proper?

It seems the problem with ARISE breaking sensors on Zenfone 2 (Z00A) is still there (as of Magnum Opus 20180105 build), and seems to be related to what got installed with the core modules... The problem is probably more architecture-specific than device-specific, as this phone is unique (x86) compared to others (arm/arm64), and I haven't found anyone on other devices (arm/arm64) exhibiting the issue after some searching.

After installing ARISE (only Core Modules will do), all sensors are dead, and I saw nothing sensor-related in my logcat, as if the system had no sensors installed, with only one place barely mentioning

E/SensorManager: sensor or listener is null

implying it couldn't find any supported sensors.

Comparing the startup logcats with the one I recorded after I restored the backup from before I installed ARISE, I found that mentions of "sensorhub" or "sensorhubd" (such as "I/Libsensorhub", the lib and daemon seems to be responsible for system sensors) are completely missing after installing ARISE. The sensor hub library itself is probably not loaded at all because something installed or replaced by ARISE caused it to fail to be loaded by the system at boot phase.

Additionally, I found some (probably not related) native crashes with other parts of the hardware as well. After restoring the backup to the one before I installed ARISE, those crashes were not there. The crash seems to involve libc.so.

--------- beginning of crash
F/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58 in tid 735 (CamHAL_PREVIEW)
F/DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG : LineageOS Version: 'unknown'
F/DEBUG : Build fingerprint: 'asus/WW_Z00A/Z00A:6.0.1/MMB29P/4.21.40.134_20160825_4746_user:user/release-keys'
F/DEBUG : Revision: '0'
F/DEBUG : ABI: 'x86'
F/DEBUG : pid: 346, tid: 735, name: CamHAL_PREVIEW >>> /system/bin/mediaserver <<<
F/DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x58
F/DEBUG : eax 00060b02 ebx f220fff0 ecx f1043640 edx 00000000
F/DEBUG : esi f103ea00 edi e7b02730
F/DEBUG : xcs 00000023 xds 0000002b xes 0000002b xfs 00000003 xss 0000002b
F/DEBUG : eip f2183215 ebp e7b02698 esp e7b02670 flags 00000296
F/DEBUG :
F/DEBUG : backtrace:
F/DEBUG : #00 pc 00070215 /system/lib/libcameraservice.so (_ZN7android23CameraHardwareInterface11__set_usageEP18preview_stream_opsi+37)
F/DEBUG : #01 pc 00086206 /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread22handleSetPreviewWindowEPNS0_23MessageSetPreviewWindowE+182)
F/DEBUG : #02 pc 0008723a /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread24waitForAndExecuteMessageEv+490)
F/DEBUG : #03 pc 000873e7 /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread10threadLoopEv+71)
F/DEBUG : #04 pc 000121b9 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+313)
F/DEBUG : #05 pc 00011989 /system/lib/libutils.so (_ZN13thread_data_t10trampolineEPKS_+265)
F/DEBUG : #06 pc 00085944 /system/lib/libc.so (_ZL15__pthread_startPv+212)
F/DEBUG : #07 pc 0002f650 /system/lib/libc.so (__start_thread+32)
F/DEBUG : #08 pc 0002d406 /system/lib/libc.so (__bionic_clone+70)
F/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58 in tid 767 (CamHAL_PREVIEW)
F/DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG : LineageOS Version: 'unknown'
F/DEBUG : Build fingerprint: 'asus/WW_Z00A/Z00A:6.0.1/MMB29P/4.21.40.134_20160825_4746_user:user/release-keys'
F/DEBUG : Revision: '0'
F/DEBUG : ABI: 'x86'
F/DEBUG : pid: 749, tid: 767, name: CamHAL_PREVIEW >>> /system/bin/mediaserver <<<
F/DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x58
F/DEBUG : eax 00060b02 ebx e9cb1ff0 ecx e9243640 edx 00000000
F/DEBUG : esi e923ea00 edi dfd82730
F/DEBUG : xcs 00000023 xds 0000002b xes 0000002b xfs 00000003 xss 0000002b
F/DEBUG : eip e9c25215 ebp dfd82698 esp dfd82670 flags 00000296
F/DEBUG :
F/DEBUG : backtrace:
F/DEBUG : #00 pc 00070215 /system/lib/libcameraservice.so (_ZN7android23CameraHardwareInterface11__set_usageEP18preview_stream_opsi+37)
F/DEBUG : #01 pc 00086206 /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread22handleSetPreviewWindowEPNS0_23MessageSetPreviewWindowE+182)
F/DEBUG : #02 pc 0008723a /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread24waitForAndExecuteMessageEv+490)
F/DEBUG : #03 pc 000873e7 /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread10threadLoopEv+71)
F/DEBUG : #04 pc 000121b9 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+313)
F/DEBUG : #05 pc 00011989 /system/lib/libutils.so (_ZN13thread_data_t10trampolineEPKS_+265)
F/DEBUG : #06 pc 00085944 /system/lib/libc.so (_ZL15__pthread_startPv+212)
F/DEBUG : #07 pc 0002f650 /system/lib/libc.so (__start_thread+32)
F/DEBUG : #08 pc 0002d406 /system/lib/libc.so (__bionic_clone+70)
F/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58 in tid 820 (CamHAL_PREVIEW)
F/DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG : LineageOS Version: 'unknown'
F/DEBUG : Build fingerprint: 'asus/WW_Z00A/Z00A:6.0.1/MMB29P/4.21.40.134_20160825_4746_user:user/release-keys'
F/DEBUG : Revision: '0'
F/DEBUG : ABI: 'x86'
F/DEBUG : pid: 780, tid: 820, name: CamHAL_PREVIEW >>> /system/bin/mediaserver <<<
F/DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x58
F/DEBUG : eax 00060b02 ebx e8911ff0 ecx e7c43640 edx 00000000
F/DEBUG : esi e7c3ea00 edi de782730
F/DEBUG : xcs 00000023 xds 0000002b xes 0000002b xfs 00000003 xss 0000002b
F/DEBUG : eip e8885215 ebp de782698 esp de782670 flags 00000296
F/DEBUG :
F/DEBUG : backtrace:
F/DEBUG : #00 pc 00070215 /system/lib/libcameraservice.so (_ZN7android23CameraHardwareInterface11__set_usageEP18preview_stream_opsi+37)
F/DEBUG : #01 pc 00086206 /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread22handleSetPreviewWindowEPNS0_23MessageSetPreviewWindowE+182)
F/DEBUG : #02 pc 0008723a /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread24waitForAndExecuteMessageEv+490)
F/DEBUG : #03 pc 000873e7 /system/lib/hw/camera.vendor.mofd_v1.so (_ZN7android13PreviewThread10threadLoopEv+71)
F/DEBUG : #04 pc 000121b9 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+313)
F/DEBUG : #05 pc 00011989 /system/lib/libutils.so (_ZN13thread_data_t10trampolineEPKS_+265)
F/DEBUG : #06 pc 00085944 /system/lib/libc.so (_ZL15__pthread_startPv+212)
F/DEBUG : #07 pc 0002f650 /system/lib/libc.so (__start_thread+32)
F/DEBUG : #08 pc 0002d406 /system/lib/libc.so (__bionic_clone+70)

PS, I'm currently using DotOS 1.2 (7.1.1, which is also Lineage 14.1 based). Previous user reports of such errors were on RR, but it appears the problem is present on all Nougat ROMs for Z00A. I want to ask if there are any Z00A users here running stock or stock-based BORETS ROM with ARISE, and whether sensors still function after installation.