ANT+ Radio - G2 and Desire Z General

Hello,
does our device suppor ANT radio? maybe in some kind of custom rom/application?
thnx

You have any link or info on what "ANT Radio" is?

yes, this is a good site for additional info : http://runningdigital.com/2010/10/30/bluetooth-and-ant-sensor-tech-for-mobile-phones-today/
seems some processors are able with ANT radio , but must be opened with firmware/apps

from previous link :
Android Let me start off by stating that no current Android supports USB dongle-type adapters, like those available to iPhones. While this isn’t great news, I’m more keen on native support solutions anyway than to have something else plugged into my phone before every run. That said, to have native ANT+ support we need the right hardware and firmware specs. Texas Instruments is one of the first, or only, to supply chip sets for mobile phones that supports ANT+ connectivity. I say “supports” because the phone’s firmware has to be written to activate the ANT+ radio, and I have not been able to find an example of this yet. The Motorola Droid X contains the Texas Instruments ANT+ capable WiLink 6.0 chip, however it lacks the out-of-the-box firmware to make ANT+ connectivity possible. Even if you were to enable ANT+ by hack, there still isn’t an app in the Android Market that’s ANT+ ready. Bottom line, widespread Android/ANT+ solutions are going to take some time to be available. *EDIT Sony Ericsson is now the first Android handset maker with ANT+ connectivity solutions. On February 1, 2011, SE began rolling out firmware updates activating ANT+ hardware on their X8 and X10 family. No word found yet on compatible applications. ENDEDIT*

As new as it sounds, especially with something like the Erickson being the first to have it in Android, I kind of Doubt that the Desire-Z/G2 is going to have it.
Though if I knew what to look for in the DMESG output I could tell ya.

i have read om some other website that seems also some HTC desire series are able to have ANT radio, but seems HTC disabled it in the rom...
but cant find the link anymore

NoFatePPC said:
i have read om some other website that seems also some HTC desire series are able to have ANT radio, but seems HTC disabled it in the rom...
but cant find the link anymore
Click to expand...
Click to collapse
If the ANT+ Demo app is any indication I would say no. https://play.google.com/store/apps/details?id=com.dsi.ant.antplusdemo&hl=en
T-Mobile HTC HTC Vision
This item is not compatible with your device.
Click to expand...
Click to collapse
Course that's assuming that it's based on the latest Stock Rom provided by HTC/T-Mobile.
Only the HTC Rhyme seems to have it for the Endomondo app.

ok, thnx for the feedback

Related

Wlan for Pharos (Some common features of all OMAP 850 phones)

