*** YOU NEED TO REGISTER ON THE FORUM BEFORE YOU CAN ACCESS THE DOWNLOAD LINK ***
INSTALLATION INSTRUCTIONS
http://www.xperiablog.net/2015/03/17/guide-to-installing-xperia-lollipop-using-xperifirm-and-flashtool/
- Open link above and skip to the section entitled “FlashTool steps”.
- As you have already downloaded the FTF firmware file, skip to the section where you need to “Flash device”.
XPERIA FIRMWARE DETAILS
This is official stock Sony Xperia firmware.
Model: Sony Xperia M5 (E5653)
Firmware version: 30.1.A.1.46_R1A
Region: Singapore (Generic) [1298-1168]
Android version: 5.1

Xperia M5_E5653_30.1.A.1.46_Singapore_Generic 5.1
Sony Xperia M5 (E5653) Android 5.1 firmware - Generic Singapore