First I had R4AC Xioami router
No matter how many times I tried I didn't manage to install openwrt on it. It is not my skill issue but either model or wrong openwrt documentation or wrong firmware etc.
Then I bought 4A Gigabit version
I installed openwrt to that router at first attempt, it just worked.
So it seems there is some problems with r4ac model I experienced myself.