fastboot sometimes stops finding devices and needs a chroot 'shutdown'
Just a small inconvenience: While working with my Xperia Z1C (amami) device on Arch Linux, there have been a few instances where
pmbootstrap flasher stops seeing the device. Flashing commands get stuck in
< waiting for any device >.
However, when I run
fastboot devices or other commands outside the chroot, they work fine.
The workaround is to shut down the chroot using
pmbootstrap shutdown; next time around it works again. I have now documented this on the wiki: https://wiki.postmarketos.org/wiki/Troubleshooting#flasher_.28fastboot.29_is_stuck_in_.3C_waiting_for_any_device_.3E