A lightweight utility for Android TV and Android phones that gives you a 1-click UI to connect/disconnect Bluetooth devices, or complete ADB automation support.
- 1-Click Connect: Simple UI to instantly toggle connections from your TV.
- ADB Automation: Trigger connections/disconnections via terminal or automation scripts (Tasker, Home Assistant).
- Recent Sorting: Automatically sorts paired devices by most recently used.
- Universal Compatibility: Works on Android TV and Android phones (Android 8.0+).
- Low Overhead: Minimal impact on system resources and stays ready across restarts.
Simply launch the AndroidTV Bluetooth Controller app. All your paired devices will appear in a list. Click any device to connect or disconnect. Your most recently used devices will automatically stay at the top.
Connect or disconnect your Bluetooth devices by sending broadcast intents. This is perfect for mapping to remote buttons (via Button Mapper) or integrating into "Movie Mode" scenes.
By Name (Recommended):
adb shell am broadcast -a com.saihgupr.btcontrol.ACTION_CONNECT \
-n com.saihgupr.btcontrol/.BluetoothControlReceiver \
-e name "Your Device Name"Note: Name matching is case-insensitive (e.g., "LE_WH-1000XM4").
By MAC Address:
adb shell am broadcast -a com.saihgupr.btcontrol.ACTION_CONNECT \
-n com.saihgupr.btcontrol/.BluetoothControlReceiver \
-e address "CC:98:8B:F4:97:BA"adb shell am broadcast -a com.saihgupr.btcontrol.ACTION_DISCONNECT \
-n com.saihgupr.btcontrol/.BluetoothControlReceiver \
-e name "Your Device Name"Download the latest APK from the Releases page.
Option A: Via ADB (Fastest)
adb install -r path/to/AndroidTVBluetooth.apkOption B: Manual (No PC needed)
- Transfer the APK to your TV (using a USB drive or a "Send Files to TV" app).
- Open your TV's File Explorer and select the APK to install.
- If prompted, allow "Install from Unknown Sources".
Option A: Via ADB
adb shell pm grant com.saihgupr.btcontrol android.permission.BLUETOOTH_CONNECTOption B: Manual (On TV)
- Go to your TV's Settings > Apps > See all apps.
- Find AndroidTV Bluetooth Controller.
- Select Permissions and ensure Nearby Devices (Bluetooth) is allowed.
Launch the AndroidTVBluetooth app manually on your TV one time to move it out of the system's "stopped" state. You can close it immediately after.
If you prefer to build it yourself:
./gradlew assembleDebug
adb install -r app/build/outputs/apk/debug/AndroidTVBluetooth.apkIf connection fails, check logcat to see which devices the TV detects:
adb logcat -d | grep "BtManagerHelper"This will print a list of paired devices if your specified name was not found.
This project is open-source and free. If you find it useful, consider giving it a star ⭐ or making a donation to support development.