I thought it was so strange that when I scanned for bluetooth devices I picked up my (pc) internet modem (which is wireless enabled) so I thought bluetooth and wifi must share a lot of the same characteristics.
I was browsing for the latest Android developments and stumbled on the following
Please take a look at this page http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679
And this one http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12019&contentId=4635&DCMP=WTBU&HQS=Other+OT+bluetooth
This seems to mean that FM Radio and WiFi is a standard feature of OMAP 850 chips and (for the touch owners look at this page http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12028&contentId=4636&DCMP=WTBU&HQS=Other+OT+agps)
Seems If you have Bluetooth you also have wifi and possibly fm radio built in only lacking the drivers (no special wifi antenna is used in the omap 850 solution accoriding to TI)
It would seem that all we need is the right drivers and regsettings (so no new rom or radio rom should be needed)
Who can make it a working cab?
Woooooooooo!
Good news.
great job
if some solution, make me to buy one.
by the soft solution, strange story !no idea for none cost effective option. why do HTC designers make a 2008 PDA with no WiFi Option!
wow
wow...it might be dream come ture if it happens....please some body develop a driver for pharos Fm radio n wifi.....please buit up some regsettings......
This is a good information. Hope that we could make it work on our Pharos.
Good News... I hope who will make it soon because I don't understand about ARM work.
That is an awesome find man. I hope this info is used to get a wifi working ROM.
I thought it was some kind of cost saving to not include wifi, i.e. some missing hardware. If it's just a driver, that is the so friggen stupid! Why have such a great phone and then neuter it by taking away wifi? And the price is still just as high as the Artemis when it came out. The lack of wifi is the only thing that would keep me from buying one. Otherwise, it would be a great upgrade phone for me since I don't need nor have 3G with my service and and it has the cool flush screen that I wish my Artemis had.
someone knows if the touch dual then also could have the wifi option turned on by drivers? the touch normal has wifi, so i guess it should be possible.
anyone tried the drivers from the htc wizard? it also has a ti omap 850, so driver from such a rom could be coocked into the rom of other devices.
@VOODOOS!L
The touch dual uses the Qualcomm 7200 chipset. That chipset uses the arm926tesj as a co processor but i dont think its the full OMAP 850 chiset.
but there is a project for enabling niki wifi (started out as a project ot enabkle both wifi and gps)
@shawndh
Phone manufacterors do it all the time. Look at the Kaiser story, yes they have some great graphical chip (would be too expensive to make a different chiset with another graphical chip) so they just didnt include the drivers for it.
With some other phones like the touch HTC disabled the wifi in the radio rom... maybe some techies here could try to put an artemis radio rom in the pharos... but for none techies this would probably be an instant brick (thats why i didnt try it) tom_codon maybe you could say something about this....input would be apreciated.
Come to think of it, I remember that they had a crippled GPS radio or something in the TyTn I. The only reason I could think of for disabling wifi is so people who need wifi would buy the the Artemis. To be honest, if I had a choice btwn the two, I would get the Pharos over the Artemis if they both had wifi. Even so, it should still have wifi.
This ia a good news.
I'm waiting.
you know what... im giving up.
ive tried pm ing some guys working on the wifi on nike project, asking tomcodon. no response as yet and prolly not going to get one.
And tried to get qtopia and winlizard(gizard) working.
but in the linux world up is down, left is right, and smart is stupid. those people are (in dutch: contactgestoord) communicationally challenged. you cant find anything on their sites. there is no(or very little) documentation on how stuff works ...noone explains anything... so in order to learn linux you have to know it.
thats why m$ can afford to be so sucky: their competition sucks so much more
i said to the guys at irc #linzwizard hey thnx for the build, i can boot it too (gizard aka linwizard 0.3.0) but the touchscreen driver crashes.
he then said make a support request at sourceforge which i did (btw it isnt obvious how to .. it should be very simple. but hey... thats the linux way, isnt it) response was.. and this is a shocker.. your touchscreen driver doesnt work(.... grrreeeaat) you should disable it...(no description on how)
up for the rom with wifi for the pharos!
Thanks
Not to rain on anyone parade but from the first page from TI, it looks like to get wifi support you have to have a special chip in the phone(upper left corner) thats diferent that the chip to get wifi, so unless someone knows for sure that the WiLink chips are present, I think we are without wifi
Wait and see...
The only problem is... How long does it take to finalize such a ROM?
If it takes 1 yr, for example, I think I will have already changed to at least TouchHD..
Anyway, good news!
Hello! I have a HTC Pharos for one month. Yesterday, i accidentally have wetted phone by tea, and then i disassembled it for cleaning. Cleaning was finish sucсessfully, now phone is working
During disassembly of the device I have made some pictures. I think Wlan module is in the device. Look at the photo! Motherboard have many connectors for external antennas, and Wlan connector is on the board!
http://www.flash-remont.narod.ru/pharos/pharos.jpg
thank you for the picture, its in a good resolution! but what would have made it more clear is if you would have looked for a specific Texas instruments chip with letter combinaton BRF or BL (there are 4 chips mentioned with a dual solution BL6450 BRF 6350 BRF6300 and BRF6150 last one is not good because its a bluetooth only chip) we should also be looking for TI chips with a WL designation and number 1271 1273 1251 1253
at least (BRF6300) - Bluetooth specification v2.0 + EDR single chip should be in the Pharos since we have that bluetooth spec.
in the picture i can make out the TWL3027 chip with extra designation BZQW (at least i think its that chip ... according to the ti site that would be the baseband chip but it doesnt describe on the site what the extra letters mean)http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12311&contentId=4706
[URL="http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12025&contentId=4645&DCMP=WTBU&HQS=Other+OT+mwlan"]http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12019&contentId=4635&DCMP=WTBU&HQS=Other+OT+bluetooth[/URL]
hope this is readable since i have a hangover
Kostyan could you post the other pics you made of the interior of the Pharos
avathar behemoth said:
thank you for the picture, its in a good resolution! but what would have made it more clear is if you would have looked for a specific Texas instruments chip with letter combinaton BRF or BL (there are 4 chips mentioned with a dual solution BL6450 BRF 6350 BRF6300 and BRF6150 last one is not good because its a bluetooth only chip) we should also be looking for TI chips with a WL designation and number 1271 1273 1251 1253
=skipped=
Click to expand...
Click to collapse
Maybe this iron box is Wlan module?
http://flash-remont.narod.ru/pharos/pharos2.jpg
I may open this box, if it is requires for this research
And on this picture, front side of device it is found Wlan antenna? (if overwind board, supposed Wlan module with connector correspond (matched) to on position with Wlan antenna, and it connected with module)
http://flash-remont.narod.ru/pharos/pharos3.jpg
avathar behemoth said:
Kostyan could you post the other pics you made of the interior of the Pharos
Click to expand...
Click to collapse
Of course, there is all photos:
http://www.flash-remont.narod.ru/pharos/pharos.jpg
http://www.flash-remont.narod.ru/pharos/pharos2.jpg
http://www.flash-remont.narod.ru/pharos/pharos3.jpg
http://www.flash-remont.narod.ru/pharos/pharos4.jpg
http://www.flash-remont.narod.ru/pharos/pharos5.jpg
http://www.flash-remont.narod.ru/pharos/pharos6.jpg
http://www.flash-remont.narod.ru/pharos/pharos7.jpg
http://www.flash-remont.narod.ru/pharos/pharos8.jpg

