[Q] Pairing bluetooth devices to USB bluetooth (not the internal bluetooth) - Nexus 7 (2013) Q&A

I have been trying to connect a bluetooth headset to a Class 1 bluetooth USB dongle (connected to my Nexus 7). I wanted to use the Class 1 USB bluetooth instead of the built-in bluetooth for the range. In short, using the Nexus as an bluetooth mp3 player which I don't need to have relatively close all the time.
I followed this forum's rooting guide and successfully unlocked/rooted the Nexus. I plugged the USB bluetooth in via an OTG cable and the light comes on (good start). Using a terminal, dmesg has the USB's details so I'm assuming the kernel has the appropriate module installed at the time. I used the USB Host Controller app and was able to see the device listed.
This is as far as I've been able to go. I don't have hcitools, hciconfig or hiid available to take this further. Another forum provided these 3 for installation however, when I tried running them, an error came up saying libbluetooth.so could not be found.
I'm unaware of an app like Linux's Blueman which could let me choose between bluetooth devices (the USB and internal) so I'll probably need to do this via command line.
Can anyone help me out with this?

shlape said:
I have been trying to connect a bluetooth headset to a Class 1 bluetooth USB dongle (connected to my Nexus 7). I wanted to use the Class 1 USB bluetooth instead of the built-in bluetooth for the range. In short, using the Nexus as an bluetooth mp3 player which I don't need to have relatively close all the time.
I followed this forum's rooting guide and successfully unlocked/rooted the Nexus. I plugged the USB bluetooth in via an OTG cable and the light comes on (good start). Using a terminal, dmesg has the USB's details so I'm assuming the kernel has the appropriate module installed at the time. I used the USB Host Controller app and was able to see the device listed.
This is as far as I've been able to go. I don't have hcitools, hciconfig or hiid available to take this further. Another forum provided these 3 for installation however, when I tried running them, an error came up saying libbluetooth.so could not be found.
I'm unaware of an app like Linux's Blueman which could let me choose between bluetooth devices (the USB and internal) so I'll probably need to do this via command line.
Can anyone help me out with this?
Click to expand...
Click to collapse
*bump*
Short version of my original question: How do I switch from the in-build bluetooth to a USB bluetooth dongle?

Related

issues with usb and bluetooth bmw 5 series

recently got the LCI E60 5 series 2009 with usb interface. given the model, fairly confident it is running latest software although if someone can suggest how best i can check, feel free.
I can pair my rooted desire with the car's bluetooth and make/receive calls without issues. I answer and hang up using the steering wheel buttons.
however I see issue with transferring contacts - says "transfer in progress" but it isnt doing anything really (waited more than an hour).
Have read threads that suggested the bluetooth doesnt work well if connected via usb - so tried that to no avail.
the other issue is connection via usb on its own. the device is not recognised by i-drive, whereas a random usb stick with mp3 is.
starting to suspect rooted device might be the problem however cant verify as i dont have a stock desire.
any advice here?
have you tried enabling USB debugging?....
I realised I wasn't being very clear....go to Settings > Applications > Development & check USB debbuging. After that, try syncing with the i-drive via USB port.

[Q] Turn phone into bluetooth dongle???

