[Q] Nexus 7 as a bluetooth headset? - Nexus 7 Q&A, Help & Troubleshooting

Hey guys
I'm using my nexus 7 dashed in my car. (Kinda!)
And i'm using tablet talk to connect my phone with it.
Also i have a bluetooth keyboard connected to my tab.
When i have a text, i can answer it easily. But when someone calls me and i accept the call the sound doesn't come from my car audio and my sound doesnt go through my tablet's mic. They bouth go through my phone!
So i have to use my n7 as a bluetooth headset for my phone. Is it possible?
Can anyone guide me?

No one? nothing? no helps? no ideas? cool!!! :|

For God's sake!!!
guys, this will be great. pleeeaaaase, consider developing or sth.

Cool it, seriously. The forum hardly revolves around this one post.
Given the way the Bluetooth radios are set up, it's not really an easy hack and you'd probably have better luck using a dedicated app over Wi-Fi direct or something (of course, such an app would have to exist as well in the first place). I remember looking into this for the iPod Touch a while back and didn't see anything either, but hopefully you'll have better luck.

Rirere said:
Cool it, seriously. The forum hardly revolves around this one post.
Given the way the Bluetooth radios are set up, it's not really an easy hack and you'd probably have better luck using a dedicated app over Wi-Fi direct or something (of course, such an app would have to exist as well in the first place). I remember looking into this for the iPod Touch a while back and didn't see anything either, but hopefully you'll have better luck.
Click to expand...
Click to collapse
Well it WAS an easy hack, It's just a case of setting the configuration files up correctly. You get the N7 to advertize the Headset service and an Roberts your father brother as they say. I just about had it setup a couple of months back...... I want to control the full telephony service through the N7 show incoming calls and all the fun stuff.... As a first step I got the voice routing through the N7 Microphone through a handset and onto the caller. However I stopped there because that was using android 4.1.1 and I want to be using the latest build... Which is where your right out of luck because 4.2 onwards is a different beast,
Google decided to replace a tried and tested well documented fully implemented Bluetooth Stack with something that's not quite finished yet whose documentation is the source code. That's why there's no Low Energy stuff on Android yet..... It could and should have been implemented last year, anyway I digress. So the options are
1. Use a rom prior to 4.2 - In which case the Bluez is well documented and this sort of problem has been solved multiple times on the linux desktop and the same ideas can be applied to Android, Google is your Friend
2. put the old stack back in and work with that, There's patches that do that but they are all a bit brutal and would be a nightmare to maintain.,
3. Wait for the Missing Code to be added, which could be tomorrow but It could be never
4. write the code yourself..... Fine if you're an expert in that area but the learning curve is inclined shall we say.
or,
5. You could spam XDA daily with requests .
Personally I put this project to one side because my nexus 7 is out on loan to my brother after he decided to bathe his HTC OneX in Lucozade for an hour...

trevd said:
Well it WAS an easy hack, It's just a case of setting the configuration files up correctly. You get the N7 to advertize the Headset service and an Roberts your father brother as they say. I just about had it setup a couple of months back...... I want to control the full telephony service through the N7 show incoming calls and all the fun stuff.... As a first step I got the voice routing through the N7 Microphone through a handset and onto the caller. However I stopped there because that was using android 4.1.1 and I want to be using the latest build... Which is where your right out of luck because 4.2 onwards is a different beast,
Google decided to replace a tried and tested well documented fully implemented Bluetooth Stack with something that's not quite finished yet whose documentation is the source code. That's why there's no Low Energy stuff on Android yet..... It could and should have been implemented last year, anyway I digress. So the options are
1. Use a rom prior to 4.2 - In which case the Bluez is well documented and this sort of problem has been solved multiple times on the linux desktop and the same ideas can be applied to Android, Google is your Friend
2. put the old stack back in and work with that, There's patches that do that but they are all a bit brutal and would be a nightmare to maintain.,
3. Wait for the Missing Code to be added, which could be tomorrow but It could be never
4. write the code yourself..... Fine if you're an expert in that area but the learning curve is inclined shall we say.
or,
5. You could spam XDA daily with requests .
Personally I put this project to one side because my nexus 7 is out on loan to my brother after he decided to bathe his HTC OneX in Lucozade for an hour...
Click to expand...
Click to collapse
tnx for your answer.
but how can this be so hard?!
i used to do this with my laptop! :S

Related

answering machine software???

