Download Sony Xperia XA F3116 DUAL official firmware from the link here, and follow the provided flashing instructions to learn how to flash the stock rom.
If you notice that any of the links provided below is broken or doesn’t work, please post in comments section so we fix and update it ASAP.
File Name: F3116_33.2.B.3.105_IN.ftf
Size: 2.16 GB
Android version: 6.0
Firmware – Download
How to flash
After downloading any of the above firmware, follow the instructions here to flash.