[Google Pixel Questions & Answers] Atinderpal:
whenever i run flash-all file to flash factory image, it shows this error ,

Sending 'bootloader_a' (32480 KB) OKAY [ 1.898s]

Writing 'bootloader_a' FAILED (remote: 'bootloader version is not valid')

fastboot: error: Command failed

Rebooting into bootloader OKAY [ 0.013s]

Finished. Total time: 0.017s

< waiting for any device >

Sending 'radio_a' (57156 KB) OKAY [ 3.460s]

Writing 'radio_a' OKAY [ 0.887s]

Finished. Total time: 5.259s

Rebooting into bootloader OKAY [ 0.006s]

Finished. Total time: 0.013s

< waiting for any device >

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

Bootloader Version...: 8996-012001-1907011432

Baseband Version.....: N/A

Serial Number........: FA6BN0301841

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

extracting android-info.txt (0 MB) to RAM...

Checking 'product' OKAY [ 0.042s]

Checking 'version-bootloader' OKAY [ 0.043s]

Checking 'version-baseband' FAILED

Device version-baseband is 'N/A'.

Update requires '8996-130361-1905270421'.

fastboot: error: requirements not met!

Press any key to exit...

after giving command fastboot getvar all

this came up:-

(bootloader) version:0.5

(bootloader) hw-revision:PVT

(bootloader) mid:G-2PW4100

(bootloader) version-main:1.0.0.61

(bootloader) imei:****************

(bootloader) ramdump-mode:false

(bootloader) boot-mode:FASTBOOT

(bootloader) has-slot:radio:yes

(bootloader) has-slot:bootloader:yes

(bootloader) has-slot:reserve5:no

(bootloader) has-slot:devinfo:no

(bootloader) has-slot:fsg:no

(bootloader) has-slot:mfg:no

(bootloader) has-slot:board_info:no

(bootloader) has-slot:reserve4:no

(bootloader) has-slot:metadata:no

(bootloader) has-slot:pg2fs:no

(bootloader) has-slot:pg1fs:no

(bootloader) has-slot:ramdump:no

(bootloader) has-slot:frp:no

(bootloader) has-slot:reserve3:no

(bootloader) has-slot:cdt:no

(bootloader) has-slot:ddr:no

(bootloader) has-slot:modemst2:no

(bootloader) has-slot:modemst1:no

(bootloader) has-slot:fsc:no

(bootloader) has-slot:dip:no

(bootloader) has-slot:dpo:no

(bootloader) has-slot:devinfobak:no

(bootloader) has-slot:sec:no

(bootloader) has-slot:persist:no

(bootloader) has-slot:ssd:no

(bootloader) has-slot:misc:no

(bootloader) has-slot:xbl:yes

(bootloader) has-slot:reserve0:no

(bootloader) has-slot:userdata:no

(bootloader) has-slot:system:yes

(bootloader) has-slot:vendor:yes

(bootloader) has-slot:apdp:yes

(bootloader) has-slot:msadp:yes

(bootloader) has-slot:modem:yes

(bootloader) has-slot:devcfg:yes

(bootloader) has-slot:hosd:yes

(bootloader) has-slot:boot:yes

(bootloader) has-slot:aboot:yes

(bootloader) has-slot:cmnlib64:yes

(bootloader) has-slot:cmnlib32:yes

(bootloader) has-slot:hyp:yes

(bootloader) has-slot:pmic:yes

(bootloader) has-slot:rpm:yes

(bootloader) has-slot:tz:yes

(bootloader) has-slot:keymaster:yes

(bootloader) has-slot:bootlocker:yes

(bootloader) slot-count:2

(bootloader) current-slot:a

(bootloader) slot-retry-count:b:3

(bootloader) slot-unbootable:b:no

(bootloader) slot-successful:b:no

(bootloader) slot-retry-count:a:3

(bootloader) slot-unbootable:a:no

(bootloader) slot-successful:a:no

(bootloader) battery-soc-ok:yes

(bootloader) battery-voltage:4251000

(bootloader) variant:US

(bootloader) secure:no

(bootloader) unlocked:yes

(bootloader) version-baseband:N/A

(bootloader) version-bootloader:8996-012001-1907011432

(bootloader) off-mode-charge:1

(bootloader) charger-screen-enabled:1

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x635400000

(bootloader) partition-type:system_b:ext4

(bootloader) partition-size:system_b: 0x80000000

(bootloader) partition-type:system_a:ext4

(bootloader) partition-size:system_a: 0x80000000

(bootloader) partition-type:vendor_b:ext4

(bootloader) partition-size:vendor_b: 0x12c00000

(bootloader) partition-type:vendor_a:ext4

(bootloader) partition-size:vendor_a: 0x12c00000

(bootloader) partition-type:boot_b:raw

(bootloader) partition-size:boot_b: 0x2000000

(bootloader) partition-type:boot_a:raw

(bootloader) partition-size:boot_a: 0x2000000

(bootloader) serialno:FA6BN0301841

(bootloader) kernel:lk

(bootloader) product:sailfish

all:

Finished. Total time: 2.262s

tried flashing many factory images starting from 7.1 to android 10 ,

same result , cant boot in recovery as well

any fix for it ???