hi guys, i couldnt help noticing that when i previously used nokia 6600 (symbian s60) they had few 3rd party that is able to make use of their audio mechanism during callls. for example, one software can make selected background noise for opposite callers so they think that u are at a train station for example when infact u r silently at home. another software is an on board answering machine, which after the phone rang for a few times it answer the fonecall with your automated recorded voice and recorded a msg left by the caller on the fone. this is convenient for us so we dont need to call back our voicemail and reduce cost as well as some telco charge to use their voicemail service. im surprised these kind of software have not came out for our windows mobile device when its already available for symbian. im sure it shouldnt be that hard to make it. any coder expert wanna give it a go??
cutefox, what kind of searches have you made for this software on this board? Did you have much luck?
V
i already tried commercial such as handango and pocket gear.. even freeware sites also no luck.. jus dun understand why no 1 made one yet.. shouldnt b too hard to make one.. it will be a big market to sell such a software for our ppc phone device now that more devices is coming out..
Cutefox: have you tried searching this board? Let me save you the effort, but it'll be a good idea next time. It's not generally considered possible, at least on WM2003 devices because of both hardware and software limitations. It's not that no one has thought of it before: someone seems to think of it approximately every two days... but there are many many threads on this issue.
V
Look at what I said here...
http://forum.xda-developers.com/viewtopic.php?t=9761
That sums up why we can't do it using the api's available to us now. The funny thing is the way bluetooth sends the audio stream to a headset. Obviously the data is getting there somehow but I suspect it is not (directly) via windows. Dose anyone know if the radio hardware for bluetooth is connected to the radio hardware for the phone? My guess is that if you could write a program that windows "sees" as a headset then you could get the audio that way. But thats a problem in itself.
I would love this kind of program myself. How is it that such usefull devices with so many capeabilities can be kept secret from us. We can't use the camera, we can't get the cell id on towers, we can't programatically controll the partnerships in blutooth, we cant get the audio stream of our own phone, the events on some ppc's that control brightness are secret..... the list goes on. This kind of #@!!$$ is going to hurt the future of these devices which I otherwise love.
OdeeanRDeathshead: I had read your previous posts, and as ever, very interesting and informative reading. I had the same idea regarding a "dummy" bluetooth device a while back, but mamaich put me in my place!
http://forum.xda-developers.com/viewtopic.php?p=179839#179839
V
thanks vijay555, thats what I have suspected about the hardware. What I want to do is a bit different. The bluetooth can communicate to many devices at once. If your program could appear to be a headset to the os, then the phone bluetooth hardware could transmit the audio to the headset at the same time your program uses bluetooth to receive it. Kind of like a loop out of the box to bridge the lack of functionality. This shifts the problem to how dose a hardware bluetooth headset communicate. Emulate this and we are on a winner. I don't think I have the willingness to pull my devices appart. I also do not have the money for some of the hardware (eg good digital oscilliscope) that I would need to measure whats going on. I did read that microsoft are about to expose some new api to allow control over the pairing process (but not the audio stream). I hope that we get some soon.
Is there going to be any new (for 2005) free development tools like the evc versions used today?
OdeeanRDeathshead: re eVC, I don't think so. The "express editions" are free, but they specifically omit the functionality to develop "mobile solutions".
Re the loop back. That's a good idea. I think mamaich is our best bet on schematics, I think that would be very helpful. As you "rave", it's mindboggling that Microsoft still haven't revealed or implemented a way to interact with the audio channels. It must have been one of the first things one could imagine doing once you develop a PDA with a phone stuck on the back of it.
Any idea if the bluetooth stacks could support transmitting and receiving simultaneously in this manner? I know some of the boys are working on alternative bluetooth support for the stereo headset profiles, so they might be able to shed some light on the issues involved. I guess the processor overhead could be hefty, but for the benefit it would be beneficial.
V

Drag retarded Hero into 21st century

