termux-autobooter
Run autobooter.py from your phone
What you need:
1. Rooted Android phone
2. USB-C to USB-C cable (or USB-C to USB-A adapter and normal cable)
Download Termux (not from Play Store)
Download Links
Run these commands in Termux.
You can copy/paste all in one shot. At some point, installation will hang and ask you questions in the terminal. Just press ENTER. Root access will be requested from Termux, grant it.
pkg update && pkg upgrade -y
pkg install python sudo -y
mkdir python
cd python
curl https://raw.githubusercontent.com/alltechdev/termux-autobooter/refs/heads/main/autobooter.py --output autobooter.py
pip install pyserial
sudo python3 autobooter.py
This script will automatically run autobooter.py. Plug in your MTK device, and let the magic happen.
To exit - Ctrl + c
To start (upon opening fresh termux shell)
cd python
sudo python3 autobooter.py