[Google Pixel 5a] Bytesphere:
Here's the results of my attempt using the Android Flash tool (see attached). One is for VZW phones and one is for the generic Android build for Pixels. I think this shows its partially bricked. But I can still do things on Fastboot, but can't think of anything that would help.

The phone has been running Lineageos 20 just fine for the last 3 months.

These didn't work:

fastboot reboot > back to fastboot mode

fastbook flashing get_unlock_ability > FAILED (remote: 'Error getting unlock ability No Response')

fastboot flashing unlock > FAILED (remote: 'Error getting device locked state No Response')

fastboot boot boot.img > FAILED (remote: 'error getting device locked state No Response')

fastboot boot vendor_boot.img > FAILED (remote: 'error getting device locked state No Response')

fastboot flash boot boot.img > FAILED (remote: 'error getting device locked state No Response')

fastboot flash vendor_boot vendor_boot.img > FAILED (remote: 'error getting device locked state No Response')

fastboot getvar all > listed all variables , see below:

(bootloader) product:barbet

(bootloader) serialno:----MASKED----

(bootloader) variant:SM7 UFS

(bootloader) max-download-size:0x10000000

(bootloader) slot-suffixes:_a,_b

(bootloader) version-bootloader:b9-0.5-9825789

(bootloader) version-baseband:g7250-00258-230518-B-10157620

(bootloader) secure-boot:pRODUCTION

(bootloader) secure:yes

(bootloader) hw-revision:MP1.0

(bootloader) is-userspace:no

(bootloader) slot-count:2

(bootloader) current-slot:a

(bootloader) unlocked:error

(bootloader) nos-production:error

(bootloader) off-mode-charge:1

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

(bootloader) slot-unbootable:a:no

(bootloader) slot-successful:a:yes

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

(bootloader) slot-unbootable:b:no

(bootloader) slot-successful:b:yes

(bootloader) battery-voltage:3970

(bootloader) battery-soc-ok:yes

(bootloader) snapshot-update-status:none

(bootloader) storage-vendor:MICRON

(bootloader) storage-model:MT128GASAO4U21

(bootloader) storage-rev:0302

(bootloader) citadel-fw:error

(bootloader) auto-shutdown:0

(bootloader) partition-type:ssd:raw

(bootloader) partition-size:ssd:0x2000

(bootloader) partition-type:persist:raw

(bootloader) partition-size:persist:0x2000000

(bootloader) partition-type:misc:raw

(bootloader) partition-size:misc:0x100000

(bootloader) partition-type:keystore:raw

(bootloader) partition-size:keystore:0x80000

(bootloader) partition-type:frp:raw

(bootloader) partition-size:frp:0x80000

(bootloader) partition-type:boot_a:raw

(bootloader) partition-size:boot_a:0x6000000

(bootloader) partition-type:boot_b:raw

(bootloader) partition-size:boot_b:0x6000000

(bootloader) partition-type:vendor_boot_a:raw

(bootloader) partition-size:vendor_boot_a:0x6000000

(bootloader) partition-type:vendor_boot_b:raw

(bootloader) partition-size:vendor_boot_b:0x6000000

(bootloader) partition-type:dtbo_a:raw

(bootloader) partition-size:dtbo_a:0x1000000

(bootloader) partition-type:dtbo_b:raw

(bootloader) partition-size:dtbo_b:0x1000000

(bootloader) partition-type:modem_a:raw

(bootloader) partition-size:modem_a:0xC300000

(bootloader) partition-type:modem_b:raw

(bootloader) partition-size:modem_b:0xC300000

(bootloader) partition-type:klog:raw

(bootloader) partition-size:klog:0x800000

(bootloader) partition-type:metadata:raw

(bootloader) partition-size:metadata:0x1000000

(bootloader) partition-type:vbmeta_system_a:raw

(bootloader) partition-size:vbmeta_system_a:0x10000

(bootloader) partition-type:vbmeta_system_b:raw

(bootloader) partition-size:vbmeta_system_b:0x10000

(bootloader) partition-type:super:raw

(bootloader) partition-size:super:0x245800000

(bootloader) partition-type:userdata:raw

(bootloader) partition-size:userdata:0x1B46FFB000

(bootloader) partition-type:xbl_a:raw

(bootloader) partition-size:xbl_a:0x380000

(bootloader) partition-type:xbl_config_a:raw

(bootloader) partition-size:xbl_config_a:0x20000

(bootloader) partition-type:xbl_b:raw

(bootloader) partition-size:xbl_b:0x380000

(bootloader) partition-type:xbl_config_b:raw

(bootloader) partition-size:xbl_config_b:0x20000

(bootloader) partition-type:ALIGN_TO_128K_1:raw

(bootloader) partition-size:ALIGN_TO_128K_1:0x1A000

(bootloader) partition-type:cdt:raw

(bootloader) partition-size:cdt:0x10000

(bootloader) partition-type:cdt_backup:raw

(bootloader) partition-size:cdt_backup:0x10000

(bootloader) partition-type:ddr:raw

(bootloader) partition-size:ddr:0x100000

(bootloader) partition-type:aop_a:raw

(bootloader) partition-size:aop_a:0x80000

(bootloader) partition-type:tz_a:raw

(bootloader) partition-size:tz_a:0x400000

