personal adb cli utilities.
phone refresh: refresh mobile network (switch to 2g then back to 4g)phone tether: switch usb function to tethering (rndis)phone mtp: switch usb function to mtpphone hotspot: manage mobile hotspothostpot [on|off]: toggle hotspothotspot status: show current hotspot ssid and client count, if onhotspot config: edit hotspot configuration (~/.config/phone/hotspot.conf)
install to ~/.local/share:
make installinstall to ./build and run:
make install PREFIX=build
./build/bin/phone <command>requires javac and android sdk
works on my machine™ ymmv