Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

examples: three closing checks count only a refusal as ADB closed, as the README does

Mazin Kanuga121774055514
diff --git a/examples/freebox-player-pop/README.md b/examples/freebox-player-pop/README.md
index 62b87754c..b4854a945 100644
--- a/examples/freebox-player-pop/README.md
+++ b/examples/freebox-player-pop/README.md
@@ -78,11 +78,15 @@ then shows "Vérifiez votre connexion réseau", switch DNS back and log in to Sp
## When you're done: close ADB
Port 5555 is plaintext. On the TV: Developer options > Revoke USB debugging authorisations, then
-turn USB debugging off. Check from the Mac that this fails:
+turn USB debugging off. Then check from the Mac that the player refuses the port:
```bash
-nc -vz <player-ip> 5555
+tools/venv/bin/python -I tools/adb-closed.py <player-ip>
```
+It must say the port is closed (exit 0); only a refused connection proves that. A timeout or "No route to
+host" proves nothing. Use the venv's Python here: Local Network privacy blocked the Command Line Tools
+Python on this Mac (see `debloat.txt`).
+
Also: a Freebox system update that re-enables packages means running `tools/disable.sh` on the list
again.
diff --git a/examples/philips-google-tv-ta7/README.md b/examples/philips-google-tv-ta7/README.md
index a07c41dd2..3316e8f2d 100644
--- a/examples/philips-google-tv-ta7/README.md
+++ b/examples/philips-google-tv-ta7/README.md
@@ -94,4 +94,6 @@ gear-button fix on after a reinstall. Before the first install, check that the s
Port 5555 is plaintext, so leave it off: Settings > System > Developer options > switch off USB debugging
(and Wireless debugging if it is on), choose "Revoke USB debugging authorisations", then restart the TV.
-From the PC, `nc -vz <tv ip> 5555` should then fail.
+From the PC, `tools/venv/bin/python -I tools/adb-closed.py <tv ip>` must then say the port is closed.
+Only a refused connection proves that: with `nc -vz <tv ip> 5555`, only "Connection refused" counts, and a
+timeout or "No route to host" proves nothing.
diff --git a/examples/tcl-43c645/README.md b/examples/tcl-43c645/README.md
index a7cef2145..88b069016 100644
--- a/examples/tcl-43c645/README.md
+++ b/examples/tcl-43c645/README.md
@@ -106,4 +106,6 @@ Not tested: casting, Miracast, firmware update, several-day stability.
## When you are done
Network ADB on port 5555 is plaintext. On the TV: Developer options → USB debugging off, and
-"Revoke USB debugging authorisations"; reboot, then check `nc -vz <tv ip> 5555` fails.
+"Revoke USB debugging authorisations"; reboot, then check that
+`tools/venv/bin/python -I tools/adb-closed.py <tv ip>` says the port is closed. Only a refusal counts: a
+timeout or "No route to host" proves nothing.