ADB scripts and guide to debloat and optimize youra ndroid TV: disable background services, replace the launcher, and free up RAM.
Tested on a Philips 2K Smart TV PH running Google TV / Android 11 with 1.5GB RAM.
| Before | After | |
|---|---|---|
| RAM used | ~976MB | ~763MB |
| Free RAM | ~166MB | ~540MB+ |
| Animations | 1x | disabled |
| Home screen | Google TV (ads) | FLauncher (clean grid) |
| Background processes | unlimited | 2 |
| File | Description |
|---|---|
tv-optimization-en.md |
Full guide in English |
tv-optimization-pt.md |
Guia completo em Português |
clean-tv.sh |
Cleanup script (English) |
limpar_tv.sh |
Script de limpeza (Português) |
- Install ADB:
brew install android-platform-tools - Enable Wireless debugging in the TV's developer options
- Connect:
adb connect <tv-ip>:5555 - Follow the guide for your language
Run whenever the TV feels sluggish:
chmod +x clean-tv.sh
./clean-tv.shAll changes are reversible. To re-enable any disabled package:
adb -s <tv-ip>:5555 shell pm enable <package-name>