Reduce LG promotions and unused background activity on a rooted LG webOS TV. Keep Plex, YouTube, Developer Mode, Homebrew, and TV inputs.
The script hides selected built-in apps, turns off supported promotion settings, and stops selected apps from loading in advance. It keeps a private record so you can undo its changes. It does not uninstall apps or block ads inside YouTube, Plex, or other streaming services.
You need a rooted LG webOS TV with working root SSH access, plus Python 3.9+ and OpenSSH on your computer. Developer Mode alone is not enough. See the connection and setup guide if you need help.
Support varies by model. Read-only planning has been tested on webOS 4.x; applying and undoing changes have automated tests but have not yet been verified on a real TV with this new script.
Download the latest release on your computer (requires curl):
mkdir -p lg-debloat
cd lg-debloat
curl -fL --output lg-debloat.py https://github.com/ChrisTitusTech/lg-debloat/releases/latest/download/lg-debloat.py
python3 lg-debloat.py --version
python3 lg-debloat.py plan --host tvReplace tv with your TV's IP address or SSH alias. SSH must already trust the TV's host key and connect using a key without a password prompt. For connection options, see the script guide.
Review the plan first. The command above does not change TV settings. To apply the default cleanup:
python3 lg-debloat.py apply --host tv
python3 lg-debloat.py status --host tvKeep the generated private/universal-state.json file: it contains the original settings needed to undo this run. Do not share it. To undo:
python3 lg-debloat.py restore --host tvFor more cleanup, preview plan --host tv --profile minimal. Use the same --profile minimal option when applying. The full script guide covers dry-runs, keeping specific apps, separate backups for multiple TVs, and recovery after errors.
Start with the script guide. The other guides describe optional, model-specific work; the script does not install the custom Home screen or disable AirPlay for you.
- Debloat script: options, backups, and undo
- TV access and SSH troubleshooting
- Backups and app inventory
- Advertising and a minimal Home screen
- AirPlay, HomeKit, and optional apps
- Daily landscape backgrounds
- Post-install: block LG firmware updates
- Performance findings and testing limits
- Recovery for the reference setup
- Privacy and safe sharing
- Reference setup, building, and development
MIT license. Photo credits and licensing are in NOTICE.