Connect an Android TV
You can use adb toolbox to control an Android TV or streaming box that supports network debugging. If the TV shows a pairing code, use it to pair from your phone. If the manufacturer supports connecting by address and port, use those instead. After you connect and select the TV, open TV Remote and press a direction button. The highlighted item should move on the TV.
Before you start
- Put the phone and TV on the same Wi-Fi network. Have the TV remote handy.
- The standard six-digit pairing method on Android TV requires Android 13 or later. If your TV offers Pair device with pairing code, follow the TV pairing steps. See Android’s wireless debugging guide.
- If network debugging is already on and your TV only needs an IP address and port to connect, follow Connect with an address and port.
- If your TV only has a USB debugging switch, check whether the manufacturer supports network debugging on that model.
- After connecting, you can confirm the TV connection in Terminal.
- If your TCL TV says its address and port are unavailable after restarting, see how to reconnect your TCL TV.
- If your Fire TV shows port 5555 but won’t connect, check whether it runs Fire OS or Vega OS.
Settings can look different depending on your Android version. Use the IP address, ports, and pairing code shown on the device you’re connecting to.
Turn on debugging on the TV
Use the remote to open the TV’s settings. Go to Device Preferences → About.

Open About to find the build number. Highlight Android TV OS build and press the remote’s confirm button repeatedly until Developer options are enabled.

Highlight Android TV OS build and press the remote’s confirm button several times. Go back to Device Preferences and open Developer options.

Open Developer options. Turn on USB debugging or the TV’s ADB debugging option.

Find USB debugging or ADB debugging in Developer options. If the TV has Wireless debugging, open it and turn it on.

Select Enabled to turn on wireless debugging.
Developer options don’t appear after pressing the build number seven times on a Sony BRAVIA
These steps apply to Sony BRAVIA BZ40P, BZ35P, and BZ30P commercial displays.
- Press Options on the remote. Go to Settings → About and highlight Android TV OS build.
- Press the confirm button 10 times, then go to Settings → System → Developer options and turn on Wireless debugging.
The computer can’t find SHIELD TV even with USB debugging on
If your SHIELD TV has two USB-A ports and no Micro-USB debugging port, use these steps to connect it to a computer.
- Make sure Developer options → USB debugging is on. Then follow NVIDIA’s instructions and connect the computer to the USB port farthest from HDMI.
- When you finish debugging, switch the port back to its default USB mode before reconnecting a flash drive, keyboard, or other accessory.
TCL shows an IP address and port but no pairing code option
This can happen on the TCL 85Q9M Pro and 75Q9L Pro running V8-0015T11-LF1V487.
- On the TV, open Settings → About and check the model and firmware version.
- If turning on ADB shows only an IP address and port and there’s no Pair device with pairing code option, give TCL support your model and firmware version and ask how to authorize the connection.
Developer Options don’t appear after pressing the TV name seven times on an Insignia F30
If your Insignia F30 runs Fire OS and you haven’t signed in to Amazon, sign in first.
- Sign in to your Amazon account on the TV.
- Go to Settings → My Fire TV → About. Highlight the TV’s name and press the remote’s confirm button seven times. Go back one screen and look for Developer Options.
Fire TV has Developer Options, but ADB won’t connect
This applies to Fire TV models that run Vega OS, such as the Fire TV Stick 4K Select (2025).
- Check the OS under Settings → My Fire TV → About, or look up your model in Amazon’s device list.
- For Vega OS, use Amazon’s VDA debugging instructions. Port 5555 can appear even when the ADB steps in this guide don’t apply.
The computer can’t find a Fire TV smart TV over USB
Amazon’s ADB instructions for TVs with Fire OS built in use Wi-Fi.
- On the TV, turn on ADB Debugging in Developer Options.
- Put the TV and the device running adb toolbox on the same trusted Wi-Fi network, then connect with the TV’s address and port.
A flash drive or keyboard stops working after you turn on USB debugging
This applies to Fire OS devices with a separate USB Debugging switch.
- When you finish debugging, turn off USB Debugging in the Fire TV’s Developer Options.
- Reconnect the flash drive or keyboard and check that it works.
Pair a TV that shows a code
On the TV’s main Wireless debugging screen, note the IP address and connection port.

Enter the IP address from the main screen in the address field and the port in Connection port. On the TV, open the pairing dialog. Note the pairing port and code, and leave the dialog open.
On your phone, open adb toolbox. In Devices, tap Add new device → Remote connection → Universal method → Continue.
Turn on Pairing code and turn off Enable TCP/IP 5555 (recommended).
On the phone, enter the IP address and Connection port from the TV’s main Wireless debugging screen. Enter the Pairing port and six-digit Pairing code from the TV’s pairing dialog.

