yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
Generally speaking, if you've run the analog mode for at least 20 hours or so, your phone is very unlikely to have the problem. It usually happens within the first few hours, if it will happen.

For the latest Spirit Free releases, set Audio-> Method to "Galaxy S ALSA/ICS" for analog. Seems to work on April 24 Free. Auto will be same as Digital.

I made this change so that anyone accusing me of breaking their speaker would be either:

A customer

A pirate

Someone who specifically set Audio-> Method

For (1), legitimate customers tend to be much more understanding. For (2), Pirates are more un-reasonable than customers; they tend to think the world owes them. Be a pirate and you'll have little sympathy. For (3), I'm not sure I intended this, but at least it requires manual action.

Gatineau; specifically semi-rural Aylmer North about 7 Km south of the Camp Fortune antennas. My wife is from the South Shore of Montreal, and currently visiting family in Pointe-de-Cascades. A nice, quiet "bachelor" day for me, with her and the kids gone. :)

I'm Anglophone, and lived in Ottawa many years, after Toronto and Niagara.
[Spirit FM] zaclimon:
I would like to do it but I can't even enter settings. Because it's set to digital automatically, the device freezes upon opening the app. I'll try it further later.

Actually it's the first time I've listened to pointes-des-cascades. After seeing it, it's at the extreme west of Montreal after pointe-claire.

Anyway I'll come back later with further testing on this.
[Spirit FM] mikereidis:
You could set it on an older version, then upgrade. Or on the free version manually edit:

/data/data/com.mikersmicros.fm_fr/shared_prefs/com.mikersmicros.fm_fr_preferences.xml

Replacing any "audio_method" line with this:

<string name="audio_method">128</string>
[Spirit FM] Hafensaenger:
Hi,

i want to use Spirit FM for my running workouts. I use Runtastic for monitory my activities.

Runtastic normally gives some messages on my headphones like a countdown or how fast I am.

When I use an music player i can hear both, the music and the messages from Runtastic.

With Spirit FM there is silence, no message and no radio output. I have to go into Spirit FM

and press the pause/play button twice to get radio back.

Is there a setting that enables both, hearing radio and system messages?

I use a sensation xe with a miui v5 rom.

Regards Elmar
[Spirit FM] zaclimon:
Ok that method worked, thanks. (the update one). However I found something interesting. When I was into the 0323 version, I just needed to OC my device to 1.2 GHZ and it didn't freeze. With 0424 it does freeze but that not the fact I want to point. The thing is, when I set the audio method to digital GS1 (and any digital setting in general) in the 0323 version, the sound was simply cut out. I couldn't listen to anything but the sound was back when I put it in analog. So again I think the problem comes from a problem of optimization for my device.

Anyway if you want some more info or debugging logs from this, I can always send you some.

Thanks for your help! :good:
[Spirit FM] mikereidis:
EDIT: Hmm, I'm just realizing you say that FM audio doesn't return like it should. On some devices I added code to delay un-mute for 5 seconds due to problems like this. I'll try to take a look later tonight.

Original:

No, I'm afraid not, unless you have a stock derived ROM on which Audio-> Method = HTC works, and likely a stock HTC FM app would work too.

Unlocked supports headset cable media buttons; a quick Pause/Play on the button will clear it as well as opening the screen and doing it on the app. Unlocked lock-screen controls are also there if a headset cable has no media button.

The "Sensation 4G/XE Z715e" is like the Desire HD in that it uses the "qdsp5v2 Plus AIC" Audio-> Method.

The AIC3254 DSP HTC uses on these devices have been a major pain for me, but at least the current state is much better than it used to be, requiring a reboot when it gets into a bad state. And still, Debug-> Power Restart Media is automatic to clear these bad states when FM is turned off.

The only real solution would be in the audio library, and I don't expect to have time for anything like this before these now somewhat older devices fade from view.
[Spirit FM] antonio89drop:
Hello

I wanted to ask if you also have this problem on Xperia 2012 given processors have even less powerful the Galaxy S3 and less Ram as Xperia Go it only has 512 MB ​​of Ram.

In such Xperia 2012 in long records are present such points of silence??

The Galaxy S3 with stock Kernel every how many minutes you have these crash of silence?

These crashes are also present with Galaxy Note 2 with stock Kernel?
[Spirit FM] mikereidis:
I only have stock Xperia P and I've not noticed any problems. It's CPU is not very high power, but it's dual core. I'm pretty sure dual and quad core really help prevent problems. A busy app or 2 may be able to run on different cores.

