su echo -n -e "\x01\x00\x00\x00" > /dev/block/bootdevice/byobootloader
For some devices:
You should see your device listed. If not, run: unlock bootloader using termux better