I would definitely start with Android, just to be sure that there is a working hardware configuration for VoLTE in your case.
Starting from here, flashing with 4.6.15 is expected to work with VoLTE with NOS in Portugal. I did daily drive the Xperia 10 iii with SFOS and NOS SIM enabled and registered VoLTE some months (Q3/24 till 02/25) prior to my current Volla. I cannot remember that some tweaking or a specific Sony binary was required, it just worked out of the box upon inserting the SIM…
Best of luck