There's something which needs to be merged so the apk could load: https://github.com/sonyxperiadev/SonyOpenTelephony/pull/10I saw reports of VoLTE on T-Mobile working on xz2c (AKA xz2 compact) with official lineageos 18.1 builds. So using the instructions on the LineageOS website, I flashed the more recent and presumably also working lineage-19.1-20220617-nightly-xz2c build on my Sony XZ2 Compact model H8314 over the stock 52.1.A.3.49 build. Everything seems to work fine except Voice over LTE (VoLTE) at least on T-Mobile in the US (Wi-Fi calling does not work either but I did not expect Wi-Fi Calling to work).
Calls go through but best I can tell it is not VoLTE as the mobile network switches back to 3G and there is not HD voice indicator. I attempted to set my preferred network type to LTE but then calls do not go through but instead immediately says "Call Ended." I've toggled VoLTE on and off in setting trying calls each way along with changing the network type as mentioned before. All to no avail.
Per this message, I did try taking the SIM out and putting in a known work VoLTE device (a stock Samsung S10 in this case) and indeed VolTE worked fine in that device but it still didn't
Is there something else I should try or do?
Might be the reason for the broken VoLTE. I'll investigate.