yashsingh1/xdaforums huggingface dataset:
[Spirit FM] Nitemare_real:
I'm afraid I have to report and old (solved) bug that is back...

After 3 days testing, I can confirm that bug that muted speaker for the second incoming/outgoing phone call after switching off Spirit FM Radio is back.

I'm using latest Spirit FM unlocked version on my I9000 with Galaxy S ICS/Alsa driver.

I'm not sure when this bug came again, maybe since this week or last week, but not sure at all.
[Spirit FM] groksteady:
Hey -- I'm a bit late in replies lately. Thanks for the email and the reply here; as an afterthought I posted basically for other users to see, too.

This might be what pushes me off Podax, which is a great FOSS app but does have other problems with downloading/managing. I'm looking for another podcast app, and about to try Doggcatcher to see how that works with background updates. I do rely on podcasts and FM radio more than playing music files.

In other things, April 24b is working great here on i9000 with AOKP build 34 -- cheers.
[Spirit FM] KiDxNinja:
I was excited to try this on my evo shift running zen's cm9 ics. Seeing as how the fm appon cm7 worked on my shift I figured this would work as well. I played with the various setting a bit. Unfortunately, not only did it not work, it also messed up the audio volume of my headphones. My speakers sound is fine, but no matter what Ido, or what audio I try and play while my headphones are plugged in, I can barely hear anything. Literally to the point where using headphones is pointless. I've wiped everything with no change, flashed different roms, and tried it with all of the audio settings in the app I possibly could without change. Seeing as how music is my life, this is killing me . Some help would be grrreeeeeeaaaaat
[Spirit FM] MGUkrMaks:
I've tried to install it (i9001 CyanogenMod 9), but it didn't work, maybe because of ROM, it's still in the early beta ...
[Spirit FM] goodoane:
What kernel do you use?.. Try glitch and report back.

Sent from my Transformer TF101
[Spirit FM] mikereidis:
I'm aware of this issue. The sound comes back for a few seconds then goes away, right ?

I'm trying to keep the code simple for now, hoping that the speaker damage reports stop. So far, so good, maybe about 10 days since last report, and I was previously getting one every 5-7 days or so.

Setting Audio->Method to "Galaxy S old/danger" will likely work better, but it's been "proven" dangerous to speakers, assuming that the 2 reports I had a month or so ago were genuine.

For now, take your pick, possibly more risk and automatic resuming, or hopefully less speaker risk and having to manually Mute/Unmute after a phone call or notification.

For the sake of Galaxy S speakers, I really think it's good to keep this "experiment" going a bit longer in hopes it proves itself as less risky.

But I'll see about a workaround soon, after I deal with some other very pressing issues.
[Spirit FM] mikereidis:
As in the post above setting Audio->Method to "Galaxy S old/danger" will likely work better, but it's been "proven" dangerous to speakers. You can try that, and perhaps the glitch kernel idea posted by goodoane.
[Spirit FM] Nitemare_real:
Ok, I think I'll try glitch kernel before switching audio method...
[Spirit FM] mikereidis:
Hi,

Did you set Menu->Settings->Audio->Method to "qdsp5v2 Plus/ICS" ? Or perhaps HTC ?

If you send me a debug log I can answer better. Use Menu->Test->Email->Logs and after a few seconds. enter "Evo Shift" in the email text and press Send.

Thanks.
[Spirit FM] mikereidis:
There are different audio methods you can try via Menu->Settings->Audio->Method.

Try:

Galaxy S2/Note

Galaxy S ICS/ALSA

Galaxy S old/danger

Galaxy i9003 danger

Samsung SL

Samsung BC

Hopefully one will work.

If you send me a debug log I can answer better. Use Menu->Test->Email->Logs and after a few seconds. enter "i9001" in the email text and press Send.

Thanks.

Mike.
[Spirit FM] mikereidis:
LOL. I'd be very happy of course if the US mandated radio chips in phones.

But every other attempt by the NAB National Association of Broadcasters has failed, so I don't see it happening.

http://www.radiorocksmyphone.com/ says:

Linked from: http://www.radiosurvivor.com/2012/04/26/hd-radio-smartphone-prototype-lands-with-a-thud/

I commented:

I’m the developer of “Spirit FM Radio”, the only commercial FM Radio app for Android and the only one supporting multiple chips, phones, FM APIs and “ROMs”.

I regularly speak with people who are disappointed to find that the FM/combination chips already in their phones are “crippled” with no connections for antenna and audio.

Some are disappointed they didn’t consider free, data plan conserving, over the air FM radio capability when buying their phone.

