[Nexus 4 Android Development] Maxr1998:
He guys, I'm having the extremely bugging problem, that my mako very often (and more or less random, e.g. every two boots, but sometimes many times in a row) gets a bootloop directly after boot. I already had this on 5.0, but even after a clean flash to 5.1 the issue hasn't disappeared. As I'm using Xposed and a custom kernel, I acknowledge I can't ask you for a full support, but I would like to know from users if they have the same problem of if they know how to fix it.

Anyway, I always get these cryptic logcat outputs after a bootloop/stuck at boot:

D/ ( 226): csd_client_init
E/ ( 226): csd_client_service_init: Invalid rx device 0, setting to handset
E/ ( 226): csd_client_service_init: Invalid tx device 0, setting to handset
E/QMI_FW ( 226): xport_open: socket creation failed - 1
E/Diag_Lib( 226): Diag_LSM_Init: Failed to open handle to diag driver, error = 2
E/kickstart( 598): 786472 bytes transferred in 0.071s (10.52 MBps)
E/kickstart( 598): Wrote to /sys/power/wake_unlock
E/kickstart( 598): Wrote to /sys/power/wake_lock
E/kickstart( 598): Requested ID 17, file "/data/qcks/efs2.bin"
E/kickstart( 598): 786472 bytes transferred in 0.068s (11.08 MBps)
E/kickstart( 598): Wrote to /sys/power/wake_unlock
E/kickstart( 598): Wrote to /sys/power/wake_lock
E/kickstart( 598): Requested ID 20, file "/data/qcks/efs3.bin"
E/kickstart( 598): 786472 bytes transferred in 0.076s (9.91 MBps)
E/kickstart( 598): Wrote to /sys/power/wake_unlock
E/kickstart( 598): Wrote to /sys/power/wake_lock
E/kickstart( 598): Requested ID 29, file "/data/qcks/acdb.bin"
E/kickstart( 598): 2097192 bytes transferred in 0.188s (10.66 MBps)
E/kickstart( 598): Wrote to /sys/power/wake_unlock
E/kickstart( 598): Wrote to /sys/power/wake_lock
E/kickstart( 598): Requested ID 6, file "/firmware/image/apps.mbn"
E/kickstart( 598): 2630368 bytes transferred in 0.291s (8.61 MBps)
E/kickstart( 598): Wrote to /sys/power/wake_unlock
E/kickstart( 598): Sahara protocol completed
E/kickstart( 598): Removing linked list of input files
E/kickstart( 598): Removing linked list of input files
I/kickstart-qcks( 211): RetCode = 0
E/kickstart-qcks( 211): Sahara transfer completed successfully
E/kickstart-qcks( 211): Spawning efsks
I/kickstart-efsks( 616): EFS_TTY='/dev/efs_hsic_bridge'
I/kickstart-efsks( 616): Parsing 'where to save memorydump' options
I/kickstart-efsks( 616): PathToSaveFiles='/dev/block/platform/msm_sdcc.1/by-name/'
I/kickstart-efsks( 616): EFSKS parameters
I/kickstart-efsks( 616): EFS_TTY='/dev/efs_hsic_bridge'
I/kickstart-efsks( 616): ks_path='/system/bin/ks'
I/kickstart-efsks( 616): PathToSaveFiles='/dev/block/platform/msm_sdcc.1/by-name/'
I/kickstart-efsks( 616): RX_Timeout=-1
E/kickstart-efsks( 616): File '/dev/efs_hsic_bridge' was not found
E/kickstart-efsks( 616): /dev/efs_hsic_bridge does not exist.
E/Diag_Lib( 230): Diag_LSM_Init: Failed to open handle to diag driver, error = 2
E/kickstart-efsks( 616): RUNNING: '/system/bin/ks -m -w /dev/block/platform/msm_sdcc.1/by-name/ -p /dev/efs_hsic_bridge -t -1 -l'
E/kickstart( 620): Wrote to /sys/power/wake_lock
E/kickstart( 620): Wrote to /sys/power/wake_unlock
E/QMI_FW ( 226): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 226): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 226): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 226): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 226): QMUXD: Service_id=20 not found over conn_id=0
E/ext_speaker( 226): open_speaker_bundle: DLOPEN failed for /system/lib/soundfx/libspeakerbundle.so
I/AudioFlinger( 226): loadHwModule() Loaded primary audio interface from QCOM Audio HAL (audio) handle 1
I/AudioFlinger( 226): HAL output buffer size 240 frames, normal sink buffer size 960 frames
I/AudioMixer( 226): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/MonoPipe( 226): Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
E/Diag_Lib( 224): Diag_LSM_Init: Failed to open handle to diag driver, error = 2
E/kickstart( 620): Wrote to /sys/power/wake_lock
E/kickstart( 620): Received file "/dev/block/platform/msm_sdcc.1/by-name/m9kefs2"
E/kickstart( 620): 786432 bytes transferred in 0.284s (2.64 MBps)
E/kickstart( 620): Successfully downloaded files from target
E/kickstart( 620): Wrote to /sys/power/wake_unlock
E/kickstart( 620): Sahara protocol completed

The thing extremely strange is that Sahara protocol, from which I couldn't say what it belongs too..

BTW, I looked through the whole logs, and no sign of Xposed or module incompatibility.