Rog phone 5 and 5s uses a same câmera software than snapdragon fone?
Snapdragon phone its one of top in dxo rank.
And rog phone uses a same sensor.
Only the sensor is same there are a lot of other differences like ois for one and that snapdragon phone has some specific camera additions by Qualcomm
Just same sensors won't make two phones perform similar for example look at the zenfone 8 it has the same imx 686 but it's better optimized and performs better camera wise