[Google Pixel 4a Questions & Answers] IchopBlow:
Yesterday I was trying to install CalyxOs on my Pixel4a. I followed the instructions on the website and then got stuck when the screen switched to fastbootd and the device was no longer recognised. The phone got stuck in `<waiting for any device >.

Prior to entering fastbootd, I am able to recognise my device by running `fastboot devices` but not `adb devices`.

The end of the logs from running `sudo ./device-flasher.linux `:

sudo ./device-flasher.linux
Android Factory Image Flasher version 1.0.3
Extracting sunfish-factory-2.8.0.zip
Verifying platform-tools_r30.0.4-linux.zip
Extracting platform-tools_r30.0.4-linux.zip
1. Connect to a wifi network and ensure that no SIM cards are installed
2. Enable Developer Options on device (Settings -> About Phone -> tap "Build number" 7 times)
3. Enable USB debugging on device (Settings -> System -> Advanced -> Developer Options) and allow the computer to debug (hit "OK" on the popup when USB is connected)
4. Enable OEM Unlocking (in the same Developer Options menu)

Press ENTER to continue

Detected sunfish <serialnumber>

Devices to be flashed:
sunfish <serialnumber>

Press ENTER to continue
Unlocking sunfish <serialnumber> bootloader...
5. Please use the volume and power keys on the device to unlock the bootloader
Flashing sunfish <serialnumber> bootloader...
Sending 'bootloader_a' (8357 KB) OKAY [ 0.330s]
Writing 'bootloader_a' (bootloader) Flashing Pack version s5-0.3-7357976
(bootloader) Flashing partition table for Lun = 0
(bootloader) Flashing partition table for Lun = 1
(bootloader) Flashing partition table for Lun = 2
(bootloader) Flashing partition table for Lun = 4
(bootloader) Flashing partition table for Lun = 5
(bootloader) Flashing partition xbl_a
(bootloader) Flashing partition xbl_config_a
(bootloader) Flashing partition aop_a
(bootloader) Flashing partition tz_a
(bootloader) Flashing partition hyp_a
(bootloader) Flashing partition abl_a
(bootloader) Flashing partition keymaster_a
(bootloader) Flashing partition cmnlib_a
(bootloader) Flashing partition cmnlib64_a
(bootloader) Flashing partition devcfg_a
(bootloader) Flashing partition qupfw_a
(bootloader) Flashing partition uefisecapp_a
(bootloader) Flashing partition logfs
OKAY [ 0.234s]
Finished. Total time: 0.836s
Rebooting into bootloader OKAY [ 0.076s]
Finished. Total time: 0.126s
Sending 'radio_a' (72372 KB) OKAY [ 1.970s]
Writing 'radio_a' (bootloader) Flashing Pack version SSD:g7150-00047-210319-B-7220401
(bootloader) Flashing partition modem_a
OKAY [ 0.353s]
Finished. Total time: 2.547s
Rebooting into bootloader OKAY [ 0.064s]
Finished. Total time: 0.114s
Erasing 'avb_custom_key' OKAY [ 0.217s]
Finished. Total time: 0.304s
Sending 'avb_custom_key' (0 KB) OKAY [ 0.140s]
Writing 'avb_custom_key' OKAY [ 0.225s]
Finished. Total time: 0.564s
Rebooting into bootloader OKAY [ 0.061s]
Finished. Total time: 0.111s
--------------------------------------------
Bootloader Version...: s5-0.3-7357976
Baseband Version.....: g7150-00047-210319-B-7220401
Serial Number........: <serialnumber>
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.070s]
Checking 'version-bootloader' OKAY [ 0.070s]
Checking 'version-baseband' OKAY [ 0.070s]
Setting current slot to 'a' OKAY [ 0.085s]
extracting boot.img (64 MB) to disk... took 0.152s
archive does not contain 'boot.sig'
Sending 'boot_a' (65536 KB) OKAY [ 2.050s]
Writing 'boot_a' OKAY [ 0.235s]
extracting dtbo.img (8 MB) to disk... took 0.017s
archive does not contain 'dtbo.sig'
Sending 'dtbo_a' (8192 KB) OKAY [ 0.360s]
Writing 'dtbo_a' OKAY [ 0.094s]
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_a' (4 KB) OKAY [ 0.140s]
Writing 'vbmeta_a' OKAY [ 0.077s]
extracting vbmeta_system.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta_system.sig'
Sending 'vbmeta_system_a' (4 KB) OKAY [ 0.140s]
Writing 'vbmeta_system_a' OKAY [ 0.077s]
archive does not contain 'vendor_boot.img'
extracting super_empty.img (0 MB) to disk... took 0.000s
Rebooting into fastboot OKAY [ 0.070s]
< waiting for any device >
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
Rebooting into bootloader FAILED (Status read failed (No such device))
fastboot: error: Command failed
Locking sunfish <serialnumber> bootloader...
6. Please use the volume and power keys on the device to lock the bootloader
Failed to lock sunfish <serialnumber> bootloader

Things I have tried:

- Different USB port (2.0 and 3.0)

- MacOs install

- Ubuntu 20.04 install

- Flashing Sunfish from flash.android.com (same issue - phone goes to fastbootd and is unrecognised)

- Running as root

TLDR;

- `fastboot devices` in bootloader mode recognizes device but `adb devices` does not

- Entering fastbootd mode `fastboot devices` no longer recognizes my device

- CalyxOs install and stock android install get stuck waiting for device in fastbootd mode