And, Xperia P is designed for digital audio. On stock, it works well for me.

For the rest, I just have to say I don't know, or I haven't noticed much, or I haven't had many reports.
[Spirit FM] SamsungPisser:
Sorry if that has been asked, but I didn't find:

How can I adjust the frequency range? I want to have 50 kHz steps in the Japan frequency range.

Thanks for help.
[Spirit FM] watisdennnulos:
Samsung SGS i9000

Hi

had it (free version) running a year ago on another mobile. Great App!

Now I am a bit confused about functionality of SFM unlocked on SGS i9000 (I own both a polish and a french model) with JB 4.2 (cm-10.1-20130304-EXPERIMENTAL-galaxysmtd-M2).

does it still crack any speakers?

also: ok to buy once and install twice?

Thanks in advance

W
[Spirit FM] mikereidis:
Hmmm, that's not possible at this time, though it should be easy to change, as far as frequency up/down buttons go anyway.

What's the purpose ? Emergency services ?

You can manually enter any frequency, down to 1 KHz increments, but 1 KHz only works on Broadcom chips. 50 KHz works on all.

You can also assign any frequency as a preset.
[Spirit FM] mikereidis:
Yes, and post #3 of this thread always has the latest info: http://xdaforums.com/showpost.php?p=13380066&postcount=3

Briefly, if you've run Spirit on Gt-I9000 in analog audio mode for at least 20 hours with no problem, you are very unlikely to ever see the problem. You can play it safer (AFAICT) with the digital audio mode, but some kernels and ROMs can have some issues with digital.

I follow the standard, default Android license, as enforced by Google Play: You can run on as many devices as you own, now or in future, that are tied to the same primary google Play account.

Spirit does not have any form of copy protection, so if you side-load I ask you to follow the spirit (LOL) of the above. IE if you and your family members each have a separate email, and Play is not installed or configured, then that's separate licenses. But then again, if use was only occasional, and all support goes through one person, no big deal IMO. I want to be as flexible as I can with those honest/appreciative enough to support Spirit and myself with even one license.
[Spirit FM] ruelericsapalaran:
I was able to install Spirit FM free in my p940; however, I'm unable to make it work. Whenever I open the app, it says "Error: No FM accesssible". Under it, it says: SU:2 Fm:SLS Su:1 Bt:0 Ht:0 Mo:SLS

Please help. Thanks! :)
[Spirit FM] lavemetoo:
anybody, who made it run under [ROM][Jellybean 4.2.2][JDQ39E] ThinkingBridge ROM [I9100][Apr 24,2013][Stable 1] ?

http://xdaforums.com/showthread.php?p=40875684#post40875684

With 0421fr version it only starts without errors, but everything is mute on my S2 with ROM and Dorimanx 9.14.

On old ROM 4.1.2 it ran without problems.
[Spirit FM] qashqool:
ringtone loop disappeared

hello, for the third time installed spirit free and the phone ringer ran out of loop, Could be there some connection?

Even when I reboot can't solve the problem.

Had to uninstall spirit..

Can I have the two things at the same time?

Is that a known issue?

[samsung s5830 10.1 CyanogenMod RC0-1.1a modded by mardon]
[Spirit FM] mikereidis:
LG P940 aka Prada K2 aka Prada 3.0.

Released January 2012, and I've had 2 email queries and 1 in this thread.

I don't / can't support LGs now.

"SLS" indicates Spirit thinks it's a Samsung Silicon Labs driver, likely due to a V4L driver at /dev/radio0 that isn't responding as expected. You might have somewhat better luck setting Debug-> FM Chip to "QC V4L (HTC)" or perhaps "TI (HTC/LG/SE)" and restarting.

But then the next challenge would be audio.
[Spirit FM] mikereidis:
There are 3 Audio-> Method settings that contain "S2" and should be numbers 4, 5 and 6 in the list. Try each of them.

