Logcat not working on my LG G4 (H815) I can't read the logcat from my phone. As an Android Developer, this is terrible for me. The message that I'm getting is:

logcat read failure


Looking the sources, it seems like a generic error:

Code from the source (Github, logcat.cpp)

while (!g_maxCount || (g_printCount &lt; g_maxCount)) {
    struct log_msg log_msg;
    log_device_t* d;
    int ret = android_logger_list_read(logger_list, &amp;log_msg);

    if (ret == 0) {
        logcat_panic(false, "read: unexpected EOF!\n");
    }

    if (ret &lt; 0) {
        if (ret == -EAGAIN) {
            break;
        }

        if (ret == -EIO) {
            logcat_panic(false, "read: unexpected EOF!\n");
        }
        if (ret == -EINVAL) {
            logcat_panic(false, "read: unexpected length.\n");
        }
        logcat_panic(false, "logcat read failure");
    }


My phone is rooted and has the bootloader unlocked. I'm using stock kernel. I've no clues. Any ideas, something to try?

Thanks in advance
Are you using a custom rom ?
I have the same problem, here is how I solved it partially:
Download this:
https://drive.google.com/file/d/0B7Mx2p0Jd24Jcm9fNEV6d0xDV1E/view

Put this file to root/system/bin an rename it to logd. Attribut -rwxr-xr-x (755) an reboot your Phone. After that logging works.
This file has been deleted because it consumes a lot of battery.
After logging, rename the file in logd.xxx and restart your phone. Thereafter, the battery consumption is reduced again.

More Description
http://forum.xda-developers.com/g4/help/guide-disable-logd-process-battery-drain-t3308921#post65168793

then download a logcat reader app from playstore.
Unfortunately, logcat from computer still don't work :( I'm still searching a solution for logcat from computer