Via Termux - Unlock Bootloader
Confirm the host can still see the target while in this mode: fastboot devices Use code with caution. If a serial number appears, you are ready to proceed. 5. Execute the Unlock Command
Unlocking the bootloader usually voids your manufacturer warranty. Device Support: unlock bootloader via termux
This is the most functional use case, using the Android phone as a replacement for a PC. Confirm the host can still see the target
Allows the host device to communicate with it. 3. Execution Commands unlock bootloader via termux
On Phone B (Termux, as root), send the command to reboot Phone A into fastboot mode:
Lock and unlock the bootloader | Android Open Source Project