FM Radio?

Has anyone been able to find out if the PRO has a radio in it like the X and D2?
http://androidcommunity.com/activate-the-droid-2’s-fm-radio-yes-it-has-one-20100927/
Common sites say Yes for FM Radio, but after I checked pdadb.net and motorola's developer site for Droid Pro specs - both the sites do NOT indicated FM Radio.
Now it all remains on someone who's bought the device and can let us know.
I own a Moto Pro
How can I check? (Without opening it or voiding my warrany)
willdogs said:
I own a Moto Pro
How can I check? (Without opening it or voiding my warrany)
Click to expand...
Click to collapse
Just plug in your headset and look for the FM Radio app in Menu. If it exists then Yes there is a FM Radio if NOT we have the answers.
FM Radio within TI wlan/bluetooth chipset
Hi Droid Pro Users!
There is a light in the dark for FM Radio fans.
I just found this info from TI about the on board chipset TI 1271
----------------
There are four solutions in the WiLink 6.0 product
offering. The WL1271 supports 802.11b/g/n in
the 2.4-GHz band, while the WL1273 supports
802.11a/b/g/n with 2.4-GHz and 5-GHz band
support. Both single-chip solutions support
Bluetooth 2.1 Release, ANT and FM transmit and
receive. The WL1271/3L support in addition to
the above, Bluetooth Low Energy Specification
4.0 + EDR.
---------
You will find all info here:
focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12762&contentId=29993&DCMP=WTBU&HQS=ProductBulletin+OT+wilink_6
That means the Droid Pro hardware is able to receive FM Radio and maybe also to send, but receiving would be good enough for me.
Now... who is able to build the necessary drivers?
I would love to do it but I have no idea how ;-)
Maik
Very interesting indeed!
When/if built the software and drivers would be brilliant. Maybe moto can do it if requested by many of us?
In the meantime I use tunein radio app from market, which works well using my data connection, network or wifi.
Sent from my DROID PRO using XDA App
I could bet that Motorla don't care about it.
As far as my experience with Moto is...
- they know that the chip is able to do it.
- they thought they can make it work
Result...
- maybe reception is too bad because of design flaws (chip or antenna position) -> they decided not to offer it
- maybe the marketing gang thought a FM radio is nothing for a business phone...
Anyway... I would take it even with a bad reception, but I'm sure they will not offer it.
An internet radio is not allways a good solution. You need an unlimited data plan and also a good reception. I made bad experiences during train travel and also in areas with lower reception. It sucks...
I want a real radio, please
If the transistor which taks care for FM radio is phisicaly connected, so that can use headphones as the anttena, then it is possible to have FM radio on your phone. Here is some new stuff that XDA user mikereidis have discovered about TI WL 127x chip. Maybe some developer is interested.