I would guess that this is related more to the kernel than the ROM, at least for the now most common "Galaxy S2/Note ALSA" method (#6) needed since CM went to open source libraries.

The first 2 methods (#4, 5) will only work when stock Samsung audio libraries are in use.

The code to try and figure out which method to use is very complex, and tested only on the most popular ROMs, such as stock and CM.
[Spirit FM] mikereidis:
I don't understand "phone ringer ran out of loop".

I'm not aware of any ringer problems with Galaxy Ace/Cooper, but I get little feedback from people with these phones.

Having to un-install is quite unusual. I'd be interested to know if the problem will re-start (after being fixed) if Spirit is freshly installed, but never run. If so, it's likely a listener issue, and if not it's likely a strange hardware / firmware issue. Listener seems most likely if an un-install fixes it.

You could try enabling Debug-> Phone State.
[Spirit FM] qashqool:
Thanks for the help, but the problem remained.

I think I explained wrong, what I meant is that the ringtone has, for example, 10 s off duration and is repeated until you answer. After install Spirit, plays only once, even if i unistall it, plays one time only.

To solve I had to flash the rom again, I think it´s because of the superuser permissions I gave, but this is me guessing.

However doesn't matter, I flashed the rom again and the issue is solved ... if I keep this app out off my phone.

Thanks anyway
[Spirit FM] ruelericsapalaran:
I will try this. What do you think can be the entry for the audio?
[Spirit FM] mikereidis:
Nobody has ever sent me a debug log from the LG P940 (device name "p2"), so I have no idea.

Menu-> Test-> Email-> Logs and press Send after 20 seconds.
[Spirit FM] ruelericsapalaran:
Done and sent! :)
[Spirit FM] mikereidis:
It appears to have a Broadcom BCM4330 FM/combo chip, so set Debug-> FM Chip to "BCM 433x/207xx".

Spirit's auto detection gets a bit confused because there is a V4L driver, but it doesn't work. It's intended for TI chips, because the kernel/chipset is TI OMAP.

Because it's a Broadcom FM chip connected to a TI audio chip, FM audio support may be tricky.

But the Audio-> Method setting most likely to work is "Galaxy GT-I9100G". The 9100G also uses OMAP, but with a Silicon Labs FM chip. Hopefully "FM AUX" is always used regardless of chip.

I say "Hopefully", but I can't imagine officially supporting this phone.
[Spirit FM] mikereidis:
Page 600. :)

April 29 test release for, and as posted in an LG P990 / Optimus 2x thread: http://xdaforums.com/showpost.php?p=40866749&postcount=49
[Spirit FM] ruelericsapalaran:
After applying the settings you've provided, I'm not receiving anymore errors. However, I'm not hearing any audio. Is there any additional option that I need to do? :)
[Spirit FM] mikereidis:
Well, if RSSI at top left goes above 20 or so when a wired headset is plugged in and frequency tuned to a strong station, that means the FM chip stuff is working.

Then the "additional option" is to find some way to enable FM audio.

If GT-I9100G didn't work, you can raise volume, listen on wired headset and try every other Audio-> Method setting to see if one works.

If none works, I have no answer.

There are MANY much more popular phones I've never been able to enable FM audio for (actually the most common problem) and I won't even attempt anything for the P940. Even if I enable FM audio on a phone that I don't have myself, there are often many problems with phone calls and audio notifications etc.
[Spirit FM] ruelericsapalaran:
I noticed something. It seems that the error won't appear after a reboot. However, if you just installed it and applied the settings you indicated, there is still an error: it says "Error: No FM Accessible SU:2 Fm:BC3 Su:1 Bt:0 Ht:0 Mo:BCU Mo:BCU Mo:BCU".

Will this help? :)
[Spirit FM] boggie81:
Hello,

great app, bought it from playstore. I'm using it on GS2 I9100 international with CM 10.1 from a few nights ago (27/04). I have a couple of questions/issues:

1. Is recording possible only in digital mode? I get empty sound files in analogue.

2. Are the following known issues?

- When in digital mode (either auto or GS2) I cannot switch between earphones and external speaker, it just stays on earphones after it tries to switch.

- After using digital mode, external speaker and microphone don't work anymore. Tried switching back to analogue, plugging earphones in and out, but only a reboot fixes it.

LE. It seems that if I don't try to switch between earphone and external speaker, while in digital mode, only the microphone is affected. External speaker works fine...

Thanks
[Spirit FM] mikereidis:
Sorry, but thanks for your report.

The first hcitool command shows that Bluetooth is running and accessible, which is great as a first requirement.

The second two commands have a "01" at the end of their output which indicates the phone likely does not have a Broadcom or TI FM chip.

I did some quick googling and couldn't find anything definitive as to what FM chip the ZTE Racer has. The ZTE blade has, I think, an SI4709 (w/ RDS) or possibly a SI4708.

I'm hoping to be able to support the SI470x chips and will look into the issues. This chip is supported by the FM TwoO app and associated library I could link to. (But source code and specs are available though.)

AFAIK though, FM TwoO only works on Samsung Galaxy S. It doesn't work on similar Google/HTC Nexus S. Regardless, give FM TwoO in the market a try. An "adb logcat" and perhaps "dmesg" might give some useful info.

