[Xperia Z3 Compact Original Android Development] Gairtial:
I followed guide, I used Sony blobs (V3 from the Xperia developer center) and I'm getting this error in dmesg:

<3>[ 201.659055] modem_notifier_cb: sysmon_send_event error -19
<3>[ 201.664409] M-Notify: General: 5
<3>[ 201.667578] msm_ipc_load_default_node: Failed to load modem
<6>[ 201.679867] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0d100000 to 0x0d13a000
<4>[ 201.687590] ------------[ cut here ]------------
<4>[ 201.691251] WARNING: at kernel/irq/manage.c:428 enable_irq+0x60/0x70()
<4>[ 201.697813] Unbalanced enable for IRQ 413
<6>[ 201.701741] Modules linked in: bcmdhd
<6>[ 201.701775] [<c010c1e0>] (unwind_backtrace+0x0/0x11c) from [<c019613c>] (warn_slowpath_common+0x4c/0x64)
<6>[ 201.701792] [<c019613c>] (warn_slowpath_common+0x4c/0x64) from [<c01961d4>] (warn_slowpath_fmt+0x2c/0x3c)
<6>[ 201.701810] [<c01961d4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c01f5be8>] (enable_irq+0x60/0x70)
<6>[ 201.701831] [<c01f5be8>] (enable_irq+0x60/0x70) from [<c0131b9c>] (pil_boot+0x854/0x9dc)
<6>[ 201.701849] [<c0131b9c>] (pil_boot+0x854/0x9dc) from [<c013408c>] (mss_start+0x28/0x5c)
<6>[ 201.701867] [<c013408c>] (mss_start+0x28/0x5c) from [<c016446c>] (subsystem_get+0x94/0x168)
<6>[ 201.701885] [<c016446c>] (subsystem_get+0x94/0x168) from [<c0145e08>] (msm_ipc_load_default_node+0x30/0x6c)
<6>[ 201.701901] [<c0145e08>] (msm_ipc_load_default_node+0x30/0x6c) from [<c014b208>] (msm_ipc_router_ioctl+0xec/0x2d8)
<6>[ 201.701920] [<c014b208>] (msm_ipc_router_ioctl+0xec/0x2d8) from [<c0774cb0>] (sock_ioctl+0x238/0x288)
<6>[ 201.701941] [<c0774cb0>] (sock_ioctl+0x238/0x288) from [<c0265b24>] (vfs_ioctl+0x28/0x3c)
<6>[ 201.701958] [<c0265b24>] (vfs_ioctl+0x28/0x3c) from [<c0266664>] (do_vfs_ioctl+0x534/0x588)
<6>[ 201.701974] [<c0266664>] (do_vfs_ioctl+0x534/0x588) from [<c0266700>] (sys_ioctl+0x48/0x70)
<6>[ 201.701991] [<c0266700>] (sys_ioctl+0x48/0x70) from [<c0106100>] (ret_fast_syscall+0x0/0x30)
<4>[ 201.702003] ---[ end trace ccca1cd3463f50af ]---
<3>[ 201.742312] pil-q6v5-mss fc880000.qcom,mss: PBL returned unexpected status -284491765
<3>[ 201.749575] pil-q6v5-mss fc880000.qcom,mss: mba: Failed to bring out of reset
<3>[ 201.756528] modem_notifier_cb: sysmon_send_event error -19
<3>[ 201.761735] M-Notify: General: 5
<3>[ 201.765403] msm_ipc_load_default_node: Failed to load modem

after copying over modem.* files from /etc/firmware on my device, I get a slightly different error:

