I did some flashing in WPInternals program on my Microsoft Lumia 640 XL Dual SIM (RM-1067 with 0****4 product code). This process ended due to error, phone showed Flash mode (red screen with rounded arrows) and didn't respond. I tried to reboot it pressing 15 seconds power button, but it made it black screen and EDL Mode (Qualcomm HS-USB QDLoader 9008 (COM4) in Task manager) . And from that moment I can't recover it. Same procedure worked with other phone - Lumia 830 (RM-984 with 0*****8 product code) . How to recover it?
Output from thor2:
C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool>thor2 -mode emergency -protocol sahar -hexfile "C:\Users\Admin\Downloads\MPRG8x26_fh_suc.edp" -edfile "C:\Users\Admin\Downloads\RM1067_fh_suc.edp"
THOR2 1.8.2.18
Built for Windows @ 13:36:46 Jun 16 2015
Thor2 is running on Windows of version 6.2
thor2 -mode emergency -protocol sahara -hexfile C:\Users\Admin\Downloads\MPRG8x26_fh_suc.edp -edfile C:\Users\Admin\Downloads\RM1067_fh_suc.edp
Process started Fri Oct 10 15:32:00 2025
Logging to file C:\Users\Admin\AppData\Local\Temp\thor2_win_20251010153200_ThreadId-Removed PII.log
File C:\Users\Admin\Downloads\MPRG8x26_fh_suc.edp is not found
Operation took about 0.00 seconds.
Usage: thor2 -mode [MODE] -[ARGUMENT]... -[FLAG]...
Try `thor2 --help' for more information.
C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool>thor2 -mode emergency -protocol sahara -hexfile "C:\Users\Admin\Downloads\MPRG8x26_fh_suc.ede" -edfile "C:\Users\Admin\Downloads\RM1067_fh_suc.edp"
THOR2 1.8.2.18
Built for Windows @ 13:36:46 Jun 16 2015
Thor2 is running on Windows of version 6.2
thor2 -mode emergency -protocol sahara -hexfile C:\Users\Admin\Downloads\MPRG8x26_fh_suc.ede -edfile C:\Users\Admin\Downloads\RM1067_fh_suc.edp
Process started Fri Oct 10 15:32:35 2025
Logging to file C:\Users\Admin\AppData\Local\Temp\thor2_win_20251010153235_ThreadId-removed PII.log
Debugging enabled for emergency
Initiating emergency download for RnD.
Create emergency messaging...
Create emergency messaging...END
Checking trace_usb...END
setHandshakeMessageStorageStatus...
setHandshakeMessageStorageStatus...END
Get connectionString...
Get connectionString...END
Open messaging...
Open messaging...END
Forced Sahara protocol
Create EmergencyProgrammer V3..
Create EmergencyProgrammer V3..END
EMERGENCY FLASH START
Emergency Programmer V3 version 2015.03.09.001
ED download selected
Sahara image entries START
0x0D, C:\Users\Admin\Downloads\MPRG8x26_fh_suc.ede, true
Sahara image entries END
Starting Sahara emergency download
Entering state WAIT_HELLO
HELLO packet already received as handshake message
Erased stored HELLO packet
Sending HELLO_RESP
HELLO_RESP sent
Entering state WAIT_COMMAND
READ_DATA received
Opening image C:\Users\Admin\Downloads\MPRG8x26_fh_suc.ede
Image opened successfully
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
READ_DATA received
Sending RAW_DATA
RAW_DATA sent
END_IMAGE_TX received
END_IMAGE_TX with success status
Closing image C:\Users\Admin\Downloads\MPRG8x26_fh_suc.ede
Image closed successfully
Sending DONE
DONE sent
Entering state WAIT_DONE_RESP
DONE_RESP received
Stopped Sahara emergency download (status code = 0)
Emergency Programmer V3 version 2015.03.09.001
EDPAYLOAD download selected
Sending firehose single image
Waiting for Ed ready message, timeout 500 ms
Waiting for Ed ready message...DONE, status 0
Handling ed image C:\Users\Admin\Downloads\RM1067_fh_suc.edp to partition EMERGENCY
Image opened successfully for reading
Payload tool:
Apr 4 2014 08:12:09 Version 000.000.003
Payload generation info:
Fri Jun 20 06:56:17 2014
SW_ID: removed PII, KCI:1303, MSM_ID:removed PII, RKH: removed PII
Send signature (Here it stucks for maybe infinite time, I can press ^C or dissconect phone, I made one of them)
Message send failed with error code 31
Failed to send signature!
Handling ed image ended with status 85021
EMERGENCY FLASH END
Emergency messaging closed successfully
Operation took about 1 minute, 5 seconds.
THOR2_EMERGENCYFLASHV1_ERROR_MSG_SEND_RECEIVE_FAILED
THOR2 1.8.2.18 exited with error code 85021 (0x14C1D)
C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool>