yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
My guess would be one of these:

1 - Some ALSA controls have different defaults on this ROM (audio library/HAL).

2 - Some other audio app runs and the system changes the values, and Spirit never resets them. (To avoid ROM compatibility problems, Spirit tries not to set too many of these controls explicitly.)

I'm assuming this because I don't have widespread reports of this issue, and my GT-I9300 should be very similar.

If you have the Unlocked version, try Digital Audio. Set Menu-> Settings-> Audio-> Method to "Digital Auto" and restart Spirit.
[Spirit FM] Conceptunlimited:
Any update on whether this great app is going to work on stock Nexus 4?
[Spirit FM] scutworker:
It will never work as Google has disabled the FM facility on that phone. Sorry to be the bearer of bad news.
[Spirit FM] Conceptunlimited:
What's the logic of disabling I fail to understand!:mad:

Sent from my Nexus 4
[Spirit FM] nicesoni_ash:
Tested the test apk, didn't work. :( same result.

Sent from my SGS3 powered with monstrous ZeroLemon 7000 mAh
[Spirit FM] dk147in:
Because Google has no staff to build the FW application.
[Spirit FM] James Bottomtooth III:
FM radio is free whereas streaming radio requires WiFi/3G/4G. FM is just not profitable for big companies as they would rather have you pay them for data usage.
[Spirit FM] mikereidis:
That's the excuse that Google used 3 years ago, that they didn't have the "resources" to do FM.

Google is one of the largest corporations on Earth. An advertising, Internet, technology juggernaut.

I'm one person and I built Spirit. One person, with a tiny, tiny fraction of the resources of Google. (Hey, Google, pay me half decent and perhaps I can help you, LOL.)

And I don't have access to all the internal secret documents of the chip and phone OEMs. I had to pain-stakingly reverse engineer how it worked, and I continue to do that with new phones indefinitely.

I will grant that I've come to learn that one person can only properly support a limited selection of the most popular, most high end devices.

And what about the ST-Ericsson proposed Android FM API in an experimental AOSP branch the last 3 years ? It's effectively died multiple times from neglect (and IMO malice) in 3 years. Google could back and bless this, but they do not.

- Google does not want us using free, over the air radio with no Google ads. Google wants us using it's cloud & streaming music services, and seeing Google sold ads. Apple does the same, and even MS and Blackberry seem to be waffling on FM.

- Carriers, particularly in North America, want to sell us data plans for streaming, and they want to be the gate-keepers of content, not mere Internet pipes that have to compete mostly on price.

