yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
I usually can't take credit, or blame, for the sound or RF signal quality. It should usually be the same as the stock app. Exceptions include where volume or gain controls are a problem.

Sometimes, some of the issues that Samsung devices have can be solved by rooting, or installing a custom ROM, to bypass various "Special Samsung Characteristics".

Of the 5 different OEM APIs Spirit supports, Samsung's is the most "intrusive". For example, you must have wired headset plugged in.

But on S2/S3/Note there are at least two issues I can't bypass (so far at least), even with a rooted device and using the low level FM API. One is separate volume levels for speaker and headset. That's actually a nice feature, but it's different than every other device I have and support, with Spirit, or stock, or other FM apps.

The other issue is that Samsung captures some of the media buttons and does what it wants, instead of what Spirit is configured for.

My shiny new 32 GB SGS3 just arrived about 12 hours ago, so I'll address these issues the best I can, as soon as I can. :)

I'll try to include the Opera browser issue in my fixes also.
[Spirit FM] tricki:
HI,

I have a 9100G with AOPK-ROM.

I just bought the Light-Version. Nothing works :( Tried the different Audio Methods already. Unit crashes on "Samsung Broadcom" Method.

Any Tipps?

Thanks!
[Spirit FM] mikereidis:
The GT-i9100g method is automatically selected, but unfortunately the "magic incantations" required haven't been figured out yet for custom ROMs. Stock should be fine, or even CM7 if there is a CM7 FM app for the G version.

For all we know, it might not even be possible without somebody doing the research and writing a whole bunch of new code. Or we might get lucky once I examine some source I have much more closely.

Send me an email if you want your order cancelled. Or wait if you wish... I cancel any order at any time on request.

I'm putting in at least 4 hours a week for this 9100g specific issue for the last few weeks. I don't have a unit and I'm trying to "timeshare" all the issues I'm working on, for hundreds of phones and ROMs.
[Spirit FM] chorl:
Hello,

I really like this new paradigm of customer-developer relationship, where the two most important things related (the quality of the software, and the payment you earn with it) are as close between them as possible, with no intermediaries, no "bureaucreacy", etc....

So, I can only say thank you for this really good product, and I hope we will enjoy more of them in the future :)

Kind regards.

PS: Now you have a shiny GT-i9300, I think we'll soon see "magic" in this post related with that equipment...

PPS: English is my third tongue, so please forgive my mistakes :)
[Spirit FM] mikereidis:
:) Your english is perfectly fine.

I just fired up the SGS3 stock FM app, because I thought I remembered a Bluetooth A2DP stereo headset option, but perhaps that was on the OneX. I'm hoping to see BT headset options for FM are becoming better and I have a wonderful new Sony MW1 headset to test with. MW1 has internal FM too, a nice option for those with phones without FM.

And I expect to improve the FM record support now that popular high end devices such as OneX, Galaxy Note and S3 support it.

The downside of doing support myself is that I have little time to do new development now. Every company (many!) I've worked for as a developer has insulated devs from customers. The upside is that quick, direct interaction. I can and do build special test versions as I deal with my email, something no larger company can do.
[Spirit FM] MarkA007:
FM RDS no PI on an HTC Desire S

Hello,

As a keen radio person and radio ham, I bought this app a couple of weeks ago, and it's by the best app for FM radio on droid.

I use it on a HTC Desire S, with stock ROM, unrooted.

I'm not expecting it to be up there with the moded Sony XDFs or kenwood 6040s, due to the nature of the animal, (no nice filters etc.) I also read that the radio in said unit is not the best chip set, and confirm that wife's sammy euro, is a lot better.

It's nice to have full RDS, and as an FM Dx-er I was expecting to see PI more or less straight away, then PS forming later. with RT and AF as and when. but I've never seen PI or RT. RT quite often shows "Fm: BC OEM" (Broadcom OEM?) Perhaps it's to do with the chipset or api, that it can't do PI RT and AF?

The latest release that came OTA today, is noticable better. It seems more sensitive, PS and PTY appear a lot quicker. but I've never seen PI or RT, even with a solid signal (almost noise free in stereo) from the local ILR and the BBC.

Experiance has shown that PI will form at quite low signal levels, and is even robust enough for deep rapid fading as experianced with Sporadic E. PS etc, takes a lot longer, and requires a better s/n ratio to be reliable.

It's got to be said, the the UK implemetation of RDS sees that the "level" of rds 57Khz carrier is a lot lower than some other countries, compared with France, where all data appears almost instantly. Germany is probably the lowest, and takes an age for PS to form when German FM arrives here in southern England via tropo.