Fill in Pairing port and Pairing code using the numbers from the TV’s pairing dialog. Tap Pair on your phone and wait for Device paired. You can now connect.
Tap Connect. If the TV is paired but won’t connect, check its current IP address and connection port on the main Wireless debugging screen. If the TV changed Wi-Fi networks, put your phone on the same network.
Wireless pairing stalls when Chromecast is connected by Ethernet
If your Chromecast with Google TV runs Android 14 and pairing stalls while it’s on Ethernet, try Wi-Fi instead.
- Unplug the Ethernet cable and put Chromecast and your phone on the same trusted Wi-Fi network.
- Turn Wireless debugging back on and get a new pairing code.
Connect a TV by IP address and port
Check that network debugging is on. If the switch is missing, ask the manufacturer whether your model supports it.
Look up the IP address and port in the TV settings or the manufacturer’s instructions. Many TVs use port 5555. Enter the port for your model.
On your phone, choose Add new device → Remote connection → Universal method and tap Continue.
Turn off Pairing code.
Enter the TV’s IP address and connection port.

Use the IP address and port from your own TV. Tap Connect.
If the TV asks whether to allow debugging, use its remote to choose Allow.
A Philips TV has no pairing option and says it’s unauthorized
This can happen on the first connection over Ethernet with Philips models 55OLED705/12, 43PUS7304/12, and 55PUS7334/12 running Android TV 12 (STT2.230526.001, 4215).
- On the TV, turn on USB debugging in Developer options, then find the TV’s IP address in its network settings.
- Put the phone on the TV’s home network, then connect with the TV’s IP address and port 5555. When the TV asks Allow USB debugging?, use the remote to confirm and try connecting again.
Home Assistant can control a TCL TV, but adb toolbox can’t connect
If Home Assistant’s Android Debug Bridge integration is controlling your TCL 55C61B (Google TV 12, firmware V8-0008T01-LF1V548.002110), pause it and try again.
- Pause the TV’s Android Debug Bridge integration in Home Assistant.
- Return to adb toolbox and reconnect to the TV.
The TV box’s USB Ethernet adapter disconnects when USB debugging turns on
If a Xiaomi TV Box S (3rd Gen, MiTV-AFMU0, Google TV 14) loses its USB network connection as soon as you turn on USB debugging, use Wi-Fi instead.
- Put the box on a trusted Wi-Fi network to continue debugging. Connect using its current IP address from network settings.
- Turn off USB debugging when you’re done and check that the USB Ethernet adapter reconnects.
A Xiaomi or REDMI TV won’t reconnect after restarting
On a Xiaomi or REDMI MiTV-ASTP0 (mulan, Android 9), check whether ADB debugging turned off after the restart.
- Go back to the TV’s Developer options and turn ADB debugging back on.
- Check the TV’s current IP address in network settings, then reconnect in adb toolbox.
Insignia F30 disconnects when the screen turns off
This applies to Insignia F30 TVs running Fire OS that have Voice Commands When TV Screen Is Off.
- Wake the TV with the remote and reconnect in adb toolbox.
- To stay connected while the screen is off, go to Settings → Display & Sounds → Power Controls and turn on Voice Commands When TV Screen Is Off.
- Turn off the screen and try again. This setting uses more power in standby.
Pairing still works after a restart, but the IP address and port are unavailable
This can affect TCL 65Q7D Pro (V8-T653T01-LF1V641) and TCL 65T8C (V8-T653T01-LF1V643) running Google TV (Android 14, UTT2.250416.001 AU02).
- Wait for the TV to reconnect to Wi-Fi. Turn Wireless debugging off and back on.
- If the 65T8C still shows the address and port as unavailable, check that it isn’t installing an update. Shut the TV down normally, unplug it, and power it back on.
- Once IP address & Port shows an address and port, use those new values in adb toolbox.
The projector shows debugging is on but refuses the network connection
On an Aurzen BOOM air (Google TV, Android 11, RTMA.250416.043), USB debugging can still show as on if you previously used a command to turn off ADB. Toggle the switch to turn it back on.
- In the projector’s Developer options, turn USB debugging off and back on, then restart the projector.
- Put the phone and projector on the same trusted Wi-Fi network and connect by address and port. On this version, you can try port 5555.
Confirm the connection
- In adb toolbox, check that the TV shows Connected in Devices.
- Tap the gear next to the TV and choose Select this device. Wait for Device selected.
- Open Terminal. Under Device list, tap the device’s name, or switch to its tab if it’s already open. Run
pwd. If it prints a folder path, even just/, the device is responding. - If the command returns nothing, see what to do when ADB commands won’t run.
- Open TV Remote and press a direction button. Check that the selection moves on the TV.