And yet many would not give up their favourite phone for an FM capable model. They just hope that I or someone can find a hack or magic trick to make it work.

I’m happy to discuss anything smartphone and OTA radio related on my XDA thread at http://xdaforums.com/showthread.php?p=25377121
[Spirit FM] KiDxNinja:
With qdsp5v2 plus/ICS the app works. But for some reason, it seems as though anything that I put in my headphone jack is too low to hear. Louder songs/sounds are very feint. I've tried multiple headphones as well. Here is the log incase it helps anyone help me.

UL Debug Log version Apr24 Fm:BC Su:1 Bt:0 Ht:0 Mo:BCH UA Hv:4 Ma:15 BC SU: 2 pmo: HTC Speedy pbr: HTC pd: speedy pbo: speedy pv: hw: speedy pn: htc_speedy bp: msm7x30 mv: RFK: -1 END
[Spirit FM] dagansandler:
Not gonna do that. As I said, this is something I wish I knew before, but I still believe you're doing an amazing job, and as a SW developer, I believe you deserve that money.

Now to the matter itself - I read somewhere you wrote that CM9 might not have the option to reroute the audio from speaker to earpiece when the earphones are plugged in, yet when I plug them in and use them for making calls, I can easily switch between speaker and earphone, so there should be a SW solution.

Keep on the good work!
[Spirit FM] mikereidis:
That's not NECESSARILY true.

On most phones FM travels a different route than other audio, often being injected late into the chain. That's why FM is usually unable to be recorded or processed by the DSP for VU meters or equalizers etc.

But in this particular case, unplugging the headphones makes audio come from the speaker. And in previous releases, before I forced "Silent Loop", unwanted speaker output was possible.

So there likely is some way to force speaker output without unplugging the earphone (or unplugging it half way for good antenna). BTW, did you catch that "trick" for speaker output ?

I think it might be possible if we fool the system into thinking the headset is unplugged. There is a "broadcast Intent" that I can try for this.
[Spirit FM] doc3000:
Your beta works fine on Huawei U8860 Honor with qdsp5v2 Analog method.

Thank you.
[Spirit FM] mikereidis:
Please post here, instead of PM'ing. I can't keep track of PMs and it's better for everyone to keep these issues public.

Galaxy S Plus GT-i9001 was working previously on GingerBread. I'm not positive but I'd think that was using one of the many Samsung or Galaxy named audio methods.

If no other audio method works, I can make the same changes to "qdsp5v2 Altern" that I made to change regular "qdsp5v2" into "qdsp5v2 Plus/ICS". It seems pretty silly that somebody, somewhere just changed "fmradio_headset_rx" to "headset_fmradio_rx" and the same for speaker.

You can also try enabling these, then restarting the app:

Debug->Power Aud Foc Off

Debug->Unmute Aud Foc Off

If you weren't getting a freeze I'd ask for a debug log. Menu->EMail Logs or on the free version, Menu->Test->EMail->Logs.
[Spirit FM] herzau:
Only works with "qdsp5v2 Altern" method.

I enabled these options and restart app, but it still freezes when receiving a call

email sent with log.
[Spirit FM] tdma:
Would it be possible to test the Play Market app or a beta version on the Pantech Burst (Qualcomm APQ800, Broadcomm BT)? As mentioned in mikereidis' post of May 11, 2011 (several months prior to the release of the Pantech Burst), the device is blocked from viewing or downloading the Spririt FM app on the Google Play Store. Thanks.
[Spirit FM] KiDxNinja:
Just so you know, i was never able to solve the problem. But i flashed a stock RUU and my headphones are back to normal. Idk what the problem was. But now i have to re-root and re-flash my rom. But im excited to see this app improve. Good work, non the less
[Spirit FM] hodbby:
Not working

My celebration was early.

It took me time to realized that this app makes speakers not to work.

I read the other comments are am waiting for a fix.

Cheers
[Spirit FM] mikereidis:
:)

I suspect the fix is good now, using "Galaxy S ICS/ALSA" on the latest April 24b release, but I don't want to celebrate too early now either.

Recently I've been getting one damage report every 5-7 days, but now I've gone at least 12 days since the last.

The similar named "Galaxy S old/danger" mode (note the danger word) is the most user friendly, with phone calls and notifications, and was at one point I thought the solution, but I had 2 reports after it was last touched.

With the newer, hopefully safer "Galaxy S ICS/ALSA" mode, there are still some issues, like no speaker mode at startup, and needing to manually mute/unmute after a phone call.

