[Sony Xperia M5] Soler Basilius:
I tried xflasher v22 with Xperia M5 (e5603) on windows 7.

I checked my firmware with

fastboot get-var all
(bootloader) version-baseband: 1295-9162_30.2.A.0.100
(bootloader) version-bootloader: 1295-0246 S1_Boot_MT6795_M0.MP17.TC9SP

I took loader.sin using XperiFirm and correct firmware version.

Then run xflasher

xflasher.exe loader.sin 0 0 0FCE ADDE 0 0 >xflasher.log

And this is the output:

-------------------------------------------------------
Xperia Command Line Flasher v22

by Munjeni @ 2014,2017
-------------------------------------------------------
Device path: \\?\usb#vid_0fce&pid_adde#5&12809bec&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Class Description: USB-Controllers
Device Instance Id: USB\VID_0FCE&PID_ADDE\5&12809BEC&0&2

Successfully read 0xd bytes from handle.
Raw input [0xD]:

00000000 00 00 00 01 00 00 00 01 00 00 03 8F 93 .............

Successfully read 0x393 bytes from handle.
Raw input [0x393]:

00000000 50 52 4F 54 5F 56 45 52 3D 22 30 34 22 3B 56 45 PROT_VER="04";VE
00000010 52 3D 22 53 31 5F 42 6F 6F 74 5F 4D 54 36 37 39 R="S1_Boot_MT679
00000020 35 5F 4D 30 2E 4D 50 31 37 2E 54 43 39 53 50 5F 5_M0.MP17.TC9SP_
00000030 32 30 35 22 3B 53 31 53 42 4C 5F 56 45 52 3D 22 205";S1SBL_VER="
00000040 4D 54 36 37 39 35 5F 31 37 22 3B 49 44 3D 22 31 MT6795_17";ID="1
00000050 32 39 35 2D 30 32 34 36 22 3B 54 59 50 45 3D 22 295-0246";TYPE="
00000060 53 31 5F 42 4F 4F 54 22 3B 41 43 54 49 56 45 5F S1_BOOT";ACTIVE_
00000070 43 4F 4D 50 5F 41 49 44 3D 22 30 30 30 34 22 3B COMP_AID="0004";
00000080 4D 41 58 5F 50 4B 54 5F 53 5A 3D 22 30 30 38 30 MAX_PKT_SZ="0080
00000090 30 30 30 30 22 3B 49 47 4E 4F 52 45 5F 43 52 43 0000";IGNORE_CRC
000000A0 3D 22 48 44 52 2C 44 41 54 41 22 3B 44 45 46 5F ="HDR,DATA";DEF_
000000B0 53 45 43 3D 22 4F 4E 22 3B 48 57 43 4F 4E 46 5F SEC="ON";HWCONF_
000000C0 41 49 44 3D 22 30 30 30 34 22 3B 4C 4F 41 44 45 AID="0004";LOADE
000000D0 52 5F 41 49 44 3D 22 30 30 30 34 22 3B 42 4F 4F R_AID="0004";BOO
000000E0 54 5F 41 49 44 3D 22 30 30 30 34 22 3B 4E 4F 5F T_AID="0004";NO_
000000F0 53 55 42 5F 53 59 53 54 45 4D 53 3D 22 30 30 30 SUB_SYSTEMS="000
00000100 31 22 3B 4F 54 50 5F 44 41 54 41 5F 31 3D 22 30 1";OTP_DATA_1="0
00000110 34 30 30 22 3B 4F 54 50 5F 4C 4F 43 4B 5F 53 54 400";OTP_LOCK_ST
00000120 41 54 55 53 5F 31 3D 22 4C 4F 43 4B 45 44 22 3B ATUS_1="LOCKED";
00000130 55 4E 49 51 55 45 5F 44 45 56 5F 49 44 5F 31 3D UNIQUE_DEV_ID_1=
00000140 22 38 42 36 38 32 45 37 35 45 45 36 30 35 33 34 "8B682E75EE60534
00000150 34 22 3B 49 44 43 4F 44 45 5F 31 3D 22 39 35 36 4";IDCODE_1="956
00000160 37 30 30 30 30 30 30 30 30 30 30 30 30 22 3B 53 7000000000000";S
00000170 55 49 44 5F 31 3D 22 30 39 30 30 30 30 30 30 39 UID_1="090000009
00000180 35 36 37 30 30 30 30 33 35 35 43 46 44 30 38 36 5670000355CFD086
00000190 41 46 37 39 38 43 37 22 3B 53 31 5F 52 4F 4F 54 AF798C7";S1_ROOT
000001A0 3D 22 53 31 5F 52 6F 6F 74 5F 61 63 34 35 2C 53 ="S1_Root_ac45,S
000001B0 31 5F 52 6F 6F 74 5F 54 65 73 74 5F 62 33 31 36 1_Root_Test_b316
000001C0 22 3B 4D 53 4E 3D 22 59 54 39 31 31 43 41 51 32 ";MSN="YT911CAQ2
000001D0 37 22 3B 48 57 5F 43 4F 4E 46 49 47 5F 56 45 52 7";HW_CONFIG_VER
000001E0 3D 22 30 30 30 36 22 3B 48 57 5F 43 4F 4E 46 49 ="0006";HW_CONFI
000001F0 47 5F 49 4E 46 4F 3D 22 48 57 43 5F 43 68 61 6D G_INFO="HWC_Cham
00000200 62 61 6C 50 6C 75 73 5F 43 6F 6D 5F 30 30 33 22 balPlus_Com_003"
00000210 3B 53 45 43 5F 53 54 41 54 45 3D 22 48 57 43 5F ;SEC_STATE="HWC_
00000220 43 68 61 6D 62 61 6C 50 6C 75 73 5F 43 6F 6D 5F ChambalPlus_Com_
00000230 30 30 33 22 3B 49 4D 45 49 3D 22 33 35 34 31 38 003";IMEI="35418
00000240 38 30 37 35 37 32 30 39 36 22 3B 50 52 4F 44 5F 807572096";PROD_
00000250 49 44 3D 22 30 30 30 31 22 3B 47 4C 4F 42 5F 53 ID="0001";GLOB_S
00000260 45 43 3D 22 30 30 30 30 22 3B 50 48 4F 4E 45 5F EC="0000";PHONE_
00000270 49 44 3D 22 30 30 30 30 3A 33 35 34 31 38 38 30 ID="0000:3541880
00000280 37 35 37 32 30 39 36 22 3B 48 57 5F 43 4F 4E 46 7572096";HW_CONF
00000290 49 47 3D 22 53 31 5F 42 6F 6F 74 3A 30 30 30 34 IG="S1_Boot:0004
000002A0 3A 30 30 31 33 2C 53 31 5F 4C 6F 61 64 65 72 3A :0013,S1_Loader:
000002B0 30 30 30 34 3A 30 30 30 42 2C 53 31 5F 53 57 3A 0004:000B,S1_SW