Hi, I am wondering if it were possible for somebody on here to write an app or pc program that turns my phone into a bluetooth dongle via usb? Because I have a bluetooth headset that I want to use on my pc but I can't use it because I don't have a bluetooth dongle. Now instead of going out and buying a bluetooth dongle, I figured since I have an android phone that it would somehow be possible to use my phone as a bluetooth adapter/dongle that my pc can use? I'm using windows 7 amd 64-bit, and a sprint galaxy nexus. (please move to appropriate forum, idk how i got in the galaxy note ii forum i thought i was in sprint galaxy nexus forum)
xf59 said:
Hi, I am wondering if it were possible for somebody on here to write an app or pc program that turns my phone into a bluetooth dongle via usb? Because I have a bluetooth headset that I want to use on my pc but I can't use it because I don't have a bluetooth dongle. Now instead of going out and buying a bluetooth dongle, I figured since I have an android phone that it would somehow be possible to use my phone as a bluetooth adapter/dongle that my pc can use? I'm using windows 7 amd 64-bit, and a sprint galaxy nexus. (please move to appropriate forum, idk how i got in the galaxy note ii forum i thought i was in sprint galaxy nexus forum)
Click to expand...
Click to collapse
never seen such a thing. would be cool. i recommend just going and buying a dongle. they are super super cheap anyway. so very little harm will be done with that money.
I don't know if it can and never seen a project like this, but I think you better off buying the USB-Bluetooth adapter. It's extremely cheap now a day. And you gotta ask yourself, is it very worth it to wait? Even if it exist, it wouldn't be as capable as the real one, and then you have to worry about some other stuff what happen when the phone ring, does the phone have the head set or the PC? Seriously, go buy the adapter unless you want to scratch your own itch.
thanks for the feedback. I got a bluetooth adapter recently but it says my headset has no device drivers to install so it doesn't work for me :/ Idk how to make it work
ah, i had that on win7. doesn't come with a2dp drivers. you need your own (laptops tend to come with the manufacturers own) like blue soleil or some such
xf59 said:
Hi, I am wondering if it were possible for somebody on here to write an app or pc program that turns my phone into a bluetooth dongle via usb? Because I have a bluetooth headset that I want to use on my pc but I can't use it because I don't have a bluetooth dongle. Now instead of going out and buying a bluetooth dongle, I figured since I have an android phone that it would somehow be possible to use my phone as a bluetooth adapter/dongle that my pc can use? I'm using windows 7 amd 64-bit, and a sprint galaxy nexus. (please move to appropriate forum, idk how i got in the galaxy note ii forum i thought i was in sprint galaxy nexus forum)
Click to expand...
Click to collapse
Hey man. So, actually making your phone into a bluetooth dongle is a lil' bit nasty due to permission issues. BUT, there is another way. As you are willing to use this "measure" to stream your PC's audio to your bluetooth headset, you can download an audio streaming app from the appstore (such as SoundWire for Android), set up the connection between your PC and your smartphone, and THEN you share your phone's media through the phone's bluetooth service to the headset. Maybe there can be a loss of syncronization for games and videos, but music will be just fine! Hope it helps
xf59 said:
Hi, I am wondering if it were possible for somebody on here to write an app or pc program that turns my phone into a bluetooth dongle via usb? Because I have a bluetooth headset that I want to use on my pc but I can't use it because I don't have a bluetooth dongle. Now instead of going out and buying a bluetooth dongle, I figured since I have an android phone that it would somehow be possible to use my phone as a bluetooth adapter/dongle that my pc can use? I'm using windows 7 amd 64-bit, and a sprint galaxy nexus. (please move to appropriate forum, idk how i got in the galaxy note ii forum i thought i was in sprint galaxy nexus forum)
Click to expand...
Click to collapse
Hmm. Well, things like USB WiFi dongles and USB bluetooth dongles do exist, so USB had nothing against wifi or bluetooth. And those dongles work just fine even when connected through a USB hub. And as you say, your device has both WiFi and bluetooth. So, the simplest possible solution would be to have the PC view the phone as a USB hub, and the phones WiFi and bluetooth can be shown as USB dongles connected through this "hub". Infact, with that option, it should be possible to share lots of things between the PC and phone. You could share NFC, or even a fingerprint scanner, if you have them. Internet is obvious, because we already have USB tethering for that. I believe we also have apps that let us use the smart phone camera as a webcam? That too can be covered in this. Heck, even a GPS for the PC. (Or laptop?) Anyway, I am not much for coding and such, so if someone finds a way to implement it, please let me know? (If this becomes an app, then send me a free link, perhaps?)

Possible to get midi input to our phones? [YES]