It may seem like too much info, but I'm just trying to provide the best info I have, and the best testing plan I can come up with, and let everyone make their own decisions.

Every one of us running CM9 or some other custom ICS ROM is in a big beta test, and somethings take a while to figure out, for me, the ROM devs, or even the manufacturers with so much more resources.

If someone could make an ICS ROM that supported the Samsung or other OEM FM app, as is possible for the Galaxy S2/Note and HTC Desire HD, then my app could use the native API safely. Unfortunately, that's not happening with the Galaxy S, AFAIK. (I think. It's late for me.)
[Spirit FM] mikereidis:
Right at the top of post 1 is this link for the free version: http://www.mediafire.com/?v369y5839c7dgoz

The free version is sufficient for pretty much all basic function testing, other than RDS.

Post 2, my compatibility list was originally posted about a year ago, but I regularly update it as "last edited" at it's bottom shows.

If a device in my list of "almost unheard of phones and OEMs". proves to work well, I can enable it on Play. For now I'm just assuming they won't work until proven otherwise.

The annoying thing is that new devices appear in Google's list regularly, and they're enabled by default, until I go through, identify, and sometimes have to spend time trying to figure out if they're even FM capable or not.
[Spirit FM] artlov:
I recently installed CM9 4.0.4 ICS on my HTC Gratia/Aria and because in this ROM no FM application included, i decided to try a free version of FM radio from this thread.

But it doesn't works and i get strange error window:

http://www.pictureshack.ru/view_4803_Screenshot_2012-04-27-15-38-39.png

Is it possible somewhat to get app to work?
[Spirit FM] gargamelron:
Not working

Not working on my galaxy Note

i have [ROM][ICS][04/26][PRE.AOKP.B35] ICS StuNNeR - 1.4.26.1

anyone can help?

---------- Post added at 02:21 AM ---------- Previous post was at 02:20 AM ----------

that is excatly i face
[Spirit FM] loplo:
mikereidis, is there a way to implement the airband? I mean the spectrum between 118 and 136.975 MHz?

Thanks!
[Spirit FM] HSishi:
The software - any software - is not able to compensate hardware limitations. If the receiver hardware is not designed to operate for these frequencies, software can't do anything.

I don't know which frequencies are available for use in your country, loplo, but German FM stations are packed between 87.5 and 108.0 MHz. Not all possible frequencies are in use in every location because of intererences and range issues.

Even cable broadcasting has to be within these limits.

So receiver devices are designed to operate within these limits. You can adjust them a bit (because of components tolerances) but not that much.

//HSishi
[Spirit FM] loplo:
HSishi I completely understand what you're saying. Yes 87.5 - 108.0 is the most used spectrum for FM radio.

I'm still hoping that there's a way, maybe there's no hardware limitation, and this can be done.

A lots of airplane spotters are using smartphones for aircraft tracking while waiting for them at the airport fence to take a good shot. These spotters would really appreciate if such a feature would be available on Andriod.

I've seen a few guys, here on XDA, asking about this feature.
[Spirit FM] HSishi:
As far as I know, in Germany it's forbidden to sell devices which are capable to receive non-public signals. So chances are good the hardware is not designed to receive such airplane communications.

But I'm sure there are manuals to make your very own receiver ... don't blame me if O'm not going to search them for you :) .

Sure, there are imported devics which CAN catch these signals, but if you're being caught using such devices you can say "Bye bye" to them. Same deal as it is for Radar warning devices - forbidden to operate or even sell them in Germany so every offer of this "Radar Warner's" comes from oversea islands and it's a pain to get yourself off these advertising lists (email, fax etc.).

But we get off-topic ...

//HSishi
[Spirit FM] loplo:
HSishi, right, I don't want to go pretty much offtopic. Yes my phone is from Germany, but that does not mean that it has other radio hardware then the ones from HU, NL, RO, etc where it is fully allowed to listen to these frequencies.

Btw, check Conrad and you'll find a lot of scanners at their shops. Selling these kind of products is legal in Germany.

I'm still waiting for mikereidis's answer.
[Spirit FM] mikereidis:
The HTC Gratia/Aria (Liberty) seems to support FM, and is in my compatible list, so there must be some way to get it working.

Can you please send me a debug log with Menu->Test->Email->Logs ? After a few seconds. enter "Gratia" in the email text and press Send.
[Spirit FM] mikereidis:
Do you have an International Note that supports FM ? The US and Canadian versions do not.

I've tried Stunner and it works on my Note. Some kernels, like Semaphore, have an app that requires you to enable the "Radio FM (si4709) module".

