# הגדרה מתקדמת באמצעות פקודות ADB

#### דרישות מקדימות

* מחשב נייד ו-Android TV שלך מחוברים ל- **אותה רשת Wi‑Fi**
* **אפשרויות מפתחים** מופעלות בטלוויזיה שלך
* **ניפוי באגים אלחוטי** מופעלות בטלוויזיה שלך

<details>

<summary>כיצד להפעיל אפשרויות מפתחים</summary>

עבור אל **הגדרות** (סמל גלגל השיניים) → **מערכת** או **אודות** → מצא **גרסת Android TV OS** או **מספר ה-build** → לחץ 7 עד 8 פעמים במהירות עד שתראה "עכשיו אתה מפתח!"

</details>

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

#### שלב 1: הפעלת ניפוי באגים אלחוטי

1. עבור אל **הגדרות** → **מערכת** → **אפשרויות מפתחים**
2. הפעל **ניפוי באגים אלחוטי**
3. רשמו את **כתובת IP, יציאה וקוד שיוך** מוצגים על המסך

<figure><img src="/files/2739b592a7b179ecf1400464524bdaa41fc63276" alt=""><figcaption></figcaption></figure>

#### שלב 2: שייך את המחשב הנייד שלך לטלוויזיה

פתח טרמינל במחשב הנייד שלך והרץ:

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

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

{% endcode %}

דוגמה: `adb pair 192.168.1.130:37081`

הזן את קוד השיוך כאשר תתבקש. לאחר שהשיוך יצליח, הטלוויזיה תציג יציאת חיבור חדשה (בדרך כלל מסתיימת ב `:5555`).

#### שלב 3: התחבר לטלוויזיה

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

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

{% endcode %}

דוגמה: `adb connect 192.168.1.50:5555`

#### שלב 4: הגדר את Buzzblender כשומר המסך

הרץ את הפקודות הבאות כדי להפעיל את שומר המסך ולהגדיר את Buzzblender כברירת המחדל:

{% 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 %}

מה עושה כל פקודה:

* `screensaver_enabled 1` — מפעיל את שומר המסך
* `screensaver_activate_on_sleep 1` — מפעיל את שומר המסך כשהמכשיר נכנס למצב שינה
* `sleep_timeout -1` — משבית את מגבלות זמן ההמתנה לשינה
* `screensaver_components com.buzzblender.tv/.playback.PlaybackDreamService` — מגדיר את Buzzblender כשומר המסך ברירת המחדל (זוהי ההגדרה ש-Google הסירה מהממשק)
* `screen_off_timeout 30000` — מגדיר את המסך לכיבוי לאחר 30 שניות של חוסר פעילות

#### שלב 5: אימות ההגדרה

אפשר ל-Android TV שלך להיות במצב סרק במשך 30 שניות. Buzzblender אמור כעת להציג את התוכן שלך כשומר המסך.

זקוקים לעזרה בהגדרת ADB? שלחו דוא״ל אל <help@buzzblender.com> כדי לתאם שיחת הגדרה עם צוות התמיכה.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://buzzblender.gitbook.io/buzzblender-docs/docs-he/adb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
