adb reboot bootloader
fastboot oem unlock
— but Device B is acting as a PC. The locked device still needs hardware buttons to confirm. This is the only legitimate "Termux link" method. unlock bootloader using termux link