Can you please send me a debug log with Menu->Test->Email->Logs ? After a few seconds. enter "Note" in the email text and press Send.
[Spirit FM] mikereidis:
I'm afraid not, at least on the Broadcom, TI, and Silicon Labs FM chips I've tried this on. I've also tried 65 - 76 MHz on Broadcom chips because their frequency registers seem to support it, but with no luck.

Perhaps there is some hardware down-converter that can down shift aircraft band to FM ? I'm looking to create a "scanner" function, BTW, so adding bands would be nice.

On the chip, in theory, there is hope. I hate to say this because, like theoretical record capability on Galaxy S, if I say it then someone will likely hound me for the next year asking for it.

But in theory, if you understood the guts of these chips, some of them may be capable of "interesting things" if the firmware is sufficiently modified. The manufacturers allow this theoretical capability so they might be able to make useful future changes in firmware alone.

The same tends to be true for Bluetooth and WiFi too, that is also carried on the same TI and Broadcom combination chips.

I will NOT be exploring these theoretical capabilities, but someone with sufficient motivation and time could.

As for legality, my knowledge is decades old now, but in the US and Canada at least there has historically been the general idea that if something is transmitted over the public air waves, then the public has a right to "observe" it and learn whatever is to be learned.

But, OTOH, one is not allowed to "profit" from that knowledge unless it's intended to be a public broadcast. For example, profiting from inside stock information learned via an old fashioned car phone transmission. But yet, news reporters were never prevented from "profit" by being able to chase fires and other emergencies.

But I'm sure the laws are different country to country and things may have changed over the last few decades.
[Spirit FM] loplo:
Thanks for your answer mikereidis.
[Spirit FM] artlov:
Sent. Even 2 mails :)

Thanks in advance.
[Spirit FM] djsolidsnake86:
ERrror No FM accesible

SU:2 Fm:DB Su:1 Bt:1 Ht:1 Mo:BCU

i have this error on hd2 and miui v4 (ics)

what do?

i sent you the log, let me know please
[Spirit FM] djsolidsnake86:
anyone know if spirit fm work with miui and ics on hd2?
[Spirit FM] sjod8998:
Finally , yes !!!

Well, well, well. i updated this morning to new version across Play Store...and finally the new method Galaxy S/safer? is so...safer!! Works perfectly and my phone's sound do not be affected. YES ! I love very , very much this app, whith Titanium Backup and Root Explorer it's a TOTAL MUST HAVE.

Sorry for my english, right ? ;) , and good work for the dev, so far the best investment I've made in months for my phone
[Spirit FM] HufflepuffBR:
Using FM Spirit on LG Optimus Hub with CM7...

Radio works, but volume is very low, way lower than stock ROM radio

Any tips?
[Spirit FM] mikereidis:
Last I heard, the LG Optimus Hub E510 required Audio->Method = "msm7x30 sysfs". Is that what you are using ?

And it was Headset only. Does speaker work or not ?

Is there a CM FM app on this ROM ? On some devices with the CM FM app, like the LG P500, the volume is adjusted "properly", like the stock FM app, with an audio system volume control.

My app generally adjusts volume with the FM chip volume control. That's fine, but in many cases it's better via the system audio control.

I will be exploring this issue better in the weeks to come. For now, you can try the last three options under Menu->Test->Volume. If the 3 "setFmVolume" settings work, then control can be done this way. If not, hopefully I'll be able to create better options soon.
[Spirit FM] gargamelron:
anyone can help, i bought this unlock app. and it does not work on my galaxy note
[Spirit FM] Indha Lezzio:
In Samsung Galaxy R sound does not work properly with any option... any tip please? :)

Tx in advance!!!
[Spirit FM] mikereidis:
It works well on my Note, on a variety of ROMs, including stock.

Please give more information and/or send a debug log.

Use Menu->Email Logs and after a few seconds. enter "Note" in the email text and press send.

Thanks ! :)
[Spirit FM] mikereidis:
The Samsung GT-I9103 Galaxy R is a variant of the Galaxy S2 so you'd think that one of the many Samsung or Galaxy named audio methods would work.

You have an earphone plugged in for an antenna, are tuned, and you've been setting options for Menu->Settings->Audio->Method ?

As always, a debug log is very useful. Use Menu->Test->Email->Logs and after a few seconds. enter "Galaxy R" in the email text and press send.
[Spirit FM] gargamelron:
ive already sent you the e mail, but you not yet reply
[Spirit FM] mikereidis:
Sorry to you and anyone else waiting on a response from me for logs sent.

I've been super busy & have a minor medical issue to deal with, but I'll get to everything as soon as I can.

