So I've been tinkering around a lot with my KF and I'm currently stuck on installed the FMRadio application. Does anybody know if there is a radio tuner in the KF? I don't know much about processors/internals but the KF has the same OMAP 4430 that my Droid 3 has.
I attempted to use the Droid 3's FMRadio apk, as well as a couple others. I tried installing (most end with "Application Not Installed") and dropping the files into the system/app file. Also attempted to restore the files through Titanium.
Anybody else have luck or know that the KF doesn't have a tuner? Thanks!
The WiFi chip has BT and FM. Whether we can use either remains to be seen.
Sent from my SAMSUNG-SGH-I777 using xda premium
Related
Hi,
Could somebody with a rooted Droid and some insight into how Linux bluetooth works try to test if we can enable the FM radio part of WIFI/BT chip (wl1271) in Droids/Milestones.
I downloaded some init scripts from Texas Instruments that should allow enabling the FM part. I don't know if there is any antenna or if the headphones can be used as antenna though. Can't try this out myself as Milestone hasn't been rooted yet and I'm not allowed to use 'hcitool' or 'hciconfig' commands without root.
I have attached the init scripts downloaded from: [h]ttps://gforge[dot]ti.com/gf/project/wilink_drivers/frs/
More information about how to use them: [h]ttp://www[dot]omappedia.com/wiki/WiLink_Connectivity_Project
Files and links are for the Zoom2 development platform which uses same hardware as our phones. Don't know if some config files should be altered also to enable FM radio.
I also found TI's own FM radio test application. Source is here: [http]://git.omapzoom.org/?p=platform/hardware/ti/omap3.git;a=tree and compiled Android image for Zoom platform here: [https]://gforge.ti.com/gf/project/omapandroid/frs/
Haven't got it working though. Actually I don't know if it's easier to try with the HCI commands and scripts found in the bts files or try to get the fmapp working.
Hi,
you can test it self... milestone is rootet look here
xttp://forum.xda-developers.com/showthread.php?t=620142
best regards
yanardag
Thanks. Will try it soon.
There's some ongoing development on the FM radio matter at AllDroid ([http]://www(dot)alldroid.org/viewtopic.php?f=210&t=1412) and DroidForums ([http]://www(dot)droidforums.net/forum/droid-hacks/8870-droid-includes-fm-receiver-transmitter.html).
Any update?
Any update?
It wont work on milestone, hardware is missing some parts to connect antenna to the headphones. http: and-developers.com/motorola_milestone:fmradio
That´s right, the Milestone/Droid not have some parts of reception and transmit modules, so, it´s quite a hard to get it work decently
I see this thread is quite old, but...
any update?
nobody still work in this right?
Any update?
What ever came of this? Is there a way I could try it on my Milestone? Poor reception is irrelevant to me.
(Necropost, I know)
dstruct2k said:
What ever came of this? Is there a way I could try it on my Milestone? Poor reception is irrelevant to me.
(Necropost, I know)
Click to expand...
Click to collapse
Lol I also am curious about this
Sent from my Xoom using Tapatalk
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
I've done some searching and can't seem to find a definative answer to this one. I have a Droid 2 stock ROM after the latest OTA update (version 2.3.3) rooted.
I also have a gTablet that is not stock ROM. I have a Navigation application that does onboard navigation just fine but I need a GPS source.
I've tried several ways to use my Droid 2 as the GPS transmitter that can be recieved by the tablet without success.
Does anyone have any suggestions or apps that they could point me to to make this type of function a reality?
Thanks in advance.
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).
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 ...