Bluetooth has been available on mobile phones for almost 10 years
My shiny new Hero which I consider to be an excellent piece of work is pretty useless in this department....file transfers hands free connection etc
If a phone that costs £30 from tescos can do this why cant the £400 quid hero?
Why is android incapable of this extremely basic functionality? Why are android phones on sale at all? the OS is not finished and will not be untill Bluetooth just works.
I have pissed off several friends by recomending this phone pre release assuming that the bluetooth profiles had been fixed on the hero. But if they cant send mates in the pub a photo of a friend falling over or use their hands free kits how can I blame them?
Is there a timescale for adding working bluetooth to android?
Ask Google. They're the ones that only programmed handsfree profiles in. Apparently it's supposed to be fairly soon.
Also, you know what they say about assuming.....
but yeah, it's a bit of a glaring omission. but then didn't the iphone do exactly the same when it first came out?
rhedgehog said:
Ask Google. They're the ones that only programmed handsfree profiles in. Apparently it's supposed to be fairly soon.
Also, you know what they say about assuming.....
but yeah, it's a bit of a glaring omission. but then didn't the iphone do exactly the same when it first came out?
Click to expand...
Click to collapse
Don't just blame Google tho... Android is open source and the Hero's version is a seperate dev branch to the cupcake 1.5 thats on standard 'Google' phones. I mean they must have fiddled with it anyway as some things that worked on the standard 1.5 build don't work on the Hero.
So HTC are just as much to blame for this... what can we call it... oversight...
Ovek said:
So HTC are just as much to blame for this... what can we call it... oversight...
Click to expand...
Click to collapse
No they are not! The reason that this functionality is not available is because the Bluetooth APIs have not be finalized. Whilst potentially HTC could have added their own, this would have fragmented Android as an OS and this is definitely not the way forward.
Unfortunately, Apple showed that the market will accept reduced functionality in devices, when they shipped the original iPhone.
However, with respect to Google, I fully agree that nearly a year down the line since the G1 was launched, they should've got further than they have with Bluetooth support.
Regards,
Dave
foxmeister said:
No they are not! The reason that this functionality is not available is because the Bluetooth APIs have not be finalized. Whilst potentially HTC could have added their own, this would have fragmented Android as an OS and this is definitely not the way forward.
Click to expand...
Click to collapse
The Android OS will become fragmented, Android is designed that way it's supposed to be a base on which mobile phone manufactures can build upon. It's also the reason you get "with Google" phones, if you want a pure Android OS those are the phones you buy.
HTC should have seized the opportunity to fix some of the glaring ommisions from Android, epecially considering that there is no indication that any more bluetooth profiles are included in donut.
rhedgehog said:
Ask Google. They're the ones that only programmed handsfree profiles in. Apparently it's supposed to be fairly soon.
Also, you know what they say about assuming.....
but yeah, it's a bit of a glaring omission. but then didn't the iphone do exactly the same when it first came out?
Click to expand...
Click to collapse
I say assume, but HTC posted bluetooth profiles on the android community as GAP SPP HSP HFP A2DP and AVRCP profile, so where are they?
I admiit I should have checked for OBEX, I was probably caught up in the hype, and the oooos and arghhs of the reviews, perhaps the reveiwers should have started with..... erm this phone does not work before we parted with our hard earned. Shame on you engadget
puckoon said:
I say assume, but HTC posted bluetooth profiles on the android community as GAP SPP HSP HFP A2DP and AVRCP profile, so where are they?
I admiit I should have checked for OBEX, I was probably caught up in the hype, and the oooos and arghhs of the reviews, perhaps the reveiwers should have started with..... erm this phone does not work before we parted with our hard earned. Shame on you engadget
Click to expand...
Click to collapse
Just get BlueX and use one of the many methods to root the phone, then you'll have full send/receive bluetooth capabilities. It's very easy.
does bluex actually work on the hero? and is it one of the ones that seems to be hidden on some hero devices?
Didn't know that HTC had put those profiles out there...but if they're just in beta or being tested, then i am sure they'll be here soon.
and besides, the base android build on the hero is the same as on the magic, it's just had a few kernel changes for any hero specific hardware, it's still running 1.5.
i personally knew the device had no obex, and still got it. I suppose it's each to their own really. Millions of people got the iphone and were rabid about how wonderful it was even though it was missing some basic features. i bet hero will have the same kinda people, on both sides of the argument.
i like it and am happy, but am certainly not going to defend the missing features, i just rely on the fact that as i am happy with it as it is, anything extra is a bonus.....
rhedgehog said:
does bluex actually work on the hero? and is it one of the ones that seems to be hidden on some hero devices?
Didn't know that HTC had put those profiles out there...but if they're just in beta or being tested, then i am sure they'll be here soon.
and besides, the base android build on the hero is the same as on the magic, it's just had a few kernel changes for any hero specific hardware, it's still running 1.5.
i personally knew the device had no obex, and still got it. I suppose it's each to their own really. Millions of people got the iphone and were rabid about how wonderful it was even though it was missing some basic features. i bet hero will have the same kinda people, on both sides of the argument.
i like it and am happy, but am certainly not going to defend the missing features, i just rely on the fact that as i am happy with it as it is, anything extra is a bonus.....
Click to expand...
Click to collapse
I for one have not beeen able to get Bluex to work on Hero neither Root explorer????
Ok (Grits teeth)
Still love the phone would still buy it (friends probably wont till bluetooth fixed) would have liked a choice on the bluetooth though.
If the reviewers were paying more attention to the bluetooth deficiency I am sure google would be urgently fixing it!
Guess will have to wait. Please dont hesitate to let us all know when you find out they've fixed it
Ovek said:
The Android OS will become fragmented, Android is designed that way it's supposed to be a base on which mobile phone manufactures can build upon.
Click to expand...
Click to collapse
Yes it is - and the bluetooth APIs are part of that base!
Google were very specific about why they chose not to ship Android with broken APIs (see http://android-developers.blogspot.com/2008/08/some-information-on-apis-removed-in.html ). If HTC had "done their own thing" they too would have been committed to support this for years to come.
As a developer, personally I'd be happy to wait for a single fit-for-purpose API to come to Android, than support a wide variety of vendor-specific extensions.
If Android wants to gain serious traction in the Smartphone market, they need to look at Apple and the iPhone. Here you've a single software and hardware platform which is going to make application development far simpler.
It is ok to build on top of the Android platform (as you said yourself), but if each handset vendor goes about changing the underlying nuts and bolts differently this will adversely affect market acceptance of the platform.
Regards,
Dave
so bluetooth does not work on shipped devices?
it works on the htcmagic hero rom but not on the dream hero rom. hack
i wonder why
bluetooth works, but only for headsets.
maybe the magic rom has bluex installed, as i know bluex works on the magic, but not on the hero
rhedgehog said:
bluetooth works, but only for headsets.
maybe the magic rom has bluex installed, as i know bluex works on the magic, but not on the hero
Click to expand...
Click to collapse
Hero supports a few more profiles than just headsets.
From the HTC website:
Q.
What Bluetooth profiles are supported?
The phone supports Bluetooth Headset, Handsfree, A2DP, and AVRCP profiles. You can connect your phone to a Bluetooth hands-free headset or a Bluetooth car kit and use those devices to listen to music and send and/or receive calls. Transferring files between your phone and PC using Bluetooth is not yet supported.
Click to expand...
Click to collapse
We won't see file transfer or OBEX until Google finalize the bluetooth APIs.
Regards,
Dave
puckoon said:
I have pissed off several friends by recomending this phone pre release assuming that the bluetooth profiles had been fixed on the hero. But if they cant send mates in the pub a photo of a friend falling over or use their hands free kits how can I blame them?
Is there a timescale for adding working bluetooth to android?
Click to expand...
Click to collapse
Agree about the file transfer (although its a smartphone so use flikr/twitter)
As for handsfree I am using just fine with my Parrot MKi9200 car kit. Full handsfree and A2DP Stereo support with controls. Full address book sync etc.
So apart from file transfer its got a full set of useful features.
Russ
RussST24 said:
Agree about the file transfer (although its a smartphone so use flikr/twitter)
As for handsfree I am using just fine with my Parrot MKi9200 car kit. Full handsfree and A2DP Stereo support with controls. Full address book sync etc.
So apart from file transfer its got a full set of useful features.
Russ
Click to expand...
Click to collapse
How did you get the address book to sync, I thought this didn't work, and it doesn't seem to with my Alpine kit. Did you install bluex?
The Bluetooth kit in my Land Rover Discovery 3 can pull the contacts list off my Hero and also notify me of who is calling in the head unit.
Pretty sure its not been pulled off my Nokia N85 when I used that as there is no storage in the kit as far as I am aware.
Its also just to note - a Nokia kit sourced / OEM'd by Land Rover and is the standard Bluetooth PTI they factory build.
ewans said:
How did you get the address book to sync, I thought this didn't work, and it doesn't seem to with my Alpine kit. Did you install bluex?
Click to expand...
Click to collapse
No, I have the same car kit, it just works as is from the box.
Hi,
I was a bit confused by this thread and all the bluetooth problems. At the moment I have a Touch Diamond but I am up for an upgrade in the next month so I am looking at either the Diamond 2 or the Hero. I have a Sony BTNX20 stereo BT headset that i use for everything, Will I still be able to use this headset for stereo music on the Hero? Also what video files can it play? Or is there something like Core Player available that will play everything? A bit off topic but i thought id ask since i had a bluetooth question!
mightycaz said:
Hi,
I was a bit confused by this thread and all the bluetooth problems. At the moment I have a Touch Diamond but I am up for an upgrade in the next month so I am looking at either the Diamond 2 or the Hero. I have a Sony BTNX20 stereo BT headset that i use for everything, Will I still be able to use this headset for stereo music on the Hero? Also what video files can it play? Or is there something like Core Player available that will play everything? A bit off topic but i thought id ask since i had a bluetooth question!
Click to expand...
Click to collapse
Your BT headset should be fine, as for video play back... well it's poor. And as for Core player it won't be out for long time (if ever!).

[CLOSED] Cyanogenmod, Legend, FM Radio & MONEY [MODS PLEASE CLOSE THREAD]

Hey guys,
I was just thinking about that nasty little problem with cyanogenmod and our legends and since there was no meaningfull advencment, we could put some money on it. I think from 5 to 10€ for each doner would be enough or what do you think? Of course the developer has to give us an account to send the money to.
I would just like to use the FM radio and since it is working on desire for some time now, why not on legend.
So who is ready to do it?
would support that idea.
It is already stated waaaaaaaaaaayyyy before. The FM radio WILL NOT WORK on the Legend because of it's alien architecture. Don't ask me, I don't know ****. But if you're do want to make a donation then you can donate to Ali Ba which has been the sole reason CM is running on the Legend.
This is a good idea.
Sent from my Legend using XDA App
rajasyaitan said:
It is already stated waaaaaaaaaaayyyy before. The FM radio WILL NOT WORK on the Legend because of it's alien architecture. Don't ask me, I don't know ****. But if you're do want to make a donation then you can donate to Ali Ba which has been the sole reason CM is running on the Legend.
Click to expand...
Click to collapse
here on this link http://forum.cyanogenmod.com/topic/8260-fm-radio-support-for-legend/ ale baba himself says it is possible but that he hasn't got the time for it. So it is possible we just need someone who will do it. But first of all we need more people.
I'd consider doing development on this. I was wondering why there was no FM Radio app on CM7, LOL.
At the very least I can commit to finding all the info I can gather on this issue. I have no (satisfactory) employment at present and want to break into the Android specific field.
I have 14 years experience in embedded Linux development, including lots of low level kernel stuff. In a previous life (more decades ago than I dare admit) I did electronics engineering stuff, and I still love the low level nuts and bolts.
I'm pretty new to Android however, got my first cellphone (ever!) 17 days ago, first Android phone 15 days ago, and my Legend yesterday.
I think I can learn quick, I'm CM7 nightly, S-Off, new radio one day after getting it, LOL.
So my point is I, and this project, could use help in areas of Android specific knowledge.
Does anyone know if the normal FM radio app I've used before is proprietary Google code ?
Are there any generic FM radio apps that would work if standard drivers existed ?
My quick research on this is that only a driver might be needed. A V4L (video 4 linux) driver, which I have already had some experience with.
But there DOES seem to be a V4L driver already for Linux for the TI WL1273 chip apparently used in the Legend, and apparently a number of other phones. So in theory, this job might be as easy as integrating an already written driver in to the CM kernel, as a kernel module or 2. There MIGHT be some copyright issues with any chip firmware though.
Alas, some comments indicate using such a driver might interfere with Bluetooth functionality.
Interesting stuff about the 1273 chip is that it may support an FM transmitter, and it supposedly supports WiFi N. But who knows if needed hardware support might not be on the PCBs.
^ wow! where have you been all our android lives, bro? link on the post above yours answers some, if not of all, of your questions & covers a lot, i guess. cheers!
maxq1 said:
^ wow! where have you been all our android lives, bro? link on the post above yours answers some, if not of all, of your questions & covers a lot, i guess. cheers!
Click to expand...
Click to collapse
Cheers...
I've been reading that there IS an FM Radio app integrated into CM now. It comes from MIUI, a chinese group of some sort that also makes an Android ROM.
The app apparently uses /dev/radio* which is the standard V4L radio interface. I have these also on my Hauuppage PVR boards I used for HTPC before I went completely digital for movies, tv, etc.
So yes, what we need is integration of a driver into CM kernel, but coding may be needed to fix bluetooth driver interference etc. And of course who knows what else might be needed.
I'm reading that FM is much more important to those without data to stream. Not all of us live in wireless data dense cities and countries.
Would be interesting to see what frequency range can be received and maybe transmitted.
Would be MOST cool to stream from video camera to transmitter for local "pirate TV" type functionality, LOL. Actually can't imagine ATSC or even NTSC (or PAL etc.) encoding possible, but wireless streaming will do the job...
@mikereidis
Thanks for joining in, great highly appreciated. If there is any time left it would be nice if you could look into the GPS problem with CM 7 it is currently not addressed.
Anyhow thanks for your participation and contribution.
BR, ojessie
@mikereidis
So are you going to try and port it?? If you will and you'll succeded then you will be the legend in Legend community!
Sent from my Legend using XDA App
ojessie said:
@mikereidis
Thanks for joining in, great highly appreciated. If there is any time left it would be nice if you could look into the GPS problem with CM 7 it is currently not addressed.
Anyhow thanks for your participation and contribution.
BR, ojessie
Click to expand...
Click to collapse
I can keep my eyes and ears open to GPS, but best to concentrate on one issue at a time.
What is the GPS issue ? I thought it didn't work on my phone after new ROM but within a few hours it was working OK for whatever reason. And now I see 2 metre accuracy compared to the minimum of 5 on my Optimus Chic.
qzem said:
@mikereidis
So are you going to try and port it??
Click to expand...
Click to collapse
I'll do whatever it takes.
The userspace FM Radio app shouldn't need any porting work AFAIK. It seems to already be in CM 6.1 ROMs for the Nexus One (any others?). So I'd guess installation would just need to be enabled for other phones.
The tricky part is getting a device driver working that creates a /dev/radio interface for the MUIU FM radio app to use. There IS already a Linux driver for the WL 1273 the Legend uses, but it might need some modifications to run on the Legend.
But there is some complicating factor regarding bluetooth drivers, so it may not be too straight forward. For initial testing at least the bluetooth drivers could be disabled.
What about HTC's kernel source. As I told in cyanogenmod forum the drivers should already be in HTC's kernel source. If the code is there it should be easy to put it into CM7 kernel and use HTC's FM Radio app. Or what do you think?
mikereidis said:
I can keep my eyes and ears open to GPS, but best to concentrate on one issue at a time.
What is the GPS issue ? I thought it didn't work on my phone after new ROM but within a few hours it was working OK for whatever reason. And now I see 2 metre accuracy compared to the minimum of 5 on my Optimus Chic.
Click to expand...
Click to collapse
Yeh, thats the problem. GPS is working on some devices and on others not and nobody knows why. As a matter of fact when I'm running CM 6.1 its working great. Flashing CM 7 no change to get it working. As mentioned others are reporting the same issue with CM 7 on some its working on others not.
ojessie said:
Yeh, thats the problem. GPS is working on some devices and on others not and nobody knows why. As a matter of fact when I'm running CM 6.1 its working great. Flashing CM 7 no change to get it working. As mentioned others are reporting the same issue with CM 7 on some its working on others not.
Click to expand...
Click to collapse
When I get tired of Google maps seeming to take forever to figure out my GPS location, I've downloaded and run the "GPS Test" and "GPS Status" apps. I did so and for some time the status color on one of those showed yellow, meaning no GPS fix, but power on.
Anyway sometime later it was working. One of those apps downloaded data to make cold starts work faster and that may have helped. A few things to try for anyone interested anyway.
ponchofiesta said:
What about HTC's kernel source. As I told in cyanogenmod forum the drivers should already be in HTC's kernel source. If the code is there it should be easy to put it into CM7 kernel and use HTC's FM Radio app. Or what do you think?
Click to expand...
Click to collapse
The problem with running the HTC FM radio app on CM is that it, like many other HTC apps, uses the HTC framework with Sense UI. So CM can't run it, although stock or modded Sense ROMs should be able to.
IMO right now the MIUI app is the way to go, and it's open source so anyone can modify/fork it.
Yeah I think a /dev/radio is likely in HTC source, but it's possible it's something different and/or kind of proprietary.
The Chip manufacturer, TI, and their partners who make RF modules based on the chips, DO have android /dev/radio drivers. So they are definitely out there somewhere.
I think, as usual that "In Theory" this should be a simple matter, in reality there is usually some problems to solve. Otherwise we'd have FM already in CM.
A few pointers:
TI 1273 has a few interfaces for communication. One of them being a (standard) serial via bluetooth, the other one I2C.
HTC did not use I2C because they already had to use the serial interface for bluetooth and it's a lot cheaper that way (that's what all manufacturers do, by the way). The wl1273 driver in the Linux kernel does have support for the FM capabilities, but unfortunately via I2C only.
So basically we already have all the drivers we need in place (tiwlan_drv, sdio), no kernel stuff needed. What's missing is valid documentation about how to enable radio, route it to the headphones, seek/tune, etc.
You could reverse engineer /system/bin/btipsd, which does bluetooth and FM communication in original HTC releases.
Once you are able to control FM stuff (with bluetooth turned on) write a nice summary and I'll ask cyanogen how to implement it. Won't be that hard, given the fact that currently all supported devices use the serial interface via bluetooth.
ali ba said:
The wl1273 driver in the Linux kernel does have support for the FM capabilities, but unfortunately via I2C only.
So basically we already have all the drivers we need in place (tiwlan_drv, sdio), no kernel stuff needed. What's missing is valid documentation about how to enable radio, route it to the headphones, seek/tune, etc.
You could reverse engineer /system/bin/btipsd, which does bluetooth and FM communication in original HTC releases.
Click to expand...
Click to collapse
Thanks ali ba ! Yes I know about cheap manus, I've worked for a few, LOL. Linux VOIP and security appliances mostly though.
By "The wl1273 driver in the Linux kernel" do you mean the TI provided W1273 driver in the CM7 ROM ? I had thought that driver was for WiFi only, or perhaps WiFi + Bluethooth. Or does my seeing an rfkill device mean FM radio is in there too ? Would it create a /dev/radio device ? There are some FM init BTS files that may enable FM.
My understanding is that the WL1273 WiFi driver in the mainline Linux kernel (not the Android kernel) is WiFi only. There's a guy from Nokia trying to get WL1273 FM radio only driver into main Linux kernel but not there yet. That driver will be separate from WiFi driver even though they may both have WL1273 in the name.
I've been finding some HCI commands usable with hcitool to do audio routing stuff at least. RevEng has been a specialty of mine, so I think if it can be done, I have a good chance.
Quickest route to a working FM radio on Legend is to find an existing app for another phone that works.
Phones with the WL1271/1273/1281/1283 chips include original Moto Droid, Droid 2, Droid X, Motorai, Nokia N800 (or N900?), N8 (?), B&N Nook Color.
There's a thread here on XDA about Droid 2 phones using the Droid X FM radio app with success. I tried that app but there seems to be some problem launching the fmradioserver.
I saw a logcat message that may indicate I need to "adb install" the APKs instead of just copying them to /system/app. I tried but got the error that indicates the UID does not match the signature. I guess that's not an issue on Droid 2 (or motorola phones in general?)
Does anyone know if/how to mod/repack an APK to avoid the UID signature issue ?
A few more of my findings for anyone interested. BTW should I or someone create a thread in the dev section at this point ?
As mentioned above a guy from Nokia is trying to get a V4L2/dev/radio driver for WL1273 into mainline Linux kernel. That driver could be integrated into our kernel, but it might take a bit of work. And as mentioned that driver is not in kernel yet and may have lots of changes still coming in the next several months at least.
But TI also has a driver, and it's meant for Android. I haven't been able to grab source code for that driver yet. I think TI driver references WL1283, the biggest baddest version with GPS too. But driver is supposed to work on all 4 variants, down to WL1271.
TI has a command line app for testing fm radio, I think called fmapp if memory serves. It's possible this test app could at least help with exploration.
Unlike the poor original Droid owners, we are lucky that we know our FM receive antenna is connected, since stock Legend has FM radio. But there seems to be a different pin for FM transmit so it's possible we will never be able to transmit FM more than a few inches. But Tx would just be a bonus, but a potentially wonderful bonus.
And, ya know, I'm not even sure if MIUI FM app works with /dev/radio. I was looking at some source and it seems to be hardcoded with Broadcom chip specific stuff.
Oh, and my understanding is that even if we ever managed to get Wireless N working (with a new or improved stack perhaps?), that it will likely kill batteries quickly enough to be effectively unusable. Would be interesting though.

