[Q]Bluetooth dongle via OTG Questions and Answers. I bought a USB Bluetooth dongle. An android tv box without bluetooth. I have insert a USB Bluetooth dongle to a Tablet via the USB port and try to turn on the Bluetooth in the Android but fail. So, how do one know if the USB Bluetooth dongle can be supported for a t.
I can get the bluetooth working in terminal, but the android user space GUI and thence every program is totally oblivious to its existence. I've copied over the files missing compared with tablets with integrated bluetooth (various hci tools, bluez, bluetoothd, some bt*.so libs, the .conf files...) to no avail. hw/bluetootha2dp would hang the system on boot, had to get in with adb and delete it. Also edited the permissions xml to include bluetooth, so now it show the option in the settings but still can't turn it on. I read somewhere that you don't need to hciattach and after setting bluetooth up with hciconfig and running scan it would let you turn it on in the settings. Not in my case, maybe I'm not linking it correctly with a /dev/ connection.
The bluetooth when connected and having the module properly loaded shows up in /sys/classes/bluetooth as hci0 but not in /dev/ as far as I can tell. I tried ln -s to /dev/hci0 didn't work, and to /dev/ttyS1 didn't let me link cuz it's already there, mknod /dev/ttyS1 c 216 didn't seem to work either.
Haven't tried enabling the startup script for bluetooth, my tablet has these commented out in init.sun4i.rc:
# -------- bluetooth related services ----------
#chmod 0666 /dev/ttyS1
#chmod 0777 /system/bin/hciattach
#change rfkill permissions for bluetooth power management
# chown system system /sys/class/rfkill/rfkill0/state
# chmod 0660 /sys/class/rfkill/rfkill0/state
# write /sys/class/rfkill/rfkill0/state 0
# setprop rw.bluetooth.status '0'
# --- used for usi bm01a 3in1 module's bluetooth attach
#service hciattach /system/bin/hciattach -n -s 115200 /dev/ttyS1 bcm4329 1500000
# user root
# group bluetooth net_bt_admin
# disabled
# oneshot
# --- used for huawei mw269v2 3in1 module's bluetooth attach
#service hciattach /system/bin/brcm_patchram_plus --enable_hci
# --baudrate 1500000
# --patchram /system/vendor/modules/bcm4330.hcd
# --enable_lpm /dev/ttyS1
# user root
# group bluetooth net_bt_admin
# disabled
# --- used for samsung swb-a31 2in1 module's bluetooth attach
#service bccmd /system/bin/bccmd -t bcsp -b 115200 -d /dev/ttyS1 psload -r /system/vendor/modules/ath6k/AR6003/A31_Script.psr
# user root
# group bluetooth net_bt_admin
# disabled
# oneshot
#
#service hciattach /system/bin/hciattach -s 1500000 /dev/ttyS1 bcsp 1500000 flow
# user root
# group bluetooth net_bt_admin
# disabled
# oneshot
#service abtfilt /system/bin/abtfilt -d -z -n -v -b -s
# disabled
# oneshot
# -------- bluetooth related services end ----------
I can call bluetooth services on but it seems to throw an error. Maybe it's missing the Java elements and it's impossible to just copy those and get them working.
I'm afraid that only from 4.2.2 android onwards bluetooth dongle support is standard. I don't want to mess with any unofficial version until they have hardware acceleration for videos.
The bluetooth when connected and having the module properly loaded shows up in /sys/classes/bluetooth as hci0 but not in /dev/ as far as I can tell. I tried ln -s to /dev/hci0 didn't work, and to /dev/ttyS1 didn't let me link cuz it's already there, mknod /dev/ttyS1 c 216 didn't seem to work either.
Haven't tried enabling the startup script for bluetooth, my tablet has these commented out in init.sun4i.rc:
# -------- bluetooth related services ----------
#chmod 0666 /dev/ttyS1
#chmod 0777 /system/bin/hciattach
#change rfkill permissions for bluetooth power management
# chown system system /sys/class/rfkill/rfkill0/state
# chmod 0660 /sys/class/rfkill/rfkill0/state
# write /sys/class/rfkill/rfkill0/state 0
# setprop rw.bluetooth.status '0'
# --- used for usi bm01a 3in1 module's bluetooth attach
#service hciattach /system/bin/hciattach -n -s 115200 /dev/ttyS1 bcm4329 1500000
# user root
# group bluetooth net_bt_admin
# disabled
# oneshot
# --- used for huawei mw269v2 3in1 module's bluetooth attach
#service hciattach /system/bin/brcm_patchram_plus --enable_hci
# --baudrate 1500000
# --patchram /system/vendor/modules/bcm4330.hcd
# --enable_lpm /dev/ttyS1
# user root
# group bluetooth net_bt_admin
# disabled
# --- used for samsung swb-a31 2in1 module's bluetooth attach
#service bccmd /system/bin/bccmd -t bcsp -b 115200 -d /dev/ttyS1 psload -r /system/vendor/modules/ath6k/AR6003/A31_Script.psr
# user root
# group bluetooth net_bt_admin
# disabled
# oneshot
#
#service hciattach /system/bin/hciattach -s 1500000 /dev/ttyS1 bcsp 1500000 flow
# user root
# group bluetooth net_bt_admin
# disabled
# oneshot
#service abtfilt /system/bin/abtfilt -d -z -n -v -b -s
# disabled
# oneshot
# -------- bluetooth related services end ----------
I can call bluetooth services on but it seems to throw an error. Maybe it's missing the Java elements and it's impossible to just copy those and get them working.
I'm afraid that only from 4.2.2 android onwards bluetooth dongle support is standard. I don't want to mess with any unofficial version until they have hardware acceleration for videos.
Active6 years, 3 months ago
I have insert a USB Bluetooth dongle to a Tablet via the USB port and try to turn on the Bluetooth in the Android but fail.
So, how do one know if the USB Bluetooth dongle can be supported for a tablet that have a USB port? (Given that the USB Bluetooth dongle have been tested to work fine in a desktop PC and there is no further information on the tablet manual on which Bluetooth dongle is supported for the tablet.)
The Ice-cream tablet was not rooted yet.
Is there some kind of Android Apps that can check or verify the above scenario?
Download Driver Bluetooth Usb Dongle
Izzy♦78.1k5353 gold badges268268 silver badges789789 bronze badges
JackJack58188 gold badges1616 silver badges3636 bronze badges
1 Answer
Most tablets that comes with the
Bluetooth share
app installed, and have a Bluetooth option in Settings, while not having a built-in bluetooth, typically indicates support for such dongles.I have used generic Android TV Box (CDR-King brand) with no bluetooth built-in but has a menu for it. Plugging a bluetooth dongle to a usb port activated it. Based on this, your tablet's ROM does not support bluetooth. My advice is to root it, and flash a custom ROM with bluetooth support if applicable.
forumsforums75611 gold badge44 silver badges1313 bronze badges