Developers and non-developers united to get better bluetooth experience at Android - Android General

The user ukdutypaid request me and
LNEt - I don't found the profile yet
Robbie P
qazzi76
sergiocabraljr
With some words:
So can anybody tell me either a) why is BT HID so 'rubbish' on Android, ie why is it so rare that anybody seems to have got it to work e.g "Look. It's a massive problem, nobody really knows how to do it. Count yourself lucky that you've got found a GB build where it does work at all. Put the problem down and walk away"; or b) what a solution might be?
I've tried rooting round in builds, until I'm blue in the face but unless the *.so file either has a BT and or an HID in the file name, then I'm in the dark.
qazzi76 ; GregórioAxiaMagno and sergiocabraljr have found various solutions for GB builds I think and I know Samsung seems to have solved the problem. (I've seen videos of the Galaxy Nexus and it worked with no problems on an SII a friend of mine has).
Could it simply be a case of isolating and extracting the magic HID file and putting it into any/all custom roms, or it's a case (for some just to make it harder reason) that the BT files have to be recompiled for each and every build; as GregórioAxiaMagno has kindly pointed out with some of his work.
The holy grail I suppose is a set of files that can be uploaded to any build by apt, that resolve the lack of BT keyboard with every/any build.
Click to expand...
Click to collapse
:good:
The point here is, as always I say, the bluetooth stack on Android is a issue like call recording. And with this cenario, I think we can join people to help on this thread to post information about mods, replacements, hacking, apps and more. Until we find the optimal solution for the largest number of phones what we can. :fingers-crossed:
All is valid: kernels, modules, CWM, apps, tips, :angel: pray... any way of help.
I will ask for you people to post solutions here, and along of the time I will quote it in the second post of this thread.
Also, I want discuss with you about an optimal solution.
So keep this thread clean and focused only about bluetooth.
No, I and nobody thinks what the bluetooth is the world conquest, I want only use the totally potential of this "old" tecnology.
I know we have other tecnologies like OTG, but this thread must be only about how to deal with bluetooth in our daily use and experiences.
Lets start! :highfive: I have your help?
Please, press thanks instead to manifest your support with posts.

Current solutions
[app][beta][2.1+] myblucon v1.0 & mybluime v1.0 - bluetooth kit to hid devices
so you buy a bluetooth mouse but your ginger won't connect it?
Or you have an bluetooth keyboard and can't write at your ice cream?
Solution for:
* ST15a/i - GB/ICS
* Others
Click to expand...
Click to collapse
Bluetooth Keyboard problem resolved
Infamous "paired but not connected."
Solution for:
* Galaxy Note GT-N7000
Click to expand...
Click to collapse
[APP]Bluetooth Keyboard Easy Connect
A service which connects your bluetooth keyboard device.
Android 2.3 has support for HID devices but is not able to connect bluetooth keyboard devices correctly (yet).
This service automates the connection to your keyboard.
Solution for:
* Many Androids
Click to expand...
Click to collapse
Solving Bluetooth connecting problems
My Desire's bluetooth allways worked like a charme untill rooting REDUX 1,2
Connecting to any previously known device, or any new once for that matter, did not work.
Some grey hairs, upgrading to Redux 2.0 and many tries later I concluded some data must be corrupted somewhere.
Deleting the content, not the files, just the content of the following files did the trick, much to my relief.
Solution for:
* HTC - Redux
Click to expand...
Click to collapse
HID Bluetooth Device FIX for 2.3.5 and 2.3.6!!
Like many of you I was extremely excited to learn that android now supports HID devices and immediately rushed out to purchase a HID-BT Keyboard. Getting home, I fired up the phone and keyboard, entered the 6 digit code to pair them and saw the device connecting and disconnecting in an infinite loop. I was crushed and disappointed.
What went wrong? As stated above this is merely a workaround. But the problem lies somewhere between the kernel and broadcom chipset. This fix will reset your bluetooth pairings. It has been tested on my Samsung Galaxy SII I727 but it should work with any other device.
Solution for:
* Many Androids
Click to expand...
Click to collapse

resv 2

:good::good::good:

Congratz... keep going

Looking here:
/data/misc/bluetoothd/<A BLUETOOTH ADDRES>
I was thinking one of this files have a value to set for make an device manually connectable. Like disabling/enabling auto connect. So the market apps to HID devies will work better.
What do you think?

I was messing into the system and looking at this path
system\etc\bluetooth
Inside, we can found some confs, so I was editing and guessing about input.conf.
So I made some mods and I will test today, but if anyone know something more about or want to test, please a hand will be cool xP.
Regards.
EDIT: yeah nothing changes... haha

Related

[Q] What will it take to make the new sixaxis driver work on the SK4G?

So sir_earl has done us all a great service by making it possible to use the Playstation 3 controller with Android phones. He posted about it in http://forum.xda-developers.com/showthread.php?t=1179929
But unfortunately for us, it's not compatible with the Sidekick 4G or several other recent Samsung phones. It sounds like our stock ROM doesn't give it the access it needs to the bluetooth hardware. What would it take to fix this? Is it something we can add with a custom kernel?
(BTW, I am the farthest thing from a software developer on the face of the earth, so sorry if I turn out to be Captain Oblivious.)
This is not an issue with access, but rather that certain protocols aren't built into our driver.
Think of it like this; you're trying to use an Xbox controller with a Playstation. They're both controllers, but they don't know how to talk to each other.
This would require either rewriting the bluetooth driver ( not feasible) or seeing if the driver is similar in our phones to that of one of the working phones.
EDIT: took a look in the kernel config, and found some bluetooth protocols that weren't enabled, that according to http://www.pabr.org/sixlinux/sixlinux.en.html are the same as the ones that the controller uses? not sure.
EDIT2: Tried enabling all the bluetooth options in the kernel config, couldn't get the compat checker to tell me anything good, still just says missing protocol, even though HID (what it should be) is enabled. I PM'd sir_earl to see what protocol is required and which phones it works on, perhaps I can see if their driver will build with our kernel, or if I can somehow mash together our sources to make it work.
That's a great start. I'd be really happy if we could make this work.
Our phone has all the power it needs to run things like N64 and PS1 emulators, and combined with the TV out cable, we've effectively got a dozen game consoles in our pockets. We just need a good way of controlling them.
Update: got a PM back from sir_earl, it's true that Samsung left out the BT protocol we need to use this, it's called "L2CAP via raw sockets" (from sir_earl). He suggested that using the AOSP/CM BT stack would be a good place to try, so I may give that a shot sometime later, as my list of projects is somewhat long right now.
Thanks for getting to the bottom of this. Here's hoping you get a chance to try it.
Did you have a chance to fiddle with this any more? I'd sure like to be able to use a proper gamepad with all the awesome emulators that run on these phones.
Tried looking at it, but the bluetooth stack that has proper support didn't work by just being added to our Kernel. I'm also kinda working on porting our kernel to be compatible with CM6/7, which would be easier to add the bluetooth stack to.

[APP][2.1+] Ultimate Control 1.0

This program allows you to control your mouse and keyboard from your android device via Wifi or Bluetooth. You need a server program on your computer and it is available for windows, mac and linux.
The connection process is very simple, just discover all the server available and select one to control (no IPs or any technical stuff). Plus, the app is pretty configurable, button layout, mouse sensitivity... and it also has some cool features like setting a password that will be asked for when establishing the connection.
https://market.android.com/details?id=com.negusoft.ucontrol
Enjoy and post comments !!!
Great app
I just tryed it and it is great man! thanks!
No dealing with IP address or anything. Just select your computer and go. It is so smooth, plus I like the fact that you can protect your computer with a password.
10 out of 10
Linux support
Good news!! It is now compatible with linux. You can download the server from theire web. And it works perfectly in my Ubuntu.
By the way, the programs version is already 0.9.2, you may want to update the post ;p
The thread is updated now, I also mention the linux compatibility (although I didn't test it yet). What distribution are you using? I would like to give it a try.
Cheers
I tryed it in Ubuntu 11. I had a little issue though, it didn't work on my laptop. I asked the developers and they told me that it doesn't currently support the 64bit architecture. They appear to be working on a version that will work though. Judging by theire release frequency, it will be available very soon
Installation
Hello,
I was trying to install it on Ubuntu 11 too. I run the "install" file but nothing seems to happen. Any ideas?
Thanks in advance.
Well, my first advice would be that you read the "readme.txt". Everything is explained there. Basically, make sure you have Java installed.
Thanks, I followed the instructions in the readme file and I make it work without problems. And it works like a charm!!!!
And by the way, does anybody know if it is possible to make a direct connection with Wifi (without connectiong to a network) ?
I guess if you create a point to point wifi connection it would work. But why would you want to do that? For this scenarion, you would just use bluetooth.
Hey, when I connect through bluetooth, it doesn't ask me for the password even if I have it activated. Is it normal? Does that happen to someone else?
Great work!
I personally think it is how it should work. Through bluetooth, you have to pair your device so there is a security system already. The why to bother entering additional passwords?
I believe the developers had the same conclusions when implementing the security system.
facktrid said:
I personally think it is how it should work. Through bluetooth, you have to pair your device so there is a security system already. The why to bother entering additional passwords?
I believe the developers had the same conclusions when implementing the security system.
Click to expand...
Click to collapse
Sure, if you put it like that it really makes sense
Thanks for the answere!
Nice app! I love it!
Thanks for pointing it out.
Wow, it is certainly better than others I have tryed, such as gmote, remote trackpad or advanced touchpad...
Great job!
They really keep updating the app. And they bring some new little stuff in each release. I hope they keep up the good work.
lopezurkidi said:
They really keep updating the app. And they bring some new little stuff in each release. I hope they keep up the good work.
Click to expand...
Click to collapse
Got it, I will try to keep the thread updated
facktrid said:
Got it, I will try to keep the thread updated
Click to expand...
Click to collapse
I didn't really mean anything, but we all appreciate an updated thread. Thanks man!
New version available! I updated the main post already.
They added an optional scroll-bar. And the best thing, they fixed some clicking bugs or something, witch means it will now runs perfectly on my Galaxy Tab (the original)!
New version available! I updated the main post already.
They added an optional scroll-bar. And the best thing, they fixed some clicking bugs or something, witch means it will now runs perfectly on my Galaxy Tab (the original)!

any rom that fix bluetooth with sixaxis?

Is there any rom other than the CM7 alpha that'll fix bluetooth so that I can get my LG thrill to pair with sixaxis and / or wiimote?
thay is a good question
Doubtful... all these roms are based off stock firmware... and no stock roms support it.
Sent from my LG Thrill 4G...
Actually Im wondering the same thing. I have an iControlPad that wont play nice because HID isnt implemented in stock rom?!?
Plays nice with my iPhone and considering 3D converter now works very nicely with N64oid and FPse, then my dual analog stick iCP would make gaming on the Opti3D even sweeter!
iconttolpad should work fine with blues EMI app.
Pete
Sent from my LG-P920 using XDA App
I have tried iCP with Bluez IME app.... (in SPP and HID)
iCP will pair but not connect and once paired will always spit out a UUID error
The UUID error is usually related to the rom not supporting HID/keyboard functions?...
Others have the same problem - the LG Opti 3D/Thrill have stuff missing from their bluetooth modules... A custom rom will probably fix it.... Cyangenmod maybe?...
It did for HTC phones.....
Is the 3D convertor out in the recent firmware update?
Sent from my R800i using XDA App
yep...
3d converter works on n64oid.... Mario64 in 3D!
update 10j....
You should order a Phone Joy. They're backed up on pre-orders but they said they'll be getting a big shipment early next month.
I went to phonejoy.net and it looks like it still talks via bluezime?... if so the Opti3D will always get UUID errors due to poor bluetooth stack.... and please correct me if im wrong but froyo cant use the mini usb for a controller either?..
The O3D has issues with Bluez Ime? If so, then they say to create a new issue on their site if you want a device to be supported.
EDIT:
Apparently someone already made a thread about hte UUID issue.
http://forum.xda-developers.com/showthread.php?t=1239221
http://forum.xda-developers.com/showpost.php?p=17012717&postcount=10
Killer Bee said:
The O3D has issues with Bluez Ime? If so, then they say to create a new issue on their site if you want a device to be supported.
EDIT:
Apparently someone already made a thread about hte UUID issue.
Click to expand...
Click to collapse
I started that case,
I only have the bgp100 gamepad and wiimote to test
If you can please help with whatever you can. Maybe follow some of the steps listed and provide some feedback.
The more people trouble shooting this the faster we can play some games with our bt controllers.
Maybe the Zeemote can be used for a some hints since it seems to work as shown in the one post.
Just to let you all know, I plan on adding support in the Sixaxis controller app for this phone and many others within the next couple of weeks. Root access will still be required though.
sir_earl said:
Just to let you all know, I plan on adding support in the Sixaxis controller app for this phone and many others within the next couple of weeks. Root access will still be required though.
Click to expand...
Click to collapse
Fantastic, I wish you the success.
sir_earl said:
Just to let you all know, I plan on adding support in the Sixaxis controller app for this phone and many others within the next couple of weeks. Root access will still be required though.
Click to expand...
Click to collapse
I would love to see that and pay.
I will be next in line..... happy to pay if I can play games with b/tooth controller. (preferably iControlPad but I'll take sixaxis....) Its a shame the bluetooth stack is so screwy..... I love everything else about the O3D...
There are some blacklist in /etc/bluetooth/blacklist.conf in the P990 :
// Do NOT change this file format without updating the parsing logic in
// BluetoothService.java
// This file contains information to prevent auto pairing with Bluetooth devices.
// Blacklisting by vendor prefix address:
// The following companies are included in the list below:
// ALPS (lexus), Murata (Prius 2007, Nokia 616), TEMIC SDS (Porsche, Audi),
// Parrot, Zhongshan General K-mate Electronics, Great Well
// Electronics, Flaircomm Electronics, Jatty Electronics, Delphi,
// Clarion, Novero, Denso (Lexus, Toyota), Johnson Controls (Acura),
// Continental Automotive, Harman/Becker, Panasonic/Kyushu Ten,
// BMW (Motorola PCS), Visteon
AddressBlacklist=00:02:C7,00:16:FE,00:19:C1,00:1B:FB,00:1E:3D,00:21:4F,00:23:06,00:24:33,00:A0:79,00:0E:6D,00:13:E0,00:21:E8,00:60:57,00:0E:9F,00:12:1C,00:18:91,00:18:96,00:13:04,00:16:FD,00:22:A0,00:0B:4C,00:60:6F,00:23:3D,00:C0:59,00:0A:30,00:1E:AE,00:1C7,00:80:F0,00:12:8A,00:09:93
// Blacklisting by Exact Name:
ExactNameBlacklist=Motorola IHF1000,i.TechBlueBAND,X5 Stereo v1.3
// Blacklisting by Partial Name (if name starts with)
PartialNameBlacklist=BMW,Audi
// Blacklisting by addition of the address during usage
Click to expand...
Click to collapse
Hope can help you.
Hey Guys... now after the GB-Update is out are there some News about using the Sixaxis app???... I tried it with the Thiaz rom 2.1. But the Phone Reboot... *cry*..
I can confirm that GB stock cannot talk to Bluetooth controllers properly. O3D still refuses to connect to iControlpad, sixaxis and bgp. Hid profiles stil not properly integrated into the Bluetooth stack.
Only almost cyanogenmod works - I believe that the standard Bluetooth stack is integrated in framework - yet another LG fail - hardware is capable and software is still lacking.
I would use cyanogenmod but without 3d it just isn't the same phone. Anyone know how to dual-boot on an O3D?

[REQUEST] bt-info for android

Oh man, i had fun with this little piece of software in school with my old sony erricsson c510. my friend and me used to link our phones, hide it behind the board and activate the music with the other one xD. the teacher didnt knew what was goin on ^^
anyways, bt-info was a fun program and i searched the web for an android version of this. i alao tried to convert the jar file into an apk file. it worked but the software was incompatible. can anyone make it work on my samsung galaxy s2?
Would be awesome....
lol i remember that app back in the times... but it worked only with a few target phones, I remember always failing against Symbians, working on some LG and SE ( AT standard commands huh?).
Anyway, in my free time I'm playing with some Android scripting and I could sort something like this... you got any request for features ?
As of now I got a "talk server"... just run on the phone, connect to its IP from anywhere else (another phone, iphone, ipad, pc...) type something and the phone will say it you could prank as well with that, but there could be added other cool functions...
Think that could be done via bluetooth too, though haven't tried much the bt libs..
Let me know if that could interest you
ell3 said:
lol i remember that app back in the times... but it worked only with a few target phones, I remember always failing against Symbians, working on some LG and SE ( AT standard commands huh?).
Anyway, in my free time I'm playing with some Android scripting and I could sort something like this... you got any request for features ?
As of now I got a "talk server"... just run on the phone, connect to its IP from anywhere else (another phone, iphone, ipad, pc...) type something and the phone will say it you could prank as well with that, but there could be added other cool functions...
Think that could be done via bluetooth too, though haven't tried much the bt libs..
Let me know if that could interest you
Click to expand...
Click to collapse
It would be awesome if you could it even get to work! it crashes on my phone when i try to connect! i used a jar to apk converter ..... maybe not the best idea
the app is/was great just the way it worked! maybe wifi support... and dissable the code request-thingy when i try to connect to a phone - but i think that would be iligal...
but yeah ... if you can get it to work, you could sell it on the market! or publish it anywere else! im not the only one whos searching for that app working on android!
See, targeting new generation phones with that old bluetooth app wont be of any effect.... will just work on old ones.
Removing the "code thing" you say it's the pairing procedure of bluetooth, the standard authentication feature of bt, actually you can't get around it, and though it would be illegal, it would get you big money if you ever find how to
That app used pseudo-standard AT commands through the bluetooth modem interface of the phone, and that supposedly to issue an action on the phone (like push/pull contacts,sms,calendars, raise volume, set alarm....) but that was not implemented in all phones so most commands failed, but virtually could work with any target as long as it was bt enabled and paired.
TL;DR
Not worth porting bt-info. So, as it must be build from scratch, you can suggest some feature request
ell3 said:
See, targeting new generation phones with that old bluetooth app wont be of any effect.... will just work on old ones.
Removing the "code thing" you say it's the pairing procedure of bluetooth, the standard authentication feature of bt, actually you can't get around it, and though it would be illegal, it would get you big money if you ever find how to
That app used pseudo-standard AT commands through the bluetooth modem interface of the phone, and that supposedly to issue an action on the phone (like push/pull contacts,sms,calendars, raise volume, set alarm....) but that was not implemented in all phones so most commands failed, but virtually could work with any target as long as it was bt enabled and paired.
TL;DR
Not worth porting bt-info. So, as it must be build from scratch, you can suggest some feature request
Click to expand...
Click to collapse
would be nice if someone could 'rebuild' that app on android bases... hacking the bluetooth 'password-thingy'™© isnt a big deal! the app worked great without it!
My question: is it POSSIBLE to make that app for android with all the functions that it has? and make it work with android-> symbian and android -> android?
Man I've been looking and wanting this for my phone forever.
Evo 3D in full Affect with WTSB HYDRO SENSE 3.5
Q: is it POSSIBLE to make that app for android with all the functions that it has and make it work with android-> symbian and android -> android?
A: Symbians hardly support AT commands, you can try yourself using old bt.info or any other AT enabled shell to issue a command to a Symbian, I had no luck in the past. Android to android I dont know if it could be done natively (client on one phone, no server in the other) but it surely might be done with an app. To get a 100% compatibility there should be a client or a server installer in BOTH phones, UNLESS you find some AT command that would run on all (hard, as most vendors implement them differently).
I found this lil app that can give you an example, it's called "AT COMMAND TOOL" (google -> "sd.at.c8600"). It says it has presets for Huaweii phones, but that's the only supported. Anyway, looks like you can issue any command, but you have to find out WHICH one works with other phones !!
Google "at command list" and get the idea...
I haven't tested it, but looks similar to what you're looking for.
I remember using
Code:
AT+CNUM
to get the phone number via BT... that could come handy in certain situations

[ROM][Googlecode release] FINAL version 20.11.2011 r175

Hey guys,
as promised, here is our FINAL release of the Froyo Sense ROM.
Link to download:
http://code.google.com/p/photon-android/downloads/list
What's new ?
- tun.ko module for VPN Services added
- cleaned up the release
- fixed several minor bugs
- added new audio & acoustic workaround:
* Volume now fully working, in call & with headset
* fixed the Mic Echo bug
* see Status here: http://htc-linux.org/wiki/index.php?title=PhotonAcousticDevelopment
(Unfortunately didn't fix FM Radio yet, also BLUETOOTH-Audio Routing, i do not have a headset :/ )
Have Fun!
Additional installation instructions:
We recommend not to make an update!
- Give it some more minutes on first boot before you start with the installationwizard
- Restart after setup
- Use Wifi to get latest market updates
- When you are having problem's with 3G connection (APN etc) add the 3G fix from Download Section!
FAQ:
What does "FINAL" release mean?
It means that development on this froyo release with HTC sense has stopped
Why has it stopped?
Froyo is too old, has no longer official support by google and there are no new updates by HTC. Also, most of the applications are proprietary and the ROM is a native Liberty ROM, it makes no sense to continue development there.
And now?
It seems that the "Google Code Page" project will be stopped.
But don't panic! I have started developing on new android & kernel sources some weeks ago, I am also waiting for a developing workaround for nand boot, so be patient, there will be a big update within the next 2-3 weeks
Feel free to report BUGs, but don't forget that there won't be any updates on this in future!
thnx very much for your effort and time ... and good luck in your next project
i will test it .
Thank a lot for all
Thanks for the great efforts, every update is wellcomed.
Can you fix Arabic support ? there is a reported issue about it in google code.
thanks
great job dude, as always
thanks to the wonderful surprise;
look forward to the upcoming new
thank u very much i was really looking forward for this..
btw, did u fix the video problem?
Problem solved for me echo, now I can always use Android, again thanks to the developers.
out of curiosity I would like to know what was the problem with the echo - if possible, if not - no problem - greetings from me for good job
To make the answer short: several filters haven't been set in smem
Thanks for the work.
But,
Handsfree Bluetoot for the car connect but no sound
Radio FM No sound
Video player dont work
Video recorder dont work
esco70 said:
Thanks for the work.
But,
Handsfree Bluetoot for the car connect but no sound
Radio FM No sound
Video player dont work
Video recorder dont work
Click to expand...
Click to collapse
if you look at the status and Schlunds remarks on the first post, you should not be surprised, nor disappointed:
http://code.google.com/p/photon-android/issues/list
thank you devs. for everything.
I am using this version now. this version is verygood than winmo.
but I have a problem.can anybody help me. I have to use teamwiewer on android. I can install teamwiewer in munjeni version but I can not install on google version.
have you any idea for this problem.
thank you
draltus said:
thank you devs. for everything.
I am using this version now. this version is verygood than winmo.
but I have a problem.can anybody help me. I have to use teamwiewer on android. I can install teamwiewer in munjeni version but I can not install on google version.
have you any idea for this problem.
thank you
Click to expand...
Click to collapse
unmount sd card before to install teamviewer and mount it back after
tzacapaca said:
unmount sd card before to install teamviewer and mount it back after
Click to expand...
Click to collapse
its ok. the problem is solved.
thank you tzacapaca and best regards.
Thank you very much, Schlund, & All Developers...
The something I like to tell if i'm understand:
the devs won't work on Android 2.2 froyo anymore. and the devs will start work on newer Android versions (for ex: Gingerbread, or maybe IceCream ), and also continue project fixing bugs: like Video, Graphic.
Hope I understand Right.
anyway, I'm very Thankfully.
Nice. And the battery problem is solved?
Thank you so much devs for this great work.
thank you
thank you and other devs!
First feedback
To be honnest, I don't really feel a clear improvement, may be the OS is more fast.
But the big bug for me, is that while the phone is connected to USB for charge, the phone is very, very, very slow...
There must be a kind of process running in parallel while usb is plugged on, that slows everything.
NB: I have only test the USB charge via a PC usb port, not on sector.
Cheers.

Categories

Resources