(bootloader) partition-type:hyp_a:raw

(bootloader) partition-size:hyp_a:0x80000

(bootloader) partition-type:abl_a:raw

(bootloader) partition-size:abl_a:0x200000

(bootloader) partition-type:keymaster_a:raw

(bootloader) partition-size:keymaster_a:0x80000

(bootloader) partition-type:cmnlib_a:raw

(bootloader) partition-size:cmnlib_a:0x80000

(bootloader) partition-type:cmnlib64_a:raw

(bootloader) partition-size:cmnlib64_a:0x80000

(bootloader) partition-type:devcfg_a:raw

(bootloader) partition-size:devcfg_a:0x20000

(bootloader) partition-type:qupfw_a:raw

(bootloader) partition-size:qupfw_a:0x14000

(bootloader) partition-type:vbmeta_a:raw

(bootloader) partition-size:vbmeta_a:0x10000

(bootloader) partition-type:reserve_1:raw

(bootloader) partition-size:reserve_1:0x800000

(bootloader) partition-type:uefisecapp_a:raw

(bootloader) partition-size:uefisecapp_a:0x200000

(bootloader) partition-type:imagefv_a:raw

(bootloader) partition-size:imagefv_a:0x200000

(bootloader) partition-type:apdp_a:raw

(bootloader) partition-size:apdp_a:0x10000

(bootloader) partition-type:multiimgoem_a:raw

(bootloader) partition-size:multiimgoem_a:0x8000

(bootloader) partition-type:featenabler_a:raw

(bootloader) partition-size:featenabler_a:0x20000

(bootloader) partition-type:aop_b:raw

(bootloader) partition-size:aop_b:0x80000

(bootloader) partition-type:tz_b:raw

(bootloader) partition-size:tz_b:0x400000

(bootloader) partition-type:hyp_b:raw

(bootloader) partition-size:hyp_b:0x80000

(bootloader) partition-type:abl_b:raw

(bootloader) partition-size:abl_b:0x200000

(bootloader) partition-type:keymaster_b:raw

(bootloader) partition-size:keymaster_b:0x80000

(bootloader) partition-type:cmnlib_b:raw

(bootloader) partition-size:cmnlib_b:0x80000

(bootloader) partition-type:cmnlib64_b:raw

(bootloader) partition-size:cmnlib64_b:0x80000

(bootloader) partition-type:devcfg_b:raw

(bootloader) partition-size:devcfg_b:0x20000

(bootloader) partition-type:qupfw_b:raw

(bootloader) partition-size:qupfw_b:0x14000

(bootloader) partition-type:vbmeta_b:raw

(bootloader) partition-size:vbmeta_b:0x10000

(bootloader) partition-type:reserve_2:raw

(bootloader) partition-size:reserve_2:0x800000

(bootloader) partition-type:uefisecapp_b:raw

(bootloader) partition-size:uefisecapp_b:0x200000

(bootloader) partition-type:imagefv_b:raw

(bootloader) partition-size:imagefv_b:0x200000

(bootloader) partition-type:apdp_b:raw

(bootloader) partition-size:apdp_b:0x10000

(bootloader) partition-type:multiimgoem_b:raw

(bootloader) partition-size:multiimgoem_b:0x8000

(bootloader) partition-type:featenabler_b:raw

(bootloader) partition-size:featenabler_b:0x20000

(bootloader) partition-type:devinfo:raw

(bootloader) partition-size:devinfo:0x1000

(bootloader) partition-type:spunvm:raw

(bootloader) partition-size:spunvm:0x800000

(bootloader) partition-type:splash:raw

(bootloader) partition-size:splash:0x8000

(bootloader) partition-type:limits:raw

(bootloader) partition-size:limits:0x1000

(bootloader) partition-type:limits-cdsp:raw

(bootloader) partition-size:limits-cdsp:0x1000

(bootloader) partition-type:toolsfv:raw

(bootloader) partition-size:toolsfv:0x100000

(bootloader) partition-type:logfs:raw

(bootloader) partition-size:logfs:0x800000

(bootloader) partition-type:storsec:raw

(bootloader) partition-size:storsec:0x20000

(bootloader) partition-type:uefivarstore:raw

(bootloader) partition-size:uefivarstore:0x80000

(bootloader) partition-type:secdata:raw

(bootloader) partition-size:secdata:0x7000

(bootloader) partition-type:ALIGN_TO_128K_2:raw

(bootloader) partition-size:ALIGN_TO_128K_2:0x1A000

(bootloader) partition-type:modemst1:raw

(bootloader) partition-size:modemst1:0x280000

(bootloader) partition-type:modemst2:raw

(bootloader) partition-size:modemst2:0x280000

(bootloader) partition-type:fsg:raw

(bootloader) partition-size:fsg:0x280000

(bootloader) partition-type:fsc:raw

(bootloader) partition-size:fsc:0x20000

(bootloader) partition-type:system_a:raw

(bootloader) partition-size:system_a:0x35856000

(bootloader) partition-type:product_a:raw

(bootloader) partition-size:product_a:0x2B2FF000

(bootloader) partition-type:system_ext_a:raw

(bootloader) partition-size:system_ext_a:0x1C029000

(bootloader) partition-type:vendor_a:raw

(bootloader) partition-size:vendor_a:0x2E774000