Page 1 of 3 123 LastLast
Results 1 to 15 of 37

Thread: FM Radio on 2.1

  1. #1
    offline 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?

  2. 2 Users Say Thank You to Thavidu For This Useful Post

    laguillo (07-29-2010), rascal555 (07-24-2010)

  3. #2
    sublime1184's Avatar
    offline Retired Moderator
    Join Date
    Apr 2008
    Location
    Chicago, IL
    Posts
    3,739
    Thanks
    3,314
    Thanked 2,122 Times in 1,342 Posts
    Downloads
    49
    Uploads
    1
    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.

  4. #3
    offline 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

  5. #4
    offline 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!

  6. #5
    ryandard's Avatar
    offline Itty Bitty Modder
    Join Date
    Jun 2010
    Location
    # indonesia
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Downloads
    0
    Uploads
    0
    share please, i buy the cliq because the fm radio

  7. #6
    offline 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

  8. #7
    offline 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
    Quote Originally Posted by Thavidu View Post
    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
    send me da files by PM
    Phones: Motorola CLIQ Titanium(Motorblur 2.1)
    Operator: T-Mobile USA | Recovery: recovery-RA-cliq-v1.5.2


  9. The Following User Says Thank You to alb3rt018 For This Useful Post:

    rascal555 (07-24-2010)

  10. #8
    sudo.adam's Avatar
    offline Maybe Modder
    Join Date
    Jun 2010
    Posts
    40
    Thanks
    28
    Thanked 40 Times in 6 Posts
    Downloads
    3
    Uploads
    0
    @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.

  11. #9
    j_r0dd's Avatar
    offline Developer
    Join Date
    Nov 2009
    Location
    FLA
    Posts
    2,182
    Thanks
    570
    Thanked 2,765 Times in 739 Posts
    Downloads
    65
    Uploads
    11
    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

  12. 2 Users Say Thank You to j_r0dd For This Useful Post

    opencliq (07-27-2010), toxigenicpoem (07-24-2010)

  13. #10
    offline Maybe Modder
    Join Date
    Feb 2007
    Posts
    34
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Downloads
    12
    Uploads
    0
    Quote Originally Posted by sudo.adam View Post
    @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.
    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?

  14. #11
    offline So I Hear You Can Mod
    Join Date
    Mar 2010
    Posts
    315
    Thanks
    71
    Thanked 226 Times in 78 Posts
    Downloads
    15
    Uploads
    0
    Quote Originally Posted by Thavidu View Post
    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?
    Pull the config.gz file and see if it was compiled with the modules or not.

  15. The Following User Says Thank You to toxigenicpoem For This Useful Post:

    Thavidu (07-25-2010)

  16. #12
    offline Maybe Modder
    Join Date
    Feb 2007
    Posts
    34
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Downloads
    12
    Uploads
    0
    Quote Originally Posted by toxigenicpoem View Post
    Pull the config.gz file and see if it was compiled with the modules or not.
    Where do you find the config.gz? I couldn't find it anywhere on /system and couldn't find it in your rom's zip file either

  17. #13
    j_r0dd's Avatar
    offline Developer
    Join Date
    Nov 2009
    Location
    FLA
    Posts
    2,182
    Thanks
    570
    Thanked 2,765 Times in 739 Posts
    Downloads
    65
    Uploads
    11
    Quote Originally Posted by Thavidu View Post
    Where do you find the config.gz? I couldn't find it anywhere on /system and couldn't find it in your rom's zip file either
    adb pull /proc/config.gz
    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

  18. The Following User Says Thank You to j_r0dd For This Useful Post:

    Thavidu (07-25-2010)

  19. #14
    offline 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.

  20. #15
    offline 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.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •