Skip to content

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

Docs: warn that USB debugging can cut power to USB devices

Narendra Ram73f8548ee7ac
diff --git a/PROMPT.md b/PROMPT.md
index dfef8682b..9454c59c7 100644
--- a/PROMPT.md
+++ b/PROMPT.md
@@ -8,7 +8,8 @@ instead of writing them from scratch, and only needs to edit `launcher/.../value
Before you start, on the TV: Settings → Device Preferences → About → press OK on "Build" 7 times,
then go back → Developer options → turn on USB debugging (and Network/ADB debugging if your TV
-shows it). Keep the TV on.
+shows it). Keep the TV on. Some boxes cut power to their USB port while USB debugging is on, so a
+USB speaker or drive plugged into it goes dead until you switch debugging off again.
---
@@ -27,6 +28,8 @@ Connect
Back up first
- Save the full package list, disabled-package list, getprop output and all settings to a backup folder
before 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 debugging
+ is on, so warn me, and remind me to switch debugging off once you're done.
Debloat
- List installed packages and sort them into: manufacturer telemetry/analytics, manufacturer content
diff --git a/README.md b/README.md
index 89c5b11cc..2d897bec1 100644
--- a/README.md
+++ b/README.md
@@ -200,6 +200,9 @@ Things that bit us or contributors, so they don't bite you.
`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 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.
- **Windows PowerShell 5.1 adds a byte-order mark** to text piped into a program, which turned the
first batch command into gibberish. `tv.py` now strips it, and the `.ps1` scripts pipe clean UTF-8.
- **Git Bash rewrites paths** like `/data/local/tmp` into Windows paths. The scripts set