> For the complete documentation index, see [llms.txt](https://buzzblender.gitbook.io/buzzblender-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://buzzblender.gitbook.io/buzzblender-docs/advanced-setup-with-adb-commands.md).

# Advanced setup with ADB commands

#### Prerequisites

* A laptop and your Android TV connected to the **same Wi‑Fi network**
* **Developer Options** enabled on your TV
* **Wireless Debugging** enabled on your TV

<details>

<summary>How to enable Developer Options</summary>

Go to **Settings** (gear icon) → **System** or **About** → Find **Android TV OS build** or **Build number** → Click 7 to 8 times rapidly until you see "You are now a developer!"

</details>

<figure><img src="/files/R1pvQW1nzHgAywwpy2Cw" alt=""><figcaption></figcaption></figure>

#### Step 1: Enable Wireless Debugging

1. Go to **Settings** → **System** → **Developer options**
2. Enable **Wireless Debugging**
3. Note the **IP address, port, and pairing code** shown on screen

<figure><img src="/files/12lXpPnCgxrCFPzTkHJi" alt=""><figcaption></figcaption></figure>

#### Step 2: Pair your laptop with the TV

Open a terminal on your laptop and run:

{% code lineNumbers="true" expandable="false" %}

```bash
adb pair IP:PORT
```

{% endcode %}

Example: `adb pair 192.168.1.130:37081`

Enter the pairing code when prompted. After pairing succeeds, the TV will display a new connection port (typically ending in `:5555`).

#### Step 3: Connect to the TV

{% code lineNumbers="true" expandable="false" %}

```bash
adb connect IP:5555
```

{% endcode %}

Example: `adb connect 192.168.1.50:5555`

#### Step 4: Set Buzzblender as the screensaver

Run these commands to enable the screensaver and set Buzzblender as the default:

{% code lineNumbers="true" expandable="false" %}

```bash
adb shell settings put secure screensaver_enabled 1
adb shell settings put secure screensaver_activate_on_sleep 1
adb shell settings put secure sleep_timeout -1
adb shell settings put secure screensaver_components com.buzzblender.tv/.playback.PlaybackDreamService
adb shell settings put system screen_off_timeout 30000
```

{% endcode %}

What each command does:

* `screensaver_enabled 1` — Enables the screensaver
* `screensaver_activate_on_sleep 1` — Activates screensaver when the device sleeps
* `sleep_timeout -1` — Disables sleep timeout restrictions
* `screensaver_components com.buzzblender.tv/.playback.PlaybackDreamService` — Sets Buzzblender as the default screensaver (this is the setting Google removed from the UI)
* `screen_off_timeout 30000` — Sets the screen to turn off after 30 seconds of inactivity

#### Step 5: Verify the setup

Let your Android TV go idle for 30 seconds. Buzzblender should now display your content as the screensaver.

Need help with ADB setup? Email <help@buzzblender.com> to schedule a setup call with the support team.
