Xperia XA2: Stuck on "Sending 'boot.img'"
Apparently the XA2 doesn't play well with Linux and USB 3 so I solved it by using an old laptop with USB 2.0
https://together.jolla.com/question/193348/xa2-flashing-issues/