I guess I solved it by reflashing the firmware with ubports installer. Wipe personal data - off, bootstrap (flash system partitions with fastboot) - on. However, all user data was deleted, even though I did not check the "wipe userdata" on ubports installer. Bit sad, but nothing major was ...