tv-debloat
TV debloat
Make the requested TV easier to use with reversible changes. Preserve installed streaming apps, sign-ins, casting, voice control, remote services, updates, accessibility, and the connection used to manage it.
Identify and connect
Use the device named by the user. Resolve its current address from the LAN or
tailnet, then confirm the model and Android version through ADB. Select that
device with adb -s <serial> for every device command. A tailnet name or an
open port does not establish ADB authorization.
Use installed Android Platform Tools, or obtain them from Google. Try the known debugging endpoint; do not scan unrelated devices. Modern wireless debugging can use separate pairing and connection ports instead of port 5555. Let the user enable debugging and approve the computer on the TV. If the TV requires Wi-Fi for wireless debugging, recheck its address after the switch.