Unlock Bootloader Using Termux -

To connect your phone to another phone (or a USB C-to-C cable).

If the connection is successful, you will see the target device's serial number in the list. If it appears as "unauthorized", check the target device's screen and allow USB debugging authorization. unlock bootloader using termux