[Sony Cross-Device General] wnijiko:
Hi @munjeni my phone is xperia 5 II XQ-AS72.I bought it from China and flash it into sw ver: 58.0.A.28.51,customised SEA,as newflasher processing dsp_X-FLASH-ALL-2389.sin,it shows ERROR WRITE

when I move the dsp.sin file out of the folder it completed the flash,all things were fine and I thought no big deal so I didn't report it but I can't get the OTA.

so I download the 58.1.A.1.178 SEA through xperifirm and use newflasher v40,it happened again.

What caused the issue? thank u for help

this is the full log

--------------------------------------------------------
newflasher.exe v40 by Munjeni @ 2017/2020
--------------------------------------------------------

Determining available free space by GetDiskFreeSpaceEx:

Available space to caller = 10898 MB
Total space on current drive = 141795 MB
Free space on drive = 10898 MB

Reboot mode at the end of flashing:
typa 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.
a

Optional step! Type 'y' and press ENTER if you need GordonGate flash driver, or type 'n' to skip.
This creates GordonGate driver installer in the same dir with newflasher.exe!
n
Device path: \\?\usb#vid_0fce&pid_b00b#8&3a6eeffa&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Class Description: SOMC Flash Device
Device Instance Id: USB\VID_0FCE&PID_B00B\8&3A6EEFFA&0&1

Optional step! Type 'y' and press ENTER if you want dump trim area, or type 'n' and press ENTER to skip.
Do in mind this doesn't dump drm key since sake authentifiction is need for that! But it is recommend to have dump in case hard brick!
n
Product: XQ-AS72
Version: 0.4
Bootloader version: 1320-2827_X_Boot_SM8250_LA1.0.1_Q_51
Baseband version: 58.0.A.28.51
Serialno: QV7208752
Secure: yes
Loader version: XFL-EDO-SM8250-16
Phone ID: 0000:3XXXX,0000:3XXXX
Device ID: CXXXX
Platform ID: 200C30E1
Max download size: 104857600
Sector size: 4096
Rooting status: ROOTABLE
Ufs info: SAMSUNG,KLUEG8UHDB-C2D1,1000
Emmc info: FAILEmmc-info not supported
Default security: ON
Keystore counter: 2
Security state: 9hVHs82HDVbmXdpJ3fHpaod1NV4/GQSuzrwwyrEcD9s=
Sake root: 19408654C25217EDC7BEF2FED8FB
S1 root:
Root key hash: 502D5117AE7B00D9F89E4EAE078EE07D347F313333898EB57EB909BDA341D53D477719408654C25217EDC7BEF2FED8FB
Slot count: 2
Current slot: a

Device is put now in flash mode.

Repartitioning...
Found partition_delivery.xml in partition folder.
Determining LUN0 size...
UFS raw data[0xA9]:

00000000 40 00 00 00 00 00 03 04 01 00 01 7F 00 01 04 00 @...............
00000010 03 00 08 20 00 01 02 03 01 CE 10 10 02 00 00 81 ... ............
00000020 01 20 00 00 20 00 00 00 00 00 04 00 00 00 00 00 . .. ...........
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000040 23 02 00 01 00 00 00 00 00 00 0C 00 00 00 00 03 #...............
00000050 B9 48 00 00 00 00 01 03 00 00 00 00 03 B9 48 00 .H............H.
00000060 00 00 00 23 02 01 01 01 01 00 00 03 00 0C 00 00 ...#............
00000070 00 00 00 00 08 00 00 00 00 01 03 00 00 00 00 00 ................
00000080 00 08 00 00 00 00 23 02 02 01 02 01 00 00 03 00 ......#.........
00000090 0C 00 00 00 00 00 00 08 00 00 00 00 01 03 00 00 ................
000000A0 00 00 00 00 08 00 00 00 00 .........

LUN0 size = 249896960

Processing partition-image-LUN0_124936192_X-FLASH-ALL-2389.sin
Skipping partition-image-LUN0_124936192_X-FLASH-ALL-2389.sin

Processing partition-image-LUN0_249896960_X-FLASH-ALL-2389.sin
- Extracting from partition-image-LUN0_249896960_X-FLASH-ALL-2389.sin
- Extracting signature partitionimage_0.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\partition\partitionimage_0.cms
signature:0000089c
OKAY.
- Extracting sparse chunk partitionimage_0.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\partition\partitionimage_0.000
download:00006000
OKAY.
Repartition:0
OKAY.
- End of partition-image-LUN0_249896960_X-FLASH-ALL-2389.sin

