yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
April 24b Free: http://www.mediafire.com/?v369y5839c7dgoz

Also on Play Store, and likely on your favourite pirate sites before long.

- April 24 B fixes issues on stock Galaxy S2 & Note present since April 20. Effectively the same as enabling Debug->Power Aud Foc Off and Debug->Unmute Foc Off, but also automatically sets audio method.

This is an quick, important bug fix update of the April 24 release earlier today.

Now I have to stop making big changes that will break some phones for a while. It gets harder every week to fix some devices without breaking others. But it's also important for me to take the time to test all my devices, in as many different modes, and on as many different ROMs as I can.
[Spirit FM] lrbpereira:
That´s the only thing missing 4 now... With the headset in listen so the radio via speaker...

Is it possibile on the notification bar to apear the RDS name instead of the frequency when avaible?

PS: thanks 4 changing the notifiation bar icon ;) very nice right now ;)
[Spirit FM] mikereidis:
Anything is possible. Like live RDS info on the lockscreen... :)

Yeah, the original code was ancient and seemed to imply a small graphic was needed. Maybe on Android 2.1 or 2.2, I don't know.

But I just re-used the app icons and they get nicely automatically resized on GB and ICS both.

Weird thing though is that the notification screen insists on pointing the Unlocked antenna left, despite using the Unlocked icon w/ antenna pointing right. But the Status bar icon at top points the specified way, and the same "variable" applies for both.
[Spirit FM] ssauger:
Mike i am on CM9 with SGS2. What Settings i have to make that speaker works with headset pluged in? Didnt get it working. Has tried last free version. Thanks in advance
[Spirit FM] manbearpig86:
Same question. I was able to listen through the speaker when headset was partly plugged in.. Is it possible to listen through speaker while headset is fully plugged in? What about listening without plugging the headset at all..

I am on CM9 SGS2 and have bought the unlocked version.. Gr8 app btw :)
[Spirit FM] sjod8998:
Hi, with the new version the ALSA method works correctly. Galaxy S ROM Slim 3.4, kernel semaphore 1.0.0s. I really , really love this app :p
[Spirit FM] mikereidis:
Thanks ! :D

The only speaker method at present is to pull the earphone/headset plug out of the jack. I will try to find a software method but don't have one at present.

Spirit always works with the headset unplugged, EXCEPT when using the Samsung OEM FM API for Silicon Labs chips. IE, Galaxy S, S2, S3, Note, Player, Y (?) etc. On non stock ROMs like CM9, only the low level mode can be used, which doesn't have this limitation.

You can get better reception with the headset unplugged by holding your finger over the headset jack. Or you can leave the headset plugged in just enough to maintain contact as an antenna. Plug it in slowly a few times and you can get a feel for how far is enough (good signal) and how far is too far much (switches back to headphone.)
[Spirit FM] naboleo:
@mikereidis : Installed on my note, and it's working good but are you planing to add translation for your app ?
[Spirit FM] mikereidis:
Yes. But....

Are you aware Google said they wouldn't do FM due to lack of manpower ?

I'm one person without a huge corporation backing me up, and without all the secret documents from the chip and phone OEMs.

So unfortunately there are TONS of technical issues that really need to be solved. And reverse engineering is HARD, HARD, hard and VERY time consuming. And I work 80+ hour weeks as it is.

So translations are continuing to take a back seat for now.

And I know I have a bunch of volunteers ready to help. But it STILL requires lots from me. I've had a Greek translation in there from the beginning almost (1st page) and every week/month that translation gets worse due to various reasons, and I don't have the time to deal with it.

:D
[Spirit FM] naboleo:
I do understand. By the way, have a look at tools like http://crowdin.net/ for collaborative work. It will probably save you some time when you'll start translating the app.

Good luck
[Spirit FM] mikereidis:
Okay, thanks.

One of the problems is that it's not a one time thing. It's ongoing, every time I change a message etc.
[Spirit FM] Nitemare_real:
Hi, since some weeks ago, I can't see Free version on Play Store... (I purchased the unlocked version, but some of my friends use your free version).

What may be happening?
[Spirit FM] mikereidis:
Free version mediafire links are at the top of post 1 of this thread.

I decided to "unpublish" it from the Play Store for various reasons.

It may be re-published with a different package name at some point.
[Spirit FM] mikereidis:
Nice email from the UK:

Hi, I'm happy to hear that and thanks for your purchase ! :)