<6>[ 61.239365] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0d100000 to 0x0d13a000
<4>[ 61.243434] ------------[ cut here ]------------
<4>[ 61.247065] WARNING: at kernel/irq/manage.c:428 enable_irq+0x60/0x70()
<4>[ 61.253622] Unbalanced enable for IRQ 413
<6>[ 61.257558] Modules linked in: bcmdhd
<6>[ 61.257579] [<c010c1e0>] (unwind_backtrace+0x0/0x11c) from [<c019613c>] (warn_slowpath_common+0x4c/0x64)
<6>[ 61.257590] [<c019613c>] (warn_slowpath_common+0x4c/0x64) from [<c01961d4>] (warn_slowpath_fmt+0x2c/0x3c)
<6>[ 61.257602] [<c01961d4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c01f5be8>] (enable_irq+0x60/0x70)
<6>[ 61.257615] [<c01f5be8>] (enable_irq+0x60/0x70) from [<c0131b9c>] (pil_boot+0x854/0x9dc)
<6>[ 61.257627] [<c0131b9c>] (pil_boot+0x854/0x9dc) from [<c013408c>] (mss_start+0x28/0x5c)
<6>[ 61.257638] [<c013408c>] (mss_start+0x28/0x5c) from [<c016446c>] (subsystem_get+0x94/0x168)
<6>[ 61.257652] [<c016446c>] (subsystem_get+0x94/0x168) from [<c0145e08>] (msm_ipc_load_default_node+0x30/0x6c)
<6>[ 61.257663] [<c0145e08>] (msm_ipc_load_default_node+0x30/0x6c) from [<c014b208>] (msm_ipc_router_ioctl+0xec/0x2d8)
<6>[ 61.257677] [<c014b208>] (msm_ipc_router_ioctl+0xec/0x2d8) from [<c0774cb0>] (sock_ioctl+0x238/0x288)
<6>[ 61.257691] [<c0774cb0>] (sock_ioctl+0x238/0x288) from [<c0265b24>] (vfs_ioctl+0x28/0x3c)
<6>[ 61.257702] [<c0265b24>] (vfs_ioctl+0x28/0x3c) from [<c0266664>] (do_vfs_ioctl+0x534/0x588)
<6>[ 61.257712] [<c0266664>] (do_vfs_ioctl+0x534/0x588) from [<c0266700>] (sys_ioctl+0x48/0x70)
<6>[ 61.257723] [<c0266700>] (sys_ioctl+0x48/0x70) from [<c0106100>] (ret_fast_syscall+0x0/0x30)
<4>[ 61.257730] ---[ end trace 716d3993f120c168 ]---
<3>[ 61.296325] pil-q6v5-mss fc880000.qcom,mss: PBL returned unexpected status -284491765
<3>[ 61.303636] pil-q6v5-mss fc880000.qcom,mss: mba: Failed to bring out of reset
<3>[ 61.310515] modem_notifier_cb: sysmon_send_event error -19
<3>[ 61.315756] M-Notify: General: 5
<3>[ 61.319011] msm_ipc_load_default_node: Failed to load modem

Which seems to mean that these files are relevant.

What exactly do you mean by 'enable modem'?

Also sound doesn't work and NFC seems to kill itself:

F/libc ( 1908): Fatal signal 6 (SIGABRT), code -6 in tid 1928 (enableInternal)
I/DEBUG ( 240): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 240): Build fingerprint: 'Sony/aosp_d5803/aries:5.0/LRX21V/gallis12201240:eng/test-keys'
I/DEBUG ( 240): Revision: '0'
I/DEBUG ( 240): ABI: 'arm'
I/DEBUG ( 240): pid: 1908, tid: 1928, name: enableInternal >>> com.android.nfc <<<
I/DEBUG ( 240): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG ( 240): r0 00000000 r1 00000788 r2 00000006 r3 00000000
E/DEBUG ( 240): AM write failure (32 / Broken pipe)
I/DEBUG ( 240): r4 a41ffdb8 r5 00000006 r6 0000006e r7 0000010c
I/DEBUG ( 240): r8 a41ff798 r9 a4228400 sl 00000000 fp a41ff760
I/DEBUG ( 240): ip 00000788 sp a41ff6c8 lr b6ea9af9 pc b6ecd080 cpsr 600f0010
I/DEBUG ( 240):
I/DEBUG ( 240): backtrace:
I/DEBUG ( 240): #00 pc 0003a080 /system/lib/libc.so (tgkill+12)
I/DEBUG ( 240): #01 pc 00016af5 /system/lib/libc.so (pthread_kill+52)
I/DEBUG ( 240): #02 pc 00017707 /system/lib/libc.so (raise+10)
I/DEBUG ( 240): #03 pc 00013f75 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG ( 240): #04 pc 00012a3c /system/lib/libc.so (abort+4)
I/DEBUG ( 240): #05 pc 00015bb5 /system/lib/libnfc_nci_jni.so
I/DEBUG ( 240): #06 pc 00000683 /data/dalvik-cache/arm/system@app@NfcNci@NfcNci.apk@classes.dex
I/DEBUG ( 240):
I/DEBUG ( 240): Tombstone written to: /data/tombstones/tombstone_05

