[Google Pixel XL Guides, News, & Discussion] andrep182:
Edit: All is well. I went complete stock, and locked the bootloader without any issue. Thanks for the great guide!

Hi, I am trying to follow this guide on my pixel XL to flash NDE63X back. I got the following error message in the beginning:

target reported max download size of 536870912 bytes

sending 'bootloader_a' (32820 KB)...

OKAY [ 0.819s]

writing 'bootloader_a'...

(bootloader) Valid bootloader version.

OKAY [ 1.289s]

finished. total time: 2.109s

rebooting into bootloader...

FAILED (command write failed (No error)) <----- This one

finished. total time: 0.002s

It kept going anyway, finished flashing, and reboot my phone. It loaded the OS just fine. My question is, should I be worried? is EVERYTHING back in stock now? Below is the full command history. Any help is really appreciated. I have to make sure everything is back in stock at this point because I need to relock and RMA my phone ...

target reported max download size of 536870912 bytes
sending 'bootloader_a' (32820 KB)...
OKAY [ 0.819s]
writing 'bootloader_a'...
(bootloader) Valid bootloader version.
OKAY [ 1.289s]
finished. total time: 2.109s
rebooting into bootloader...
FAILED (command write failed (No error))
finished. total time: 0.002s
target reported max download size of 536870912 bytes
sending 'radio_a' (57048 KB)...
OKAY [ 1.404s]
writing 'radio_a'...
OKAY [ 0.897s]
finished. total time: 2.304s
rebooting into bootloader...
OKAY [ 0.047s]
finished. total time: 0.048s
< waiting for any device >
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'boot_other.img'
archive does not contain 'recovery.img'
archive does not contain 'system.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.sig'
archive does not contain 'vendor_other.img'
wiping userdata...
Creating filesystem with parameters:
Size: 122633060352
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 29939712
Block groups: 914
Reserved block group size: 1024
Created filesystem with 11/7487488 inodes and 518062/29939712 blocks
--------------------------------------------
Bootloader Version...: 8996-012001-1608281716
Baseband Version.....: 8996-012511-1609191801
Serial Number........: HT6CM0201769
--------------------------------------------
checking product...
OKAY [ 0.050s]
checking version-bootloader...
OKAY [ 0.050s]
checking version-baseband...
OKAY [ 0.049s]
sending 'boot_a' (26405 KB)...
OKAY [ 0.691s]
writing 'boot_a'...
OKAY [ 0.598s]
erasing 'system_a'...
OKAY [ 1.300s]
sending sparse 'system_a' 1/3 (521974 KB)...
OKAY [ 13.123s]
writing 'system_a' 1/3...
OKAY [ 5.898s]
sending sparse 'system_a' 2/3 (524252 KB)...
OKAY [ 13.210s]
writing 'system_a' 2/3...
OKAY [ 11.021s]
sending sparse 'system_a' 3/3 (513558 KB)...
OKAY [ 12.752s]
writing 'system_a' 3/3...
OKAY [ 8.983s]
erasing 'system_b'...
OKAY [ 1.305s]
sending sparse 'system_b' 1/4 (517263 KB)...
OKAY [ 12.972s]
writing 'system_b' 1/4...
OKAY [ 4.703s]
sending sparse 'system_b' 2/4 (513958 KB)...
OKAY [ 12.753s]
writing 'system_b' 2/4...
OKAY [ 5.185s]
sending sparse 'system_b' 3/4 (523850 KB)...
OKAY [ 12.972s]
writing 'system_b' 3/4...
OKAY [ 4.444s]
sending sparse 'system_b' 4/4 (88418 KB)...
OKAY [ 2.213s]
writing 'system_b' 4/4...
OKAY [ 1.337s]
erasing 'vendor_a'...
OKAY [ 0.549s]
sending 'vendor_a' (234273 KB)...
OKAY [ 5.810s]
writing 'vendor_a'...
OKAY [ 6.645s]
Setting current slot to 'a'...
OKAY [ 0.399s]
erasing 'userdata'...
OKAY [ 31.237s]
sending 'userdata' (145102 KB)...
OKAY [ 3.196s]
writing 'userdata'...
OKAY [ 2.442s]
rebooting...

finished. total time: 196.206s
Press any key to exit...

One other thing I noticed is that while my system_a only has 3 sections during sending parse ( like stated below)

sending sparse 'system_a' 1/3 (521974 KB)...

OP has 4 parts. I assume that it's because we're using different factory images, but I just want to be sure.