Is there a way to get midi input recognized on our phones? On my pc I use the rock band 3 keytar connected via a midi to usb adapter and I can do midi playback.
Is there a way to do this on our phones via an otg cable?
EDIT: got it done! check my post below.
Sent from my SPH-L900 using xda premium
Re: Possible to get midi input to our phones?
Seems like I found qhat I needed. Will try it tonight and report.
https://play.google.com/store/apps/details?id=com.als.grandpiano.pro
Sent from my SPH-L900 using xda premium
it works beautifully and way easier than I expected.
connected my otg cable and the phone said usb connector connected (since when is this a thing!?), plugged in the midi-usb adapter to the otg cable and right away it prompted me to open with the software I linked above and another midi software I had installed.
and bam, it was working. I messed around a bit to find the better settings for my keytar, but this thing works. over Bluetooth and with the headphone plug. there's a little bit of lag over Bluetooth but for my uses I wanted it straight to the speaker so i'm using the stereo cable. now I don't need a pc to get sound out of the keytar.
mark this as one more day i'm amazed at what my phone can do.
by the way, it functions as a synth using the software I mentioned above, so I can play harpsichord, organ, piano, etc. and the sound keeps on playing even with the screen off.
happy camper = me.
Max_Pain said:
it works beautifully and way easier than I expected.
connected my otg cable and the phone said usb connector connected (since when is this a thing!?), plugged in the midi-usb adapter to the otg cable and right away it prompted me to open with the software I linked above and another midi software I had installed.
Click to expand...
Click to collapse
Looks like you had some luck... Wondering if you can help me?
I am trying to make my Android, Huawei p20 Pro, accept a MIDI signal via USB too.
I have an OTG adapter, and have tested 2 OTG adapters and 2 cords.
All work into my PC (even via an USB type-C to standard USB adaptor )
The issue seems to be that I cannot select the USB in type to be MIDI.
I have also experienced that on another Samsung Galaxy S10
I have tried opening developer settings and changing the setting "Disable USB Audio Routing" ON as per https://help.joytunes.com/en/articles/2636638-troubleshoot-midi-on-your-android-device
I have tried using it with 3 apps that accept MIDI.
Simple Piano by Joy Tunes, FlowKey and USB MIDI Monitor
Any ideas?
Environment
Huawei p20 Pro
Model: CLT-L29
Build: 9.1.0.381 (C782E11R1P11)
EMUI v: 9.1.0
Android v: 9
Similar Posts
https://forum.xda-developers.com/mi-pad-4/help/problem-recognizing-midi-device-t3877082
https://forum.xda-developers.com/oneplus-x/help/midi-usb-mode-paranoid-rom-t3430141

[Q] Logitech Unifying Receiver not working on Nexus 7 (2013)/OTG Cable Question