Then it stops maybe for 120 seconds, and then it continues (the lonely colon is the last character of the first part)

:
000002C0 30 30 30 35 3A 30 30 31 33 2C 53 31 5F 43 75 73 0005:0013,S1_Cus
000002D0 74 3A 30 30 30 34 3A 30 30 31 33 2C 53 31 5F 45 t:0004:0013,S1_E
000002E0 4C 61 62 65 6C 3A 30 30 30 34 3A 30 30 31 33 2C Label:0004:0013,
000002F0 53 31 5F 53 4C 3A 30 30 30 34 3A 30 30 34 33 2C S1_SL:0004:0043,
00000300 53 31 5F 46 4F 54 41 3A 30 30 30 35 3A 30 30 32 S1_FOTA:0005:002
00000310 33 2C 53 31 5F 52 4C 6F 63 6B 3A 30 30 30 34 3A 3,S1_RLock:0004:
00000320 30 32 32 33 22 3B 52 4F 4F 54 49 4E 47 5F 53 54 0223";ROOTING_ST
00000330 41 54 55 53 3D 22 52 4F 4F 54 41 42 4C 45 22 3B ATUS="ROOTABLE";
00000340 50 4C 46 5F 52 4F 4F 54 5F 31 3D 22 31 39 43 43 PLF_ROOT_1="19CC
00000350 43 34 30 35 31 39 43 43 43 34 30 35 38 36 44 44 C40519CCC40586DD
00000360 41 35 42 34 38 36 44 44 41 35 42 34 35 36 43 33 A5B486DDA5B456C3
00000370 32 43 32 45 35 36 43 33 32 43 32 45 45 34 30 32 2C2E56C32C2EE402
00000380 45 43 31 34 45 34 30 32 45 43 31 34 22 3B 00 68 EC14E402EC14";.h
00000390 17 1F 63 ..c

ERROR: TIMEOUT: failed with error code 997 as follows:
Overlapped I/O operation is in progress
Successfully read 0x0 bytes from handle.
Raw input [0x0]:

Seems it is not safe now to flash anything more (even the cache.sin).