Just some observations for an otherwise excellent app, many thanks.

MarkA
[Spirit FM] mikereidis:
:)

As I said 5 posts up:

"I usually can't take credit, or blame, for the sound or RF signal quality. It should usually be the same as the stock app."

So I can't imagine why you are seeing July 14 being more RF sensitive than July 12 or 12b. I HAVE had 2 reports of low or no signal though, and that is equally as baffling. Email me and I'll send the older versions if you want to verify the release version makes a difference. Or just try the free versions.

If you are keen on radio, I highly advise you consider rooting your device. It's generally not too hard on HTC devices, but OTOH it can be a big pain to do it sometimes.

Yes, unrooted your only choice is the "Broadcom OEM FM API". And with that you are stuck with whatever Broadcom API features HTC decided to include; thankfully there is more there than the HTC app itself uses.

Rooting allows direct access to the FM/combo chip and will give you access to all the RDS features Spirit supports: PS, RT, PI, PT and some extra AF features too. The Broadcom API doesn't seem to support PI, and some features like RT might not be available on some implementations.

But I haven't heard much (or any?) of no RT on HTC devices. I see it now on my unrooted HTC Status, along with PS and PT.

RDS seems to be inherently noisy. Even on strong signals I see lots of errors when using low level APIs (rooted). I've found I can minimize errors by positioning the headset cable antenna for best audio quality, and not necessarily highest RSSI.

With low level APIs there is some statistics written in the log. At some point I expect to expose them via a Menu-> Test function as I do with AF info and AF station selection.

Because of all the errors, I spent a LOT of time finding algorithms that seem to offer a good tradeoff between errors, speed and availability of updates. For the most part, data has to come in complete and perfectly matching at least twice in a row.

Normally, the OEM APIs for unrooted devices take care of ensuring that bad data doesn't make it's way to the display. But for Broadcom I had to add code to do it. Worse, the API does do it to some extent, so with two sets of filters in a row, data sometimes doesn't make it out to the display.

Here most stations reduce power around 1 AM, on weekdays at least. I don't know if they turn RDS off then, but it sure seems like it.

If you're big on DX, you may also want to consider a device with the newer generation of Broadcom FM/combo chips. I'm not positive but I think the Desire S may have the older BCM432x ; the 4325 or 4329.

My cheapest phone, a year old or so $80 Samsung GT-i5500, has the newer 433x/207xx generation, a BCM20780. Out of 15 phones, including the latest, greatest HTC OneX's (both) and SGS3, it's the only one that can receive RDS with no antenna.
[Spirit FM] prasad12ka4:
Spirit FM for Dell Venue

Finally realized what the issue was,

When you give root access, it secretly activated my Bluetooth.

So theres some fiddling with my bluetooth and after some use it automatically reboots or restarts my UI.

If I turn ON Spirit FM, And search for bluetooth devices using my other handset, it shows dell venue, although my Dell has its bluetooth off!!!!

On Dell No signs of Bluetooth ON.

This is really frustrating at times as it reboots my cell if unknowingly I touch the bluetooth ON option on Dell.

Great App, Superb Radio quality. But guess its just not for my Dell Venue :crying:

Hope the future upgrades will solve it.

Uninstalling the app resolved my battery drain issue.

Thanks mike for the support

Hope the future update might just solve the bluetooth problem. Then I can surely use it without any issues
[Spirit FM] knightnz:
Working perfectly here on an n7000 Galaxy Note running CM9 in New Zealand. Nice work!
[Spirit FM] mikereidis:
My memory of the Dell Streak is fading. Most people who wanted FM on the Streak found my app last year, and there are very few new units being sold.

But I've gone poking through the code again to see what I can find.

For some reason, I don't think anyone got the UART mode working (with Bluetooth off). But you can try forcing it by setting Debug-> HCI Access to "UART".

You might also try enabling Debug->Use fm_hcitool. Some people found this worked better. At least one person asked that I enable the use of the modified fm_hcitool (that forces speaker mode). So if it exists in /system/bin or anywhere in the usual paths, that version is used instead of the one internal to Spirit.
[Spirit FM] prasad12ka4:
Thanks for your prompt response

Will try the above and update you.
[Spirit FM] Evollution:
I cant downlad the last version from link that you added there can you upload and on other sites ..
[Spirit FM] mikereidis:
Mediafire: http://www.mediafire.com/?gcea1spxdy2twfk

I switched from Mediafire to dev-host over a month ago and you're the first to report a problem accessing it.

It works for me and I see 333 downloads.
[Spirit FM] brenopapito:
Hi!

