

I write scripts that I use at boot.
Or whenever.
Funny that some apps tell you root is needed to do some things.
A little persistent frustration and failure can produce desired results.
Eg. Shizuku can’t start on boot without root.
Need to enable wireless debugging.
I wrote a horrific script that nmaps for ports in the wireless adb range.
Attempts to connect. If success, great. If fail. Do until yay!
Then it restarts adb in tcpip mode with a custom port of my choosing so,its available to other apps.
And another script to start shizuku using the shizuku script to run in terminal.
And I put those scripts in another script and put it in the .termux/boot folder
And ouila!
Shizuku starts at boot and other apps that rely on wadb can use it.
Oh, and it doesnt need a wireless connection.
I also ssh, proxy, nmap, scan, sftp, samba, etc.



The largest of the 3 carriers in Canada.
Bell.
Does not support ipv6.