> The Nexus 5 had a bootlooping issue
Are you sure that wasn't a Nexus 5X? I'm still using a Nexus 5 (running some LineageOS fork) as a media controller.
I had a Nexus 5X that bootlooped, so I traded in its replacement for a Pixel 2, but its microphone died, and its replacement had a perma-locked bootloader... but the Nexus 5 is still doing fine.