Most emails are about problems. I'm happy to fix problems, but it's refreshing to get a "no problem" email.

One person asked for a Sleep function, and it was easy enough to add, and seemed useful.

Most of my work is fixing problems and supporting new devices, but I try to improve the user interface and add features too.

I concentrate on features most often requested, so if there's any features you'd like to see, I'll add them to my mental votes tally.

Regards,

Mike.
[Spirit FM] DiRKiNg:
I get this message error with a Motorola RAZR XT910 European GSM device

Error: No FM accesible

SU: 1 Fm:TI Su:0 Bt:3 Ht:0 Mo:TIU

:(
[Spirit FM] mikereidis:
And that's all we'll get I'm afraid.

From post 2: http://xdaforums.com/showpost.php?p=13380058&postcount=2

These devices will likely never be able to support FM with Spirit or any FM app:

...

- Motorola Motorola Droid Razr XT910 & Razr Maxx.

...
[Spirit FM] DiRKiNg:
Texas Instruments WL1285C chip is fm radio capable...

Is firmware error then?
[Spirit FM] mfenetre:
Ah, that's a good question. A few months ago, I looked for a decent wired headset, with a mic, a remote and volume controls (digital, not analog). For iPhone you have like tons of possible choice. For Android, you have... nothing.

There are a few headsets with analog volume control, but I've had bad experiences with them (in the end, I think the analog volume control is a weakness point in the cable and all my headsets ended up with at least one ear not working....)

It seems that there is no real standard for volume control buttons on headsets. So for iPhone it's easy, there is only one model... I tried the iPhone headset with my Galaxy S2, no luck, the buttons are not recognized...

In the end I bought a pair of Marshall Majors (for various reasons): http://www.marshallheadphones.com/product/major There is a 'FX' version with volume control buttons designed for iPhone but on my SGS2 I guess it would have been useless.

However now I use this fine app: Headset Droid https://play.google.com/store/apps/details?id=tvk.headvol&hl=fr It basicallys allows you to customize what you can do with a single-button remote. So for example, 'clic and hold' allows me to increase volume, so that's great ;) (but not as great as having a separate dedicated button).

I really hope that some kind of 'made for Android' label will appear for headsets with remote to enhance their capabilities, but for the moment, I live with my 'workaround' solution.

Anyway, thanks for your answer on volume control, as I feared it seems to be quite complicated to do.
[Spirit FM] sjod8998:
Sorry, but again, the ALSA method does not work today . I do not like the sound of my speakers when this error occurs :( . Definitely I prefer the method OLD / Danger, which has never given me problems. Samsung Galaxy S ROM ICS Slim 3.4 with semaphore Kernel 1.0.0s
[Spirit FM] mikereidis:
Yes, I hate those strange noises too.

I keep hoping they will lead to speaker damage, on my test phone, but they never do, although I do tend to hit buttons or restart the app until the noise goes away.

The new method is the best I have right now to try and see if it solves the damage issue. It's been over 1 week since the last damage report.

But everyone is free to use the old method, although it seems to have been proven risky.
[Spirit FM] mikereidis:
No, it's a circuit board issue.

You need a chip AND the appropriate connections to the pins for FM power, FM antenna and FM audio.

This phone, like perhaps 30-50% of the phones out there, has an FM capable chip but was designed so that FM would not work.
[Spirit FM] mikereidis:
But... that app can't help with FM or my app in this case right ?

iPhone is specific hardware (plus iOS) that sells more than possibly any specific Android phone. Android is on over a thousand phones and other devices from dozens of manufactures.

So iPhone is much more appealing to after market manufacturers as a single target (or set of targets for the different models).

That said, earphones for HTC devices tend to work on just about all recent HTC devices I think. The main difference between different earphones/OEMs is how the media buttons are wired.

But yeah, the standard for earphones/headsets is digital volume control, on the device itself.
[Spirit FM] mikereidis:
PM:

Please post in this thread. You should be OK now to post here even with less than 10 posts, especially if your XDA account is old.

If it's private, please email. I can't keep track of PMs.

Was this a recent change ? If so, then enable Debug->Power Aud Foc Off and Debug->Unmute Aud Foc Off and restart the app.

Another possible solution is to enable Debug->Silent Loop and restart the app.

Yes, logs are always useful. Make the problem happen, then use Menu->Email Logs. After a few seconds put some identifying info in the email text and press Send.

Thanks... :)
[Spirit FM] hodbby:
Galaxy I-9000 With ICS- Review

Until recently i used CM7 with my Samsung Galaxy S GT I-9000

CM7 has Radio FM built-in and works fine.

Recently I moved to Infinitum Rom which is ICS (4.0.3) for my Galaxy.

Infinitum doesn't have Radio.

I was looking all over but didn't find one app until now.

This APP works fine with this parameter- Audio = GalaxyS ALSA/ICS

So i decide to register into this site just to say thank you and share my knowledge.
[Spirit FM] mikereidis:
:)

