My Amazon Fire TV

Debloating my Fire TV


Project Introduction

At home I have a Fire TV Stick 4K Max (2nd generation). I purchased this a few years ago and use it as my primary method to stream content to my TV. As I have become more privacy conscious, I feel a bit less comfortable with having this device connected to my network. Amazon includes a variety of services that track what I do with my Fire TV, and serve up personalized advertisements. I recently discovered that it is possible to disable many of these background tracking services, and I am going to walk through how I accomplished that.

Setup

For this project I used my MacBook, however all of the tools I used should be available on both Windows and Linux, so nothing here is device dependent. However, the device version for the Fire TV is important, as it is important that you have an Android-based Fire TV for this to work. Amazon has begun to replace their Android-based Fire TV streaming devices with Vega based devices. Vega is a proprietary Linux-based operating system developed by Amazon. These Vega devices are far more locked down, and difficult to modify. [1] [2]

  1. Enable Developer Mode on the Fire TV
  2. Install Android Debug Bridge (ADB)

Both of these steps are well documented here [3]. It includes instructions for installing ADB on both Mac and Windows. If you are installing ADB on Ubuntu, you can run the following terminal commands.

sudo apt update
sudo apt install adb

Connect

Next, we must connect our computer to the Fire TV. Find the TV’s IP address

flowchart LR
    A["Settings"] --> B["My Fire TV"]
    B --> C["About"]
    C --> D["Network"]

Network Information

You should see something similar to this screenshot here. Note down the IP address.

Now that we have the IP address, we can connect to the TV using the terminal. Note that the debug tools connect over port 5555.

adb connect 192.168.1.71:5555

If successful you should see something like this.

Network Information

You may see a popup on the Fire TV asking you to approve debugging. If you see this approve it.

Backup Configuration

At this point we can begin disabling packages. However, it is best practice to document the current package configuration so we can restore it if we break anything. Using the debug mode, we are very unlikely to be able to do anything that bricks the device, but we could accidentally disable core packages that turn off features we want to use. By documenting all the packages we have installed and enabled right now, we can create a list to refer to, and manually restore if we break anything.

I ran the following commands in the terminal to document the original configuration.

# Device model
adb shell getprop ro.product.model

# Firmware build
adb shell getprop ro.build.version.incremental

# Installed packages
adb shell pm list packages > ~/firetv-packages.txt

# Already-disabled packages
adb shell pm list packages -d > ~/firetv-disabled-before.txt

Disable Packages

Now, we can begin disabling packages. Run the following command in the terminal to disable a chosen package. [4]

adb shell pm disable-user --user 0 com.amazon.tv.acr

To help decide which packages to disable, I consulted this Git Repo [5] for the tv-tweak project. This project is an automated tool to debloat your Android TV devices. I chose to manually debloat however, rather than install a relatively unknown Git repo. The list of packages to consider removing is here [6].

If your commands for disabling the packages work, you should see something like this.

Network Information

I chose to disable the following packages.

PackageDocumented function
com.amazon.tv.acrAutomatic content recognition
com.amazon.acaACR companion and activity monitoring
com.amazon.hybridadidserviceAdvertising ID
com.amazon.device.telemetry.emitterDevice telemetry
com.amazon.wirelessmetrics.serviceWireless metrics
com.amazon.perfcPerformance collection
com.amazon.perfcollectionPerformance monitoring
com.amazon.dp.loggerDiagnostic logging

After disabling, I didn’t notice any impact on the Fire Stick’s performance. But it is nice knowing that I have disabled some of the tracking and telemetry services.

Conclusion

After you disable what you wish to, you can restart your Fire TV, and check which packages are disabled. Confirm the ones you disabled are actually disabled.

adb shell pm list packages -d

When we’re done, we should turn ADB debugging back off, as it poses a minor security concern to leave enabled.

This was a relatively simple way to disable some of the advertising and tracking related packages on the device. In the future, I plan to create a custom Fire TV launcher, that will fully customize the home screen, and remove even more advertisements.

References

  1. Amazon Developer — Fire OS Overview
  2. Amazon Developer — Getting Started with Vega OS Development
  3. Amazon Developer — Connecting to Fire TV Through ADB
  4. Google Android Developers — Android Debug Bridge
  5. 26zl — TV Tweak GitHub Repository
  6. 26zl — Fire TV Stick 4K Max (2023) Package Configuration