If it were a hardware issue there would be a significant number of complaints about XA2 GPS problems with the phones running Android. If you do a Google search you will find there is almost no GPS issues with the Android versions. By far the majority of issues you’ll find are for XA2’s running Sailfish. That is especially significant as the number of XA2’s running Sailfish is significantly less than those running Android. The common denominator is Sailfish OS.
I don’t accept the argument about hardware being the problem.