Sony Device Build Quality

It’s software related for sure. I bought second hand XA2 for EA etc. testing/spare part phone since J1 is no longer updated. It’s still running android since I haven’t had time to flash it yet. When I put them side by side to take picture, difference is notable especially in low light conditions.