ok, so I can confirm, that if I run compilations as userdebug, with "system ui has stopped" issues is gone and linux console is accesible and controlable. This is valid for Android 6 and Android 7.
so sorry, that I'm gave up that way, I have something else to do. I'm ok for sure with this debug image, what ever is means.
For 32bit compilations I follows the doc, just
$ source build/envsetup.sh
$ lunch kvim-userdebug-32
$ make -jN otapackage
for 64bit system I have issues with not enought host memory (limit JDK to use only 4GB), so I need that, first
and than I can do compilations, similary like
make -j4 otapackage
hope is helps Gytis and others... that userdebug helps me.
note: Obviously needs to be add these rule updates, atleast I'm add for compilation