I'm trying to connect the unifying receiver to my Nexus 7 (2013) with an OTG cable, but it doesn't work.
USB diagnostics app by Chainfire says the kernel detects it, but the Android API doesn't (not sure what that is). All other USB devices I have tried seem to be working.
I think I read of other people having the same problem. I was wondering if this was a problem with the 2013 Nexus 7 in general. If so, is there a fix? or will there be one?
Also, I was playing with my tablet and OTG cable; I was wondering if anyone else has USB devices "sleeping" when the tablet is put to sleep.
I noticed when I plug the cable in the tablet while it is awake, and then plug in a USB device, the USB device will work fine until I put the tablet to sleep. After I put the tablet to sleep, the USB device would power off, and after waking the tablet back up, the device would remain off and unresponsive.
The workaround I found was to plug in the cable while the tablet was asleep, and then waking up the tablet before plugging in USB device. I would then be able to put the tablet to sleep with the USB device remaining powered (while it's asleep and) when it's awakened.
Sorry if this was confusing.
Thanks!
I've got a working OTG fix that does not require root after much messing about!
Go to settings and disable security lock screen then select English US as the language.
Insert OTG cable and start Nexus Media Importer.
Reboot.
Nexus Media Importer should now pop up as usual and OTG should now be working.
Change language back but do not reboot as you will have to repeat these steps.
Same problem..
I have tried nexus media importer or custom kernel, ETC.. however, the problem is occurred again.
Everytime, kernel has error like..
Code:
logitech-djreceiver 0003:046D:C52B.0018 : claimed by neither input, hiddev nor hidraw
logitech-djreceiver 0003:046D:C52B.0018 : logi_dj_probe:hid_hw_start returned error
Is there anyone uses unifying on Nexus 7 2013? :crying:
Same issue with the receiver
My Unifying receiver works on my SGS 3, but it doesn't seem to work with my nexus 7 :'(
Lurkin_Lurker said:
I'm trying to connect the unifying receiver to my Nexus 7 (2013) with an OTG cable, but it doesn't work.
USB diagnostics app by Chainfire says the kernel detects it, but the Android API doesn't (not sure what that is). All other USB devices I have tried seem to be working.
I think I read of other people having the same problem. I was wondering if this was a problem with the 2013 Nexus 7 in general. If so, is there a fix? or will there be one?
Also, I was playing with my tablet and OTG cable; I was wondering if anyone else has USB devices "sleeping" when the tablet is put to sleep.
I noticed when I plug the cable in the tablet while it is awake, and then plug in a USB device, the USB device will work fine until I put the tablet to sleep. After I put the tablet to sleep, the USB device would power off, and after waking the tablet back up, the device would remain off and unresponsive.
The workaround I found was to plug in the cable while the tablet was asleep, and then waking up the tablet before plugging in USB device. I would then be able to put the tablet to sleep with the USB device remaining powered (while it's asleep and) when it's awakened.
Sorry if this was confusing.
Thanks!
Click to expand...
Click to collapse
Any News in this area? I Bought my Nexus 7 to use it during class (as a studytool ofc) . But without having my external keyboard it isn't of much use
I've been having trouble getting my Logitech K750 keyboard to work on the nexus 7 (stock ROM, only rooted). Does anyone know if the Logitech Unifying Receiver is supported on this product? It works perfectly fine on my Galaxy Note N7000 running CM10.2
I can get other USB devices to work on the Nexus using the same OTG cable, for example Logitech MX Revolution wireless mouse, Xbox 360 controller and USB flash drives.
Same problem
I have the same issue with a stock/non-rooted Nexus 7 (2013) and my Logitech unifying receiver. Sadly all I can really say is what did and didn't work.
Does work:
OTG adapter from monoprice.com
Trendnet Powered USB 2.0 Hub (TU2-700)
Microsoft Wireless Mouse 5000
Every USB flash drive I've tried has worked via the 'Nexus Media Importer' app (FAT/FAT32 devices). Even multiple plugged-in flash drives connected simultaneously via the USB hub works just fine.
Custom built USB 2.0 External Hard Drive (using a Nexstar enclosure and Western Digital 320GB hard drive; powered off USB hub)
Apple iPhone 4s (iOS 7) - The tablet called the phone a MTP device and viewed the media (pics) through the built-in Gallery app importer
Does NOT work:
Logitech unifying receivers - Specifically, I tried with the K360, K400 and K750 keyboards and a M510 mouse
USB 2.0 10/100 Ethernet Adapter from monoprice.com (no apparent model # but it's their PID#: 9468)
USB 2.0 Logitech C910 Webcam
USB Logitech Headset G330 ...I was just curious
So far compatibility seems arbitrary. I would have thought the Nexus 7 (2013) would have better compatibility with Logitech, a maker of Google TV's, versus Microsoft or even Apple but that has not been the case. If this is a bug, it's a big one considering the popularity of Logitech devices. Sadly, I personally don't even have a keyboard that will work.
Any more details about this problem? Surely this must be a driver issue, since I don't see any other reason why the unifying receiver would refuse to work on the new Nexus 7. As stated above by others, it works perfectly fine on other devices, including the stock rom running TF101 transformer tablet.
I'm running CM nightlies on my Nexus 7 and was really surprised to see that it doesn't work with my unifying kb & mouse
---------- Post added at 01:34 PM ---------- Previous post was at 01:14 PM ----------
Just tested with a different USB tester app - the receiver is obviously recognised. The OS can see it, and gets the device/vendor ID, and the device name... but no mouse cursor
http://i.imgur.com/moYVDet.png
http://i.imgur.com/OjFGzaw.png
Tested it with an older Logitech mouse that I have (doesn't use Unifying receiver), and that worked just fine..
http://i.imgur.com/aHdk6Qv.png
http://i.imgur.com/Z8qhoFr.png
But I need the new unifying one to work, mostly for the keyboard.
This issue is discussed here: http://forum.xda-developers.com/showthread.php?t=2233849
I'm also having trouble with this. My K400, which would be awesome for tablets, isn't able to work, for it uses a Logitech unifying receiver. It seems it's a simple fix within the kernel. I've tried flashing many different kernels for this device, yet none have added support for it. The device works well on my Galaxy S4, if that means anything.
We'll need to get ahold of one of the developers and hope they're willing to add in the necessary stuff to their kernel if we want to fix this.
Could it be that a current Nexus 7 dev has to integrate some of the patches listed in some of the roms posted here: http://forum.xda-developers.com/showthread.php?t=2233849 ?
mohitrocks said:
Could it be that a current Nexus 7 dev has to integrate some of the patches listed in some of the roms posted here: http://forum.xda-developers.com/showthread.php?t=2233849 ?
Click to expand...
Click to collapse
How can we ask them that?
Anyone found any update news on this issue:?
Marty
I can't help with the unifying remote but the sleep of the USB drive drive me nuts too I was recommended this app and it worked perfectly
https://play.google.com/store/apps/details?id=com.MI.otglock
Sent from my HTC One X using Tapatalk now Free
The Logitech Wireless Touch Keyboard K400r works with its unifying receiver and OTG cable plugged into the original Nexus 7:
Android version 4.3
Build number JWR66Y
Kernel version 3.1.10-g1e8b3d8
But the above set up does not work with the 2013 version of the Nexus 7:
Android version 4.3
Build number JSS15R
Kernel version 3.4.0-g9e52a21
Bump
Solution Anyone?
Can't believe that none of the N7 developers are using a logitech device! !
I got a K400. Works fine with my nexus 5. Not with the nexus 7 2013
need an updated or custom kernel
It looks like we'll need an updated kernel, which has some extra CONFIG switches activated, per these threads:
http://forum.xda-developers.com/showthread.php?t=2233849#2
Has anyone had success with a custom kernel or rom that includes the kernel drivers for the Logitech unifying receiver?
It would be nice to have a minimally changed kernel that included support just for these new drivers:
http://androidforums.com/nexus-7-gen2-2013-all-things-root/770430-otg-cables-usb-logitech-k400r-wireless-keyboard-track-pad-area.html#post6153020
Updates?
Hey all
Was just trying out the Unifying Receiver today and was surprised and disappointed that it didn't work at all.
Has anyone managed to get it working since the last post?
P
no
After my last post, I contacted Google support. They said that they could not help, and Logitech would have to fix it. I tried to talk technical about kernel config switches, and I begged to talk to someone who understood what I was saying, but I basically was told they did not have resources to troubleshoot every possible accessory.
I contacted Logitech, and they said that Google was right. They claimed responsibility and stated they did not support Nexus 7 (2013). It would not work.
Bottom line: This accessory will only ever work in a custom ROM, if it works then.
If anyone has any luck with this accessory on a custom ROM or in any other setup, please let us know.
Earlier posts say it is recognized by the OS, but not Android API.
Then, all it needs should be the files to tell Android it is a mouse and keyboard, right? Seems like the only issueis our device didn't have it in its device list.
What file to mod, what line(s) to mod?
Has anyone found a fix for this? I just bought a Google Nexus 7 2013 - 32GB and am trying to use the unifying receiver with an OTG cable (Logitech devices are the K800 keyboard and Experience MX mouse). The unifying receiver works fine on my galaxy S5 but no luck on my nexus 7. I am currently unrooted running stock lollipop 5.0.2. I am prepared to unlock bootloader, root, and install custom kernel if necessary.
Any info to get the Logitech unifying receiver working on my Nexus 7 would be greatly appreciated.

Can't use USB in car

I had the Nexus 6P (with Android 7) and plugging it into the USB worked with my 2011 Camaro (it is not Android Auto, the Head-unit basically will see the phone as a USB Storage device, mount it, index the files, and I could then use my car's controls to search, change tracks, etc).
I broke my phone and turn it in on warranty, and end up getting the Pixel XL as replacement, and upgrade it to Android 8.
Now when I plug it into my car, I get a "No supported media found" message on my car's display. I have tried with and without USB Debugging, going into the the developer options and changing the "Select USB Configuration" to MTP, Audio Source and still the same. I would also have this issue with Samsung phones, and could never get them to work.
I am not sure if this is an issue with Pixel's, or with the Android 8 update, since my Nexus 6P with Android 7 worked fine
you need to use the otg adapter that came with it
So I have to get a standard USB-USB cable to connect the adapter to my car?
I thought this adapter added functionality, so my phone can mount drives, not the other way around? Doesn't make since that something that has worked so well on the past 3 phones (except for Samsung for whatever reason) now no longer works without another piece of hardware. Not what I would call progress
So I ordered another cable and am using my OTG adapter, and it still does not work.

Categories

Resources