[Windows Phone 8 Q&A, Help & Troubleshooting] gauravss123:
gettting error 327681 in the last step.

I tried rolling back to windows phone 8.1 from windows 10 and got stuck on red screen on my lumia 520, and is thus identified as NOKIA FLASH by windows.

I followed this thread and also this video youtube video with ID = yKVnOA1vNp4 (being a new user i'm unable to post outside links)

whenever I try to run the command

thor2.exe -mode vpl -maxtransfersizekb 1 -vplfile C:\ProgramData\Nokia\Packages\Products\rm-914\RM914_059S1N6_3058.50000.1425.0001_790.vpl

I get the following output and it fails.

THOR2 1.8.2.18
Built for Windows @ 13:36:46 Jun 16 2015
Thor2 is running on Windows of version 6.2
thor2.exe -mode vpl -maxtransfersizekb 1 -vplfile C:\ProgramData\Nokia\Packages\Products\rm-914\RM914_059S1N6_3058.50000.1425.0001_790.vpl
Process started Sun Sep 20 00:54:50 2015
Logging to file C:\Users\Parivaar\AppData\Local\Temp\thor2_win_20150920005450_ThreadId-1944.log
Parsing VPL file C:\ProgramData\Nokia\Packages\Products\rm-914\RM914_059S1N6_3058.50000.1425.0001_790.vpl
Successfully parsed VPL
Flashing .ffu file RM914_3058.50000.1425.0001_RETAIL_im_india_269_01_444377_prd_signed.ffu (SW version 3058.50000.1425.0001)
Debugging enabled for uefiflash

Initiating FFU flash operation
WinUSB in use.
isDeviceInNcsdMode
isDeviceInNcsdMode is false
Device mode 6 Uefi mode
[THOR2_flash_state] Pre-programming operations
Disable timeouts
Get flashing parameters
Lumia Flash detected
Protocol version 1.15 Implementation version 1.28
Size of one transfer is 2363392
Size of buffer is 2359296
Number of eMMC sectors: 15269888
Platform ID of device: Nokia.MSM8227.P6036.1.2
Async protocol version: 01
Security info:
Platform secure boot enabled
Secure FFU enabled
JTAG eFuse blown
RDC not found
Authentication not done
UEFI secure boot enabled
SHK enabled
Device supports FFU protocols: 0019
[THOR2_flash_state] Device programming started
Using secure flash method
CoreProgrammer version 2015.06.10.001.
Start programming signed ffu file C:\ProgramData\Nokia\Packages\Products\rm-914\RM914_3058.50000.1425.0001_RETAIL_im_india_269_01_444377_prd_signed.ffu
FfuReader version is 2015061501
Send FlashApp write parameter: 0x4d544f00
Perform handshake with UEFI...
Flash app: Protocol Version 1.15 Implementation Version 1.28
DevicePlatformInfo: Nokia.MSM8227.P6036.1.2
Unknown sub block detected. Skip...
Unknown sub block detected. Skip...
Supported protocol versions bitmap is 19
Secure FFU sync version 1 supported.
Secure FFU async version 1 supported.
Secure FFU async version 3 supported.
Get CID of the device...
Get EMMC size of the device...
Emmc size in sectors: 15269888
CID: Samsung, Size 7456 MB
Start charging...
Requested write param 0x43485247 is not supported by this flash app version.
Start charging... DONE. Status = 0
Unable to send ECHO REQ or ECHO REQ not supported
Get security Status...
Security Status:
Platform secure boot is enabled.
Secure eFUSE is enabled.
JTAG is disabled.
RDC is missing from the device.
Authentication is not done.
UEFI secure boot is enabled.
Secondary HW key exists.
Get RKH of the device...
RKH of the device is F771E62AF89994064F77CD3BC16829503BDF9A3D506D3FACECAEF3F808C868FD
Get ISSW Version...
Get ISSW Version, SKIPPED!
Get system memory size...
Size of system mem: 524288 KB
Read antitheft status...
Requested read param 0x41545250 is not supported by this flash app version.
Send backup to RAM req...
Clearing the backup GPT...SKIPPED!
Successfully parsed FFU file. Header size: 0x000e0000, Payload size: 0x0000000060020000, Chunk size: 0x00020000, Header offset: 0x00000000, Payload offset: 0x00000000000e0000
RKH match between device and FFU file!
Option: Skip CRC32 check in use
Start sending header data...
Unable to send to header data to device!
Send of FFU header failed!
[IN] programSecureFfuFile. Closing C:\ProgramData\Nokia\Packages\Products\rm-914\RM914_3058.50000.1425.0001_RETAIL_im_india_269_01_444377_prd_signed.ffu
programming operation failed!
Operation took about 19.00 seconds.

THOR2_ERROR_UNABLE_TO_SEND_MESSAGE

THOR2 1.8.2.18 exited with error code 327681 (0x50001)

I have tried removing and inserting battery and reconnecting the phone to computer multiple times, but I always get this message.

I am using the windows phone recovery tool 2.1.2

and trying the process on windows 10.

Please help.