Trimo

How to remove bloatware from an Android TV with ADB

Published · Last updated · App version 1.0.0

To remove bloatware from an Android TV with ADB, turn on USB debugging, connect a computer with adb connect and the TV's IP address, then run adb shell pm uninstall -k --user 0 followed by the package name. That removes the app for the current user only. For a more cautious first step, use pm disable-user --user 0 instead.

What ADB debloating actually does

Android Debug Bridge (ADB) is Google's command-line tool for talking to an Android device. Its pm (package manager) commands can change which apps are installed or enabled. Pre-installed TV apps live on the read-only system partition, so ADB cannot delete their files. What it can do is switch an app off or remove it for one user. On a TV that has a single user, that is user 0.

Both leave the system image alone, so neither one needs root. Neither frees much storage either, because the app files stay on the system partition.

What you need before you start

Step 1: connect the computer to the TV

Open a terminal on the computer and run the command below with your TV's address. Port 5555 is the classic ADB port and is the one Android's documentation uses for connecting over Wi-Fi.

adb connect 192.168.1.50:5555
adb devices

A prompt appears on the TV asking whether to allow this computer. Choose Always allow. After that, adb devices should list the TV as device. If it says unauthorized, answer the prompt on the TV. If it says offline or the connection is refused, check that both devices are on the same network and that USB debugging is still on.

Newer versions of Android use Wireless debugging, which shows its own address and port and needs a one-time pairing with adb pair. When your TV offers it, use the values shown on the TV screen instead of 5555. Menu names differ by brand, so look for a Wireless debugging or network debugging entry in Developer options.

Step 2: find the package name of an app

ADB works with package names such as com.example.app, not with the names you see on the home screen. List the pre-installed packages with:

adb shell pm list packages -s

The -s option limits the list to system packages. -3 shows only apps you installed, -d shows disabled packages and -f adds each package's file path. The list gives names and nothing else. It does not tell you whether an app is safe to remove, so search for each unfamiliar name before you touch it.

Step 3: disable the app first

adb shell pm disable-user --user 0 com.example.app

Use the TV for a day or two. If something breaks, switch the app back on:

adb shell pm enable com.example.app

Step 4: uninstall for the current user

When you are sure about an app, remove it for user 0:

adb shell pm uninstall -k --user 0 com.example.app

A successful run prints Success. Some TVs refuse to remove particular packages and print a Failure message instead. That is the TV protecting something it needs, so leave that app alone. To bring a removed app back, pm install-existing --user 0 com.example.app reinstalls it from the copy still on the system partition. That command is not in the table on Android's ADB page, so test it on one harmless app before you rely on it. A factory reset also restores pre-installed apps, but it erases everything else on the TV.

What to leave alone

Some pre-installed apps look unimportant but run the TV: the home screen launcher, Settings, the on-screen keyboard, the input switcher and background services that other apps call. Removing one can leave the TV without a home screen or break the remote. Because ADB does not warn you, keep a list of every package you change and work in small batches. If the TV no longer shows a home screen, the commands above still work from the computer, so re-enable the last package you changed.

GoalCommand
Connect over the networkadb connect <TV IP>:5555
List system packagesadb shell pm list packages -s
Disable an appadb shell pm disable-user --user 0 <package>
Enable it againadb shell pm enable <package>
Remove for the current useradb shell pm uninstall -k --user 0 <package>

Removing bloatware without a computer

The commands above are free, but you have to look up every package name yourself and nothing records what you changed. Trimo runs the same kind of debug connection from the TV. After USB debugging is on, it connects to the TV's own debug service on 127.0.0.1, so no computer or cable is involved. Its Debloat screen explains each package, rates it Safe, Your call, Keep or Protected, blocks the apps the TV needs and journals every change. You get 15 seconds to press Keep changes before the TV reverts a change, and Restore and Undo all changes bring apps back. Browsing the list, Restore and Undo are free. The Disable and Remove for this user actions are a one-time Google Play purchase with no subscription, and they need Android 8 or newer. How to debloat an Android TV safely covers the routine.

Frequently asked questions

How do I uninstall system apps on Android TV without root?

Use ADB from a computer on the same network. Connect with adb connect, then run adb shell pm uninstall -k --user 0 followed by the package name. This removes the app for the current user without touching the system partition, so root is not needed. A debloat app on the TV can do the same without a computer.

Is it safe to run adb pm uninstall on a Google TV?

It is safe for apps you understand and risky for apps you do not. Removing the launcher, Settings or the keyboard can leave the TV hard to use. Disable an app first with pm disable-user, use the TV for a day or two, and only then remove it. Change a few packages at a time.

Does adb uninstall delete an app from the TV permanently?

Not with --user 0. The app is removed for the current user, and the files stay on the system partition. You can bring it back with pm install-existing --user 0 or by factory resetting the TV. Without the --user option, Android's documentation says the package is removed for all users.

How do I find the package name of an app on Android TV?

Run adb shell pm list packages -s to list system packages, or -3 for apps you installed. The list shows package names only, so search each unfamiliar name to learn what the app does. A debloat app shows the name with a short explanation next to it.

Can I remove bloatware from my Android TV without a computer?

Yes. After you turn on USB debugging, an app on the TV can connect to the TV's own debug service and run the same commands. Trimo does this for its Debloat screen. Disable and Remove for this user need a one-time Google Play purchase, and they need Android 8 or newer.

More articles

Get it on Google Play