question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to write to pipe error when I want to unlock bootloader

See original GitHub issue

Description

Hi, namely I want to unlock my Lumia 640, but when I try to do so, then it shows that error.

Steps To Reproduce

I’m using RM-1085 donor FFU, and original FFU with the original Emergency Programmer.

Expected behavior

photo_2021-08-19_19-17-51

WPinternals Version

v2.8-v.2.9.2

Windows Version

Windows 11 10.0.22200.132

Phone model

Lumia 640 LTE (RM-1072)

Relevant Assets

2021-08-19 19:22:43.466: Windows Phone Internals version 2.9.7894.11970 2021-08-19 19:22:43.476: Copyright Heathcliff74 / wpinternals.net 2021-08-19 19:22:53.193: Flash App Type: FlashApp 2021-08-19 19:22:53.197: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:22:53.197: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:22:53.197: Connected device: Lumia 2021-08-19 19:22:53.197: Mode: Flash 2021-08-19 19:22:53.443: Phone type: RM-1072 2021-08-19 19:22:53.443: Product code: 059X1Q5 2021-08-19 19:22:53.444: Root key hash: 831BE6B18E7006372069545885A80F786C33D064904732D39EFBE0EC7019B5D4 2021-08-19 19:22:53.444: Firmware version: 02177.00000.15221.30000 2021-08-19 19:22:53.444: IMEI: 351858072581669 2021-08-19 19:22:53.444: Flash app: 2.60 2021-08-19 19:22:53.444: Flash protocol: 2.37 2021-08-19 19:22:53.444: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:22:53.444: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:22:53.444: JTAG: Disabled 2021-08-19 19:23:01.302: FFU not added, because it was already present in the repository. 2021-08-19 19:23:01.303: Emergency files not added, because they were already present in the repository. 2021-08-19 19:23:01.614: FFU not added, because it was already present in the repository. 2021-08-19 19:23:01.614: Unlock Bootloader 2021-08-19 19:23:01.614: Processing resources: 2021-08-19 19:23:01.614: Profile FFU: D:\ścierwo\Lumia 640 stuff\WPinternals 2.8\RM1072_02177.00000.15221.30005_RETAIL_prod_signed_1022_026134_ORG-PL(1).ffu 2021-08-19 19:23:01.615: EDE file: C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\MPRG8x26_fh.ede 2021-08-19 19:23:01.615: Donor-FFU with supported OS version: D:\ścierwo\Lumia 640 stuff\WPinternals 2.8\RM1085_1078.0053.10586.13169.12584.034D55_retail_prod_signed.ffu 2021-08-19 19:23:03.368: Assembling data for unlock 2021-08-19 19:23:03.369: Assembling data for unlock 2021-08-19 19:23:03.440: Attempt patch: SecureBootHack-V2-EFIESP 2021-08-19 19:23:03.446: Pattern: 0, 0 2021-08-19 19:23:03.446: Pattern: 1, 0 2021-08-19 19:23:03.446: Pattern: 2, 0 2021-08-19 19:23:03.446: Pattern: 3, 0 2021-08-19 19:23:03.446: Pattern: 4, 0 2021-08-19 19:23:03.446: Pattern: 5, 0 2021-08-19 19:23:03.446: Pattern: 6, 0 2021-08-19 19:23:03.446: Pattern: 7, 0 2021-08-19 19:23:03.446: Pattern: 8, 0 2021-08-19 19:23:03.446: Pattern: 9, 0 2021-08-19 19:23:03.446: Pattern: 10, 0 2021-08-19 19:23:03.447: Pattern: 11, 0 2021-08-19 19:23:03.447: Pattern: 12, 0 2021-08-19 19:23:03.447: Pattern: 13, 0 2021-08-19 19:23:03.447: Pattern: 14, 0 2021-08-19 19:23:03.447: Pattern: 15, 0 2021-08-19 19:23:03.447: Pattern: 16, 0 2021-08-19 19:23:03.447: Pattern: 17, 0 2021-08-19 19:23:03.447: Pattern: 18, 0 2021-08-19 19:23:03.447: Pattern: 19, 0 2021-08-19 19:23:03.447: Pattern: 20, 0 2021-08-19 19:23:03.447: Donor-FFU: D:\ścierwo\Lumia 640 stuff\WPinternals 2.8\RM1085_1078.0053.10586.13169.12584.034D55_retail_prod_signed.ffu 2021-08-19 19:23:03.538: Taking mobilestartup.efi from donor-FFU 2021-08-19 19:23:03.567: Attempt patch: SecureBootHack-V2-EFIESP 2021-08-19 19:23:03.571: Pattern: 0, 0 2021-08-19 19:23:03.572: Pattern: 1, 0 2021-08-19 19:23:03.572: Pattern: 2, 0 2021-08-19 19:23:03.572: Pattern: 3, 0 2021-08-19 19:23:03.572: Pattern: 4, 0 2021-08-19 19:23:03.572: Apply: 10.0.10586.318 2021-08-19 19:23:03.620: Edit BCD 2021-08-19 19:23:03.715: Enabling Test Signing 2021-08-19 19:23:03.715: Enabling Test Signing 2021-08-19 19:23:04.372: Initializing flash… 2021-08-19 19:23:04.372: Rebooting phone 2021-08-19 19:23:04.435: Lumia disconnected 2021-08-19 19:23:10.123: Flash App Type: FlashApp 2021-08-19 19:23:10.127: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:10.127: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:10.127: Connected device: Lumia 2021-08-19 19:23:10.128: Mode: Flash 2021-08-19 19:23:10.228: Flash app: 2.60 2021-08-19 19:23:10.228: Flash protocol: 2.37 2021-08-19 19:23:10.228: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:10.228: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:10.228: JTAG: Disabled 2021-08-19 19:23:10.237: Hashing resources… 2021-08-19 19:23:10.410: No flashing profile found 2021-08-19 19:23:10.410: Custom flash attempt: 1 of 64 2021-08-19 19:23:10.410: Scanning for flashing-profile - attempt 1 of 64 2021-08-19 19:23:10.872: Custom flash attempt failed 2021-08-19 19:23:10.882: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:23:10.882: Error 0x1003: Hash mismatch 2021-08-19 19:23:10.994: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:23:10.994: Rebooting phone 2021-08-19 19:23:11.141: Lumia disconnected 2021-08-19 19:23:16.837: Flash App Type: FlashApp 2021-08-19 19:23:16.841: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:16.841: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:16.841: Connected device: Lumia 2021-08-19 19:23:16.842: Mode: Flash 2021-08-19 19:23:16.930: Flash app: 2.60 2021-08-19 19:23:16.930: Flash protocol: 2.37 2021-08-19 19:23:16.930: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:16.930: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:16.930: JTAG: Disabled 2021-08-19 19:23:16.938: Custom flash attempt: 2 of 64 2021-08-19 19:23:17.423: Custom flash attempt failed 2021-08-19 19:23:17.424: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:23:17.424: Error 0x1003: Hash mismatch 2021-08-19 19:23:17.424: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:23:17.424: Rebooting phone 2021-08-19 19:23:17.489: Lumia disconnected 2021-08-19 19:23:23.142: Flash App Type: FlashApp 2021-08-19 19:23:23.146: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:23.146: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:23.146: Connected device: Lumia 2021-08-19 19:23:23.146: Mode: Flash 2021-08-19 19:23:23.244: Flash app: 2.60 2021-08-19 19:23:23.244: Flash protocol: 2.37 2021-08-19 19:23:23.244: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:23.244: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:23.244: JTAG: Disabled 2021-08-19 19:23:23.253: Custom flash attempt: 3 of 64 2021-08-19 19:23:23.724: Custom flash attempt failed 2021-08-19 19:23:23.724: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:23:23.724: Error 0x1003: Hash mismatch 2021-08-19 19:23:23.725: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:23:23.725: Rebooting phone 2021-08-19 19:23:23.790: Lumia disconnected 2021-08-19 19:23:29.470: Flash App Type: FlashApp 2021-08-19 19:23:29.474: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:29.474: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:29.474: Connected device: Lumia 2021-08-19 19:23:29.474: Mode: Flash 2021-08-19 19:23:29.558: Flash app: 2.60 2021-08-19 19:23:29.558: Flash protocol: 2.37 2021-08-19 19:23:29.558: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:29.558: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:29.558: JTAG: Disabled 2021-08-19 19:23:29.566: Custom flash attempt: 4 of 64 2021-08-19 19:23:30.076: Custom flash attempt failed 2021-08-19 19:23:30.076: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:23:30.076: Error 0x1003: Hash mismatch 2021-08-19 19:23:30.077: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:23:30.077: Rebooting phone 2021-08-19 19:23:30.142: Lumia disconnected 2021-08-19 19:23:35.794: Flash App Type: FlashApp 2021-08-19 19:23:35.798: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:35.798: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:35.798: Connected device: Lumia 2021-08-19 19:23:35.798: Mode: Flash 2021-08-19 19:23:35.884: Flash app: 2.60 2021-08-19 19:23:35.884: Flash protocol: 2.37 2021-08-19 19:23:35.885: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:35.885: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:35.885: JTAG: Disabled 2021-08-19 19:23:35.892: Custom flash attempt: 5 of 64 2021-08-19 19:23:36.339: Custom flash attempt failed 2021-08-19 19:23:36.339: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:23:36.339: Error 0x1003: Hash mismatch 2021-08-19 19:23:36.339: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:23:36.339: Rebooting phone 2021-08-19 19:23:36.404: Lumia disconnected 2021-08-19 19:23:42.063: Flash App Type: FlashApp 2021-08-19 19:23:42.067: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:42.067: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:42.067: Connected device: Lumia 2021-08-19 19:23:42.067: Mode: Flash 2021-08-19 19:23:42.153: Flash app: 2.60 2021-08-19 19:23:42.153: Flash protocol: 2.37 2021-08-19 19:23:42.153: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:42.153: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:42.153: JTAG: Disabled 2021-08-19 19:23:42.161: Custom flash attempt: 6 of 64 2021-08-19 19:23:42.504: Error on USB port! 2021-08-19 19:23:42.504: Device: Lumia BootMgr - Microsoft 2021-08-19 19:23:42.504: Last written: 4E4F4B58465300040000000100000021 2021-08-19 19:23:42.504: Error: Failed to read from pipe. 2021-08-19 19:23:42.504: Error: Failed to read pipe on WinUSB device. 2021-08-19 19:23:42.504: at MadWizard.WinUSBNet.API.WinUSBDevice.ReadPipe(Int32 ifaceIndex, Byte pipeID, Byte[] buffer, Int32 offset, Int32 bytesToRead, UInt32& bytesRead) at MadWizard.WinUSBNet.USBPipe.Read(Byte[] buffer, Int32 offset, Int32 length) 2021-08-19 19:23:42.510: Error: Urzdzenie doczone do komputera nie dziaa. 2021-08-19 19:23:42.518: Lumia disconnected 2021-08-19 19:23:42.861: Connection to phone is lost - 2 0 0 0 0 0 2021-08-19 19:23:42.861: Expect phone to reboot 2021-08-19 19:23:42.861: Waiting for phone to connect... 2021-08-19 19:23:42.902: Found device on interface: 71de994d-8b7c-43db-a27e-2ae7cd579a0c 2021-08-19 19:23:42.902: Device path: \\?\USB#VID_05C6&PID_9008#5&21e739f&0&7#{71de994d-8b7c-43db-a27e-2ae7cd579a0c} 2021-08-19 19:23:42.902: Connected device: Lumia 2021-08-19 19:23:42.902: Mode: Qualcomm Emergency Download 9008 2021-08-19 19:23:42.906: Sending programmer: C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\MPRG8x26_fh.ede 2021-08-19 19:23:42.908: Protocol: 0x00000002 2021-08-19 19:23:42.908: Supported: 0x00000001 2021-08-19 19:23:42.908: MaxLength: 0x00000400 2021-08-19 19:23:42.908: Mode: 0x00000000 2021-08-19 19:23:42.931: Programmer loaded into phone memory 2021-08-19 19:23:42.932: Starting programmer 2021-08-19 19:23:42.933: Programmer being launched on phone 2021-08-19 19:23:42.935: Send Hello to programmer (1) 2021-08-19 19:23:42.936: Hello packet accepted 2021-08-19 19:23:43.437: Error on USB port! 2021-08-19 19:23:43.437: Device: QHSUSB__BULK - Qualcomm CDMA Technologies MSM 2021-08-19 19:23:43.437: Last written: 30375057000000000000000000000000 2021-08-19 19:23:43.437: Error: Failed to read from pipe. 2021-08-19 19:23:43.437: Error: Failed to read pipe on WinUSB device. 2021-08-19 19:23:43.437: at MadWizard.WinUSBNet.API.WinUSBDevice.ReadPipe(Int32 ifaceIndex, Byte pipeID, Byte[] buffer, Int32 offset, Int32 bytesToRead, UInt32& bytesRead) at MadWizard.WinUSBNet.USBPipe.Read(Byte[] buffer, Int32 offset, Int32 length) 2021-08-19 19:23:43.438: Error: Przekroczono limit czasu semafora. 2021-08-19 19:23:43.439: Send Hello to programmer (2) 2021-08-19 19:23:43.439: Hello packet accepted 2021-08-19 19:23:43.439: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Validation is enabled." /></data> 2021-08-19 19:23:43.441: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="EMMC: size_in_sectors:15269888, mfr_id:21, oem_id:0, prod_rev:1, mfr_date:8/2015" /></data> 2021-08-19 19:23:43.441: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Test mode ON" /></data> 2021-08-19 19:23:43.442: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:23:43.442: Incoming Hello-response received 2021-08-19 19:23:43.442: Handshake completed with programmer in testmode 2021-08-19 19:23:43.442: Rebooting phone 2021-08-19 19:23:43.442: Out: <?xml version="1.0" ?><data><power value="reset"/></data> 2021-08-19 19:23:43.442: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:23:43.708: Lumia disconnected 2021-08-19 19:23:48.867: Flash App Type: FlashApp 2021-08-19 19:23:48.871: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:48.871: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:48.871: Connected device: Lumia 2021-08-19 19:23:48.871: Mode: Flash 2021-08-19 19:23:48.970: Flash app: 2.60 2021-08-19 19:23:48.970: Flash protocol: 2.37 2021-08-19 19:23:48.970: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:48.970: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:48.970: JTAG: Disabled 2021-08-19 19:23:48.979: Custom flash attempt: 7 of 64 2021-08-19 19:23:49.525: Custom flash attempt failed 2021-08-19 19:23:49.525: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:23:49.525: Error 0x1003: Hash mismatch 2021-08-19 19:23:49.536: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:23:49.536: Rebooting phone 2021-08-19 19:23:49.607: Lumia disconnected 2021-08-19 19:23:55.264: Flash App Type: FlashApp 2021-08-19 19:23:55.268: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:23:55.268: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:23:55.268: Connected device: Lumia 2021-08-19 19:23:55.268: Mode: Flash 2021-08-19 19:23:55.358: Flash app: 2.60 2021-08-19 19:23:55.358: Flash protocol: 2.37 2021-08-19 19:23:55.358: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:23:55.358: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:23:55.358: JTAG: Disabled 2021-08-19 19:23:55.367: Custom flash attempt: 8 of 64 2021-08-19 19:23:55.877: Custom flash attempt failed 2021-08-19 19:23:55.877: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:23:55.878: Error 0x1003: Hash mismatch 2021-08-19 19:23:55.878: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:23:55.878: Rebooting phone 2021-08-19 19:23:55.942: Lumia disconnected 2021-08-19 19:24:01.616: Flash App Type: FlashApp 2021-08-19 19:24:01.620: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:01.620: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:01.621: Connected device: Lumia 2021-08-19 19:24:01.621: Mode: Flash 2021-08-19 19:24:01.707: Flash app: 2.60 2021-08-19 19:24:01.707: Flash protocol: 2.37 2021-08-19 19:24:01.707: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:01.707: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:01.707: JTAG: Disabled 2021-08-19 19:24:01.714: Custom flash attempt: 9 of 64 2021-08-19 19:24:02.112: Custom flash attempt failed 2021-08-19 19:24:02.112: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:02.112: Error 0x1005: Data not aligned correctly 2021-08-19 19:24:02.115: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:02.115: Rebooting phone 2021-08-19 19:24:02.160: Lumia disconnected 2021-08-19 19:24:02.529: Found device on interface: 71de994d-8b7c-43db-a27e-2ae7cd579a0c 2021-08-19 19:24:02.529: Device path: \?\USB#VID_05C6&PID_9008#5&21e739f&0&7#{71de994d-8b7c-43db-a27e-2ae7cd579a0c} 2021-08-19 19:24:02.529: Connected device: Lumia 2021-08-19 19:24:02.529: Mode: Qualcomm Emergency Download 9008 2021-08-19 19:24:02.529: Sending programmer: C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\MPRG8x26_fh.ede 2021-08-19 19:24:02.530: Protocol: 0x00000002 2021-08-19 19:24:02.530: Supported: 0x00000001 2021-08-19 19:24:02.530: MaxLength: 0x00000400 2021-08-19 19:24:02.530: Mode: 0x00000000 2021-08-19 19:24:02.556: Programmer loaded into phone memory 2021-08-19 19:24:02.556: Starting programmer 2021-08-19 19:24:02.557: Programmer being launched on phone 2021-08-19 19:24:02.557: Send Hello to programmer (1) 2021-08-19 19:24:02.557: Hello packet accepted 2021-08-19 19:24:03.070: Error on USB port! 2021-08-19 19:24:03.070: Device: QHSUSB__BULK - Qualcomm CDMA Technologies MSM 2021-08-19 19:24:03.070: Last written: 30375057000000000000000000000000 2021-08-19 19:24:03.070: Error: Failed to read from pipe. 2021-08-19 19:24:03.070: Error: Failed to read pipe on WinUSB device. 2021-08-19 19:24:03.070: at MadWizard.WinUSBNet.API.WinUSBDevice.ReadPipe(Int32 ifaceIndex, Byte pipeID, Byte[] buffer, Int32 offset, Int32 bytesToRead, UInt32& bytesRead) at MadWizard.WinUSBNet.USBPipe.Read(Byte[] buffer, Int32 offset, Int32 length) 2021-08-19 19:24:03.070: Error: Przekroczono limit czasu semafora. 2021-08-19 19:24:03.071: Send Hello to programmer (2) 2021-08-19 19:24:03.072: Hello packet accepted 2021-08-19 19:24:03.073: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Validation is enabled." /></data> 2021-08-19 19:24:03.073: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="EMMC: size_in_sectors:15269888, mfr_id:21, oem_id:0, prod_rev:1, mfr_date:8/2015" /></data> 2021-08-19 19:24:03.074: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Test mode ON" /></data> 2021-08-19 19:24:03.074: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:24:03.074: Incoming Hello-response received 2021-08-19 19:24:03.074: Handshake completed with programmer in testmode 2021-08-19 19:24:03.074: Rebooting phone 2021-08-19 19:24:03.074: Out: <?xml version="1.0" ?><data><power value="reset"/></data> 2021-08-19 19:24:03.074: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:24:03.345: Lumia disconnected 2021-08-19 19:24:08.507: Flash App Type: FlashApp 2021-08-19 19:24:08.511: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:08.511: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:08.511: Connected device: Lumia 2021-08-19 19:24:08.511: Mode: Flash 2021-08-19 19:24:08.732: Flash app: 2.60 2021-08-19 19:24:08.732: Flash protocol: 2.37 2021-08-19 19:24:08.732: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:08.732: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:08.732: JTAG: Disabled 2021-08-19 19:24:08.739: Custom flash attempt: 10 of 64 2021-08-19 19:24:09.181: Custom flash attempt failed 2021-08-19 19:24:09.181: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:09.181: Error 0x1003: Hash mismatch 2021-08-19 19:24:09.182: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:09.182: Rebooting phone 2021-08-19 19:24:09.246: Lumia disconnected 2021-08-19 19:24:14.915: Flash App Type: FlashApp 2021-08-19 19:24:14.919: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:14.919: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:14.919: Connected device: Lumia 2021-08-19 19:24:14.919: Mode: Flash 2021-08-19 19:24:15.011: Flash app: 2.60 2021-08-19 19:24:15.011: Flash protocol: 2.37 2021-08-19 19:24:15.011: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:15.011: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:15.011: JTAG: Disabled 2021-08-19 19:24:15.019: Custom flash attempt: 11 of 64 2021-08-19 19:24:15.529: Custom flash attempt failed 2021-08-19 19:24:15.529: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:15.529: Error 0x1003: Hash mismatch 2021-08-19 19:24:15.530: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:15.530: Rebooting phone 2021-08-19 19:24:15.595: Lumia disconnected 2021-08-19 19:24:21.245: Flash App Type: FlashApp 2021-08-19 19:24:21.249: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:21.249: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:21.249: Connected device: Lumia 2021-08-19 19:24:21.249: Mode: Flash 2021-08-19 19:24:21.347: Flash app: 2.60 2021-08-19 19:24:21.347: Flash protocol: 2.37 2021-08-19 19:24:21.347: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:21.347: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:21.347: JTAG: Disabled 2021-08-19 19:24:21.366: Custom flash attempt: 12 of 64 2021-08-19 19:24:21.885: Custom flash attempt failed 2021-08-19 19:24:21.886: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:21.886: Error 0x1003: Hash mismatch 2021-08-19 19:24:21.886: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:21.886: Rebooting phone 2021-08-19 19:24:21.951: Lumia disconnected 2021-08-19 19:24:27.611: Flash App Type: FlashApp 2021-08-19 19:24:27.615: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:27.615: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:27.615: Connected device: Lumia 2021-08-19 19:24:27.615: Mode: Flash 2021-08-19 19:24:27.707: Flash app: 2.60 2021-08-19 19:24:27.707: Flash protocol: 2.37 2021-08-19 19:24:27.707: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:27.707: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:27.707: JTAG: Disabled 2021-08-19 19:24:27.715: Custom flash attempt: 13 of 64 2021-08-19 19:24:28.107: Custom flash attempt failed 2021-08-19 19:24:28.107: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:28.107: Error 0x1005: Data not aligned correctly 2021-08-19 19:24:28.107: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:28.107: Rebooting phone 2021-08-19 19:24:28.151: Lumia disconnected 2021-08-19 19:24:28.527: Found device on interface: 71de994d-8b7c-43db-a27e-2ae7cd579a0c 2021-08-19 19:24:28.527: Device path: \?\USB#VID_05C6&PID_9008#5&21e739f&0&7#{71de994d-8b7c-43db-a27e-2ae7cd579a0c} 2021-08-19 19:24:28.527: Connected device: Lumia 2021-08-19 19:24:28.527: Mode: Qualcomm Emergency Download 9008 2021-08-19 19:24:28.527: Sending programmer: C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\MPRG8x26_fh.ede 2021-08-19 19:24:28.527: Protocol: 0x00000002 2021-08-19 19:24:28.527: Supported: 0x00000001 2021-08-19 19:24:28.527: MaxLength: 0x00000400 2021-08-19 19:24:28.527: Mode: 0x00000000 2021-08-19 19:24:28.554: Programmer loaded into phone memory 2021-08-19 19:24:28.554: Starting programmer 2021-08-19 19:24:28.555: Programmer being launched on phone 2021-08-19 19:24:28.555: Send Hello to programmer (1) 2021-08-19 19:24:28.555: Hello packet accepted 2021-08-19 19:24:29.056: Error on USB port! 2021-08-19 19:24:29.056: Device: QHSUSB__BULK - Qualcomm CDMA Technologies MSM 2021-08-19 19:24:29.056: Last written: 30375057000000000000000000000000 2021-08-19 19:24:29.056: Error: Failed to read from pipe. 2021-08-19 19:24:29.056: Error: Failed to read pipe on WinUSB device. 2021-08-19 19:24:29.056: at MadWizard.WinUSBNet.API.WinUSBDevice.ReadPipe(Int32 ifaceIndex, Byte pipeID, Byte[] buffer, Int32 offset, Int32 bytesToRead, UInt32& bytesRead) at MadWizard.WinUSBNet.USBPipe.Read(Byte[] buffer, Int32 offset, Int32 length) 2021-08-19 19:24:29.056: Error: Przekroczono limit czasu semafora. 2021-08-19 19:24:29.056: Send Hello to programmer (2) 2021-08-19 19:24:29.057: Hello packet accepted 2021-08-19 19:24:29.057: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Validation is enabled." /></data> 2021-08-19 19:24:29.057: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="EMMC: size_in_sectors:15269888, mfr_id:21, oem_id:0, prod_rev:1, mfr_date:8/2015" /></data> 2021-08-19 19:24:29.058: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Test mode ON" /></data> 2021-08-19 19:24:29.058: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:24:29.058: Incoming Hello-response received 2021-08-19 19:24:29.058: Handshake completed with programmer in testmode 2021-08-19 19:24:29.058: Rebooting phone 2021-08-19 19:24:29.058: Out: <?xml version="1.0" ?><data><power value="reset"/></data> 2021-08-19 19:24:29.059: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:24:29.324: Lumia disconnected 2021-08-19 19:24:34.478: Flash App Type: FlashApp 2021-08-19 19:24:34.481: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:34.481: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:34.481: Connected device: Lumia 2021-08-19 19:24:34.481: Mode: Flash 2021-08-19 19:24:34.568: Flash app: 2.60 2021-08-19 19:24:34.568: Flash protocol: 2.37 2021-08-19 19:24:34.568: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:34.568: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:34.568: JTAG: Disabled 2021-08-19 19:24:34.575: Custom flash attempt: 14 of 64 2021-08-19 19:24:34.981: Custom flash attempt failed 2021-08-19 19:24:34.981: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:34.981: Error 0x1003: Hash mismatch 2021-08-19 19:24:34.981: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:34.981: Rebooting phone 2021-08-19 19:24:35.039: Lumia disconnected 2021-08-19 19:24:40.716: Flash App Type: FlashApp 2021-08-19 19:24:40.720: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:40.720: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:40.720: Connected device: Lumia 2021-08-19 19:24:40.720: Mode: Flash 2021-08-19 19:24:40.806: Flash app: 2.60 2021-08-19 19:24:40.806: Flash protocol: 2.37 2021-08-19 19:24:40.806: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:40.806: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:40.806: JTAG: Disabled 2021-08-19 19:24:40.816: Custom flash attempt: 15 of 64 2021-08-19 19:24:41.356: Custom flash attempt failed 2021-08-19 19:24:41.356: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:41.356: Error 0x1003: Hash mismatch 2021-08-19 19:24:41.357: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:41.357: Rebooting phone 2021-08-19 19:24:41.418: Lumia disconnected 2021-08-19 19:24:47.084: Flash App Type: FlashApp 2021-08-19 19:24:47.088: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:47.088: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:47.088: Connected device: Lumia 2021-08-19 19:24:47.088: Mode: Flash 2021-08-19 19:24:47.184: Flash app: 2.60 2021-08-19 19:24:47.184: Flash protocol: 2.37 2021-08-19 19:24:47.184: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:47.184: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:47.184: JTAG: Disabled 2021-08-19 19:24:47.191: Custom flash attempt: 16 of 64 2021-08-19 19:24:47.717: Custom flash attempt failed 2021-08-19 19:24:47.717: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:47.717: Error 0x1003: Hash mismatch 2021-08-19 19:24:47.718: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:47.718: Rebooting phone 2021-08-19 19:24:47.778: Lumia disconnected 2021-08-19 19:24:53.441: Flash App Type: FlashApp 2021-08-19 19:24:53.444: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:24:53.444: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:24:53.445: Connected device: Lumia 2021-08-19 19:24:53.445: Mode: Flash 2021-08-19 19:24:53.535: Flash app: 2.60 2021-08-19 19:24:53.535: Flash protocol: 2.37 2021-08-19 19:24:53.535: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:24:53.535: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:24:53.535: JTAG: Disabled 2021-08-19 19:24:53.550: Custom flash attempt: 17 of 64 2021-08-19 19:24:53.934: Custom flash attempt failed 2021-08-19 19:24:53.934: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:24:53.934: Error 0x1005: Data not aligned correctly 2021-08-19 19:24:53.934: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:24:53.934: Rebooting phone 2021-08-19 19:24:53.982: Lumia disconnected 2021-08-19 19:24:54.353: Found device on interface: 71de994d-8b7c-43db-a27e-2ae7cd579a0c 2021-08-19 19:24:54.353: Sending programmer: C:\Program Files (x86)\Microsoft Care Suite\Windows Device Recovery Tool\MPRG8x26_fh.ede 2021-08-19 19:24:54.353: Device path: \?\USB#VID_05C6&PID_9008#5&21e739f&0&7#{71de994d-8b7c-43db-a27e-2ae7cd579a0c} 2021-08-19 19:24:54.353: Connected device: Lumia 2021-08-19 19:24:54.353: Mode: Qualcomm Emergency Download 9008 2021-08-19 19:24:54.353: Protocol: 0x00000002 2021-08-19 19:24:54.353: Supported: 0x00000001 2021-08-19 19:24:54.353: MaxLength: 0x00000400 2021-08-19 19:24:54.353: Mode: 0x00000000 2021-08-19 19:24:54.376: Programmer loaded into phone memory 2021-08-19 19:24:54.377: Starting programmer 2021-08-19 19:24:54.377: Programmer being launched on phone 2021-08-19 19:24:54.377: Send Hello to programmer (1) 2021-08-19 19:24:54.378: Hello packet accepted 2021-08-19 19:24:54.879: Error on USB port! 2021-08-19 19:24:54.879: Device: QHSUSB__BULK - Qualcomm CDMA Technologies MSM 2021-08-19 19:24:54.879: Last written: 30375057000000000000000000000000 2021-08-19 19:24:54.879: Error: Failed to read from pipe. 2021-08-19 19:24:54.880: Error: Failed to read pipe on WinUSB device. 2021-08-19 19:24:54.880: at MadWizard.WinUSBNet.API.WinUSBDevice.ReadPipe(Int32 ifaceIndex, Byte pipeID, Byte[] buffer, Int32 offset, Int32 bytesToRead, UInt32& bytesRead) at MadWizard.WinUSBNet.USBPipe.Read(Byte[] buffer, Int32 offset, Int32 length) 2021-08-19 19:24:54.880: Error: Przekroczono limit czasu semafora. 2021-08-19 19:24:54.880: Send Hello to programmer (2) 2021-08-19 19:24:54.880: Hello packet accepted 2021-08-19 19:24:54.881: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Validation is enabled." /></data> 2021-08-19 19:24:54.881: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="EMMC: size_in_sectors:15269888, mfr_id:21, oem_id:0, prod_rev:1, mfr_date:8/2015" /></data> 2021-08-19 19:24:54.882: In: <?xml version="1.0" encoding="UTF-8" ?><data><log value="Test mode ON" /></data> 2021-08-19 19:24:54.882: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:24:54.882: Incoming Hello-response received 2021-08-19 19:24:54.882: Handshake completed with programmer in testmode 2021-08-19 19:24:54.882: Rebooting phone 2021-08-19 19:24:54.882: Out: <?xml version="1.0" ?><data><power value="reset"/></data> 2021-08-19 19:24:54.883: In: <?xml version="1.0" encoding="UTF-8" ?><data><response value="ACK" /></data> 2021-08-19 19:24:55.148: Lumia disconnected 2021-08-19 19:25:00.332: Flash App Type: FlashApp 2021-08-19 19:25:00.336: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:25:00.336: Device path: \?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:25:00.336: Connected device: Lumia 2021-08-19 19:25:00.336: Mode: Flash 2021-08-19 19:25:00.421: Flash app: 2.60 2021-08-19 19:25:00.421: Flash protocol: 2.37 2021-08-19 19:25:00.421: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:25:00.421: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:25:00.421: JTAG: Disabled 2021-08-19 19:25:00.429: Custom flash attempt: 18 of 64 2021-08-19 19:25:00.820: Custom flash attempt failed 2021-08-19 19:25:00.820: Error: Flash failed! - 8 0 0 0 0 0 2021-08-19 19:25:00.820: Error 0x1003: Hash mismatch 2021-08-19 19:25:00.821: at WPinternals.NokiaFlashModel.ThrowFlashError(Int32 ErrorCode) at WPinternals.NokiaFlashModel.SendFfuPayloadV1(Byte[] FfuChunk, Int32 Progress, Byte Options) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) 2021-08-19 19:25:00.821: Rebooting phone 2021-08-19 19:25:00.883: Lumia disconnected 2021-08-19 19:25:06.566: Flash App Type: FlashApp 2021-08-19 19:25:06.570: Found device on interface: 9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc 2021-08-19 19:25:06.570: Device path: \\?\USB#VID_0421&PID_0714#5&21e739f&0&7#{9e3bd5f7-9690-4fcc-8810-3e2650cd6ecc} 2021-08-19 19:25:06.570: Connected device: Lumia 2021-08-19 19:25:06.570: Mode: Flash 2021-08-19 19:25:06.657: Flash app: 2.60 2021-08-19 19:25:06.657: Flash protocol: 2.37 2021-08-19 19:25:06.657: SecureBoot: Enabled (Platform Secure Boot: Enabled, UEFI Secure Boot: Enabled) 2021-08-19 19:25:06.657: Flash app security: Enabled (FFU security: Enabled, RDC: Not found, Authenticated: False) 2021-08-19 19:25:06.657: JTAG: Disabled 2021-08-19 19:25:06.665: Custom flash attempt: 19 of 64 2021-08-19 19:25:06.757: Error on USB port! 2021-08-19 19:25:06.757: Device: Lumia BootMgr - Microsoft 2021-08-19 19:25:06.757: Last written: 4E4F4B58464645 2021-08-19 19:25:06.757: Error: Failed to write to pipe: 4E4F4B58464645 2021-08-19 19:25:06.757: Error: Failed to write pipe on WinUSB device. 2021-08-19 19:25:06.757: at MadWizard.WinUSBNet.API.WinUSBDevice.WritePipe(Int32 ifaceIndex, Byte pipeID, Byte[] buffer, Int32 offset, Int32 length) at MadWizard.WinUSBNet.USBPipe.Write(Byte[] buffer, Int32 offset, Int32 length) 2021-08-19 19:25:06.757: Error: Urzdzenie doczone do komputera nie dziaa. 2021-08-19 19:25:06.759: Error: Failed to write to pipe: 4E4F4B58464645 2021-08-19 19:25:06.762: at MadWizard.WinUSBNet.USBPipe.LogAndThrowException(Exception Ex) at MadWizard.WinUSBNet.USBPipe.Write(Byte[] buffer, Int32 offset, Int32 length) at WPinternals.NokiaPhoneModel.ExecuteRawMethod(Byte[] RawMethod, Int32 Length) at WPinternals.NokiaPhoneModel.ExecuteRawMethod(Byte[] RawMethod) at WPinternals.NokiaFlashModel.EndAsyncFlash() at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlashInternal(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) at WPinternals.LumiaV2UnlockBootViewModel.LumiaV2CustomFlash(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 FlashParts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String ProgrammerPath) at WPinternals.LumiaUnlockBootloaderViewModel.LumiaFlashParts(PhoneNotifierViewModel Notifier, String FFUPath, Boolean PerformFullFlashFirst, Boolean SkipWrite, List1 Parts, Boolean DoResetFirst, Boolean ClearFlashingStatusAtEnd, Boolean CheckSectorAlignment, Boolean ShowProgress, Boolean Experimental, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, String EDEPath) at WPinternals.LumiaUnlockBootloaderViewModel.LumiaUnlockUEFI(PhoneNotifierViewModel Notifier, String ProfileFFUPath, String EDEPath, String SupportedFFUPath, SetWorkingStatus SetWorkingStatus, UpdateWorkingStatus UpdateWorkingStatus, ExitSuccess ExitSuccess, ExitFailure ExitFailure, Boolean ExperimentalSpecBEFIESPUnlock, Boolean ExperimentalSpecAEFIESPUnlock, Boolean ReUnlockDevice) 2021-08-19 19:25:06.762: Error: Failed to write pipe on WinUSB device. 2021-08-19 19:25:06.762: at MadWizard.WinUSBNet.API.WinUSBDevice.WritePipe(Int32 ifaceIndex, Byte pipeID, Byte[] buffer, Int32 offset, Int32 length) at MadWizard.WinUSBNet.USBPipe.Write(Byte[] buffer, Int32 offset, Int32 length) 2021-08-19 19:25:06.762: Error: Urzdzenie doczone do komputera nie dziaa. 2021-08-19 19:25:06.763: Failed to write to pipe: 4E4F4B58464645 2021-08-19 19:25:07.145: Lumia disconnected 2021-08-19 19:25:07.151: Found device on interface: 71de994d-8b7c-43db-a27e-2ae7cd579a0c 2021-08-19 19:25:07.151: Device path: \?\USB#VID_05C6&PID_9008#5&21e739f&0&7#{71de994d-8b7c-43db-a27e-2ae7cd579a0c} 2021-08-19 19:25:07.151: Connected device: Lumia 2021-08-19 19:25:07.151: Mode: Qualcomm Emergency Download 9008

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9

