A little script designed to be launched from Termux in a rooted Android device.
It will verify if Internet is connected; if not, it will reconnect that (I wrote it on my vacation because there's no reliable WiFi).
Install Python3, git and sudo:
pkg install python3 git tsu
Clone repo:
git clone https://github.com/Hammerill/hotspot-mng
python3 hotspot-mng/main.py