I'll see if I can get the ICS Stunner ROM for the Note loaded now.

Also happy to report I finally have my Galaxy S2 for testing, but it's still on the stock unrooted ROM for now.
[Spirit FM] gargamelron:
i have the following message

Error: No FM accessible

Su: 2 fm: Bc Su: 1 Bt:1 Ht: 0 Mo: BCU
[Spirit FM] mikereidis:
OK, this is the Galaxy Note with ICS Stunner ROM 1.4.26.1.

1.4.19 was OK with no particular problems, other than the known speaker issue.

On 1.4.26.1 the Samsung FM driver is not loaded by default. Some kernels like Glitch (?) have an app that can be used to enable the FM driver to load.

As far as I can see, there's no such app on 1.4.26.1. It might be hidden in the settings somewhere.

From a terminal app or adb shell with SU/root you can run this command to load the driver:

insmod /system/lib/modules/Si4709_driver.ko

If you reboot you have to run the command again. I'll strongly consider adding this command to the next release; it should be benign on other ROMs I think.

A minor issue is that you have to manually set Menu->Settings->Audio->Method to "Galaxy S2/Note" because the ROM uses a non-standard ro.product.device setting. I've added it for next release.

I've posted about these issues on the ICS Stunner thread: http://xdaforums.com/showpost.php?p=25531150&postcount=8079
[Spirit FM] alissoncg:
XPERIA X8

Hi, I've installed this app in my xperia x8, and despite the info in 1st page, worked for me with "Sony Ericsson2" audio method.

Thank you for this awesome app!

Best regards from Brazil

Alisson
[Spirit FM] mikereidis:
Great ! :)

I made some changes recently that I hoped would result in a positive report. :D

You're the first, besides the X10 mini that was working a year ago...

Now I REALLY would like to see a debug log and find out what ROM you're running, and if stock rooted or un-rooted.

Can you please send one with Menu->Test->Email->Logs ? After a few seconds. enter "x8" in the email text and press Send.

Thanks !
[Spirit FM] alissoncg:
Done!

I'm running PrimeHD Rom 6.0 with some mods by me (basically build.prop and something) on nAa v11 Kernel, rooted of course ;-)

Let me know if you want more info.

Thanks again!

Alisson
[Spirit FM] gargamelron:
no luck
[Spirit FM] njitram2000:
Hey Mike, just a quick thought. You're able to get the sound through the speakers when the headphones are unplugged. I assume this is done with something of the sort:

if(headphoneIsPluggedIn())

sound through headphones;

else

sound through the speakers;

Is it not possible to send the sound to the speakers without the headphones being unplugged? The SGS2 needs the antenna to pick up the signal so without it it's useless.
[Spirit FM] alissoncg:
In my X8 the sound goes to speakers even with no headphones. Yeah, it's almost useless because of antenna stuff, but with strong stations I can hear the audio. I was wondering if any app could do that! This is great!:D
[Spirit FM] mikereidis:
The "trick" is to leave the headphones only partly plugged. Plug it all the way, then pull it back about 3 mm or 1/8".

This works on my Note and SGS2, and it seems stable enough when the phone isn't moving, which is usually the case when on speaker.

Yes, there must be code similar to what you wrote, but it's in the audio libraries and not in my app. But I'll try sending the system "Intent" to see if I can fool it that the earphones are unplugged.
[Spirit FM] mikereidis:
Pretty much every stock FM app, and the CM and MIUI ones, insist on earphones plugged in, even when using a speaker mode.

I presume this is at least partly because there are millions of people who will never read a manual and don't know the earphone is an antenna. A little code and adding this restriction means millions of people won't call for support or curse the bad reception on their "stupid" phone.

The comments/reviews for my free app had several bad reviews from people who didn't understand that. That's why I try to flash a warning, although I need better detection code.
[Spirit FM] alissoncg:
I can also plug the headphones and the audio in speaker don't mute. I just test this here!!!! Great!!! :D
[Spirit FM] cba1986:
hey mike.

Which is the difference between these?

Galaxy S ICS/ALSA def/old

Galaxy S new/safer

Galaxy S old danger

Thanks.

When i selected Galaxy S new/safer, without a headphone plugged, i started hearing some "pop" noises from the speaker, even out the app. I have to reboot the phone to stop the noises.
[Spirit FM] mikereidis:
Works on my Note, but you probably need to reboot the phone before running that command:

insmod /system/lib/modules/Si4709_driver.ko

If the driver isn't loaded Spirit tries to use the Broadcom chip, and that messes things up.