Unlock Bootloader Using Termux Link [best]
If successful, you will see output indicating the bootloader is now unlocked. Reboot Phone B, and you will see the dreaded (but exciting) "Orange State" warning.
Unlocking an Android bootloader can be achieved without a PC by using Termux, a terminal emulator, on a host device to send ADB and Fastboot commands to a target phone via USB OTG. The process involves enabling developer options, entering Fastboot mode, and executing commands like fastboot flashing unlock unlock bootloader using termux link