[Q] Anyone have FM radio working on Blackstone Android?

I was wondering, if anyone has spotted a build/kernel/... with FM radio working?
Especially with finally getting stutter-free sound, a working FM radio app is (for me at least) the only important feature missing from our Blackstone Android builds!
(for example, currently running XDANDROID 2.2.1 AOSP FRX04, no FM radio app to be found...)
I searched a lot, have tried ~10 different builds from XDA and Neopeek over the last month, but no result.
If anyone can point me to what I'm missing, I'd be grateful...
Cheers,
Robbert
---
XDANDROID 2.2.1 AOSP FRX04 on blackstone (690 MHz), viruscrazy test kernel for audiostuttering fix and camera (3Mpix) test.
There are very few Android phones with built-in FM reciver and AFAIK they all have FM Radio App that is device specific. I don't know if it's even possible to port something like that.
g3rm0 said:
There are very few Android phones with built-in FM reciver and AFAIK they all have FM Radio App that is device specific. I don't know if it's even possible to port something like that.
Click to expand...
Click to collapse
I was just hoping that it would be possible, since over at the Leo threads, all build/roms seem to have FM radio working, but maybe their app was ported from android device with similar FM chipset?
Our radio seems to be BRF6350 Chipset, other devices with the same chipset:
BRF6350 Chipset:
HTC Diamond, HTC Raphael (not CDMA), HTC Polaris, HTC Topaz, SE Xperia X1
(hero, touch pro, tattoo are also found when googling BRF6350)
Could be interesting to look into?
Robbert
kruijs said:
I was just hoping that it would be possible, since over at the Leo threads, all build/roms seem to have FM radio working, but maybe their app was ported from android device with similar FM chipset?
Our radio seems to be BRF6350 Chipset, other devices with the same chipset:
BRF6350 Chipset:
HTC Diamond, HTC Raphael (not CDMA), HTC Polaris, HTC Topaz, SE Xperia X1
(hero, touch pro, tattoo are also found when googling BRF6350)
Could be interesting to look into?
Robbert
Click to expand...
Click to collapse
Could we find the apk for the FM radio of any of the above devices? I could run some tests and see if we come into something
Eodun said:
Could we find the apk for the FM radio of any of the above devices? I could run some tests and see if we come into something
Click to expand...
Click to collapse
Yeah, was also my first thought, but so far I could not find SD builds/Roms which included radio in any of the threads for those devices, basically Android development for the Leo appears to be in a class of it's own...
On a side note, it seems everyone just streams internet radio, and does not mind lacking FM radio...
Since I currently do not have a data package (always within reach of WIFI at home or at work), I kind of wanted radio for the short trip to work on my bike where WIFI coverage appears to be lacking
(also, in the end, FM traffic information would be nice to have in "offline" route navigation, as I have it now on WM)
I'll look further and report back if I find something of interest, maybe I'll politely bother the guys at the Leo thread
Cheers,
Robbert
I'm in the same situation XD Also I thought of TMC too, IGo8 in WM with it is great.
I'll see if I can find something
Evo 4g: http://forum.xda-developers.com/showthread.php?t=814234
Legend: http://forum.xda-developers.com/showthread.php?t=735711
Not the same chip though, but I'll have to start with something. BTW, it seems that it needs to be installed via ADB or els it doesn't work. I'll do some tests today.
Edit: 2 problems: Seems they are for Sense UI and need kernel FM support. Hm...
I'm not getting anywhere. Radio FM is supported via Bluetooth chipset.
I'm investigating the htc fm code...
FM radio needs kernel AND android framework support. So you will need: kernel driver, system support for this driver and FM App that uses both. Probably that's why nobody touched this yet. Too many changes since FM radio is not officially supported by google and every manufacturer does FM radio his own way. I'm not saying it's impossible - just not easy.
I've dl'd Cyanogen mod FM app source, let's see what I can do.

