Asrock deskmini gtx ported bios Z370m

Hello,
I have an asrock deskmini gtx on b250m chipset,
I modified the bios to be able to place an I3 9300t (B0), its works very well but when I want to activate the xmp profile in the bios to be able to put my memory at 3200mhz it makes a black screen and I have to do a clear cmos.
I looked if I could change the frequency manually but it only offers 24OOmhz maximum, probably due to the limit of the chipset and processor.
Would it be possible to port the bios of the Z370 deskmini on my B250M
to be able to unlock the overclocking of the ram?
I have a programmer to flash the eeprom.
Thank you in advance for your help.
Herewith my modified bios and that of the original Z370m.

B250m.part1.rar (5 MB)

B250m.part2.rar (2.76 MB)

Z370m.part1.rar (5 MB)

Z370m.part2.rar (3.89 MB)