[Nexus 4 Q&A, Help & Troubleshooting] Streetwalker:
I get the screen glitch too but that doesn't make it unusable.

I'm also running into an issue causing people not hearing me and me not hearing anything during calls. It happens every time so it's basically unusable as a phone (still not a big deal since I text a lot more than I call).

These happen on a self build from monday, but it started several days before with the same build.

Today I tried building again and I get this error :

target thumb C++: libOmxVenc <= hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp
In file included from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_encoder.h:32:0,
from hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:34:
hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_base.h:76:0: warning: "LOG_TAG" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/native/include/binder/Binder.h:20,
from frameworks/native/include/binder/IInterface.h:21,
from frameworks/native/include/binder/IMemory.h:26,
from frameworks/native/include/binder/MemoryHeapBase.h:23,
from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_base.h:48,
from hardware/qcom/media/mm-video-legacy/vidc/venc/inc/omx_video_encoder.h:32,
from hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:34:
system/core/include/log/log.h:68:0: note: this is the location of the previous definition
Protoc: /home/danelkouby/android/system/out/target/product/mako/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/debug.pb.cc <= external/webrtc/src/modules/audio_processing/debug.proto
target Prebuilt: CMUpdater (/home/danelkouby/android/system/out/target/common/obj/JAVA_LIBRARIES/dashclockapi_intermediates/classes.jar)
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_open(OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:206:28: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:210:19: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_get_seq_hdr(void*, unsigned int, unsigned int*)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'unsigned char*' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:495:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
Protoc: /home/danelkouby/android/system/out/target/product/mako/obj/STATIC_LIBRARIES/libwebrtc_apm_intermediates/proto/external/webrtc/src/modules/audio_processing/test/unittest.pb.cc <= external/webrtc/src/modules/audio_processing/test/unittest.proto
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_param(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:630:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:630:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:986:10: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:960:3: warning: case value '2130706437' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:972:3: warning: case value '2130706463' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:992:3: warning: case value '2130706474' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1004:3: warning: case value '2130706475' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_config(void*, OMX_INDEXTYPE)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1078:3: warning: case value '2130706439' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::pmem_allocate(OMX_U32, OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1362:3: warning: format '%d' expects argument of type 'int', but argument 7 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_use_buf(void*, unsigned int, unsigned int)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1475:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::maxcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::actualcount' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::datasize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::suffixsize' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::alignment' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1476:57: warning: missing initializer for member 'venc_allocatorproperty::bufpoolid' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_free_buf(void*, unsigned int)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1574:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_slice_delivery_mode(OMX_BOOL)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:1775:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_profile_level(OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2058:7: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_period(OMX_U32, OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2151:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2151:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_entropy_config(OMX_BOOL, OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2175:17: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2195:17: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2209:11: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2209:40: error: 'struct venc_entropycfg' has no member named 'longentropysel'
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_refresh(OMX_VIDEO_INTRAREFRESHTYPE, OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2267:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_validate_profile_level(OMX_U32*, OMX_U32*)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2880:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2882:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2884:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_max_allowed_bitrate_check(OMX_U32)':
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2932:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2953:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2965:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media/mm-video-legacy/vidc/venc/src/video_encoder_device.cpp:2975:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
build/core/binary.mk:432: recipe for target '/home/danelkouby/android/system/out/target/product/mako/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o' failed