Great ! I guess I have more work to do to make people aware of Spirit FM.

There is also an Unlocked version: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

And a Light version: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_li

Both of these have more features and their purchases are the only income I have. I work 80+ hour weeks and hope to indefinitely add more features and support as many devices as I can.
[Spirit FM] evgenln:
I have one phone, I just bought a light at first, and then unlocked version.

Debug-> Silent Loop fix issue, but this method consumes a lot of resources.

I solved issue by disabling lock sound at the phone settings. This issue related to recent changes associated with call and notification sound in the latest version.
[Spirit FM] mikereidis:
Yes, I don't like Silent Loop either, but it only takes around 5% CPU in my testing. Still, that's enough to eat up some battery when relatively idle.

Those changes are essential to making the app well behaved as far as giving up audio focus when appropriate.

But enabling Debug->Power Aud Foc Off and Debug->Unmute Aud Foc Off and restarting should disable that feature.

There might be some CM9 bug in the lock screen sound case where audio focus is taken but never returned. If so, I'd think it would affect the music app or other sound apps also.

EDIT: On further thought, you're running the qdsp5v2 method right ? This may happen because the audio library doesn't know FM is playing. Silent Loop works around that because something IS playing, although silently.

Another case where proper support has to be in the audio library. If this can somehow be detected, then a workaround hack could restart audio. But adding hacks to hacks is even hack-ier.

You can send me a log with Debug->EMail Logs after creating the problem and I can see.
[Spirit FM] dboechat:
After some weeks experimenting the free version of Spirit FM Radio, I decided to buy the unlimited version today :)

The only thing that's bothering me now is that the app FCs when I rotate the phone... :( Anyone having the same problem?
[Spirit FM] dboechat:
Weird, the problem occurred when the orientation was set to Portrait... I've selected Automatic and the problem is gone! :D
[Spirit FM] dagansandler:
Well, this is something I wish I knew before I purchased the Unlocked version. The speaker capability was one of the main reasons I actually wanted to upgrade to a paid version. (And since I did, I'm feeling free to make my complaint heard)

Still, I think you are doing an amazing work, and sure this small fault will be somehow resolved soon enough.

If I may suggest - some sort of website with detailed information about the different devices supported and the current bugs will be more helpful than the xda forums. (Although I also realize the maintenance of such a website is some work of its own).
[Spirit FM] CR5N:
Mike,

Just ordered my s2, doesn't feel like an upgrade from my trusty hd2 yet but volunteer to be another test subject for your app :D
[Spirit FM] CraKenDK:
Could you please add the files to this thread. I really want FM Radio on my custom ROM :)
[Spirit FM] mikereidis:
Thanks for your report, AND support ! :)

I've been considering making the default Automatic and this seems like a good excuse.

But it's a bug regardless. and I want to fix it.

Do you get an "Application not responding" first, or does it just FC by itself ?

Which device and ROM ?

Can you make the bug happen, restart the app, and immediately hit Menu and then EMail Logs ? After a few seconds, put FC or something in the email text and press Send.

Rotation is a pain on Android; it restarts the app. It's even trickier to prevent an orientation change, in an app that supports changes.

Thanks !
[Spirit FM] mikereidis:
:)

I hear your complaint. I cancel any order on request.

But I hope you'll take into consideration that I'm just one person, struggling with 80+ hour weeks of very difficult reverse engineering and trying to do a job that big, rich Google claimed they didn't have the manpower to do, even despite their ability to access the hundreds of secret documents I can't get.

And people have been asking for AOSP based ROM FM support for Galaxy S2 & Note as long as they've been in existence and I appear to be the first and only person to get it working so far.

Post 2 of this thread is an extensive compatibility list that also contains some of the problems known and some solutions for various devices and ROMs.

There is no formal bug list. Formal software development procedures go out the window when trying to do the "virtually impossible". The most important and most complained about issues get priority.

