FM radio on cyanogenmod

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I have a Moto G in Canada: http://shop.koodomobile.com/koodo-cel....

I'm guessing that this is "2nd gen". It has real FM radio (not data streaming). I want to install CyanogenMod for the peace of mind of not having ISPware on the phone. Then I can store any kind of data on the phone without privacy concerns (I'm not syncing anything with a cloud except IMAP email). However, I've read that CyanogenMod requires a 3rd party app, Spirit, for FM radio. Has anyone tried this and been satisfied? I haven't decided to take the plunge into CyanogenMod (been reading lots about the process), but a definite consideration would be having to buy a replacement app, and how well it works.

During my googling, I also ran across a website about CyanogenMod and FM radio: http://jira.cyanogenmod.org/browse/CY....

It doesn't have any context. Does anyone recognize this? Is it a possible solution to FM radio in CyanogenMod?

Thanks.
Photo of andymhancock

andymhancock

  • 2,018 Points 2k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Chad Burr

Chad Burr, Mobile Master

  • 203,968 Points 100k badge 2x thumb
First, where did you get your Moto G? If you got it from Koodo it's first gen.

ISP ware is an older problem, carriers in NA don't really do that anymore. The G is pretty close to stock already except for a couple Motorola apps.
Photo of rikkster

rikkster, Mobile Master

  • 67,080 Points 50k badge 2x thumb
Hi Andy,

The CM Peregrine nightly builds relate to second generation Moto G devices or devices with a microSD card slot (Moto G 2014/Moto G 4G LTE); while the CM Falcon nightly builds relate to first generation Moto G devices or devices that are devoid of a MicroSD card slot. Below are the nightly change logs for the corresponding devices.

http://www.cmxlog.com/11/falcon/

http://www.cmxlog.com/11/peregrine/

Nightlies are generally considered works in progress. Ideally, you want a stable build or second best, a release candidate. The link you've provided points to a bug in the one example when using Spirit FM with possibly a Sony Xperia Z device. CM includes a framework for supporting FM radio receivers thus there is no need for a third party radio app.

The result of the CM ROM below is derived from a nightly build since there are no stable or release candidate builds as of yet for either the first or second generation Moto G. FM radio works with this 'official' CM ROM. What this means is that the Motorola G is now an officially supported device in CyanogenMod.

See link below and comment on page 4 from the OP, post #36 regarding FM radio operability.

http://forum.xda-developers.com/showt...

On page 3, post #23, fellow Mobile Master David also comments that this ROM works without issue.

http://forum.xda-developers.com/showt...

Brief explanation of unified builds:
http://www.cyanogenmod.org/blog/motor...
Photo of andymhancock

andymhancock

  • 2,018 Points 2k badge 2x thumb
Chad, yes I got it from Koodo. About carriers not installing monitoring-ware anymore, the thing is I need to have a level of certainty and control over that. CyanogenMod isn't a guarantee, but much more transparent. And even if there is no monitoring ISPware today, the OS is constantly being upgraded.

rikkster, thanks for those links. I didn't see the post at message#23, but a search for "radio" in that thread unearthed plenty of evidence that it supports FM. Weird that it also alludes to a transmitter. The airwaves are pretty regulated, but there might be exceptions for weak enough transmissions for local use.

By the way, what do you mean by "framework"? To me, that evokes images of a standardized interface, but it seems from the rest of your paragraph that this includes FM radio app-like functionality.
Photo of rikkster

rikkster, Mobile Master

  • 67,080 Points 50k badge 2x thumb
Hi Andy,

Apologies for the delayed reply.

This was in reference to the 'out of context' article you provided. Same article, but in another example, "The i9100G has an FM radio receiver that already works on CM with a third party app (Spirit FM). Now that CM includes a framework for supporting FM radio receivers (a feature already working on some Sony devices), it should be great to get it working on the i9100G too".

From the developer of Spirit2, definition of compatible ROMs: "Compatible AOSP ROMs includes as many AOSP ROMs as I can reasonably support that have the FM and audio kernel drivers needed to enable FM. CM11 is the most popular and best supported".

As noted above, CM 11 includes the framework that supports FM radio receivers thus allowing an app like Spirit2 to function on select devices including the Moto G.

The developer for the unofficial, now official CyanogenMod 11 for the Moto G mentions; "this build currently uses the stock audio.primary HAL as the source build". Below are links to examples of frameworks within the Android architecture, notably the Hardware Abstraction Layer or HAL.

http://source.android.com/devices/aud...

http://www.tutorialspoint.com/android...

https://developer.android.com/guide/i...
Photo of andymhancock

andymhancock

  • 2,018 Points 2k badge 2x thumb
Sorry for my long delay as well. I only have a chance to tackle the Moto G issue with slivers of the weekend, and last weekend was completely taken up. But I'm picking up the issue again.

Thanks for the info on radio support and frameworks (seems that I was right about the fact that it can be thought of as interface protocols).

In the copy of your reply to me, you said that CM 11 does not break the stock FM radio app, which is why you mentioned that a third-party app isn't necessary. I actually wasn't aware of that, and I noticed that this statement was removed in the forum posting. Does that mean it was made in error? It would be unfortunate if CM 11 did break the stock FM radio.

Speaking of which, I'm going to explore the app store for the first time to see if I can even find the stock radio there... http://play.google.com/store/apps/det... ...then switch back to making headway in backing up the original OS...

Afternote: Looks like support for FM radio was restored in CM 10.1, though it appears that the functionality needs to be invoked using a very specific sequence of actions: http://androidforums.com/evo-v-4g-all...

A later CM 4.1.1 simply says the FM-radio feature works: http://www.shoutability.com/cyanogenm.... Frankly, it's never really all that clear to me when they mean that the (Motorola FM) radio app works versus the framework interface works. AFTERNOTE: My bad, that page refers to CM 10 (presumably earlier than the aforementioned 10.1) for *Jellybean* 4.1.1, and *only* for the Motorola Defy.

This conversation is no longer open for comments or replies.