Sprint allegedly has a deal with US FM broadcasters, to pay Sprint $15 million (30?), and 30% of the targeted ad revenues (!!!) in order to enable FM on their phones. (I say allegedly because it's now been half a year, NextRadio app phones should be here by now, and there is hardly a whisper about this actually happening.)

See here: http://xdaforums.com/showthread.php?p=37641690 and here: http://xdaforums.com/showpost.php?p=36567961&postcount=5154 for more info.

Why would money focused businessmen give something away for free when they can hold FM radio hostage and make them pay ? And why aren't ATT and Verizon looking to do this too ? Perhaps there is more money in data plans or it will interfere with their plans to be gate-keepers, which in the end comes out to money.

So Googles, and the carriers intentions are aligned. The FM broadcasters in the US appealed to lawmakers to force OEMs to enable FM chips in phones.

But radio is "historic" relative to the "streaming way of the future". And radio is poor relative to the likes of Google, Apple, the carriers and the phone OEMs. Poor radio can't lobby/bribe the lawmakers effectively with a tiny fraction of the money of the anti-free OTA radio forces.
[Spirit FM] mikereidis:
Anyone seen or have info about the Effem FM app in some CM ROMs (perhaps un-official CM's ?).

Source code for the app itself (not the low level stuff) is here: https://github.com/grigorig/android_packages_apps_Effem/commits/master

Due to a customer problem report, on my P500 I loaded ICySNAP CM9.2.2 and saw it there.

I couldn't get it to work though. Spirit was fine but switching Spirit to that ST-Ericcson proposed/Sony FM API didn't work, indicating the problem was low level, I'd guess in libfmradio.bcm4325.so .

The app seems to have been around in some form since at least late 2012, so I'm surprised I haven't heard of it.

In any case, if it's made to work on more ROMs/phones this could reduce my workload and let me support more devices.

It's also a positive for the future of that ST-Ericcson proposed/Sony FM API.
[Spirit FM] mikereidis:
OK, that's what I found out, now I read this part more closely, and should have done that before, LOL.

I think this was a change from ICS to JB.

I've emailed you a July 22 test release that is working for me on JB.

Same fix emailed. Sorry it took so long. I'm surprised only 2 people reported this, AFAIR.
[Spirit FM] mikereidis:
Spirit Free July 22: http://d-h.st/eyV

Too many little tested changes so not updated on Play yet. Unlocked or Light versions are available by email request from customers.

- Better support for Media Keys apps/shortcuts etc. such as https://play.google.com/store/apps/details?id=net.cwfk.ig88.mediakeys

Media keys are supported only by Spirit Unlocked. On Spirit Free or Light these changes should prevent the media keys from starting the media player.

- Experimental support for Broadcom FM/combo chip devices to run with BT on, using the new JB 4.2 BlueDroid API mostly on AOSP ROMs.

This should work, if you understand the risks of messing up, and if "adb remount" works for you, or you can figure out how to remount /system as RW:

adb remount

adb shell cp /system/lib/libbt-hci.so /system/lib/libbt-hcio.so

adb shell cp /data/data/com.mikersmicros.fm_unlock/lib/libbt-hci.so /system/lib/libbt-hci.so

After updating the ROM, libbt-hci.so will likely be replaced and you'll have to do this again.

The libbt-hci.so replacement I provide is a "shim library" that passes requests on, and adds FM ones, to the original library renamed to libbt-hcio.so with an "o" for old.

I'm not sure if this is the best longer term solution. Besides this "shim library" I haven't found any easy way for an app to send special HCI commands with the new Bluedroid API. It is not Bluez HCI socket compatible like previous Android 4.1 and earlier releases, like pretty much every other version of Linux supporting BT.

- Minor mods such as displaying a "Root required" message to users of HTC One Google Play Edition.

- Menu -> EQ for quick equalizer access when using Digital Audio mode on Spirit Unlocked.
[Spirit FM] makbil:
After updating from playstore, Spirit defaults to HTC One X from One Digital. This has happened on the previous update as well. Not a big deal as it only takes a few seconds to correct the settings. Just thought you should know.
[Spirit FM] mikereidis:
I'm not sure what you mean.

One my HTC One I installed June 25 version Unlocked, set Audio-> Method to "Digital One".

Then I logged into Play on a test account, updated to June 29 version and I see no problem, Audio-> Method is still set.
[Spirit FM] sien1996:
thanx mr.dev latest version works fine on galaxy s2 running rootbox v4.1 (jb4.2.2)

thanks a lot keep it up m8 ;D
[Spirit FM] EclipseX:
hi, the galaxy s4 i9500 will have radio fm?
[Spirit FM] duduaxe:
Hello...

How to works in sg ace i(broadcom chip)

installed and no works

Stock rom and cm7

Enviado de meu GT-S5830C usando o Tapatalk 2
[Spirit FM] mikereidis:
No.

Never has.

Never will.

Samsung disabled it.
[Spirit FM] mikereidis:
"No works" is a too vague problem description.

See the "Problems" section of my FAQ: http://xdaforums.com/showpost.php?p=31983151&postcount=4465
[Spirit FM] mikereidis:
Spirit Free July 25: http://d-h.st/CkI

Unlocked version updated on Play.

Android minimum version now 2.3 GingerBread.

Unlocked only JellyBean+ Notification controls: Pause/Play, Previous & Next. May not work on some stock ROMs, like ATT OneX LTE JB 4.1. If you have problems or prefer the older method, that also included RDS RT, set UI-> Notification Display to "Frequency+RDS" and restart Spirit.

Volume graphic disabled. Looks better ?

Speaker mode for HTC One.

Various fixes for HTC One and Xperia Z and similar for audio, recording, visualization and EQ access by Menu.

Unlocked only fixed support for Media Keys apps/shortcuts etc. such as https://play.google.com/store/apps/details?id=net.cwfk.ig88.mediakeys

Experimental support for Broadcom FM/combo chip devices to run with BT on, using the new JB 4.2 BlueDroid API mostly on AOSP ROMs.
[Spirit FM] nicesoni_ash:
Mike you were also working on Spirit2, what's the progress about that. If a separate thread for that, a link please. Sorry but not able to find any recent update about it.

Btw much cleaner UI now in latest version, loving it. :)

Sent from my SGS3 powered with monstrous ZeroLemon 7000 mAh
[Spirit FM] James Bottomtooth III:
Yeah, I think it looks better like that. You also changed the frequency graph, didn't you? It's cleaner now. :)
[Spirit FM] nicesoni_ash:
I have a concern now, I was planning to get S4 for my fiance but since it won't support fm, what would you recommend to get in latest phones top models which would support fm?

