Thread: FM Radio on 2.1
- 07-24-2010, 06:01 AM #1
Maybe Modder
- Join Date
- Feb 2007
- Posts
- 34
- Thanks
- 8
- Thanked 4 Times in 3 Posts
- Downloads
- 12
- Uploads
- 0
FM Radio on 2.1
Has anyone got FM radio working on 2.1 yet? I'm using toxigen's stock/root/wifi release. Just copying over the 'FMRadio.apk' from previous roms doesn't work, what other files do we need to copy?
-
- 07-24-2010, 06:17 AM #2
you need the fmradio lib files. I forget the exact names but there are three of them and they need to be pushed to /system/lib.

- 07-24-2010, 06:54 AM #3
Maybe Modder
- Join Date
- Feb 2007
- Posts
- 34
- Thanks
- 8
- Thanked 4 Times in 3 Posts
- Downloads
- 12
- Uploads
- 0
Oh good point! I just copied them over, into /system/lib (twas libFMRadio.so libfmradio_jno.so and libfmradioplayer.so) for reference.
However it still doesn't work.. do I have to register these libraries somehow?
hmm.. lsmod seems to return only one line :S
- 07-24-2010, 08:38 AM #4
Maybe Modder
- Join Date
- Dec 2009
- Location
- Miami, Fl
- Posts
- 20
- Thanks
- 9
- Thanked 1 Time in 1 Post
- Downloads
- 83
- Uploads
- 0
If you or someone else figures how to get the FM Radio to work there are others including myself that would like to know. Please share! The FM Radio is the only thing I miss when using 2.1.
Thanks!
- 07-24-2010, 09:41 AM #5
share please, i buy the cliq because the fm radio
- 07-24-2010, 10:26 AM #6
Maybe Modder
- Join Date
- Feb 2007
- Posts
- 34
- Thanks
- 8
- Thanked 4 Times in 3 Posts
- Downloads
- 12
- Uploads
- 0
I still haven't got it working. I found two more files (fmradio and fmradioserver) under /system/bin as well, but they didn't help. However I now get as far as the message that says 'Please plug in headset to use radio', so thats better, but when I plug in and open it just force-closes =(
I did see the FMRadio UI appear in the background of one of them though.
Running strings over the old kb7sqi and handler's roms from 1.5 come up with fmradio mentioned under 'android_policy.odex' and 'framework.odex' in /system/framework, and those are not plaintext files so I really hope they are not neccesary. (I would guess that if they were required then we probably don't have much hope other than wait for moto to hopefully include fm in the final build).
I hope that whoever figured out the FM radio stuff in the original roms could have a look? =D
- 07-24-2010, 10:47 AM #7
So I Hear You Can Mod
- Join Date
- Jun 2010
- Location
- 407
- Posts
- 254
- Thanks
- 31
- Thanked 53 Times in 26 Posts
- Downloads
- 34
- Uploads
- 0
-
The Following User Says Thank You to alb3rt018 For This Useful Post:
rascal555 (07-24-2010)
- 07-24-2010, 11:32 AM #8
@Thavidu could you maybe post some ddms output? If you have the Android SDK available to you type ddms in terminal/cmd and run the application with headphones plugged in. It will print the errors. Thanks.
- 07-24-2010, 11:52 AM #9
It has to be supported by the kernel as well
Nexus S: CM7.1 Kang w/Voodoo
Backflip: CM7.1
Cliq: CM7.1
Follow me on Twitter
If you like something I have done & want to buy me a RedBull click HERE
-
2 Users Say Thank You to j_r0dd For This Useful Post
opencliq (07-27-2010), toxigenicpoem (07-24-2010)
- 07-25-2010, 01:01 AM #10
Maybe Modder
- Join Date
- Feb 2007
- Posts
- 34
- Thanks
- 8
- Thanked 4 Times in 3 Posts
- Downloads
- 12
- Uploads
- 0
DDMS output is posted at http://www.thavidu.com/junk/ddms1.txt
Looking at that it appears fmradio_jni library is not found even though I put it in the lib folder.. hm. wonder how to register it.
@j_r0dd is there any easy way to tell if the kernel supports it or not?
- 07-25-2010, 01:06 AM #11
So I Hear You Can Mod
- Join Date
- Mar 2010
- Posts
- 315
- Thanks
- 71
- Thanked 226 Times in 78 Posts
- Downloads
- 15
- Uploads
- 0
-
The Following User Says Thank You to toxigenicpoem For This Useful Post:
Thavidu (07-25-2010)
- 07-25-2010, 04:26 AM #12
Maybe Modder
- Join Date
- Feb 2007
- Posts
- 34
- Thanks
- 8
- Thanked 4 Times in 3 Posts
- Downloads
- 12
- Uploads
- 0
- 07-25-2010, 09:16 AM #13Nexus S: CM7.1 Kang w/Voodoo
Backflip: CM7.1
Cliq: CM7.1
Follow me on Twitter
If you like something I have done & want to buy me a RedBull click HERE
-
The Following User Says Thank You to j_r0dd For This Useful Post:
Thavidu (07-25-2010)
- 07-25-2010, 09:56 AM #14
Maybe Modder
- Join Date
- Feb 2007
- Posts
- 34
- Thanks
- 8
- Thanked 4 Times in 3 Posts
- Downloads
- 12
- Uploads
- 0
Thanks for that! I went through it and I can't seem to find any mention of fm radio in there, hope that doesn't mean its not supported =(
Since its in /proc, does that mean it would be inside the boot.img's of roms that are still packed? I'd like to diff it with someone whos got a rom with fmradio working (one of the 1.5s)..... Unless someone knows what flag I should be looking for?
The config i pulled is up at http://www.thavidu.com/junk/config if interested.
- 07-27-2010, 11:40 AM #15
Maybe Modder
- Join Date
- Dec 2009
- Location
- Miami, Fl
- Posts
- 20
- Thanks
- 9
- Thanked 1 Time in 1 Post
- Downloads
- 83
- Uploads
- 0
Can any of the M3's knowledgeable Modder's give your loyal following an answer on the FM radio? Can you guys fix this...please?
Last edited by rascal555; 07-27-2010 at 03:27 PM.


LinkBack URL
About LinkBacks
Reply With Quote





