Feb 11 16:28:08 localhost.localdomain systemd[1]: Started LXC Container: android.
Feb 11 16:28:08 localhost.localdomain lxc-start[11096]: 5417 blocks
Feb 11 16:28:09 localhost.localdomain systemd[1]: lxc@android.service: Main process exited, code=killed, status=11/SEGV
Feb 11 16:28:09 localhost.localdomain systemd[1]: lxc@android.service: Unit entered failed state.
Feb 11 16:28:09 localhost.localdomain systemd[1]: lxc@android.service: Failed with result 'signal'.
lxc-checkconfig: https://pastebin.com/T0ttPSef
- [ ] libhybris tests (on the reference rootfs)
* [ ] test_gps - maybe it's working but can't find satellites?
Thread wrapper start (start=0xb6aa59ad, arg=0x1017718)
library "libqmi_cci.so" not found
library "libqmi_cci.so" not found
library "libloc_api-rpc-qc.so" not found
setting positioning mode
start gps track
gps tracking started
tracking....
status callback
session begin
* [ ] test_hwcomposer - maybe it requires CAF? (but I can't install it, look at "EDL - Kernel panic?" section below)
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...
test_hwcomposer: test_hwcomposer.cpp:179: int main(int, char**): Assertion `err == 0' failed.
Aborted
* [ ] test_lights - doing nothing, it finishes immediately (it should flash the camera light, right?)
* [X] test_vibrator
* [ ] test_wifi - driver cannot be loaded
* [ ] test_sensors
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...
Segmentation fault
<!--
Other information goes below this comment. Possible topics of comment may
include special flashing or building instructions, such as manual effort to
change vendor files.
-->
### Flashing
I flashed hybris-boot.img using TWRP. Then I installed rootfs and system.img normally, according to the documentation.
### SSH
SSH works perfectly.
### EDL - Kernel panic?
The system goes to EDL from time to time, most often when I share my network connection from my PC via USB (then it usually doesn't even finish apt-get update). There is no last_kmsg and I can't get any logs. Instead, the screen goes black and the phone mounts all partitions on my PC. I've already patched the kernel (to disable EDL) and it does reboot leaving logs after a "forced" panic now, but apparently it is not enough.
Tree: halium-7.1 (kernel version: 3.4)
usb: Manufacturer: GNU/Linux Device
appears indmesg
on host.Feb 11 16:28:08 localhost.localdomain systemd[1]: Started LXC Container: android. Feb 11 16:28:08 localhost.localdomain lxc-start[11096]: 5417 blocks Feb 11 16:28:09 localhost.localdomain systemd[1]: lxc@android.service: Main process exited, code=killed, status=11/SEGV Feb 11 16:28:09 localhost.localdomain systemd[1]: lxc@android.service: Unit entered failed state. Feb 11 16:28:09 localhost.localdomain systemd[1]: lxc@android.service: Failed with result 'signal'.
Thread wrapper start (start=0xb6aa59ad, arg=0x1017718) library "libqmi_cci.so" not found library "libqmi_cci.so" not found library "libloc_api-rpc-qc.so" not found setting positioning mode start gps track gps tracking started tracking.... status callback session begin
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"... test_hwcomposer: test_hwcomposer.cpp:179: int main(int, char**): Assertion `err == 0' failed. Aborted
Got 0 sensors Error in `test_sensors': free(): invalid pointer: 0xb6a420a8 Aborted
test_audio: test_audio.c:54: main: Assertion `audio_hw_device_open(hwmod, &audiohw) == 0' failed. Aborted
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"... Segmentation fault
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"... Segmentation fault
Starting test_nfc. Finding NFC hardware module. test_nfc: test_nfc.c:156: testNfc: Assertion `hwModule != NULL' failed. Aborted
cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"... Segmentation fault