Skip to content

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

PROMPT/README: confirm ADB is closed with tools/adb-closed.py, since nc lies on macOS

amachadorc816d91c52a5
diff --git a/PROMPT.md b/PROMPT.md
index f38d0836c..f58b50530 100644
--- a/PROMPT.md
+++ b/PROMPT.md
@@ -40,8 +40,10 @@ Back up first
is 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.
+ with `tools/adb-closed.py <tv ip>` that the port refuses the connection. Don't trust `nc` on macOS:
+ Local Network privacy can block it too, and its "No route to host" proves nothing; only "Connection
+ refused" does. 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 content
diff --git a/README.md b/README.md
index 84e1dc5b9..acea27e1e 100644
--- a/README.md
+++ b/README.md
@@ -358,8 +358,10 @@ same as developing an Android app. Network ADB is plaintext on port 5555, and on
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.
- Without `nc` (Windows): `python tools/adb-closed.py <tv ip>` must say the port is closed.
+2. Reboot the TV, then confirm the port is gone from your computer:
+ `python3 tools/adb-closed.py <tv ip>` must say the port is closed. With `nc -vz <tv ip> 5555`,
+ only "Connection refused" counts: on macOS, Local Network privacy can block `nc` and make it
+ fail with "No route to host" even while the port is open.
The launcher keeps working without debugging.