I have a Huawei P9 Plus smartphone. Android 6 with EMUI 4.1.1 was preinstalled.

I'm using adb shell getevent -t /dev/input/event5 to show all the touch events. On Android 6 with EMUI 4.1.1 this works very well. Now I have update to Android 7 with EMUI 5 but now getevent became very laggy and does not respond to every touch event.

Does somebody know why this happens or how this can be resolved?

Edit: I think I have found the problem. It seems to be the case that the events get cached and only sent to the console after a certain amount. How can I disable this caching?