Sent from my SGS3 powered with monstrous ZeroLemon 7000 mAh
[Spirit FM] antonio89drop:
Hi Mike.

I got your file Spirit Fm with the long-awaited update to fix the Media buttons.

I wanted to inform you that now works at the Great's OK!! now also goes up next to Android 4.0.4.

Mike Thank you so much for your constant support.

I have to say after buying your app. Spirit Fm buy another one the other 100,000 times.

For me, Spirit FM could also cost 50 € would always be money well spent.

Thanks again for the best app. Google Play and beyond.

Thanks Mike.
[Spirit FM] ramiwi:
Not working after latest update

Im using old spirit fm lite but after today`s update (2013_07_25) the app stopped working. The app starts with the following message when : "Error: no FM accessible SU:2 Fm:TIG Su:1 Bt:3 Ht:0 Mo:TIU".

The buttons are disabled except for the settings, power and current channel buttons.

(HTC Legend - Zeubea CM9.1 BETA8)
[Spirit FM] radiolip:
Have an idea to add the Avia frequency range, 118-136 MHz...
[Spirit FM] mikereidis:
HTC One is my first choice. I bought one a few weeks ago and it may be my only 2013 phone, having bought 20 test phones in the last few years.

Sony's are also nice, though pricy and a bit behind the competition. I've borrowed an Xperia Z from Sony for testing and fixes to Spirit. I'm not sure I'll buy one, but I may buy another Sony soon.
[Spirit FM] makbil:
I understand but on two occasions the settings defaulted back to HTC One X. I'll keep an eye on this, just saw a new version up. I'll report after I update.
[Spirit FM] mikereidis:
Hmm,... No I only removed the volume graphic. I'll look closer but I thought I saw the frequency graphic ended up a bit different too; maybe the colors changed or it just seemed that way due to the volume change.

What's funny is that I was inspired by something that messed up in my build for some unknown reason, and an Eclipse refresh fixed.

The "messed up" volume graphic was a long wedge (triangle), getting taller towards the right. I may have seen this used elsewhere for volume control. I'll have to look through the Android standard graphics to see if I can find it.
[Spirit FM] Lagkage:
Yes it does. I have kept it disabled since i bought Spirit (UL of course).
[Spirit FM] mikereidis:
:)

Spirit2 is "on hold", partly because I backported most of it's features to Spirit Unlocked. Digital audio & visualizer were backported months ago. Today I released a backport of the Notification window media controls. So Unlocked users aren't missing any features currently in the Spirit2 alphas.

And I've been backporting features instead of concentrating on Spirit2 because:

People keep buying and needing support for Spirit Unlocked. (A good thing, more or less.)

Many new Spirit Unlocked customers would not be served by Spirit2 because their phone or stock ROM aren't supported by Spirit2.

I've been taking much needed personal time & that makes it impossible to do & support 2 projects at once.

I've always said anyone who wants Spirit2 as a free upgrade can do so by me cancelling their original Unlocked order. And Spirit2 will continue so this will mean a lot of email and admin work I don't have time for now.

Hopefully later this year Spirit2 will re-appear. I'd very much like to focus on JB and later custom ROMs, and the Spirit1 code just gets more and more messy over time.

Anyway, almost everything I learn and do with Spirit1 will be good for Spirit2, so it's not like my work time is being lost or opportunities missed.
[Spirit FM] mikereidis:
Yeah, the volume graphic is a bit of a waste of space, and I think I removed it in Spirit2. No other media or FM app I've seen has a persistent volume control/graphic.

I've probably been biased towards it because my work area has many phones laying flat for testing with screens on. It's easier for me to poke the screen to change volume than to fumble for the hardware buttons whose location varies on different phones.

I've wondered if the same applies to the preset buttons.

In digital audio mode, I like disabling as many buttons and on screen items as is reasonable, so I can make the visualizer graphic bigger. Instead of using fixed preset buttons I use the next/previous controls to go to next station, same as I do on my car with steering wheel audio controls. And this is why I change those controls from seek as soon as 2 presets are entered.

In the car at least, I tend to go to next station as soon as ads or unwanted talking starts. So my goal is just to get another acceptable station and not a specific station. I don't think "Give me station XYZ". Same as TV channel surfing.
[Spirit FM] mikereidis:
:)

I've generally thought that $10 was expensive, and it is, but...

I've seen other niche apps in the $25 to $100 and more range.

One of the areas I've looked at are apps that can turn a $200 Nexus 7 (or whatever) tablet into serious rivals for the multi-thousand dollar option packages for car navigation, entertainment, etc. One I appreciated was $35 and very well regarded.

So, $10 seems reasonable in the light of what I saw. The biggest issue is support for reverse engineered stuff on a large number of phones. I could probably sell Spirit for $1 and make about as much, but ONLY if I became one of those devs who provided no email access, and that's the last thing I want.
[Spirit FM] mikereidis:
The quickest answer is "Not possible" *.

I've tried the easy ways with no success.

There's a dongle SDR app solution that eats battery fast.

(*Yes, it's likely possible on some FM chips with very custom & completely reverse engineered lowest level chip firmware. This could easily take 1,000-3,000 hours of work without the secret internal documentation.)
[Spirit FM] mikereidis:
Hmmm, email me if you want an older version.

Can you send me a debug log with Menu-> Test-> Email-> Logs ? After 20 seconds or so press Send.

I've done some work on my old Legend just a few days ago. I'll take another look with the new version.

EDIT: OK I see what I'd guess is the same problem on a JB 4.1.2 AOKP on Legend.

Set Debug-> FM Chip to "TI (HTC)" and restart Spirit.

This ROM contains Broadcom firmware files and that confuses Spirit. I'll find an automatic solution.
[Spirit FM] ramiwi:
Thanks! log sent.

---------- Post added at 11:52 PM ---------- Previous post was at 11:29 PM ----------

Still the same error (restarted the app/killed the process/restarted the phone).
[Spirit FM] mikereidis:
I checked your ROM: cm-9.1.0-UNOFFICIAL-BETA8-legend

It dates from December and AFAICT it's Bluetooth is very broken. Even if I use older Spirit versions, so it's the ROM IMO, not Spirit.

I like this ROM here "AOKP 4.1.2 UnOfcl Legend SFMT", development is active and Spirit works well on it: http://xdaforums.com/showthread.php?t=2222597

Puts some new life into a 3 year old midrange phone. :)
[Spirit FM] mikereidis:
I checked your ROM: cm-9.1.0-UNOFFICIAL-BETA8-legend

It dates from December and AFAICT it's Bluetooth is very broken. Even if I use older Spirit versions, so it's the ROM IMO, not Spirit.

I like this ROM here "AOKP 4.1.2 UnOfcl Legend SFMT", development is active and Spirit works well on it: http://xdaforums.com/showthread.php?t=2222597

Puts some new life into a 3 year old midrange phone. :)

But you need to set Debug-> FM Chip to "TI (HTC)" on this ROM, or run the newer Spirit I sent.

EDIT: And, for background volume control, enable Debug-> Silent Loop. BTW, AOKP-4.1.2-UnOfcl-Legend-SFMT-Z2-Se-signed.zip wouldn't boot for me so I went back to AOKP-4.1.2-Unofficial-Legend-SFMT-ZERO-signed.zip . It's a nice ROM and seems pretty quick for an older phone.
[Spirit FM] mikereidis:
Spirit Free July 26: http://d-h.st/KCi

Unlocked & Light versions updated on Play.

- Fix crash on Nexus 7 official JB 4.3 with new Unlocked Notification window support.

- Better detection for TI chips on mostly HTC phones such as Legend.

IE a minor update from July 25:
[Spirit FM] ramiwi:
Actually I found cm-9.1.0-UNOFFICIAL-BETA8-legend to be the most stable and fast and the previous spirit version worked perfect with it. With [JB]unofficial BAKED Blackbean and AOKP-4.1.2-Unofficial-Legend-SFMT-ZERO spirit didnt work for me (now i see that fm chip setting can fix it), also those roms were slower and buggier after a while. I will try the new AOKP-4.1.2 version. In any case i can restore my cm91 backup with the previous spirit version.
[Spirit FM] makbil:
Just installed the latest update from Playstore, no issues this time. I'll keep an eye on this and try to make some sense out of it.
[Spirit FM] 089man:
Question... Every time in aokp Rom the equaliser not work. But now since any time it's works fine with rootbox aokp Rom. Great... Have install also viper sound engine... Works great with spirit.

I9100 Tapatalk 2, Rom1 Rootbox / Rom2 Test only, Kernel Dorimanx
[Spirit FM] zaclimon:
Hey [MENTION=3575078]mikereidis[/MENTION] I think you would be happy with the new nexus 7 that's been released. According to fixit (http://www.ifixit.com/Teardown/Nexus%207%202nd%20Generation%20Teardown/16072/1), it uses the WCN3660 which supports FM radio. :p Just thought that I could share the news.

EDIT: Seems that you already knew it. Well I hope that some antennas could be put in it so hopefully it'll will work. :D
[Spirit FM] fingerpoppin:
Hello,

i'm using GS3 with aokp_i9300_jb-mr1_milestone2 custom and also Googy-max custom kernel 1.6.0.

When i open Spirit UL and push record button, i noticed that it recorded on .wav extension, but when i try to open, my audio player cant play that file.
[Spirit FM] mikereidis:
I'm not even sure what you are asking.

You can try the equalizer app here: https://play.google.com/store/apps/details?id=com.smartandroidapps.equalizer
[Spirit FM] mikereidis:
Yeah, I posted here about it in mid June: http://xdaforums.com/showthread.php?p=42613109#post42613109

IMO, there is no way on earth Google allowed either of the 2 FM antenna pins to be connected anywhere but shorted to ground.

If FM is possible on the new N7, I will "eat my hat".

I initially reported I would buy one regardless. But I may hold off on that and save my money for a device with FM, such as a Tablet Z or some other Sony device or even a GS4 mini or HTC One mini.
[Spirit FM] mikereidis:
If the files are just 44 bytes long, recording didn't work. Try setting Audio-> Method to Digital Auto.

WAV files are pretty simple and standard. If it's a valid WAV file, just about any media player should accept it.
[Spirit FM] mikereidis:
Hi, I guess you need at least 10 posts total first.

I guess my best answer is to use another kernel. I've heard some other similar reports recently.

Perhaps the FM part of the audio kernel driver was removed, disabled, or just accidentally broken.

If someone can figure out how to reliably enable FM audio on this kernel, I'll be happy to add the needed code.

But I don't have this phone, and don't expect to get one, so I don't think there is much that I can do.
[Spirit FM] danielalarcon:
Hey Mike, just have a quick question, from reading the recent posts here, seems Spirit works ok in the HTC One, do you have any reports it works on a Google edition?
[Spirit FM] mikereidis:
"Spying" on FM radio usage stats.

I used the word "Spying" to get your attention and opinions. :)

I've been considering adding "opt-in" and anonymized sending of usage stats to Spirit.

"Opt-in" means it would be off by default, and you would have to enable it before any data is sent.

At this time, I'd only consider basic info such as rough city level geographic info, frequency, and length of time listened.

The reason: money. I'm doing "OK" now and making "just enough to get by" but I can make at least 3-4 times as much in the corporate world, and my retirement fund is pitiful for the time I SHOULD have remaining.

Arbitron in the US sells radio and TV usage info. They, or their current or potential competitors, would love to buy smartphone data about radio usage. I've been approached a few times about business ideas related to this.

So, if it's completly opt-in, honestly anonymized by Google or other trusted back end service, and limited to rough area, frequency and time, would you consider enabling it ? Perhaps it could provide useful feature to users, such as station data, website etc. when enabled.

Perhaps a better free version of Spirit could have no option to disable. Nobody is forcing anyone to run any app of course.

I'm happy to hear any thoughts.
[Spirit FM] mikereidis:
I have an HTC One, GPE ROMs work fine, with 2 caveats:

Must be rooted

Bluetooth must be off

I'm not sure that either can be changed. In some respects, with regard to FM and Bluetooth, the GPE is the "worst of all worlds".

It uses the Broadcom proprietary BT stack, but the FM part of that stack is disabled.
[Spirit FM] 089man:
I Mean it's works fine now since last update on aokp Roms. I not need this app. This not work last time before . Now I have the equaliser... Smile.

I9100 Tapatalk 2, Rom1 Rootbox / Rom2 Test only, Kernel Dorimanx
[Spirit FM] fingerpoppin:
problem solved!

thank you very much

---------- Post added at 05:58 AM ---------- Previous post was at 05:39 AM ----------

woops!

when i switched to digital auto, recording seems ok. but i only hear right channel audio and the left channel sounds slower than the right channel.
[Spirit FM] nicesoni_ash:
About "spying" or opt in as you said..

I won't mind since you are asking before adding that. Several apps have that already hidden somewhere and also if that will help u anyhow, why not. :)

Sent from my SGS3 powered with monstrous ZeroLemon 7000 mAh
[Spirit FM] Cookie Ninja:
Since you are are asking so nicely,and laying out your cards on the table, I say why not? After all one can easily opt out if needed, and if no personal data or fine position data is transmitted, i'm all for it!

Dead Cookies leave no trails...
[Spirit FM] serkan sekerci:
i am truely sure that arco68 (http://xdaforums.com/member.php?u=3044346) knows.

there are so much people facing with this issue and waiting for spirit fm correction... not only me...

please make this sir...

have a good day, see you. :)
[Spirit FM] Lagkage:
I will enable it. What about the PI and PS? Don't you think it should be reported to?
[Spirit FM] dangelo.davide:
About spying... I think that if u find a good solution as a switch to unlock some feature ... why not?

For example RDS... or auto seek...

;)
[Spirit FM] mikereidis:
Send me a debug log with Menu-> Test-> Email-> Logs. After 20 seconds press Send.

Sometimes, it just doesn't work well with certain kernels or ROMs. But generally speaking, it works well for me on pretty much any official CM10.
[Spirit FM] mikereidis:
Send me a debug log with Menu-> Test-> Email-> Logs. After 20 seconds press Send.