[Sony Xperia X Questions & Answers] Are G. Bee:
I would respectably disregard the previous suggestion to return your phone as this appears to be an issue with Sony's app and nothing at all to do with the stability of the hardware itself.

When I first ran the diagnostics, all tests except the proximity sensor passed; including both speaker tests. I restarted the phone, reran the test, and the proximity sensor test passed without further troubleshooting. Unfortunately this time both speaker tests decided to randomly fail? I called my voicemail and the earphone speaker worked without issue, so I then turned on the loud speaker and it also appeared to work just fine.

I did this a couple more times and got the same results so I decided to troubleshoot the issue a bit further, and what I found was that Sony's app appears to wrap around built in diagnostics commands; which are the same commands that can be accessed and/or ran via the "Service Menu". After running both speaker tests from the Service Menu, I can confirm that the "real" diagnostics commands work just fine and sounds could be heard during both tests.

Please follow the steps below and see if manually running the diagnostics commands via the "Service Menu" produces different results then those provided by the Sony Support app.

1. Turn your volume up!

2. Dial *#*#7378423#*#*

3. Select "Service tests"

4. Select "Speaker" and listen for sound

5. Select "Earphone", then place the phone to your ear and listen for sound

If steps 4 & 5 play a sound, rest assured that your hardware is functioning just fine and a replacement WILL NOT BE NEEDED. If you are still unable to hear anything then keep on reading as the solution for me was literally nothing more then changing my ringtone back to a default tone.

There was only one variable that made sense here which was that I had changed my ringtone to a custom file stored on my SD card just before restarting my phone after the first test. So instead of assuming it was hardware related, right from the start my assumption was that the Sony Support app has a bug and could not properly link to ringtones that are stored outside of the default system location. I was able to verify this by changing my ringtone back to the default tone and re-running the Sony diagnostics and confirming that both tests produced sound just fine. Now if you still cannot get sound then I would suggest contacting Sony support to inquire further. If a replacement is actually needed, they will let you know.

Now...with regards to the rushed suggestion to replace your device...I feel I must comment towards such a ridiculously rushed conclusion...

Simply put, it's not right to send people on a wild goose chase without first taking the time to test things out for yourself... even a tiny lil itsty bit? Personally, I know I'd be pissed right off if I found out that I sent in my phone without there actually being a problem with it, and whether you realized it or not,, that is actually the least of the potential consequences? You really should have considered that some people might have to pay to ship it, and others might have to drive an hour or two to get to the nearest repair centre? So maybe...just maybe...even the simplest of suggestions like "restart your phone" or "ask google!", prior to suggesting that someone should replace it, would have proven to be infinitely more useful? I hate to be rude, and I get that you were just trying to help, but if you don't want to spend any time at all to test anything out for yourself, then maybe it is best to not comment on the issue in the first place? Just simply let them wait for someone who is...

This is just my two cents, but I firmly believe that no advice is better then bad advice...

EDIT:

Model: XA2 Ultra (H3223)

Build: 50.1.A.13.83 (Stock Rom)

Sony Support Version: 4.2.10

So I found 2 other issue with Sony's diagnostics tests.

1. When you run the wifi test it will pass, but it will leave your wifi disabled afterwards and it will not allow it to be turned back on until the phone is restarted. Manual testing worked just fine.

2. When you run the ambient light test, the image provided by Sony will show, but it will already be faded while under normal light conditions. It will work while under a bright light, but it does not function correctly under normal conditions. Manual testing works just fine.