[Google Pixel 2 XL Questions & Answers] cvenk:
I done like,this:

Mode LastWriteTime Length Name

---- ------------- ------ ----

-a---- 09/03/2018 10:38 2604257 adb-linux

-a---- 09/03/2018 10:37 2581412 adb-mac

-a---- 09/03/2018 10:30 1784320 adb.exe

-a---- 09/03/2018 10:30 97792 AdbWinApi.dll

-a---- 09/03/2018 10:30 62976 AdbWinUsbApi.dll

-a---- 28/09/2017 12:38 39657472 bootloader-walleye-mw8998-002.0059.00.img

-a---- 09/03/2018 10:38 1265485 fastboot-linux

-a---- 09/03/2018 10:37 1380616 fastboot-mac

-a---- 09/03/2018 10:30 853504 fastboot.exe

-a---- 28/09/2017 12:38 990 flash-all.bat

-a---- 28/09/2017 12:38 861 flash-all.sh

-a---- 28/09/2017 12:38 808 flash-base.sh

-a---- 28/09/2017 12:38 1571219263 image-walleye-opd1.170816.010.zip

-a---- 02/06/2017 23:07 541322 mfastboot-linux

-a---- 02/06/2017 23:07 225100 mfastboot-mac

-a---- 02/06/2017 23:07 533353 mfastboot.exe

-a---- 28/09/2017 12:38 61878272 radio-walleye-g8998-00122-1708311414.img

PS C:\11> fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ 0.001s]

finished. total time: 0.002s

PS C:\11> fastboot flash bootloader bootloader-walleye-mw8998-002.0059.00.img

target reported max download size of 536870912 bytes

sending 'bootloader' (38728 KB)...

OKAY [ 0.919s]

writing 'bootloader'...

(bootloader) Updating: partition:0 @00002000 sz=0000B000

(bootloader) Updating: partition:1 @0000D000 sz=0000B000

(bootloader) Updating: partition:2 @00018000 sz=0000B000

(bootloader) Updating: partition:3 @00023000 sz=0000B000

(bootloader) Updating: partition:4 @0002E000 sz=0000B000

(bootloader) Updating: partition:5 @00039000 sz=0000B000

(bootloader) Updating: cmnlib64 @00044000 sz=00049000

(bootloader) Updating: cmnlib @0008D000 sz=00038000

(bootloader) Updating: devcfg @000C5000 sz=0000F000

(bootloader) Updating: hyp @000D4000 sz=00040000

(bootloader) Updating: keymaster [MENTION=4422149]0011[/MENTION]4000 sz=00046000

(bootloader) Updating: lockbooter [MENTION=290768]001[/MENTION]5A000 sz=00016000

(bootloader) Updating: pmic [MENTION=4848019]0017[/MENTION]0000 sz=0000D000

(bootloader) Updating: rpm [MENTION=4848019]0017[/MENTION]D000 sz=0003A000

(bootloader) Updating: tz [MENTION=290768]001[/MENTION]B7000 sz=001DB000

(bootloader) Updating: xbl [MENTION=2077256]003[/MENTION]92000 sz=003A2000

(bootloader) Updating: apdp [MENTION=262411]0073[/MENTION]4000 sz=00004000

(bootloader) Updating: msadp [MENTION=262411]0073[/MENTION]8000 sz=00004000

(bootloader) Updating: hosd [MENTION=262411]0073[/MENTION]C000 sz=01E31000

(bootloader) Updating: abl @0256D000 sz=00065000

OKAY [ 1.062s]

finished. total time: 1.985s

PS C:\11> fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ 0.001s]

finished. total time: 0.001s

PS C:\11> fastboot flash radio radio-walleye-g8998-00122-1708311414.img

target reported max download size of 536870912 bytes

sending 'radio' (60428 KB)...

OKAY [ 1.364s]

writing 'radio'...

(bootloader) Updating: modem @00001000 sz=03B01000

OKAY [ 0.290s]

finished. total time: 1.814s

PS C:\11> fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ 0.001s]

finished. total time: 0.001s

PS C:\11> fastboot flash image image-walleye-opd1.170816.010.zip

target reported max download size of 536870912 bytes

Invalid sparse file format at header magi

PS C:\11> fastboot

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot, system, vendor and if found,

recovery

flash <partition> [ <filename> ] write a file to a flash partition

flashing lock locks the device. Prevents flashing partitions

flashing unlock unlocks the device. Allows user to flash any partition except the ones that are related to bootloader

flashing lock_critical Prevents flashing bootloader related partitions

flashing unlock_critical Enables flashing bootloader related partitions

flashing get_unlock_ability Queries bootloader to see if the device is unlocked

erase <partition> erase a flash partition

format[:[<fs type>][:[<size>]] <partition> format a flash partition.

Can override the fs type and/or

size the bootloader reports.

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it

devices list all connected devices

continue continue with autoboot

reboot [bootloader] reboot device, optionally into bootloader

reboot-bootloader reboot device into bootloader

help show this help message

options:

-w erase userdata and cache (and format

if supported by partition type)

-u do not first erase partition before

formatting

-s <specific device> specify device serial number

or path to device port

-l with "devices", lists device paths

-p <product> specify product name

-c <cmdline> override kernel commandline

-i <vendor id> specify a custom USB vendor id

-b <base_addr> specify a custom kernel base address.

default: 0x10000000

-n <page size> specify the nand page size.

default: 2048

-S <size>[K|M|G] automatically sparse files greater

than size. 0 to disable

PS C:\11> fastboot -w update image-walleye-opd1.170816.010.zip

target reported max download size of 536870912 bytes

archive does not contain 'boot.sig'

archive does not contain 'recovery.img'

archive does not contain 'system.sig'

archive does not contain 'vendor.sig'

Creating filesystem with parameters:

Size: 121043398656

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 29551611

Block groups: 902

Reserved block group size: 1024

Created filesystem with 11/7389184 inodes and 511894/29551611 blocks

Erase successful, but not automatically formatting.

Can't determine partition type.

FAILED (remote: GetVar Variable Not found)

--------------------------------------------

Bootloader Version...: mw8998-002.0059.00

Baseband Version.....: g8998-00122-1708311414

Serial Number........: FA79G1A07951

--------------------------------------------

checking product...

OKAY [ 0.001s]

checking version-bootloader...

OKAY [ 0.001s]

checking version-baseband...

OKAY [ 0.001s]

sending 'boot' (32768 KB)...

OKAY [ 0.773s]

writing 'boot'...

OKAY [ 0.161s]

sending sparse 'system' (524284 KB)...

OKAY [ 12.709s]

writing 'system'...

OKAY [ 17.550s]

sending sparse 'system' (524284 KB)...

OKAY [ 13.020s]

writing 'system'...

OKAY [ 15.830s]

sending sparse 'system' (524284 KB)...

OKAY [ 13.551s]

writing 'system'...

OKAY [ 17.529s]

sending sparse 'system' (322300 KB)...

OKAY [ 7.849s]

writing 'system'...

OKAY [ 8.635s]

sending 'vendor' (346964 KB)...

OKAY [ 8.022s]

writing 'vendor'...

OKAY [ 10.314s]

erasing 'userdata'...

OKAY [ 1.559s]

sending 'userdata' (145005 KB)...

OKAY [ 3.188s]

writing 'userdata'...

OKAY [ 2.210s]

erasing 'cache'...

FAILED (remote: Check device console.)

finished. total time: 133.102s

PS C:\11> fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ 0.001s]

finished. total time: 0.001s