Today i changed my Galaxy S2 (CM9) by a Galaxy Nexus (4.1.1).

When i was install the app i receive a warning that wasn't possible install.

Any predictions for Spirit work on Galaxy Nexus with JB?
[Spirit FM] dboechat:
I don't think Galaxy Nexus hardware supports FM...
[Spirit FM] brenopapito:
Yes...

:crying:
[Spirit FM] mikereidis:
Thank you.

Yes, that's correct. AFAICT the antenna pins are not connected anywhere useful.

Same for all Nexus devices, except the HTC Desire/Nexus One, and even that requires a custom ROM or at least a non-stock kernel.

Nexus 7 (and Q) remains to be seen. I doubt, but I hope to have an N7 once I finally get one.
[Spirit FM] Derzis:
With Debug --> HCI Access --> Int hcitool on Sony Xperia Ray i don`t see any errors anymore

but ...i don`t hear anything either :cyclops:

View attachment 1202994
[Spirit FM] mikereidis:
Yes, using the internally embedded hcitool won't work on too many devices. More likely using external hcitool, if it's available on your ROM.

Often hcitool needs "Set UID" permissions. I think Spirit tries to do that now though.
[Spirit FM] vurp0:
I can confirm my Galaxy S2 has audio issues with the speaker after FM is turned off or muted.
[Spirit FM] rmont:
Galaxy S3 CM9

I have no sound with CM9, but RDS information is displayed. Any Idea ?

I'm using Spirit FM unlocked
[Spirit FM] mikereidis:
If you never use speaker mode after a reboot that shouldn't happen.

June 15 should be the same as July12b or July14 in this regard.
[Spirit FM] mikereidis:
You can try manually setting Audio-> Method to Galaxy S3/S2/Note.

Please send a debug log with Menu->Email Logs and press Send after several seconds.
[Spirit FM] rmont:
Logs Sent by Gmail. Regards.
[Spirit FM] akromatic:
July 14 Free: http://d-h.st/pam

- Workaround for Galaxy S2/S3/Note etc. speaker issues. Speaker mode "sticks" now, but can be fixed by re-plugging wired headset.

pretty annoying work around, hope it gets fixed
[Spirit FM] groksteady:
Spirit working well on Galaxy S running today's Slim Jellybean alpha. No RDS, but I'm not fussed.

sent from a telephonic device
[Spirit FM] mikereidis:
If possible (likely) it will be, but life and supporting Spirit are keeping me pretty busy.

FM audio routing on custom ROMs is a major pain.
[Spirit FM] mikereidis:
RDS is only on Unlocked. If you have Unlocked, but no RDS, then I'm fussed enough to want it fixed.

If Unlocked, please send a debug log with Menu-> Email Logs.
[Spirit FM] CR5N:
Working on HD2 Jellybean.

http://xdaforums.com/showthread.php?p=28772651

I do get some rds data but not station name. Is a pre-alpha build without root but audio works out the box.
[Spirit FM] groksteady:
Just sent. I also mentioned that while opening Spirit to click the 'email logs' button, I had some FC notifications of Music app -- which I wasn't running. I should also mention that the radio audio also cut out at this time. After sending the email, I closed Spirit, reopened, and audio was back fine, and no Music FC popup notice.

thanks for staying on top of things!
[Spirit FM] akromatic:
i havent tried this but will this support audio routing through bluetooth if you plug in an "antenna"
[Spirit FM] mikereidis:
Thanks. So that's effectively a stock ROM ?

Some of the OEM proprietary APIs don't support all RDS data.
[Spirit FM] mikereidis:
Thanks.

Sometimes the Media Buttons will automatically start, or change the state of the Music Player. Some ROMs may have a setting to disable this.

Alternatively, you can try setting the two User Interface options that start with "Media Buttons" to "Disable". But the headset cable media buttons won't work anymore.
[Spirit FM] Jiangyi:
Sorry about the late reply, I have been away for a bit, but:

I have spoken with codeworkx, who's behind CM ROMs for the I9100G, and he said he'll look into implementing it in CM10 since he has access to an open-source audio HAL.

I've also sent you a fresh log with the latest free version while running the CM10 Experimental/Preview ROM. Hope maybe there's something different compared to CM9.

Also, could you repost that pastebin please? The link had already expired by the time I tried to grab it. :-P

As always, thanks. :)
[Spirit FM] mikereidis:
Thanks !