FM TwoO seems to rely on a "/dev/fmradio" device. Could you run this and report ?:

adb shell "ls -l /dev | grep -i fm"

I found some references to ChiperTest.apk which might be able to detect various chips. Apparently the dial code "*983*24474636#" might run "CHIPINFO Chiper Test (chip info) [Note: requires ChiperTest.apk in /system/app]".

I also found this for ZTE Blade I think: http://andorko.hu/android/ It appears to be an FM app with RDS, but relies on some modified kernel for RDS.

I'm hoping to eventually release a test app which might be able to identify chips and if the phone can be supported.
[Spirit FM] mikereidis:
OK. :)

What do you mean by the icons ? Do you think the button images etc on my app are not fancy enough ? If so I'd be interested in pointers to apps that have buttons etc. that you like.

The CM FM app does IMO have a variety of problems. Regardless I owe a debt of gratitude to the MIUI and CM devs who have provided a platform, and a "reference" FM app that has made my work much easier.
[Spirit FM] 0kti:
Not working on ZTE Blade
[Spirit FM] mcampbellsmith:
If I get a notification of some kind (new email for example) when listening to FM I find that FM audio does not resume after the notification.

I have Oxygen	Rom on HTC Desire.
[Spirit FM] Victorino86:
Gonna try this! Just waiting 'cuz the battery just died :p

I was wondering if is possible to have 50Hz steps.. 'cause there are some stations that are like on 89.75 for example.

Or it's an unsolvable problem? ;)
[Spirit FM] jopa1001:
Hi,

Tried this on HTC tattoo (click)running CM7 and it works good. I think at this point it is more functional than radio app on CM 7.

I've noticed to things however:

- first after I used the app and close it via inbuilt OFF button it doesn't turn the Bluetooth OFF;

- After I run the app and then close it i've noticed that from the phones speaker a constant almost unaudible static noise comes out, its noticable at night when I'm sleeping, even if I terminate the app... I've to reboot the phone to end this..

- After reebot the app loses the stored stations...

Of these the most annoying is the 2nd one...

great job never the less..

Also you're been requested people about what style they would like for the buttons.. etc..

I love the button style of this app

(especially the one to choose time and date)

If you could use something of that style to change radio frequency but with horizontal scroll it would look great. Also I also love the color scheme of it... Just my two cents..
[Spirit FM] dancer_69:
I'm using spirit radio on Tattoo with CM7 rom too.

I can confirm that bluetooth doesn't turn off after exit the app.

I don't hear any sound when I deactivate the app though

And yes, all stored stations disappear after reboot

I have one more issue which is annoying too. Scanning doesn't find any station the most of the times I'm trying to use it. Seems to work only if I've first find and tuned to a station, and stop working if from a tuned station I use the arrow button to move a step fwd or bwd. To work again needed to go to a station manually first
[Spirit FM] mikereidis:
v2.0.6 is published: https://market.android.com/details?id=com.mikersmicros.fm

Thanks to everyone for your ratings and comments on the Market site. If you like my app, please consider adding a rating and/or comment there.

If you DON'T, please post here or PM me and I will see what I can do... (Sorry if this makes me sound like a salesman, LOL.)

What's in this version:

1. Fixed loading of presets.

2. Fixed Broadcom seek.

3. Optimize loading and saving of preferences and presets.

4. Fixed frequency up/down handling to reflect regional constraints.

5. Added ability to set frequency in 1 KHz increments on Broadcom chips using eg: 88101 for 88.101 MHz.

6. Preliminary work done to support RDS data on Broadcom. (Yay ! :)
[Spirit FM] mikereidis:
This works; 50 KHz steps on TI chips and 1 KHz steps on Broadcom chips. Tap on the frequency and enter manually instead of using the arrows.

For my local NTSC channel 6 audio I enter "87.75" or "8775" or "87750". On TI chips the next step is "87.8". On Broadcom "87.751".

Update to v2.0.6 for the latest frequency support.
[Spirit FM] mikereidis:
Thanks for your report. I expected that because the Blade has a Silicon Labs FM chip.

I've had enough reports about that chip I think I should try to support it ASAP. The FM TwoO app MIGHT work, but I doubt it. There's a list of phones at the bottom here but I don't see any ZTE models: http://mmbtools.crc.ca/content/view/54/79/

AFAICT this chip is mostly limited to ZTE and Samsung phones. I may buy a Samsung phone to try this out.
[Spirit FM] mikereidis:
Well I'm glad to hear of success on at least one plain Desire.