When you have just one phone, and one favourite ROM, I think it's easy to lose sight of the fact that I'm trying to support the combination of hundreds of different Android devices and hundreds of different ROM.

Someone, such as a manufacturer dev or a CM ROM dev, has a much easier task developing an app for one phone and one ROM, than I do.
[Spirit FM] mikereidis:
The top of post 1 of this thread has a link to the latest Free version.

If there's something else you're asking for, please clarify.
[Spirit FM] m-p{3}:
I tried FM TwoO, and unfortunately it didn't work on my Nexus S. Looks like it might be much harder than expected to get that one to work.

Thanks for the suggestion though.

Sent from my Nexus S
[Spirit FM] tgcardoso:
Hi there,

Nice app!

Is it possible to add some kind of control using headset button? on SGS?

Thank you,
[Spirit FM] mikereidis:
Great ! Clearly the FM chip is working in both daemon and app UART modes.

Were you trying with headphones plugged in ? That's usually the antenna connection.
[Spirit FM] mikereidis:
Great ! :) Yes the app mutes the audio during a call or ringing and un-mutes it when call is finished. Some people have had trouble with that or when audio notifications play. But it sounds like the call mute is working OK for you.
[Spirit FM] mikereidis:
Hmm, well my 2nd dev phone is p500h so I'm not sure why you get FC with sprtd. If you could send me adb logcat log that captures it happening that would be great. I wonder if there's an app on the market to get logs; I'll look.
[Spirit FM] idkidk:
Hi mikereidis,

All tests is done with headphone plugged in, but i'm not use the original one with microphone, i've used a "simple" earphone.... i'll try with the original one...

Tia

Idk
[Spirit FM] mikereidis:
Thanks, I don't need the log for your audio issue. I started work on the audio solution but have been distracted by bugs in the new modes.

But it appears it's working well now for many people so I can go back to concentrating on the audio.
[Spirit FM] mikereidis:
Absolutely ! It's one of many items on my ToDo list.

I really hate that the app UI etc. has been frozen while I try to support as many devices as possible and hope to concentrate more on that soon.
[Spirit FM] mikereidis:
OK, thanks. GUI improvements are on my todo list...
[Spirit FM] mikereidis:
I spent 20 minutes searching and reading everything I could to determine what FM chip the x10i (or x10) contains.

Nothing I read even confirmed the x10i HAS an FM chip.

Do you have any information/proof the phone has FM capability ? Or at least that it has a TI or Broadcom Bluetooth chip ?

Thanks...
[Spirit FM] alspecial2007:
galaxy tab? work on galaxy tab? downloaded from the market but how does it work?
[Spirit FM] mikereidis:
AFAIK there has never been any app that proves the Nexus S is capable of FM. I don't know if it has a Silicon Labs chip, and if it has a Broadcom combo chip I don't know if antenna and audio are hooked up.

I would be very interested if anyone could find out more about FM possibilities on the Nexus S.

EDIT: Just did a quick search again and indications are it uses the Broadcom combo chip. So my app (latest version v2.0.16) may be able to control the chip, but like the Galaxy Tab or any other device with the same chip but no known FM app, antenna and audio connections might be missing.
[Spirit FM] mikereidis:
User Idk is posting here regularly as we are trying to see if Galaxy Tab is capable of FM.

His last report indicates my app is successfully controlling the FM chip in the Broadcom FM/BT/WiFi combo chip.

But we haven't determined if the antenna connection for the chip allows using the FM Radio. And even if so, getting audio may be difficult to impossible.

So hopefully we will find out soon. Stay tuned... :)
[Spirit FM] mikereidis:
I think the app is working for you then, and you are missing audio.

I even think the antenna is hooked to the earphone. I can sometimes get one bar on my LG p500h without an antenna if I hold the phone just right and am tuned to the strongest station. So if you are getting 2-3 bars I think you have a good signal.

PI of 0 is strange. You might try switching Regional band to North America or US to see if RDS can be picked up. If so, and the signal isn't perfect, you will see lots of RDS errors in logcat. It's normal for me, but my dev location isn't too good for signals.

I have no idea why reception might seem better without sprtd, but in software, strange bugs can result in strange behaviour.

I'm working on the general audio issues now so perhaps we can coax audio from your chip. :)
[Spirit FM] VibrantOwnr:
Problems