[Q] bluetooth headset profile HSP

I just purchased an A501, rooted it and am running the Alexander III rom, (very nice job on the rom!!!)
I was hoping I would get the bluetooth Headset HSP profile in the new rom but sadly it was not there.
A little research has shown that there is a Bluez driver plugin installed and various bluetooth libraries, my question is can I potentially just replace these libraries with bluez libraries from another rom that has the HSP profile?
I really need to get the bluetooth headset profile working on this A501, and am willing to pay a bounty for help in getting it working
Sorry to say, it doesn't work... as with most other Tablets.
Just using some libs from another ROM isn't going to work either, unless they are extremely similar... and all ROMs similar enough to try such a stunt are almost definitely broken as well.
Sorry, but you'll have to roll your own BT stack if you're desperate enough to try... I'm not gonna.
haag498 said:
Sorry to say, it doesn't work... as with most other Tablets.
Just using some libs from another ROM isn't going to work either, unless they are extremely similar... and all ROMs similar enough to try such a stunt are almost definitely broken as well.
Sorry, but you'll have to roll your own BT stack if you're desperate enough to try... I'm not gonna.
Click to expand...
Click to collapse
Still doing a little research on this. I discovered, in the Bluetooth folder, a couple of files pertaining to what Acer has deemed "black listed", which simply means, certain brands and models are not allowed to work with bluetooth. System/etc/bluetooth/
Also noted, if you modify the files, you need to make changes in a couple of other module files (android_bluetooth_ScoSocket.cpp). The info in the above files tell you where to look.
Not sure why Acer black listed those devices. Legal reasons maybe? Plain incompatibility? Who knows.
My dev skills, are not quite up to modifying .cpp files. Probably enough to muck things up really good Not to mention, I would have no way to test them. But when I get a chance, I'll see what's in them.
Of course most of this pertains to Auto pairing, so might not be of much use. As with the .so files in the Bluez folder, you'll need to de-compile them first to see what's in there.
Also, I saw some bluetooth apps onn the market that some folks had some success with getting HSP. Not the off/on widgets but an app itself. Might want to give them a try and see if you can get the headsets to connect.
Additionally, it seems bluetooth headset problems seems to be across all devices, and not just the a501, but Zoom, Transformer and Thrive as well. Hit and miss with what works. Most issues say the mic doesn't work.
I tried a couple of the apps with no joy on my plantronics earpiece but one of the widgets actually connects...for just 2 seconds...then disconnects...I think the capability is there and you are correct there is some file manipulation that needs to occur...
I have a friend in Egypt that is very good with android bluetooth, he is working on another project right now but when he finishes his current project I will send him these files...he might be able to figure it out ...