Also SD card doesn't mount and the camera crashes (looks related to the SD card not mounting)

I/ActivityManager( 602): START u0 {act=android.media.action.STILL_IMAGE_CAMERA flg=0x14000000 cmp=com.android.camera2/com.android.camera.CameraActivity} from uid 10013 on display 0
I/ActivityManager( 602): Start proc com.android.camera2 for activity com.android.camera2/com.android.camera.CameraActivity: pid=2434 uid=10021 gids={50021, 9997, 3003, 1028, 1015} abi=armeabi-v7a
E/Vold ( 199): Failed to find mounted volume for /storage/sdcard1/Android/data/com.android.camera2/cache/
W/Vold ( 199): Returning OperationFailed - no handler for errno 0
W/ContextImpl( 2434): Failed to ensure directory: /storage/sdcard1/Android/data/com.android.camera2/cache
E/Vold ( 199): Failed to find mounted volume for /storage/sdcard1/Android/data/com.android.camera2/files/
W/Vold ( 199): Returning OperationFailed - no handler for errno 0
W/ContextImpl( 2434): Failed to ensure directory: /storage/sdcard1/Android/data/com.android.camera2/files
E/CameraService( 243): getCameraVendorTagDescriptor: camera hardware module doesn't exist
E/CameraMetadata-JNI( 2434): CameraMetadata_setupGlobalVendorTagDescriptor: Failed to setup vendor tag descriptors, received error No such device (-19)
W/CameraManager( 2434): Failed to set up vendor tags: The camera device is removable and has been disconnected from the Android device, or the camera service has shut down the connection due to a higher-priority access request for the camera device.
D/AndroidRuntime( 2434): Shutting down VM
E/AndroidRuntime( 2434): FATAL EXCEPTION: main
E/AndroidRuntime( 2434): Process: com.android.camera2, PID: 2434
E/AndroidRuntime( 2434): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.android.camera.CameraActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 2434):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
E/AndroidRuntime( 2434):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
E/AndroidRuntime( 2434):	at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 2434):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
E/AndroidRuntime( 2434):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2434):	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 2434):	at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 2434):	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 2434):	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 2434):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 2434):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 2434): Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 2434):	at com.android.camera.one.OneCameraManager.isCamera2Supported(OneCameraManager.java:107)
E/AndroidRuntime( 2434):	at com.android.camera.one.OneCameraManager.create(OneCameraManager.java:84)
E/AndroidRuntime( 2434):	at com.android.camera.one.OneCameraManager.get(OneCameraManager.java:71)
E/AndroidRuntime( 2434):	at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1335)
E/AndroidRuntime( 2434):	at android.app.Activity.performCreate(Activity.java:5933)
E/AndroidRuntime( 2434):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 2434):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
E/AndroidRuntime( 2434):	... 10 more
W/ActivityManager( 602): Force finishing activity com.android.camera2/com.android.camera.CameraActivity
I/WindowManager( 602): Screenshot max retries 4 of Token{8a397cd ActivityRecord{1a80b964 u0 com.android.camera2/com.android.camera.CameraActivity t8 f}} appWin=Window{2d006def u0 Starting com.android.camera2} drawState=4
E/ActivityManager( 602): Invalid thumbnail dimensions: 384x384
D/OpenGLRenderer( 602): Render dirty regions requested: true
D/Atlas ( 602): Validating map...
E/Sensors ( 2358): sns_debug_mr.c(656):Sensors DIAG Init: Waiting for debug service timed out
E/Sensors ( 2358): sns_debug_main.c(741):Sensors DIAG init: Can't register with debug
E/Sensors ( 2358): sns_init_la.c(239):Error 5 initializing sns_debug_test_init2
E/Sensors ( 2358): sns_main.c(1699):Exiting! sensor1_init failed with 5
I/OpenGLRenderer( 602): Initialized EGL, version 1.4
D/OpenGLRenderer( 602): Enabling debug mode 0
E/WindowAnimator( 602): Timeout waiting for animation to startup
W/AudioPolicyManager( 243): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
W/AudioPolicyManager( 243): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
W/AudioPolicyManager( 243): getOutput() could not find output for stream 1, samplingRate 44100,format 1, channels 3, flags 4
E/AudioTrack( 756): Could not get audio output for stream type 1, usage 13, sample rate 44100, format 0x1, channel mask 0x3, flags 0x4
E/SoundPool( 756): Error creating AudioTrack
W/ActivityManager( 602): Activity pause timeout for ActivityRecord{1a80b964 u0 com.android.camera2/com.android.camera.CameraActivity t8 f}
D/PhoneStatusBar( 756): disable: < expand icons* alerts system_info* back home* recent* clock search* >
I/ActivityManager( 602): Killing 1091:com.android.externalstorage/u0a6 (adj 15): empty #17
W/libprocessgroup( 602): failed to open /acct/uid_10006/pid_1091/cgroup.procs: No such file or directory
E/Sensors ( 2468): sns_reg_la.c(300):No SW version property. Remove all files if exist.
D/PhoneStatusBar( 756): disable: < expand icons alerts system_info back home recent clock search >
W/OpenGLRenderer( 1031): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
W/AudioPolicyManager( 243): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
W/AudioPolicyManager( 243): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
W/AudioPolicyManager( 243): getOutput() could not find output for stream 1, samplingRate 48000,format 1, channels 3, flags 4
E/AudioTrack( 602): Could not get audio output for stream type 1, usage 13, sample rate 48000, format 0x1, channel mask 0x3, flags 0x4
E/SoundPool( 602): Error creating AudioTrack
I/Process ( 2434): Sending signal. PID: 2434 SIG: 9
I/ActivityManager( 602): Process com.android.camera2 (pid 2434) has died

