# إعداد متقدم باستخدام أوامر ADB

#### المتطلبات المسبقة

* كمبيوتر محمول وAndroid TV الخاص بك متصلان بـ **نفس شبكة Wi‑Fi**
* **خيارات المطور** مفعّلة على التلفاز
* **تصحيح الأخطاء اللاسلكي** مفعّلة على التلفاز

<details>

<summary>كيفية تفعيل خيارات المطور</summary>

انتقل إلى **الإعدادات** (أيقونة الترس) → **النظام** أو **حول** → ابحث عن **إصدار بنية Android TV OS** أو **رقم الإصدار** → انقر بسرعة 7 إلى 8 مرات حتى ترى "أنت الآن مطوّر!"

</details>

<figure><img src="/files/5118bac4df2c90bc41b97581e3ad53a4d63ccf06" alt=""><figcaption></figcaption></figure>

#### الخطوة 1: تفعيل تصحيح الأخطاء اللاسلكي

1. انتقل إلى **الإعدادات** → **النظام** → **خيارات المطور**
2. تفعيل **تصحيح الأخطاء اللاسلكي**
3. دوّن **عنوان IP والمنفذ ورمز الاقتران** المعروضة على الشاشة

<figure><img src="/files/af45128684631dc1688f442038000ed46f3a95ac" 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-ar/iadad-mtqdm-bastkhdam-awamr-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.
