Skip to content

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

Merge PR #236: docs: a TV with no debugging switch at all is out of reach

Gathin236c63e5242b33
diff --cc docs/TROUBLESHOOTING.md
index 1167bbb6c,49d07b177..b4aa85f98
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@@ -10,12 -10,17 +10,20 @@@ Things that bit us or contributors, so
`tools/tv.py` avoids the binary entirely.
- **No "wireless debugging" toggle** on some TVs, Xiaomi among them. USB debugging alone opens
network ADB on port 5555.
+ - **USB debugging is greyed out and there is no Wireless debugging entry either**, seen on a carrier
+ box ([Airtel Xstream, Android 11](https://github.com/Gathin23/cleanyourtv/issues/227)). Some ISP
+ firmware removes both switches, and then no shell can be reached: `tools/tv.py` fails,
+ `adb connect <ip>:5555` times out, and so does a port check. That timeout is the firmware, not
+ Wi-Fi, the router or the cable, so don't go rebuilding the network for it. Greyed-out rather than
+ missing points at a device-owner policy or a provisioning lock; the toggle comes back after a
+ firmware update from the ISP, or not at all. Without one of the two switches this repo has nothing
+ to talk to.
- **USB debugging never opens port 5555** on some Google TV sets (a Skyworth-built Philips among
them). Pair once through Wireless debugging with the stock `adb` (`adb pair <ip>:<port> <code>`,
- then `adb connect`), run `adb tcpip 5555`, and `tools/tv.py` works from then on.
+ then `adb connect`), run `adb tcpip 5555`, and `tools/tv.py` works from then on. `dns-sd -B
+ _adb-tls-pairing._tcp` (or `adb mdns services`) shows the pairing port while the code is on screen.
+ Android switches Wireless debugging off whenever Wi-Fi drops; turn it back on and `adb` reconnects
+ without a new code. Port 5555 from `adb tcpip` usually lasts only until the next reboot.
- **USB devices go dead while USB debugging is on**, seen on the Xiaomi Mi Box S: its firmware
switches the USB port to ADB device mode, which cuts the power to a USB speaker or drive. Switch
USB debugging off when you're done; the launcher doesn't need it.