I tried to install LineageOS on Banana Pi M5. I need to install with recovery mode but the device is not accept any input device (keyboard both USB cable and USB bluetooth). So I can’t install OS (or do anything with Banana Pi M5)
As for now, USB type A won’t probably work (HDMI is okay). Assuming your USB C is still connected to a PC computer, you can use the excellent scrcpy to interact with your M5.
If you want to use HDMI display & sound instead a scrcpy window, try:
scrcpy --otg --serial 1234567890
If stuck in BT pairing screen (TV variant) try to issue the following commands in a ADB shell, then reboot after 2mn wait:
settings put global setup_wizard_has_run 1
settings put secure user_setup_complete 1
settings put global device_provisioned 1