Processing partition-image-LUN1_8192_X-FLASH-ALL-2389.sin
- Extracting from partition-image-LUN1_8192_X-FLASH-ALL-2389.sin
- Extracting signature partitionimage_1.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\partition\partitionimage_1.cms
signature:0000089c
OKAY.
- Extracting sparse chunk partitionimage_1.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\partition\partitionimage_1.000
download:00006000
OKAY.
Repartition:1
OKAY.
- End of partition-image-LUN1_8192_X-FLASH-ALL-2389.sin

Processing partition-image-LUN2_8192_X-FLASH-ALL-2389.sin
- Extracting from partition-image-LUN2_8192_X-FLASH-ALL-2389.sin
- Extracting signature partitionimage_2.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\partition\partitionimage_2.cms
signature:0000089c
OKAY.
- Extracting sparse chunk partitionimage_2.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\partition\partitionimage_2.000
download:00006000
OKAY.
Repartition:2
OKAY.
- End of partition-image-LUN2_8192_X-FLASH-ALL-2389.sin

Processing .sin files...
Created ouput folder flash_session

Processing appslog_X-FLASH-ALL-2389.sin
- Extracting from appslog_X-FLASH-ALL-2389.sin
- Extracting signature appslog.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\appslog.cms
signature:00000893
OKAY.
- Extracting sparse chunk appslog.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\appslog.000
download:00002000
OKAY.
erase:appslog
OKAY.
flash:appslog
OKAY.
- End of appslog_X-FLASH-ALL-2389.sin

Processing bluetooth_X-FLASH-ALL-2389.sin
- Extracting from bluetooth_X-FLASH-ALL-2389.sin
- Extracting signature bluetooth.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\bluetooth.cms
signature:00000895
OKAY.
- Extracting sparse chunk bluetooth.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\bluetooth.000
download:000a3000
OKAY.
Partition: bluetooth have slot: yes
erase:bluetooth_a
OKAY.
flash:bluetooth_a
OKAY.
- End of bluetooth_X-FLASH-ALL-2389.sin
- Extracting from bluetooth_X-FLASH-ALL-2389.sin
- Extracting signature bluetooth.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\bluetooth.cms
signature:00000895
OKAY.
- Extracting sparse chunk bluetooth.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\bluetooth.000
download:000a3000
OKAY.
Partition: bluetooth have slot: yes
erase:bluetooth_a
OKAY.
flash:bluetooth_a
OKAY.
- End of bluetooth_X-FLASH-ALL-2389.sin

Processing boot_X-FLASH-ALL-2389.sin
- Extracting from boot_X-FLASH-ALL-2389.sin
- Extracting signature boot.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\boot.cms
signature:00000890
OKAY.
- Extracting sparse chunk boot.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\boot.000
download:06000000
OKAY.
Partition: boot have slot: yes
erase:boot_a
OKAY.
flash:boot_a
OKAY.
- End of boot_X-FLASH-ALL-2389.sin

Processing diag_X-FLASH-ALL-2389.sin
- Extracting from diag_X-FLASH-ALL-2389.sin
- Extracting signature diag.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\diag.cms
signature:00000890
OKAY.
- Extracting sparse chunk diag.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\diag.000
download:00002000
OKAY.
erase:diag
OKAY.
flash:diag
OKAY.
- End of diag_X-FLASH-ALL-2389.sin

Processing dsp_X-FLASH-ALL-2389.sin
- Extracting from dsp_X-FLASH-ALL-2389.sin
- Extracting signature dsp.cms
- Uploading signature D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\dsp.cms
signature:0000088f
OKAY.
- Extracting sparse chunk dsp.000
- Uploading sparse chunk D:\Software\Xperia 5 II\XQ-AS72_Customized SEA_58.1.A.1.178\flash_session\dsp.000
download:04000000
ERROR: TIMEOUT: failed with error code 997 as follows:
Overlapped I/O operation is in progress.
- Error write! Need nBytes: 0x200000 but done: 0x0
nBytes[0x0]:

Error uploading chunk 7!

ERROR: TIMEOUT: failed with error code 997 as follows:
Overlapped I/O operation is in progress.
- Error, no set_active:a OKAY reply!
Sent command: Sync
Waiting sync to finish...
........................... error, no sync response!
Closing device.
Press any key to continue . . .