Unlock Bootloader Via Termux ((install))
The device will reboot, wipe data, and unlock. Challenges and Risks Using Termux for this purpose carries significant risks. Data Loss: Unlocking causes a full factory reset.
You must install the modified ADB/Fastboot tools on a secondary (host) phone: and the Termux:API app from F-Droid . unlock bootloader via termux