Nexus 7 as hands free bluetooth device?

I know that at the moment this isn't possible, but does anyone know if there is work being done on the Android bluetooth stack to enable a tablet to be used as a bluetooth hands-free device? A bit of searching shows that it is a regularly requested feature but I can't seem to find any info on any developers who are definitively working on this (except for one little questionable nugget that stated that the CM developers were playing with Bluetooth. Hardly enough to go on.).
I want to incorporate a Nexus 7 into my 370Z as a carpc but the lack of being able to integrate phone features is holding me back. Using data apps like grooveip are a no go for me as data connections around here aren't reliable enough for consistent daily use. Thanks in advance for any info.
I'm not to sure of what your asking, but if you wanna make calls from your tablet using BT this app allows you to do that as well as send SMS and MMS from it https://play.google.com/store/apps/details?id=com.apdroid.tabtalk hope that helps and is what you mean
Sent from my Nexus 7 using Tapatalk 2
I appreciate the suggestion but I don't think this will work. What I would like to do is mount my tablet in my car and use it as a front end for my phone to make/take calls the way an OEM bluetooth car system would normally work. My understanding is that your tablet must be paired as a hands free device, which android tablets currently don't do. I looked at Tablet Talk but when using that app from what I can gather when you accept a call on the tablet it actually activates the call on your handset. Ultimately I want to use the tablet as a hands free solution as I drive stick and holding my phone to my ear while driving is a no-no.
In the past I've used bt headsets but I lose them constantly and frankly I'm tired of replacing them. Oh well.
Well, good luck in your search! And you hit tablet talk spot on BTW lol. Oh and if you do find a solution, plz post it! This sounds like something I would love to use.
Sent from my Nexus 7 using Tapatalk 2
SpungeWorthy said:
Well, good luck in your search! And you hit tablet talk spot on BTW lol. Oh and if you do find a solution, plz post it! This sounds like something I would love to use.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Thanks. I'll thinking I'll probably go the route of a more traditional carpc for now, but if and when this becomes a feature you can take advantage of with android tablets I'll have to reevaluate the situation.
Nillaz said:
I know that at the moment this isn't possible, but does anyone know if there is work being done on the Android bluetooth stack to enable a tablet to be used as a bluetooth hands-free device?
Click to expand...
Click to collapse
This would be a great extension or compliment to the various apps that let you send/receive SMSs from your tablet via your phone. If I could at least receive/answer calls too, I could leave the phone elsewhere at home.
Just to let you know I've contacted parrot and garmin with regards to something like this.
I want a solution where I can make my nexus 7 a full media center with DAB radio and a good sat nav without needing a cellular link and hands free for my phone which includes the voice commands available through the tablet.
So hopefully they will get back to me and I'll post up here what they say.
Something I haven't solved yet either is getting all the antennae feeds into the nexus, I was thinking of getting a sharks fin antennae and wiring them into a raspberry pi to then blue toothing them into the nexus, I could also then attach a HDD to the pi to use it as a server to.
I want to do it this way so I can take the 7 otu and with me if I wish, rather than having it hard wired in. also if would allow for device upgrade.
Theres a nice thread on install and with references to the tasker app to get the tablet to work with the ignition and other functionality like that;
http://forum.xda-developers.com/showthread.php?t=1819175
b
BT app
There is an app under development for this I think. play.google.com/store/apps/details?id=com.funkyandroid.phonelink
I'm thinking of dropping a Nexus 7 in my car but the lack of hands free bluetooth is kind of a deal breaker.
Did anybody ever get this working? I have my Nexus installed in the car, and would love to be able to use it as a speakerphone. I don't need to actually be able to make the calls via the tablet, just need to be able to use it as a basic bluetooth speakerphone / headset type of thing.
It sounds like it should be something fairly simple, but I cannot seem to find much.
I have been wanting this for a long time, I'd love to be able to take my older Android phone and re-purpose it as a car GPS/Internet Radio/Handfree, etc.
I know the Samsung Galaxy player has this functionality, I wonder if any of their devs could help out.
if this work in linux so i think can work on android
Hi to all,
i been looking for this "bluetooth role" for long time. I have read a lot of forum and the entire XDA posts about this..
it seems that this is the definitive question like "what is the answer to life the universe and everything" simple 42
and it seems that is the paradise for all want to make a carputer/droid/tablet/**** car radio replacement... so... i'm one of you
this post is for some devs (i'm a dev too) i'm asking for help ....
the problem is: which android version do you want to use?
why this question? simple: from the android 4.2 google has decided to trash the bluetooth bluez stack and reimplement the wheel with bluedroid...
i read the documentation about bluedroid at this site:
https://source.android.com/devices/bluetooth.html
and there was written that there are some profiles actualy implemented but not the Bluetooth Hands-Free Profile server.
Ok it's not a problem, taking a look to the template of other profile i can implement it.
now the question is HOW DOES IT WORKS?
so i searched and bum this is how:
version 1.5
version 1.6
ok and now? and now i tried to find some similar implementations and...
after another night of search i found this....
HFP For Linux
where there is the downloadable source code.
now I think we have all the necessary to make this possible...
BUT there are some problem that i haven't resolved yet for a lack of knowledge of course.
it seems that the hfp override any other profiles on that example, it's not bad, in a system that i want to use i need only a HFP profile and AD2P togheter all the rest is useless
i think that this at the end is a fork of the standard android project and how I/we can put it into a rom or a patch and who want to add to a rom/kernel? how it can be done? is a patch better ? a new kernel like franco's or better to submit to google?
I hope to have intrigued someone with this post and I hope that somebody can link me to some documentation to understand how to put all the information I have together.
ps. i have tried to reply into this thread:
[Q] Android phone as bluetooth headset?
but of course i have to few posts to make my suggestion there
I may be out of line here but try reading about the gmate+ device.
I got one paired with my Nexus 7 32gb right now and currently using it as a phone. I believe there are other similar gadgets out there, as I've done some researches before I actually got mine to work. I have yet to try it with a bluetooth headset paired because I lost mine just on the day when I was about to try it out.
Anyway, one problem here is, the app for the device is currently not updated so there are a lot of things that need tweaking and one major issue for me is the ringtone. As I have posted here before, sine N7 does not have native ringtone, there's no alert tone for incoming calls. As for text messages, the notification alert tone works. I know there's also GPRS for it but haven't tried it out yet.
Try these options...
As far as an option for a Nexus 7 you may want to try a sip dialer like 3cx or linphone or zoiper and establish a free sip account at iptel.org or something. As long as you have wifi or a 3g connection which some tablet have you should be able to make and receive calls, or try ""Blue Fi" from the play store. it may work.
naiku said:
Did anybody ever get this working? I have my Nexus installed in the car, and would love to be able to use it as a speakerphone. I don't need to actually be able to make the calls via the tablet, just need to be able to use it as a basic bluetooth speakerphone / headset type of thing.
It sounds like it should be something fairly simple, but I cannot seem to find much.
Click to expand...
Click to collapse
golfnz34me said:
I have been wanting this for a long time, I'd love to be able to take my older Android phone and re-purpose it as a car GPS/Internet Radio/Handfree, etc.
I know the Samsung Galaxy player has this functionality, I wonder if any of their devs could help out.
Click to expand...
Click to collapse
I just got a new Nexus 7 for the same purpose of replacing my vehicles head unit with a tablet.
I am digging into the BT stack since I believe that I should be able to implement (or port) the profile on top of Android 4.3 assuming that the SCO data is available through the raw BT connection. There is an open source HFP implementation on sourceforge for Linux that migh be close enough to do the trick and save a bunch of coding time. It's going to take a while for me to get the time to dive too deeply into this one, but if I succeed or come to the conclusion it can't be done, I will let folks know.
Hello guys.
I am going to buy Nexus 7 for my car for the same purposes, - navigating, internet.
But mainly is for the Hands Free function.
Unfortunately, people saying nexus can't use it. But it's lol...I don't believe nexus7 doesn't support hands free.
Gentelman, tell me any way to make nexus 7 works hands free.
Thank you in advance.
P.S. if you ask wham am I mean when saying "hands free", so there is an example http://www.youtube.com/watch?v=ZEFjDKtlao8
Use some Motorola MotoActiv Bt code?
I have a Motorola MotoActiv running watch... Features gps tracking for running and biking, MP3 player and Bluetooth... The Bluetooth is mainly used for wireless headphones, but if you have a Motorola Phone, the watch can display text msgs from the phone and you can use the headphones/mic through the watch to take calls. (the idea being that you can leave the phone in a pocket or backpack while you're bike riding, I guess, and still take calls.)
The device runs Android (I'm sure someone's rooted it on here). Maybe that code can be dissected and repurposed for what were all looking for??
J
more on Motorola Watch
SmartNexus said:
I have a Motorola MotoActiv running watch... Features gps tracking for running and biking, MP3 player and Bluetooth... The Bluetooth is mainly used for wireless headphones, but if you have a Motorola Phone, the watch can display text msgs from the phone and you can use the headphones/mic through the watch to take calls. (the idea being that you can leave the phone in a pocket or backpack while you're bike riding, I guess, and still take calls.)
The device runs Android (I'm sure someone's rooted it on here). Maybe that code can be dissected and repurposed for what were all looking for??
J
Click to expand...
Click to collapse
Just an update on something I said in my previous post... I was looking at my MotoActiv watch today and it says you have to have an "Android phone" not a Motorola phone as I said in my previous post. So I'm wondering if the phone audio over Bt can be reverse engineered from the Motoactive watch for other android devices.
I actually decided to root my watch today just for the fun of it... it would really make the perfect "Car Head Unit" as it has Android OS, MP3 capabilities, FM Tuner, Bluetooth and Phone audio over Bluetooth built in... if only the screen was larger than 1.5".
Looks like the Nexus 4 and Nexus 7 2013 are getting some love in this area with a new custom stack:
http://www.bluez.org/bluez-for-android-status-update/
Looks like you need some compiling skills, but I think this is what you are looking for.
It must be work... Or not?
Hello guys!
I'm thinking on a same project for a while. It doesn't matter if not work for me, but would be great if yes.
I found something 2 days ago:
Parrot Asteroid Smart
This is an android base head unit/navigation, and the bluetooth handsfree is working on it. How it's possible? Any chance to port it into the Nexus 7?
solution
So i had an idea today and decided to call my carrier (Cricket). They told me it is possible to purchase an extra sim card and they will program the imei# to match my phone. This will enable me to make and receive calls on my tablet as well as my phone using the same number. Also i will have full access to my data.....problem solved with only 15 dollars. I hope this helps somebody.

Categories

Resources