There seem to be some missing binaries as well

<3>[ 6.414638] init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64'
<3>[ 6.422125] init: cannot find '/system/bin/install-recovery.sh', disabling 'flash_recovery'
<3>[ 6.426308] healthd: wakealarm_init: timerfd_create failed
<3>[ 6.437258] init: cannot find '/system/bin/mm-qcamera-daemon', disabling 'qcamerasvr'
<3>[ 6.444230] init: cannot find '/system/bin/gsiff_daemon', disabling 'gsiff_daemon'

And this might be related to the audio

<6>[ 5.341978] pil-q6v5-lpass fe200000.qcom,lpass: adsp: loading from 0x05a00000 to 0x06c83000
<3>[ 5.353397] scm_call failed with error code -1
<3>[ 5.358837] pil-q6v5-lpass fe200000.qcom,lpass: adsp: Invalid firmware metadata
<3>[ 5.365213] adsp_state_notifier_fn: sysmon_send_event failed (-19).
<3>[ 5.371248] AO-Notify: Generel: 5
<3>[ 5.374700] L-Notify: Generel: 5
<3>[ 5.377899] adsp-loader qcom,msm-adsp-loader.42: adsp_loader_do: pil get failed,
<3>[ 5.385331] adsp-loader qcom,msm-adsp-loader.42: adsp_loader_do: Q6/ADSP image loading failed
<6>[ 5.429551] pil-q6v5-mss fc880000.qcom,mss: mba: loading from 0x0d100000 to 0x0d13a000
<3>[ 5.481251] pil-q6v5-mss fc880000.qcom,mss: PBL returned unexpected status -284491765
<3>[ 5.488428] pil-q6v5-mss fc880000.qcom,mss: mba: Failed to bring out of reset
<3>[ 5.495344] modem_notifier_cb: sysmon_send_event error -19

These tests were all conducted on a fresh build sync'ed around 4 hours ago with Sony Git repos and the V3 blobs from the Xperia developer center.

Flashed cache, system, userdata and boot using fastboot.

Oh and I didn't test Bluetooth but wifi works fine :)

Sorry if these belong elsewhere but it seems low level enough that it's kernel related.