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
docs: a closing step that closes port 5555 (#164)
xbsheng37fb155c2c67
diff --git a/PROMPT.md b/PROMPT.mdindex 9faec58c9..f7ca3bc1e 100644--- a/PROMPT.md+++ b/PROMPT.md@@ -32,6 +32,10 @@ Back up firstbefore changing anything, and write a restore script that re-enables everything you disable.- Ask me what is plugged into the TV's USB ports. Some devices cut their power while USB debuggingis on, so warn me, and remind me to switch debugging off once you're done.+- When you finish, close network ADB instead of leaving it open: switch USB debugging and+ Network/ADB debugging off on the TV, revoke the USB debugging authorisations, reboot, and check+ that `nc -vz <tv ip> 5555` fails. Port 5555 is plaintext, and on firmware with `ro.adb.secure=0`+ any device on the LAN can get a shell.Debloat- List installed packages and sort them into: manufacturer telemetry/analytics, manufacturer contentdiff --git a/README.md b/README.mdindex 6d01fbc8c..a44953e64 100644--- a/README.md+++ b/README.md@@ -259,7 +259,14 @@ you re-enable it. If one lands, the worst case is a package coming back and youThe launcher just lists what is installed and launches it with intents that have been stable for a decade.**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 --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.mdindex 3c11674d7..b93801ec3 100644--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@ -16,6 +16,9 @@ Things that bit us or contributors, so they don't bite you. Commands use `tools/- **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.- **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