It's not my pastebin and I'm sad to see it gone now. It had code I haven't found anywhere else. Google shows no references, except this thread, and I don't even remember the name of the source code file. :(
[Spirit FM] dboechat:
I'm not getting any audio from Spirit FM on CM9 RC2. It's totally mute... :(
[Spirit FM] luexi:
+1, i am on the 18th build also no sound at all.

mike, i sent you the logs, please have a look at it.

Many thanks!:good:
[Spirit FM] tarekkkkk:
Not working at all on S2G CM9, no fm signal ....
[Spirit FM] Rinoceros:
HTC One X

I moved a month ago from my HD2 (after 3 years) to a brand new One X.

Thank you for making Spirit FM available for this phone.

It works out of the box :fingers-crossed:
[Spirit FM] mikereidis:
Haven't checked my email yet.

SGS2 / SGS3 ?

There was no 18th build, unless you mean June 18. The last released here or on Play is July 14.

I'm running July 14 Spirit on CM9 RC2 on my SGS2 with no problems, other than the speaker sticking issue.

I have a July 20 I'll post in a few minutes that deals with the speaker sticking issue.
[Spirit FM] mikereidis:
No signal as in very low RSSI at upper left ?

Or no audio ?
[Spirit FM] dboechat:
Oh sorry, I'm on SGS3. Using Spirit FM Unlimited from July 14.
[Spirit FM] mikereidis:
:)

Great ! International version I presume ?

The LTE Rogers/AT&T version is working too, but I think it has problems on a 2nd or 3rd etc. start sometimes.

Something to keep in mind when considering the pay version prices is the support for 10 different APIs now, and probably more, and fixes/updates in future. People often upgrade phones more often than they think they might.

OTOH, I'm getting overloaded with work and I'm trying to figure out how to deal with that.
[Spirit FM] mikereidis:
July 20: http://d-h.st/Tc1

- Only experimental fix for sticking speaker on SGS2/SGS3/Note. May create other issues, not too well tested yet.
[Spirit FM] Rinoceros:
HTC One X

Yes, it is the international version and already have the Unlocked version :D

You do not know what you are missing until you've lost it ;)
[Spirit FM] luexi:
why you replied on behalf for me? i am the one who post for the 18th build.

Mike, just tried the 20th build still same outcome with totally mute

sorry the 18th build is not referring to your app but i mean after updating to cm9 18/7 for S3 the fm does play but is totally mute.
[Spirit FM] dboechat:
I'm not replying on your behalf, I've said that I wasn't getting audio from Spirit FM on CM9 RC2 and you've agreed with me. Both of us forgot to tell which phone we're using, I'm replying to Mike.
[Spirit FM] mikereidis:
I've got this bad feeling that CM9 is moving away from the stock audio libraries and using their own.

If so, this might cause me big problems. Not impossible, but problems and more work none-the-less.

I'll get my GS3 rooted and running CM9 asap. I'll also try the latest for SGS2 to see if the problem is there too.
[Spirit FM] luexi:
This is bad ****. : (

It's ok, take ya Time to work on. The worst I shall revert back to older cm9 build that works and wait.

Tell me if u need some motivation to work on. I can buy u some snacks again : D
[Spirit FM] mikereidis:
I'm getting no audio now on SGS2 with this new version. It might work if you ran an older version since last reboot.
[Spirit FM] mikereidis:
Now I know who you are. :)

It would be good to know the last version of CM9 which worked on SGS3.

It's possible the audio libraries can just be copied over, but that will likely break sooner or later.

Sometime I feel almost as if they are trying to break FM.

But the reality is they don't "support FM", at least not now, and they have to be able to make changes to improve CM9.

When those changes come from Google via AOSP, the FM parts are often missing.

I finally received my Google/Asus Nexus 7 tablet last night. Sadly, RSSI always shows -13 or -14, even after opening it and poking my "antenna finger" around the area of the chip.

I'll have to try opening the RF shield to see if there's a spot for an FM antenna connection, on the Azurewave module with a BCM4334.
[Spirit FM] luexi:
If not mistaken recently I heard u got yourself a One X, now a S3 and nexus 7? A rich man indeed!

The last cm9 build for S3 that works is 09/07(I mean for me)

Here's the link: http://get.cm/?device=i9300

Hope its really possible to port over audio libraries over for the time being.

Yup, as my understanding codeworkx & team couldn't care more for fm stuff as they dun use it at all.
[Spirit FM] m1la:
just wanted to give you heads up as well: running s3 on cm9 rc2 from 19.7.

- version july 20th does not work at all: no reception of any radio signal possible (white noise sound output)

- version july 14th does get a signal: but no audio output at all (all cm9 sounds gets lost)

- i also tried version june!!! 14th version which does get me a radio signal including RDS but no audio

hope this helps
[Spirit FM] dboechat:
Something related to the audio definitely happened in the last CM sources.
[Spirit FM] tarekkkkk:
No signal at upper left.
[Spirit FM] dboechat:
Just installed CM10 Preview 5, same thing. No signal at all, just a very low white noise on speakers. :(
[Spirit FM] groksteady:
Just a note, audio and signal info working great here on DerTeufel's unofficial CM10 v4 (on i9000), with his rc5 datadata-enabled kernel

Still no RDS, but I forgot, I'm a different country now, so who knows, maybe they're not sending that out.

sent from a telephonic device
[Spirit FM] mikereidis:
July 21 Free: http://d-h.st/zsb

- Only experimental fix for sticking speaker on SGS2/SGS3/Note.

May create other issues, not too well tested yet, but tested much better than July 20.

Seems a bit flakey on stock unrooted SGS3 sometimes, but no longer has the strange reversed mute issue.

If you mute or exit while in speaker mode and the wired headset is plugged in, running music player etc. results in sound to speaker. Normally it should go to wired headset in this case.

To resolve, replug the headset.
[Spirit FM] mikereidis:
Only about half as "rich", and for twice the work, as my previous "normal jobs", but much happier.

It TOTALLY goes against my nature to buy such expensive phones and I have 15 now, LOL. But mostly cheaper & used phones. And I believe these phones "pay for themselves".

You all buying the apps, or making donations/buying me dinner are buying these phones. And I hardly have time to "play" with them.

The most recent new ones are HTC OneX International, AT&T OneX LTE, and Samsung GS3 and Note. Recent used include SGS2. Also got a Nexus 7, but FM will require hardware mods at least.

Makes a niche for me. :) But if Spirit wasn't available I wonder if they'd have a CM9 FM app by now, or at least planned. Takes some pressure off of them, for something many devs see as ancient analog over the air technology dating back to Marconi etc.
[Spirit FM] mikereidis:
Can you try the July 21 to see if you get signal ?: http://d-h.st/zsb

I'm not sure why you'd get no RSSI, but sometimes ROMs or kernels get updated and there is no FM driver loaded.

Clearly recent GS3 CM9 releases changed the audio. So I don't expect any version of Spirit to produce audio on them.

But if anyone has free time on their hands, they could try all Audio-> Method settings from CyanogenMod7 to ZTE SanFran2/Blade2. You can stay in the Audio settings screen and try them one by one listening for audio.
[Spirit FM] mikereidis:
It works for me on the latest CM9 releases for SGS2.

My primary suspicion is that you flashed a kernel that doesn't support the Samsung FM driver, or requires the driver to be loaded (and it has a different name than the ones Spirit tries.)

In these cases you may see "BC" flash briefly somewhere around the Radiotext iine at startup. This indicates it tried to use the Broadcom FM. Specifically setting Debug->FM Chip to "Sam SiLAbs..." will force an error in this case, and prevent confusion about the problem.

For ANYONE with this issue, especially when using the default CM9 kernel, or one known to support the FM driver, please send a debug log with Menu-> Email logs and press Send after several seconds.
[Spirit FM] C0qRouge:
on my s3 international (stock rom) the newest version works like a charm :good:

the version before didn't gave me sound, also after replug the headset

NICE work!!!
[Spirit FM] mikereidis:
Thanks, good to hear.

RDS is only enabled on the Unlocked paid version on Google Play.

I think most car radios in half decent new cars the last few years support RDS, for comparison.
[Spirit FM] mikereidis:
Thanks for the quick feedback, before I tackle my email and end my working day.

You are one of 4 downloaders in the first 30 minutes. :)
[Spirit FM] mikereidis:
SGS3 CM9 RC2 seems to have some phone call, and perhaps other audio issues. Fixing them might help with FM audio.

nfsmw_gr said at http://xdaforums.com/showpost.php?p=29085910&postcount=2299 :

There are some other audio related apps/utilities that seem to be having problems now.

I have a feeling this is related to preparing for CM10. Moving from the Samsung libraries to AOSP 4.1 Jelly Bean libraries built from source may be occurring.
[Spirit FM] luexi:
well I believe even if there is no spirit, cm9 Devs still won't give a damn. They sound hated so much and difficult implement it.

Lucky there is Spirit and it's the only hope for aosp rom.
[Spirit FM] yairku:
Thank you for this app, you just saved me!!

But I'm wondering.. The spirit app on the market costs some money, and there's no free app. So how can you provide us with those APKs? Did you just get the original app and modify it?