# 1. Connect ADB ke TV
adb connect <IP_TV>:5555

# 2. Grant SYSTEM_ALERT_WINDOW via ADB
adb shell appops set com.example.escobar_tv_client SYSTEM_ALERT_WINDOW allow

# 3. Grant permission battery optimization whitelist
adb shell dumpsys deviceidle whitelist +com.example.escobar_tv_client

# 4. Aktifkan accessibility via cmd (cara resmi Android 11)
adb shell cmd accessibility enable com.example.escobar_tv_client/.EscobarAccessibilityService

# 5. Pastikan accessibility enabled
adb shell settings put secure accessibility_enabled 1

# 6. Verifikasi hasilnya
adb shell settings get secure enabled_accessibility_services
# Harusnya muncul nama package Escobar di output