Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
Merge PR #202: close network ADB when you are done
Gathin239b3a77f9cb3f
diff --cc README.mdindex ecabd27cb,a44953e64..fc3025c5e--- a/README.md+++ b/README.md@@@ -275,13 -258,15 +275,20 @@@ you re-enable it. If one lands, the wor**Won't the apps break?** Streaming apps still update through the Play Store, which is left alone.The launcher just lists what is installed and launches it with intents that have been stable for a decade.+**Can I do this for someone in another home?** Yes, over a private [Tailscale](https://tailscale.com)+link instead of the same Wi-Fi: either Tailscale on their TV, shared with you, or a computer or Apple+TV at their home routing to it. Never by opening the ADB port on their router. Step by step in+[docs/REMOTE.md](docs/REMOTE.md).+**Isn't ADB access a security hole?** It is one explicit "allow this computer" tap on the TV, the- same as developing an Android app. Switch USB debugging off afterwards; the launcher keeps working.+ same as developing an Android app. Network ADB is plaintext on port 5555, and on firmware with+ `ro.adb.secure=0` any device on the LAN gets a shell, so close it when you are done:++ 1. On the TV: Developer options → turn **USB debugging** and **Network/ADB debugging** off, and+ revoke the USB debugging authorisations.+ 2. Reboot the TV, then confirm the port is gone from your computer: `nc -vz <tv ip> 5555` must fail.++ The launcher keeps working without debugging.**Can it block ads inside apps too?** Partly, with Android's Private DNS (Android 9 and newer). Pointit at an ad-blocking resolver such as [AdGuard DNS](https://adguard-dns.io) and every app's ad anddiff --cc docs/TROUBLESHOOTING.mdindex b4aa85f98,b93801ec3..ac06c7355--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@@ -27,6 -16,9 +27,7 @@@ Things that bit us or contributors, so- **USB devices go dead while USB debugging is on**, seen on the Xiaomi Mi Box S: its firmwareswitches the USB port to ADB device mode, which cuts the power to a USB speaker or drive. SwitchUSB debugging off when you're done; the launcher doesn't need it.-- **Close port 5555 when you're done.** It is plaintext, and on firmware with `ro.adb.secure=0` any- device on the LAN gets a shell. Turn USB debugging and Network/ADB debugging off on the TV, revoke- the USB debugging authorisations, reboot, then confirm `nc -vz <tv ip> 5555` fails.++- **Close port 5555 when you're done**: plaintext, and a shell for anyone on the LAN when `ro.adb.secure=0`. Steps in the README FAQ.- **Windows PowerShell 5.1 adds a byte-order mark** to text piped into a program, which turned thefirst batch command into gibberish. `tv.py` now strips it, and the `.ps1` scripts pipe clean UTF-8.- **"Allow USB debugging?" comes back** although `adb devices` already works: `tv.py` used its own