github_iconTop GitHub Comments

1reaction
ArixElocommented, Dec 17, 2021

I have the same with my L830. Strange that its 1st time ive faced with it. Previously its unlocked succefuly. I dunno the reasons.

Hi, I don’t know why it didn’t worked at 2.8, as I said before: I tried with 2.3 and it worked straight away, so I’m closing this issue.

0reactions
hooddycommented, Dec 23, 2021

Unfortunately WP2.3 to me didn’t works with the same error. Im using Win11 btw. In past it was Win10. See no another reasons for this issue.

Ok ive fixed it wirh dricers rollback. Works on IT v2.3 as well as on higher bulds.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to Write to Pipe · Issue #12 · ReneLergner/WPinternals
I'm trying to help someone unlock the bootloader of their 950, we tried version 2.8 and it was failing to find flash profile....
Read more >
Windows Phone Internals updated to version 2.4 | Page 37
The unlock bootloader says it's already unlocked, the restore bootloader gives error "Failed to write to pipe: 4E4F4B58434242". I tried to search for...
Read more >
Can someone help me unlock my Nokia Lumia 930's ...
Failed to write pipe error can be many things. It's really hard to pin point the exact issue as it can be almost...
Read more >
could not get pipe properties while flashing my android ...
Boot up the device normally. Terminal: adb reboot bootloader. Go into the fastboot menu item. Terminal: fastboot oem unlock.
Read more >
Five Reasons Why Xiaomi Phones Bootloader Unlock Fails
Five reasons why Xiaomi phones bootloader unlock fails is a great ... YOU MAY ALSO LIKE : POCO F3 MIUI GLOBAL STABLE 12.5.6...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found