TVTrim Join the waitlist

Blog

How to turn on ADB debugging on Android TV and Google TV

ยท 3 minute read

Short answer: To turn on ADB debugging on an Android TV or Google TV, open Settings, System, About and press OK on "Android TV OS build" seven times. This unlocks Developer options. Go back to System, open Developer options and switch on USB debugging, or Wireless debugging on Android 11 and newer. The first time a device connects, the TV asks you to allow it.

What is ADB debugging on a TV?

ADB (Android Debug Bridge) is a connection built into every Android device that lets another device send it commands. Developers use it to test apps. Owners use it to do things the TV's settings menu does not offer, such as disabling preinstalled apps or changing animation speed. On a TV it works over your home network, so no cable is needed.

It is switched off by default and hidden behind Developer options.

How do I unlock Developer options?

  1. Open Settings on the TV (the gear icon).
  2. Go to System, then About. On some older Android TV versions this is Device Preferences, then About.
  3. Scroll to Android TV OS build (on older versions, Build).
  4. Press OK on it seven times. A message says "You are now a developer".
  5. Go back one screen. Developer options now appears under System.

Which debugging mode should I use?

There are two. Either works with TVTrim and with a computer.

USB debugging (network)Wireless debugging
Available onMost Android TV and Google TV setsAndroid 11 and newer
Port5555, fixedShown on screen, changes after each TV restart
First connectionAccept an "Allow USB debugging?" prompt on the TVPair once with a 6 digit code
Best forSet and forgetTVs that do not accept network connections on 5555

Option A: USB debugging over the network

  1. In Developer options, switch on USB debugging.
  2. If your TV also lists ADB over network or Network debugging, switch that on too.
  3. Connect from your phone or computer to the TV's IP address on port 5555.
  4. The TV shows Allow USB debugging? Tick Always allow from this computer and choose Allow.

Option B: Wireless debugging

  1. In Developer options, open Wireless debugging and switch it on.
  2. Choose Pair device with pairing code. The TV shows a 6 digit code and a pairing port.
  3. Enter the TV's IP address, the pairing port and the code on your phone or computer while that dialog is still open.
  4. After pairing, connect using the port shown under IP address and Port on the Wireless debugging screen. This is a different port from the pairing port.

The connect port changes each time the TV restarts, so you will need to look it up again after a restart.

How do I find my TV's IP address?

Open Settings, then Network and Internet, and select the Wi-Fi network the TV is connected to. The IP address is on that screen and usually looks like 192.168.1.50.

Routers can hand out a different address later. To stop that, reserve the address for the TV in your router's DHCP settings.

Is it safe to leave debugging on?

A device has to be on your home network and be approved on the TV screen before it can send commands, so the practical risk at home is low. Two habits keep it that way:

  • Only choose Allow for a device you own and recognise.
  • Use Revoke USB debugging authorisations in Developer options if you ever approved something by mistake.

You can also switch debugging off when you are done. Changes already made, such as disabled apps, stay in place.

It does not connect. What should I check?

  • Same network. The phone or computer and the TV must be on the same Wi-Fi. Guest networks often block devices from seeing each other.
  • The prompt on the TV. If you missed the Allow prompt, connect again and watch the TV screen.
  • The right port. 5555 for USB debugging; the port shown on screen for Wireless debugging, not the pairing port.
  • The IP address changed. Check it again on the TV.
  • The TV restarted. Some TVs switch network debugging off after a restart. Turn it back on in Developer options.

With TVTrim you type the IP address into the app and tap Connect. The app supports both modes, waits 30 seconds for you to accept the prompt, and remembers each TV. See how it works.

Want the one tap version?

TVTrim does all of this from your phone, and can undo it. Join the waitlist and we'll email you when it's ready.