Creating bios with re-bar for z270x gaming5

Hi, Im using qqlt procesor on z270x gaming 5. I wanted to be able turn on re-bar, so i flashed bios from z370x gaming 7. I had No faith it will run, but it turned out it will. So now i could switch on re bar in bios even gpu-z showed its enabled. But in radeon drivers it coudnt turn on. So i reinstalaed drivers and reboot system, but it was instant blue screen. After that I reinstaled windows. Now I can log into windows but then I will get blue screen. Im pretty sure there is a way to modify z270x bios to be able run re-bar. Maybe someone know how and could help me out, because as far i can flash bios, i dont know how to modify it. Thanks.