[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.

FM Radio Not in most I9305 Firmwares, But it may be Hardware capable.

MAJOR EDIT TO THIS POST AS NEW KNOWLEDGE HAS COME THROUGH. (BUT YOU MAY KILL THIS THREAD AND GO INTO THE I9305 forum and go into the I9305 Tear down thread)
The I9305 may or may not have hardware capability for FM radio, But the firmware software doesn't have it installed. The funny thing about this is even the Optus Customer service and technical support are not aware of this, they do beleive they are supposed to have the FM radio.
MOBICITY sells it and there specs show FM radio and I even asked there customer service again and made them triple check and they confirm it has it and I seen a youtube video of the White version but this is from UK and its definitely having the FM radio app. So Maybe some developers can get involved or maybe not, If there is a 3rd party app around that will work in place of the Fm radio app then if it can be posted it would be great thanks. EDIT: Mobicity Now changed and said Because they are coming from Hong Kong there wont be FM radio Installed as per hong Kong Laws. Specs have now been changed on there site a i told them it was false advertising lool
Edit: Apparent Proof that FM radio is in some I9305 >>> http://www.youtube.com/watch?v=VGICeramJxc Look @1:14 4th column 3rd row you see FM radio app- I also messaged the guy and he confirmed it working, Edit: User Said he heard static, Then after more people interrigated him, he seemed to have changed his waysss and said he thought static meant Silence I then questioned him aswell but I basically called B S . In electrical terms static means Hissing/white noise/ Scramble. etcc...... He then questioned me as to why he had it pre-installed on his I9305 ... Apparent I9305??? Is it even a I9305 in the video Or a changed Build.Prop to show different Model number I9305. Can be done in 10 seconds. Cause why would samsung put the Radio FM app in it and its not working. NOT 1 Confirmed I9305 has the FM radio app. Except for that guy. Hmmm..u get my point now.. Anyway After he questioned as to y he had radio I told him to question where he bought it anyways that is the last i heard of him.
More Edit : We have a 9305 Hardware teardown thread, and as we are not hardware minded we cannot confirm 100% yet. Although we do know we have the a broadcom Chipset with the capabilities of FM radio, but the problem there is it is not linked up. So really then we do have the hardware but its not plugged in. Just like the I9300 has The broadcom one which is not hooked up and the Silicon labs which is hooked up, Now i dont think we could locate the silicon labs chipset on the i9305 board from a few pictures show.
SO far there is no 100% proof of this radio so untill then , I say it does not have FM radio. Unless some that knows chips and fm chips please go into the teardown thread and advise us so we may solve this query
As I said I have only seen 1 with the FM radio that you-tube link above shows it and I also emailed the user and he confirmed it working but then after more thorough interrogating the user changed the meanings of his words loll. Anyway Kill this thread. Come into the I9305 arena and go into the (I9305 Teardown thread) if you want to discuss this topic
Thanks for your research man. Unfortunately I'm not 100% convinced since I can't see that the phone is i9305 in the video (only the screenshot below which could be from another phone :/). But, I hope it's true, we just need more evidence and help. Did the youtube guy tell you what firmware he was on?
So you mean the original firmware of i9305 doesn't support FM, so even rooted and use Spirit CANNOT use FM radio feature?
Shujenchang said:
So you mean the original firmware of i9305 doesn't support FM, so even rooted and use Spirit CANNOT use FM radio feature?
Click to expand...
Click to collapse
If the hardware is there, then what we need is a kernel driver. Flashing a custom kernel (and/or ROM) with the driver, along with root/SU access should be sufficient.
Hypothetically, a kernel driver could be loaded without a new kernel, but practically it's quite difficult to do. In theory one could also poke the I2C or whatever controller, but that too is not easy.
Latest free release of Spirit is here if you want to help test: http://d-h.st/lfR
Anyone tries, please send me a debug log using Menu-> Test-> Email-> Logs. After 10-15 seconds press Send.
btemtd said:
Edit: Proof that FM radio is in some I9305 >>> http://www.youtube.com/watch?v=VGICeramJxc Look @1:14 4th column 3rd row you see FM radio app- I also messaged the guy and he confirmed it working,
Click to expand...
Click to collapse
I watched some of the first hands on videos and saw the FM app, but no video I saw had somebody try it, that I can recall.
I was reading I think about the above person, and the story seems to be that they heard static and thus didn't really confirm full operation. They may have been in a bad reception area though.
Static is actually a good sign to some extent. It indicates the FM audio path is there and usable. And I think static is better than relative silence, which you might get when an antenna pin is grounded to disable all usefulness.
It's possible that a software controlled switch exists for the antenna connection, or a hardware jumper. It's also possible that US variants won't have the Silicon Labs chip installed, but other variants might.
mikereidis said:
If the hardware is there, then what we need is a kernel driver. Flashing a custom kernel (and/or ROM) with the driver, along with root/SU access should be sufficient.
Hypothetically, a kernel driver could be loaded without a new kernel, but practically it's quite difficult to do. In theory one could also poke the I2C or whatever controller, but that too is not easy.
Latest free release of Spirit is here if you want to help test:
Anyone tries, please send me a debug log using Menu-> Test-> Email-> Logs. After 10-15 seconds press Send.
Click to expand...
Click to collapse
Sent you the logs (with signature "Shujen Chang" in my email).
P.S. I'm using Hong Kong version of i9305.
Shujenchang said:
Sent you the logs (with signature "Shujen Chang" in my email).
P.S. I'm using Hong Kong version of i9305.
Click to expand...
Click to collapse
Got it, thanks.
I see something in your log I hadn't noticed before, but it's also in the other logs too:
10-25 22:04:21.955 I/dalvikvm(16354): DexOpt: not resolving ambiguous class 'Lcom/samsung/media/fmradio/FMPlayer;'
10-25 22:04:21.970 D/dalvikvm(16354): DexOpt: not verifying/optimizing 'Lcom/samsung/media/fmradio/FMEventListener;': multiple definitions
10-25 22:04:21.970 D/dalvikvm(16354): DexOpt: not verifying/optimizing 'Lcom/samsung/media/fmradio/FMPlayer;': multiple definitions
Click to expand...
Click to collapse
What this means is that the Framework code is there for FM. If there's a chip and we can load a driver, then there's a good chance the Samsung GT-i9300 or GT-i7100 FM app would work.
But we're no closer to knowing if the FM chip is there. Here's the teardown thread in progress: http://forum.xda-developers.com/showthread.php?p=33275259

Categories

Resources