[Xperia Z1 Compact Android Development] munjeni:
Oh SH** Oreo, I'm fixed all service which failed to start (looking into dmesg) and after analysing logd source code I have realised that logd crash (which prevented me to catch logcat) I'm realized that seting ro.build.type to eng fixes logd and finaly got logcat, but one problem trought found that binic inside lineage is outdated, it don't have implemented LD_SHIM_LIBS support, found that in logcat:

01-09 02:16:14.255 1806 1806 E /system/bin/tombstoned: received fatal signal 6
01-09 02:16:14.257 1961 1961 E libc : received DumpRequest response packet of incorrect length (expected 8, got 0)
01-09 02:16:14.257 1961 1961 I crash_dump32: performing dump of process 1878 (target tid = 1878)
01-09 02:16:14.257 1961 1961 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-09 02:16:14.257 1961 1961 F DEBUG : Build fingerprint: 'Sony/D5503/D5503:5.1.1/14.6.A.1.236/2031203603:user/relea
se-keys'
01-09 02:16:14.257 1961 1961 F DEBUG : Revision: '0'
01-09 02:16:14.257 1961 1961 F DEBUG : ABI: 'arm'
01-09 02:16:14.257 1961 1961 F DEBUG : pid: 1878, tid: 1878, name: system_server >>> system_server <<<
01-09 02:16:14.257 1961 1961 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-09 02:16:14.267 1961 1961 F DEBUG : Abort message: 'kernel does not support timerfd_create() with alarm timers'
01-09 02:16:14.267 1961 1961 F DEBUG : r0 00000000 r1 00000756 r2 00000006 r3 00000008
01-09 02:16:14.267 1961 1961 F DEBUG : r4 00000756 r5 00000756 r6 bee65900 r7 0000010c
01-09 02:16:14.267 1961 1961 F DEBUG : r8 bee65d70 r9 b1890000 sl 00000063 fp 00000000
01-09 02:16:14.267 1961 1961 F DEBUG : ip 00000000 sp bee658f0 lr b1d3a557 pc b1d6ac2c cpsr 200d0010
01-09 02:16:14.280 1961 1961 F DEBUG :
01-09 02:16:14.280 1961 1961 F DEBUG : backtrace:
01-09 02:16:14.280 1961 1961 F DEBUG : #00 pc 0004ac2c /system/lib/libc.so (tgkill+12)
01-09 02:16:14.280 1961 1961 F DEBUG : #01 pc 0001a553 /system/lib/libc.so (abort+54)
01-09 02:16:14.280 1961 1961 F DEBUG : #02 pc 0000663f /system/lib/liblog.so (__android_log_assert+154)
01-09 02:16:14.280 1961 1961 F DEBUG : #03 pc 0001d905 /system/lib/libandroid_servers.so (_ZN7androidL39android
_server_AlarmManagerService_initEP7_JNIEnvP8_jobject+772)
01-09 02:16:14.280 1961 1961 F DEBUG : #04 pc 00540223 /data/dalvik-cache/arm/system@framework@services.jar@cla
sses.dex (offset 0x4df000)
01-09 02:16:14.304 1962 1962 I /system/bin/tombstoned: tombstoned successfully initialized
01-09 02:16:14.941 205 205 I ServiceManager: service 'appops' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'power' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'recovery' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'display' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'vibrator' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'settings' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'consumer_ir' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'meminfo' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'gfxinfo' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'dbinfo' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'cpuinfo' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'permission' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'processinfo' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'procstats' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'activity' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'user' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'otadexopt' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'package' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'dropbox' died
01-09 02:16:14.941 205 205 I ServiceManager: service 'overlay' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'battery' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'usagestats' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'webviewupdate' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'sec_key_att_app_id_provider' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'scheduling_policy' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'telephony.registry' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'media.camera.proxy' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'account' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'content' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'batterystats' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'sensorservice' died
01-09 02:16:14.942 205 205 I ServiceManager: service 'device_identifiers' died
01-09 02:16:14.959 314 314 I lowmemorykiller: ActivityManager disconnected
01-09 02:16:14.959 314 314 I lowmemorykiller: Closing Activity Manager data connection
01-09 02:16:14.969 1813 1813 I Zygote : Process 1878 exited due to signal (6)
01-09 02:16:14.969 1813 1813 E Zygote : Exit zygote because system server (1878) has terminated
01-09 02:16:14.975 313 313 E QMI_FW : xport_send: Sendto failed for port 9728
01-09 02:16:14.990 205 205 I ServiceManager: service 'media.sound_trigger_hw' died
01-09 02:16:14.990 205 205 I ServiceManager: service 'media.radio' died
01-09 02:16:14.990 205 205 I ServiceManager: service 'media.aaudio' died
01-09 02:16:14.990 205 205 I ServiceManager: service 'media.audio_flinger' died
01-09 02:16:14.990 205 205 I ServiceManager: service 'media.audio_policy' died
01-09 02:16:14.992 313 313 E QMI_FW : xport_send: Sendto failed for port 9728
01-09 02:16:14.996 313 313 E QMI_FW : xport_send: Sendto failed for port 11008
01-09 02:16:14.998 205 205 I ServiceManager: service 'media.camera' died
01-09 02:16:15.002 313 313 E QMI_FW : xport_send: Sendto failed for port 7424
01-09 02:16:15.009 313 313 E QMI_FW : xport_send: Sendto failed for port 7424
01-09 02:16:15.011 205 205 I ServiceManager: service 'media.player' died
01-09 02:16:15.011 205 205 I ServiceManager: service 'media.resource_manager' died
01-09 02:16:15.015 313 313 E QMI_FW : xport_send: Sendto failed for port 8448
01-09 02:16:15.020 205 205 I ServiceManager: service 'netd' died
01-09 02:16:15.022 313 313 E QMI_FW : xport_send: Sendto failed for port 9984
01-09 02:16:15.031 205 205 I ServiceManager: service 'wificond' died
01-09 02:16:15.032 313 313 E QMI_FW : xport_send: Sendto failed for port 10496
01-09 02:16:15.045 313 313 E QMI_FW : xport_send: Sendto failed for port 11008
01-09 02:16:15.164 1971 1971 I Netd : Netd 1.0 starting
01-09 02:16:15.165 1971 1971 D TetherController: Setting IP forward enable = 0
01-09 02:16:15.213 1972 1972 I wificond: wificond is starting up...
01-09 02:16:15.292 1967 1967 I FastMixerState: sMaxFastTracks = 8
01-09 02:16:15.293 1967 1967 I audioserver: ServiceManager: 0xb54178a0
01-09 02:16:15.293 1967 1967 W BatteryNotifier: batterystats service unavailable!
01-09 02:16:15.295 206 206 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardw
are.audio@2.0::IDevicesFactory in either framework or device manifest, using default transport.
01-09 02:16:15.299 206 206 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardw
are.audio.effect@2.0::IEffectsFactory in either framework or device manifest, using default transport.
01-09 02:16:15.306 1967 1967 I AudioFlinger: Using default 3000 mSec as standby time.
01-09 02:16:15.308 1967 1967 E APM::Serializer: deserialize: Could not parse /odm/etc/audio_policy_configuration.xml d
ocument.
01-09 02:16:15.308 1967 1967 E APM::Serializer: deserialize: Could not parse /vendor/etc/audio_policy_configuration.xm
l document.
01-09 02:16:15.324 1967 1967 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw
/audio.primary.msm8974.so from the current namespace instead.
01-09 02:16:15.327 1967 1967 D audio_hw_primary: adev_open: enter
01-09 02:16:15.372 1967 1967 D msm8974_platform: platform_init: snd_card_name: msm8974-taiko-mtp-snd-card
01-09 02:16:15.414 1970 1970 I cameraserver: ServiceManager: 0xae9178e0
01-09 02:16:15.414 1970 1970 I CameraService: CameraService started (pid=1970)
01-09 02:16:15.414 1970 1970 I CameraService: CameraService process starting
01-09 02:16:15.415 1970 1970 W BatteryNotifier: batterystats service unavailable!
01-09 02:16:15.415 1970 1970 W BatteryNotifier: batterystats service unavailable!
01-09 02:16:15.416 1968 1968 I mediaserver: ServiceManager: 0xafd97940
01-09 02:16:15.417 1968 1968 W BatteryNotifier: batterystats service unavailable!
01-09 02:16:15.417 206 206 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardw
are.camera.provider@2.4::ICameraProvider in either framework or device manifest, using default transport.
01-09 02:16:15.438 1970 1970 E HAL : load: module=/system/lib/hw/camera.qcom.so
01-09 02:16:15.438 1970 1970 E HAL : dlopen failed: cannot locate symbol "_ZN7android19GraphicBufferMapper4lockEPK
13native_handleiRKNS_4RectEPPv" referenced by "/system/lib/hw/camera.qcom.so"...
01-09 02:16:15.439 1970 1970 E CamProvider@2.4-impl: Could not load camera HAL module: -22 (Invalid argument)
01-09 02:16:15.439 1970 1970 E CamProvider@2.4-impl: HIDL_FETCH_ICameraProvider: camera provider init failed!
01-09 02:16:15.479 1967 1967 E audio_route: Control 'SLIMBUS_0_RX Port Mixer INT_BT_SCO_TX' doesn't exist - skipping
01-09 02:16:15.480 1967 1967 E audio_route: unknown enum value string 8000 for ctl Internal BTSCO SampleRate
01-09 02:16:15.480 1967 1967 E audio_route: Control 'INTERNAL_BT_SCO_RX Audio Mixer Multimedia6' doesn't exist - skipp
ing

but I have all libshims up to date with all missing symbols, looking into bionic source code found that LD_SHIM_LIBS is missing inside UNSAFE_VARIABLE_NAMES , oh I must use bionic from https://github.com/oreo-victara/android_bionic/commits/lineage-15.0 and build lineage 15 from begining :p , I thinked I was so close to boot it but I was wrong, still got only boot animation right now :o

Edit:

Oh also need to implement timerfd_create which is commented out in our kernel :(