I'll look into this issue ASAP. I think it should be worked around by re-plugging the headset, switching between headset and speaker, or using the app power button.
[Spirit FM] mikereidis:
1- Great !

2- Yes, Bluetooth remains on. The CM FM app offers some bluetooth off options that I will add.

3- Yes, I'll fix the low audio noise problem after turn off.

4- v2.0.5 introduced an unfortunate bug that prevented loading presets. I think v2.0.6 fixes that and hopefully your presets are all still there. I'm not POSITIVE about the fix yet though; I'll test.

5- Yes, v1 of my app had some nice graphic features, as does the MIUI and CM apps. The completely redesigned (GUI at least) v2 app doesn't have those features yet as I've been concentrating on bugs, functionality and phone support.

But I'll get to upgrading the GUI asap.
[Spirit FM] mikereidis:
OK, I'll look into this. Thanks !
[Spirit FM] Victorino86:
Sweet, just saw it before opening the topic, Thank You very much!

Gonna give 5* ;)

ah, btw: Desire Z with cm7 65 nightly
[Spirit FM] MonacoHias:
Thanks, working great on Desire with Oxygen 2.1.1 ROM. Maybe in future release you could add a white skin for better visibility in bright sunlight.

Rated 5 stars in market (Germany, first rate there :)
[Spirit FM] ADSLgratuit:
Hello,

I've HTC DESIRE with Cyanogen 7

Radio FM, is working well, but no RDS.

Will you develop RDS for HTC DESIRE ?

Thank You

Bernard, France
[Spirit FM] Victorino86:
Uhm... found a bug (maybe already noted): after i close the spirit radio app i can't control the ringtone with the volume buttons, keeps controlling apps' volume and i have to start the "default" FM that comes with the rom and close it to regain control over the ringtone's volume (or reboot :p )
[Spirit FM] mikereidis:
>Maybe in future release you could add a white skin for better visibility in bright sunlight.

Sounds like a good idea.

>Will you develop RDS for HTC DESIRE ?

Work is underway. Maybe in a few days if I can ignore a few small bugs for now.

>after i close the spirit radio app i can't control the ringtone with the volume buttons, keeps controlling apps' volume

No I haven't noticed that. I think it shouldn't be too hard to fix. Another workaround is Android Settings -> Sound -> Volume -> Ringtone.
[Spirit FM] mikereidis:
I am unable to reproduce this problem on Desire HD with CM. If anyone else has seen this, please let me know. I've only tried with the Alarm Clock function though.

Generally speaking, the FM audio path can run simultaneously with other sound sources. For example, if listening to FM and then start a streaming app, the 2 audio sources will be mixed.

I note that there are some differences between my Desire HD and my Legend when FM is playing (both on CM7):

- On the DHD setting the volume controls in the system settings stops the FM audio until you leave that screen, but it doesn't play the test sounds you normally get when adjusting volume.

- On the Legend, doing the same results in a mix of the FM and the test sounds.

Is Oxygen derived from CM ? There might be some work-arounds I can code, but they have a risk of breaking other things or phones. Unfortunately these audio routing issues can be a pain.
[Spirit FM] mikereidis:
On my TI device, the Legend, I haven't seen any scanning problems lately. Does anyone else see this on Legend or Click/Tattoo or other TI based phone ?

Which regional band are you using ? Perhaps this is specific to non-North American settings and I mostly test for North America.

Are your stations reasonably strong ? 2 of the 4 bars of strength should be sufficient I think, and definitely 3 bars.

I HAVE done some frequency related updates recently so please try the latest when I upload it.
[Spirit FM] Ivanovic:
It works fine on Desire and MIUI 1.6.24
[Spirit FM] Spyr0s:
I have a Desire HD, sorry Finn didn't mention it
[Spirit FM] mikereidis:
>It works fine on Desire and MIUI 1.6.24

Did you try it, or try it in the past and it didn't work ?

I had an HTC Desire HD in the past and it worked fine on CM7.

Some previous MIUI releases included an FM app and/or were based on CM and I think those should work.

The biggest potential for problems is that FM analog audio enabling and switching are not compatible with the CM method or just aren't implemented. So you'll get signal and RDS data and seek may work, but no audio.

The latest release of the app (linked a few pages back) supports configuring one of a variety of Audio Methods. I think the DHD has /dev/msm_audio_dev_ctrl and I'm working now on support for that; should be ready soon. As a test tool there is a utility "ensnd" that can work and that's linked a few pages back too.

I'm also working on some ALSA support.

So I think the answer is yes, now or in very near future.