To enable & disable Bluetooth using below adb commands needs your device to be rooted or if you are working on android development, your android should be userdebug build with root access., Enable Bluetooth $ adb shell service call bluetooth_manager 6 Disabled Bluetooth $ adb shell service call bluetooth_manager 8 Open Bluetooth Settings $ adb shell am start -a android.settings.BLUETOOTH_SETTINGS If you are using only user build during development or you don’t have root access, you can still enable bluetooth as mentioned in our another post “adb shell command to Turn ON Bluetooth & make it discoverable”

Execution & Command Syntax

Terminalbash
adb commands needs your device to be rooted or if you are working on android development, your android should be userdebug build with root access
Terminalbash
adb shell service call bluetooth_manager 6 Disabled Bluetooth $ adb shell service call bluetooth_manager 8 Open Bluetooth Settings $ adb shell am start -a android
Terminalbash
adb shell command to Turn ON Bluetooth & make it discoverable”

Gotchas and Common Issues

  • Permission Verification - confirm execution permissions and path variables before invoking system binaries.

  • Version Compatibility - check software version release notes for deprecated flags or syntax changes.

  • Log Monitoring - inspect system logs (journalctl or /var/log) to troubleshoot execution failures.

Following these steps ensures clean configuration, proper security boundaries, and reliable execution for enable and disable bluetooth using adb commands.