Skip to content

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

Merge PR #571: tools: tv.py --screenshot, capture on the TV and pull the PNG (#364)

Gathin23c39acf4b7a8b
diff --cc PROMPT.md
index a266566ed,443f41585..d3aaf0b6f
--- a/PROMPT.md
+++ b/PROMPT.md
@@@ -129,16 -120,12 +129,18 @@@ Launche
- Keep it light: the TV has about 1 GB of RAM. No blur, no video, no network polling.
Verify
- - After each change, inject remote key presses over ADB, take a screenshot from the TV and look at it.
+ - After each change, inject remote key presses over ADB, take a screenshot from the TV and look at it:
+ `tools/tv.py --screenshot shots/01-after.png` captures on the TV and pulls the PNG.
Fix what you see before moving on.
- - Live TV and HDMI screenshots come back empty (0 bytes); that is the TV, not a broken debloat. Check
+ - Live TV and HDMI screenshots come back empty (0 bytes); that is the TV, not a broken debloat, and
+ `--screenshot` exits 1 with that message. Check
`dumpsys activity activities | grep topResumedActivity` instead (see `docs/TROUBLESHOOTING.md`).
+- If the screen looks enlarged and clipped after an install or a reboot, check the display overrides
+ before editing the launcher grid: `wm size` and `wm density` show a physical value next to an
+ override, and an override left over from an old resolution experiment, or a density that comes back
+ wrong on some MediaTek Sony firmware, is not a launcher bug. An empty
+ `settings get secure display_density_forced` is a normal default, not damage - read all three
+ values first and put them back if you undo (`docs/TROUBLESHOOTING.md`).
- If a remote button relies on an accessibility helper, check that the service is enabled and bound
for the current user, then ask me to press the real button; an injected key is not proof (see
`docs/TROUBLESHOOTING.md`).