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.
Related
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.
Hi All
I guess this may have been asked, but i can only find topics related to WM 6.5
I have installed Android on my HD2 and its working good, BUT I miss the FM radio capability, I used it all the time in WM, any pointers to get this working in the Android version, cant seem to find a tuner that works
thanks
Cliff
most sense builds have working fm radio, and the (now closed) MDJ's cyanogen rom had a working fm radio, with no sense, , perhaps that means all cyanogen based ones do, i dont know much about the technicals of android yet.
i cant do without fm either, so ive moved back to sense android, and ill wait for fm to be more widely available before i go back to senseless.
Cool
I thought I may have to download a different one, I was just hoping that there was an FM tuner App, Never mind, there is a few tricky things in the ROM I am using, and find it a little difficult to navigate, so I'll investigate one of the others
thanks for your input
Cliff
Anyone knows of an RDS FM Radio app which I can install insteed of MUIU FM radio app which is used in many of the cooked NAND Android rom for HD2?
yea i wish we had a new radio app. which can record songs from a fm radio
Marty02 said:
yea i wish we had a new radio app. which can record songs from a fm radio
Click to expand...
Click to collapse
The MUIU app lack several things like auto-tuning so I would be nice with a better FM Radio app which supports RDS and auto-tuning!
I've released version 2.0.2 of the "Spirit FM Radio" app. See my sig for the details post.
The best support is for CM7 ROMs with the CM FM app. It may also work on MIUI ROMs as well.
My app supports RDS data on TI FM chips, and more basic functionality on Broadcom FM chips, such as used on the Leo/HD2. I intend to add RDS support for Broadcom with further reverse engineering.
The app is running well on my HTC Legend and Desire HD, and I think should., or I've heard does, also work on Leo/HD2 and several other devices.
Thank you for your app.it works better than the default fm app in hd2 that we have in non sense roms.
mikereidis said:
I've released version 2.0.2 of the "Spirit FM Radio" app. See my sig for the details post.
The best support is for CM7 ROMs with the CM FM app. It may also work on MIUI ROMs as well.
My app supports RDS data on TI FM chips, and more basic functionality on Broadcom FM chips, such as used on the Leo/HD2. I intend to add RDS support for Broadcom with further reverse engineering.
The app is running well on my HTC Legend and Desire HD, and I think should., or I've heard does, also work on Leo/HD2 and several other devices.
Click to expand...
Click to collapse
Works on tytungs AOSP but no sound. On CM7 works fine.
Hi mikereidis any idea to get this working with sense builds?
zach.antre said:
Works on tytungs AOSP but no sound. On CM7 works fine.
Click to expand...
Click to collapse
Thanks for your report !
If you are using v2.0.3 from the Market, and you have ADB on a connected computer you could ensure you have an SD card and try running:
adb shell touch /sdcard/fm_su
or from an on phone terminal emulator:
touch /sdcard/fm_su
This creates a file that enables this command in the code:
su -c "chmod o+r /dev/msm_snd"
The code then does an "ioctl" hack that can enable FM audio output on some phones. I needed this hack before CM was updated to do this internally for FM audio routing.
But it's possible you don't have a /dev/msm_snd pseudo-file and this hack won't work.
I might be able to find some other workaround for non CM ROMs.
Another trick for audio routing on HTC phones with stock or stock derived ROMs is:
adb shell "echo fm_speaker > /sys/class/htc_accessory/fm/flag"
or
adb shell "echo fm_headset > /sys/class/htc_accessory/fm/flag"
Use this to verify:
adb shell "cat /sys/class/htc_accessory/fm/flag"
I DO have this in the code, but it's possible the ordering of different audio routing methods is a problem.
lukesan said:
Hi mikereidis any idea to get this working with sense builds?
Click to expand...
Click to collapse
Yes, I have it running on my HTC Legend with the Blayo ROM which is a Sense ROM derived from the stock ROM.
I should be able to get this app running on any Android 2.1+ device with a TI or Broadcom FM chip (or future supported FM chip) providing the following conditions are met:
(1) - I find some way to route FM audio from the chip to speakers or headset. Thus far the app only supports analog connections, but most (or all?) phones with a usable FM chip seem to have an analog connection. It might be possible in future to route digitally, or even to BT headset with the audio never leaving the combination BT and FM chip.
(2) - I find some way to control and read registers on the chip. Most phones seem to piggy-back FM on the Bluetooth HCI interface. Currently, my app, and the MIUI and CM apps, all use the "hcitool" command for this. AFAICT, none of the stock HTC ROMs has a working hcitool, and copying one from the CM ROM doesn't work. IMO, these ROMs do not fully support the Bluez BT APIs.
Version 1 of my app had the abiliity to run a daemon that directly accessed the Bluetooth library, which is a better way than running hcitool. Unfortunately, running the daemon seemed to require root/SuperUser and I'd prefer my app not require this, Furthermore, I could not get this to work on the stock or Blayo ROMs. It might be possible, but I haven't figured out how, and nobody "On the Internet" has figured it out either.
So for the Blayo ROM I found I could use a "btipsd_cli" command that also seems to be on the stock ROM. It's an ugly hack because my app "pretends" to be a human entering commands, but it worked, although with some occasional stability problems due to btipsd crashing. And BTIPSD* is Texas Instruments FM chip specific; it will never work on Broadcom chips. Perhaps there is some Broadcom command line utility or API that can be used; I haven't looked too deeply yet.
The iPhone uses a Broadcom chip and apparently has a "bcm" command that can control some functions. AFAICT, many people have wanted an FM app on the iPhone(s) put out in the last few years with this chip, but nobody has ever got it working. Broadcom apparently only supplies specs for their chip to their large customers. I can't even find a decent datasheet on foreign web-sites that contain other confidential type materials.
Beyond that I could possibly reverse-engineer the API that the HTC FM app uses, which seems to live in the android_runtime library. That would have the advantage of likely working on all HTC phones, regardless of chip. But I would very much prefer to control the FM chips more directly, using the BT / Bluez library for HCI access.
So hopefully, eventually, many more phone and ROM combinations will be working. I'm happy to work with anyone who might have ideas or time and expertise to try and help me hack these "secrets".
In the longer term, it might be nice if the Sony Ericsson proposed Android FM API gained some traction, but I'm not sure if other device or chip manufacturers, like HTC and Broadcom, will support this API.
mikereidis said:
But it's possible you don't have a /dev/msm_snd pseudo-file and this hack won't work.
Click to expand...
Click to collapse
You were right... I don't have a /dev/msm_snd pseudo-file and it didn't work
Where is the FM radio in the X5? . In the description of the phone it is listed. Unfortunately I can not find anywhere this application.
Hardware supports fm radio, but there is no software to use it... Its a disinfomation...
porting FM?
I tried to upload an FM radio with HTC and Motorola, but unfortunately when I start the program is stopped. Maybe there is someone who will try to match any of the available online programs to support FM radio?
i hope someone can do it for us.after all the hardware support it.
the unlucky news is that huawei said they will not do it,so we must rely on the other people,like some people here.
FM files
The system files, I found the files to the FM radio, it seems that only lacks a program that would be handled.
Are someone working on getting the FM radio to work? I would really appreciate if someone made it possible!
Registering ALOT of interest in a FM radio
Tried few fm radio apps on cm6.1 alpha4, few from miui rom and one called spirit fm radio. Neither does work. Spirit fm puts out errors on logcat. Miui one dont put out so many errors, but it says that audio is routed to hdmi and mute is on.
But maybe there is hope
fm
I installed it FMRadio. Although radio is not working but the program is not interrupted (FC). When you receive the "FM working ...." select button "back". the menu works. Radio comes with ROM DroidX. This is the only program FMRadio that I managed to install. It is worth to work on it.
http://www.mediafire.com/?bnmwkeknol967ca
My dreams are coming true, i hope the community gets behind this!
I have not had proper FM for years.
I've installed the FMRadio.apk but when I launch it, it sits on "FM Radio is being launched, please wait..."
If i go 'Back' i can access the menu, select a frequency and even set a preset, but it doesn't play.
According to Huawei Norway the x5 does not have the hardware to support fm radio.
The phone seems to have FM radio (the kernel initializes the chip and sets audio routes for fm), but those apps from Moto/HTC etc phones are designed for either for TI or Broadcom chips so won't work. There's also the possibility that the chip antenna isn't connected to the headphone jack so even if everything else is there you won't be able to get reception.
I did a bit of searching and there is a Qualcomm FM radio app.. might be an idea for someone to build this and see what it can do (probably it won't work, but you never know).
https://www.codeaurora.org/gitweb/quic/la/?p=platform/packages/apps/FM.git;a=tree
chould some work it out? i wilk wait!
Is anyone still still looking into this?
This is the one feature that the x5 is missing that would make it a killer phone for the price point.
No news with Radio?
take a look to
http://forum.xda-developers.com/showthread.php?t=1151928&page=3
Radio Fm
My x5 have radio and is ok
I have instal de "Free spirit FM.apk" and is ok
Moved To Q&A
Please post all questions in the Q&A section
Hi guys,
How do we know fm radio chip is not connected? Is there any document confirming that or did any one opened the phone to check that? I have seen a thread where people were talking about enabling disabled fm radio in different phone.
Regards,
ncc74656
Well, there's a binary (in /system/bin/ but I can't remember its name) that communicates with the FM radio driver. And when I was playing around with it, there are some options like changing band or checking info, info was null (or no signal)...
So I guess we really can't make FM radio work just with software.
Maybe that binary came from an early Defy ported Rom, along with the driver, I don't know...
Please link the other thread you saw.
Sent from my Milestone 2 XDA App
as i read on development forum: "milestone 2 has the hw to play fm radio, its 'just' not wired. so unless you're crazy enough to open your phone and wire it yourself, no fm radio for milestone and that's it"
I don't know how is it about hw side - except the information already mentioned in the post above.
I only tried fm tuner binary, application and library pack from driod 2 (http://forum.xda-developers.com/showthread.php?t=769894), but without success - the radio application didn't even correctly started - I thought it will work, but only without signal - 'cause it is not wired to antenna...
I agree with post #2 - unfortunatelly it is shame, but it is - i think - impossible to get it work only with sw way... But I'm also still interested in some prove or source about fm tuner hardware situation in Milestone 2..
Download and install Tunein Radio. It's the best choice...trust me (at least here in Brazil).