I am running Miui on the HTC Glacier. I am 100% sure the glacier has an fm radio as I have used it on cm7 and sense. Unfortunatly those apps do not work on miui.

Your app starts up fine, it even turns on the radio, finds a station and displays it's information. It also shows signal. The only problem is that the audio won't play.

I have installed your latest release as of may 26, 5:00 est. I have the apk along with the three files that go into /system/bin with their permissions set correctly.

I am attaching a logcat to see if you can diagnose the problem

Logcat: http://db.tt/mJApqlx
[Spirit FM] mikereidis:
Great ! You are really close. The logs show it's working fine for you, getting Traffic RDS etc.

It would be more helpful if you can provide the info to determine your audio chipset. The output from "adb shell dmesg" and from "adb shell ls -l -R /dev" and "adb shell cat /proc/devices" would pin that down.

I have the CM7 source for this phone, and I believe it supports the CM FM app, so it's certainly do-able.

I posted a utility for audio testing several pages back. I'll dig up that post and edit this post with the info.

But just to set expectations, it's possible that MIUI will prevent audio switching. I have that problem on my LG P500h/Optimus One. The unofficial CM port has a mediaserver daemon which holds the control device open and doesn't allow sending the command. Yet my HTC Legend with the same audio chipset and drivers allows this, on official CM7,

Now when you have root, just about anything becomes possible, but harder.

Here's the post about the ssd utility for qsd8k / 8250 chips contained on such devices as the HTC HD2: http://xdaforums.com/showpost.php?p=13669344&postcount=138

But the Glacier / T-Mobile myTouch 4G seems to be "msm7x30" just like my 2 dev phones.

Here's a zip file that contains the snd_set_device utility I've used: https://docs.google.com/leaf?id=0B_...mMtMmFmNmQxMjExODY4&hl=en_US&authkey=CKXigsQP

Run "adb shell snd_set_device 11" for FM Speaker or "adb shell snd_set_device 9" for FM headset. If you get output like the below, with "-1" as the ioctl return you may have the same issue I have on P500.

FM analog audio enable utility v0.1 sends snd_set_device to /dev/msm_snd

Argument 1: "9"

ioctl return: -1

I can prove it would work otherwise by starting the FM app, then running:

adb shell "killall mediaserver; snd_set_device 11"

What happens is that I get FM audio briefly before mediaserver is automatically restarted. Working around this problem could be a major headache, unless perhaps an alternative mediaserver would work.

Do note that this is a test solution only and doesn't survive a boot, or a phone call or audio notification. I'm working on the better long term solution now.
[Spirit FM] idkidk:
Hi,

for try, is better use the 2016 version, look at page 29. The tab MUST be rooted.

At this time the app don't work, (Galaxy tab maybe haven't the internal circuit for antenna but we haven't enough info for confirm or not confirm).

Stay tuned!

Bye

Idk
[Spirit FM] jacko5:
Mike,

Thanks for looking around for a solution :D

As standard the Sony x10 does not have a radio function on the phone.

I guess thats why your software does not work :(

Not sure what kind of chips it has in the phone :confused:

I guess its back to listening to MP3's on my Sony x10.

Good luck with your venture :D
[Spirit FM] idkidk:
Hi mikereidis,

in attach info for audio devices

By

idk
[Spirit FM] dboechat:
Hmmm I think I've got an "Application not responding" instantly after rotating the phone. Then I reopened the app, rotated the phone and it crashed again.

It all happenned right after purchasing the app and opening it from Google Play. I'm using a Galaxy S II with HyDrOG3N-ICS ROM and NEAK Kernel so I'm aware this isn't the most stable and reliable configuration...

Anyway, I can't reproduce the error. I've already set the orientation to "portrait", "landscape" and "automatic" again, rotated the phone clockwise and counterclockwise, even 180 degrees (HyDrOG3N allows that) and nothing, the app is working flawlessly now! :) If this error DOES happen again, I'll surely try to send a log!

Thanks for this awesome app!
[Spirit FM] lrbpereira:
4me. With SGS2 CM9 it rotates without any issue...
[Spirit FM] TurboLed:
Hi,

Galaxy S i9000 using Spirit Lite with Galaxy S ALSA/ICS method. With the headphones plugged in, when I receive a new notification, the FM sound doesn't come back. I had read that you have worked on a fix, but it doesn't seem to work for me :(

Do I have to enable something in Debug to make it work? I'm on latest CM9 nightly.