For the RCA 55” 4K Google TV (RTGU5570), or any Google TV / Android TV. You build the app on your computer once, then send it to the TV over Wi-Fi (option A), a USB stick (option B), or straight from Android Studio (option C).
git clone https://github.com/matthope001-hub/HomeIPTV.HomeIPTV folder. Wait for “Gradle sync” to finish.app/build/outputs/apk/debug/app-debug.apkThe Avalanche goal horn is included at app/src/main/res/raw/goal_horn.mp3 and is built into the app. To use a different sound, replace that file (keep the name lowercase, .mp3, .ogg or .wav) and build again. Only the first 10 seconds play, fading out at the end. Delete the file to go back to the horn generated in code.
To hear it, open TV Dash on the TV, then on the phone setup page press 🚨 Test horn.
192.168.1.20. TV Dash also shows it in its header once it’s running.adb is on your PATH) and connect:
adb connect 192.168.1.20:5555
The TV shows Allow USB debugging? Tick Always allow from this computer and choose Allow. Run the command again if it said “failed to authenticate”.
HomeIPTV folder):
adb install -r app/build/outputs/apk/debug/app-debug.apk
It prints Success.
If adb connect is refused (some newer Google TV updates): on the TV open Developer options ▸ Wireless debugging → On ▸ Pair device with pairing code. It shows an address, port and code:
adb pair 192.168.1.20:37000
Type the code, then adb connect to the address and port shown on the Wireless debugging screen (not the pairing one), and install as above.
app-debug.apk onto a USB stick and plug it into the TV’s USB port.adb connect 192.168.1.20:5555 (or pair as in option A).When the Avs score while you’re in another app (Netflix, YouTube…), TV Dash flashes a silent red glow around the edges of the screen. Google TV hides the setting for this, so turn it on from your computer after installing (connect with adb connect as in option A first):
adb shell appops set com.matt.tvdash SYSTEM_ALERT_WINDOW allow
Then open TV Dash once. The phone setup page shows Red edge glow over other apps: On ✓ when it worked. To turn it off again, run the same command with deny instead of allow.
TV Dash keeps a small background watcher running for this. Some streaming apps block other apps from drawing over them, and then the glow won’t show there.
Apps ▸ See all (or Your apps) ▸ TV Dash. To keep it handy, long-press it and choose Add to favourites so it shows on the Google TV home screen.
Pull or download the latest code, build again (step 1), then repeat your install option. adb install -r keeps your favourites, tile order and phone-setup settings.
adb can’t find the TV: the computer and TV must be on the same network; check the IP again (it can change after a router restart).