I also tried on XA and got exact same output. I tried on Xperia E5 either and same output.
All those devices are MTK based devices. I think it will fail on any MTK based devices.
Edit : tested on Xperia C5 dual, MTK based too and it's working fine :)