yashsingh1/xdaforums huggingface dataset:
[Spirit FM] maconic:
THX

YES it is rooted and it is working perfectly now, thx! Only one issue: if I connect the headset plug (to use it as an antenna) the BT goes silent :( Is there a way to use the headset as antenna and get the audio over BT?

THX!
[Spirit FM] Lagkage:
I am not sure about this, but Mike is very good to answer such questions :).

You could try to connect the BT device after starting Spirit with headset plugged in. Also try to press pause/play a few times and see if it helps.

EDIT: Which ROM/kernel are you using?
[Spirit FM] mikereidis:
Exactly what I would have replied. :)

For whatever reasons, I've always seen digital audio go to Bluetooth when BT is turned off & the BT headset paired & connected, regardless that the wired headset is still plugged in.
[Spirit FM] savoiu:
SpiritUL locks up HTC Wildfire S

Hi, I just purchased the UL version last week and, after using it for a couple of days, I see that it causes the phone to slow down to a crawl.

This happens when I'm listening to the radio and a call comes in. The moment the call comes in (mind you the ringtone doesn't even play) it feels as if some high priority process(es) are using 99% of the CPU. The interface becomes painfully unresponsive. Just to unlock the phone one has to carefully and very very slowing drag down the unlocking band. After that, if I'm lucky/patient, I can follow the very very very slow interface to restart the phone before the screen locks again. Most of the times I just pull out the battery! :mad:

This had not happened with the free version of Spirit. The last version of that that I used was 06/12.

Any ideas how to resolve this?

Thanks,

Nick
[Spirit FM] Markweiser:
Hello Mike,

First of all, thanks a lot for the great work @ Spirt UL.

I used it a lot on my I9100, however some sick pickpocket got it from me when I was travelling by bus.

Anyway, I'm here to really ask you sincerely, I had to buy the I9505 because I need a new phone and S4 was a nice release, can you please tell me what are the future plans for supporting S4? What kind of issue does it have? I've read some comments about it on this thread, however, can you tell us sincerely what/how do you think this is going to work?

Thanks a lot for your attention.
[Spirit FM] mikereidis:
There is nothing more sincere than my conclusions of May 2nd here: http://xdaforums.com/showpost.php?p=40952026&postcount=6001

There is no usable FM, on the GT-I9500, or Qualcomm S4s such as T-Mobile SGH-M919 or Vodaphone UK GT-I9505.

There are Sony MW-1 and MW-600 BT/FM headsets available, and a USB dongle solution linked in post #1.

Otherwise, switch phones or use streaming etc.
[Spirit FM] mikereidis:
Hi, Thanks for your purchase. :)

First, please send me a debug log with Menu-> Test-> Email-> Logs ? After 20 seconds or so press Send. It may be useful to get a 2nd one after the problem is triggered, but it could take quite a while to complete I guess.

Is this on a stock ROM, rooted, or which custom ROM ?

Latest released Unlocked and other versions are June 12. It's difficult to imagine why this would impact Unlocked, but not the Free version. One could disable UI-> RDS, UI-> Notification Display & UI-> Lockscreen Display and restart Spirit to see if those are a factor.

You can also enable Debug-> Phone State and restart Spirit. If nothing helps, disable it again, and disable Debug-> Audio Focus and restart Spirit again. In this state, FM may keep playing when a phone call comes in, but it would be useful to at least know if the high CPU problem is triggered.
[Spirit FM] nufrankz:
Hi, thanks for developing this application. I've tried it and it is very good, except that when I turn it off (close the application) continues an annoying background interference on the phone sounding. I have a Galaxy Mini with Cyanogenmod 10.1 RC5. What can be done to eliminate this interference? Thank you.
[Spirit FM] savoiu:
Mike, info sent.

---------- Post added at 04:12 PM ---------- Previous post was at 03:24 PM ----------

Mike, I just tried the 0612 free version. I set an alarm to kick in while listening to radio. No problem. Once I snoozed the alarm Spirit came back on and there was no slowdown in phone operation.

So it seems that there is something happening a bit different between the two versions.

Nick
[Spirit FM] mikereidis:
Galaxy Mini = GT-S5570 or SGH-T499 ?

You can try enabling Debug-> Power Restart Media. This tries to reset the whole audio system when FM is turned off.
[Spirit FM] nufrankz:
OK, thanks for the quick reply, I will try with this command. I have a Samsung Galaxy S5570L. But a question, I have to use that command every time I turn off the radio?
[Spirit FM] mikereidis:
It's a permanent setting, not a command.

If you set that setting, it will automatically try to reset audio every time FM is turned off.
[Spirit FM] Lagkage:
Feature request!

I would like to be able to see the radiotext on the lockscreen widget. The station I am listening to always shows the song title there is being played.

If you would do this, I will be very happy. Thanks.
[Spirit FM] balabansid:
S3 I9305
[Spirit FM] mikereidis:
That was what I tried initially, and I think at one time UI-> Lockscreen Display may have had this option.

But around here at least, most stations use the maximum, or close to the maximum, of 64 characters.

That caused the text to be cut off and it looked ugly.

AFAIR, apps don't have control of the lockscreen display layout. So I can't change font size or increase the display area or lines.

It's possible that a "marquee" like display could be done. IE start at the first letter, then scroll that to the left.

I'll consider options next time I'm in that area of code.
[Spirit FM] mikereidis:
There is no usable FM on the GT-I9305.

There are Sony MW-1 and MW-600 BT/FM headsets available, and a USB dongle solution linked in post #1.

Otherwise, switch phones or use streaming etc.
[Spirit FM] young440:
Is anybody else having trouble with the lite version freezing and restarting the phone when powering down the app? I'm on an Inspire 4G with CM 10.1
[Spirit FM] mikereidis:
I'd guess it would happen with the Free or Unlocked versions also.

Try disabling Debug-> Power Restart Media. But doing this you may find the phone audio to go bad sometimes, requiring a reboot.

Whose CM10.1 is this ? AFAIK, Desire HD and similarly older HTC devices haven't had an official CM in some time, at least not for ICS or JB I think.
[Spirit FM] young440:
OK I'll try that. Thanks. Mustaavalkosta put together a pretty nice unofficial build in the desire HD forum.
[Spirit FM] mikereidis:
I should try it out; my DHD has gotten dusty.
[Spirit FM] young440:
Yeah, he's looking for testers who have an Amtel screen to refine his slide to wake and double tap to wake. Its a smooth ROM.
[Spirit FM] mikereidis:
I'm not seeing any such problem with June 12 Light or Unlocked on cm-10.1-20130621-UNOFFICIAL-ace.zip .

I was previously running the same ROM March 24 version with no problem either.

The only problem I noted was needing to Pause/Unpause at start to get audio, and unpause after some audio notifications.

I don't really test with a lot of different apps people might run though. Sometimes volume booster or other audio apps that do low level things can cause some conflicts.
[Spirit FM] zaclimon:
Hey I'm just here to report something. I just want to say that digital FM radio works with my galaxy player now :p. It's running cm10.1.

So far the sound is MUCH more cleaner than it was. Thanks for your work! :good:

Also I would like to buy spirit unlocked through paypal, however I don't know how much to send. Do I have to pay to you the price that's in the play store? (9,99$)
[Spirit FM] mikereidis:
Great ! :)

Yes, or whatever one's local currency shows or converts to.

I always prefer Play and discourage Paypal, but 1% go Paypal. It's extra work for me, but is I think important for that 1% with no alternative.

Thanks !
[Spirit FM] mrazz_:
nice :good:
[Spirit FM] zaclimon:
I would like to pay through play store but the thing is I have paypal money (which I just realised that I miss like 30 cents -.-) and I would have love to buy it through play store if there was some kind of paypal method.
[Spirit FM] hotaru2k3:
https://www.paypal.com/webapps/mpp/debit-card ?
[Spirit FM] zaclimon:
This would be nice but unfortunatly as like many US only offerings, I can't apply to get this card.
[Spirit FM] mikereidis:
I'm not going to worry about 30 cents or similar if you've got $9 there now. :)

Another option is Play gift cards. They aren't generally available in Canada yet, but I've heard that Target (in Canada) may be selling US cards now, and the US cards are apparently working for Canada residents now I've heard.
[Spirit FM] lDeNl:
Hello, I have Motorola Razr I, ICS 4.0.4

I Whant to buy Unlocked spirit FM but it not work, application is launching but it hasen't sound

FM station is looking, RDS work but no sound...

This application work fine - http://xdaforums.com/showthread.php?t=2016889

But it hasen't widget on block screen...

Can anybody help me?
[Spirit FM] antonio89drop:
Hi Mike wanted to know about the problem of jelly bean with the setting Media Buttons of Spirit FM if there had been developments for the resolution of such failure?

For me it is very important to have this feature (Media Buttons Prev + Next for Seek) also active in subsequent versions of Android 4.0.4

Thank you very much I hope for a quick risuluzione of this problem.
[Spirit FM] mikereidis:
If RDS is working, then you are running the paid, commercial Unlocked version.

Please forgive my questions and thoughts, but did I send you a copy to test or did you purchase then cancel ? Or did you find a pirate/unlicensed copy on the Internet somewhere ?

My policy is to help Free and legitimate Light/Unlocked users as much as I can. I do not help those who dis-respect the 7000+ hours of work I've put into Spirit.

There are many free versions listed in post #1 of this thread that are sufficient for all basic functionality testing. Between that, my policy of cancelling any order at any time on request, and my policy of sending an evaluation copy to anyone who asks nicely, I don't see any good reasons for people to download an "evaluation copy" that might contain malware from random Internet locations.

Just about any recent version of Spirit should work fine on Razr I running stock ICS, with audio. JB is the source of the no audio problem. Maybe you were running a version of Unlocked older than December 2012 or so ?
[Spirit FM] mikereidis:
No progress, and still nobody else has reported this, though I still get very little feedback on Sony devices.

I'll try to spend some time on investigating this.
[Spirit FM] lDeNl:
Sory, my English is not very good, so i think i understand all in your replay...

I didn't buy Unlocked version i test last free version, and i test some version from first post in this tread - nothing works with sound except this - http://xdaforums.com/show....php?t=2016889

I wrote here is not for return some money, just hope for help. http://xdaforums.com/images/smilies/smile.gif

Maybe i test some version or... ?

P.S. I Have ICS 4.0.4 version firmeware 85.5.39001 retail.en.GB, with root and CWM recovery.
[Spirit FM] mikereidis:
I bought an HTC One today and hope to officially support it ASAP.
[Spirit FM] rightonred:
Just installed this app on my droid 4. I'm impressed. I never knew my phone had an FM chip in it!

The only problem is that the reception is terrible which I think is due to the lack of a dedicated antenna.

I get one station clearly, and five when I move around and find a node.

Is there anything that I can do short of taking my phone apart and soldering an antenna in to improve the reception?
[Spirit FM] mikereidis:
Well, you said "RDS work but no sound" and the only version with RDS is the paid commercial Unlocked version. RDS is the text that shows song info or station names etc. Please do not run the Unlocked version unless you are a customer.

Set Menu-> Settings-> Audio-> Method to "Motorola" and restart Spirit. That's the only thing I can think might help.

If you've purchased and you still have trouble, send me a debug log with Menu-> Test-> Email-> Logs and after 20 seconds or so press Send.
[Spirit FM] mikereidis:
:)

Fortunately for phones with no OFFICIAL FM support, the Bluetooth/WiFi "combination" chips from Broadcom, Qualcomm and TI also has an FM receiver, and sometimes even a transmitter (which never works). Even more fortunately, Motorola phones in the last year or so still have good FM antenna connections, despite that Googorola is trying to stamp out FM. My guess is that once Google took charge, they told Motorola to not ship an FM app, despite the hardware having been designed much earlier to support FM.

If you haven't already, plug a wired headset in and stretch it out or move it for best reception.

You can try different wired headsets if you have them.

Beyond that, the Texas Instruments FM/combo chips in most Motorola phones is not too sensitive compared to the main competitors Broadcom and Qualcomm. Also I've heard some reports of no or very low reception and I think these may be faults related to heat, power surges, lightning, static or similar. TI chips may be more susceptible.
[Spirit FM] rightonred:
Thanks, I didn't realize something had to be plugged in. I just tried plugging in a speaker cord and now I get excellent reception. Around 10 stations come in clearly now instead of one.

Your work is much appreciated:good:

EDIT: I'm surprised; the sound quality and reception (after the "antenna" is attached) is excellent on my device. The hardware in my phone was clearly engineered and definitely meets the quality requirements to provide FM radio functionality. I'm surprised that Motorola would go to such lengths to add FM capability then disable it. Even if Google has something against FM, It's still worthwhile to make the device FM capable. The hardware is there, all they would need to do is release the FM radio app. It would make the phone more valuable at little cost to the company.
[Spirit FM] mikereidis:
A lot of people don't realize this. That's why almost every FM app refuses to run without a headset. Spirit gives you a choice. On older phones especially, you really need a headset antenna. Some of the more recent phones do OK without a headset.

Good old OTA FM isn't compressed like MP3's, but there are a few analog digital conversions inside the FM chips.

Google has never supported over the air FM and likely never will. They would rather sell you music stored in the cloud or sent via their new radio like services.
[Spirit FM] makbil:
Just out of curiosity, I tested this on my HTC One and although Spirit does turn on, without a headset connected, there is no signal. You need the headset as antenna to get a signal. The station signal was quite strong, so I'm pretty sure this is a requirement.
[Spirit FM] jonyhoanganh:
Thank you!

Works well on htc one s. :fingers-crossed:
[Spirit FM] mikereidis:
Depends on the phone, but I see the same on my HTC One:

- Metal cased phones like the HTC One or old HTC Legend need an external antenna. You need plastic for this, AFAICT, especially assuming the small internal antenna "features" are accidental and not purposely designed as a feature.

- In theory, some phones could use an internal antenna (which can never be as good as external), but I don't think I've heard of one. Some Sony phones like Xperia T actually use a 2nd FM antenna pin, intended to match an internal antenna. I don't think there is any real internal antenna in these, but see next item:

- The PCB traces from FM chip to components leading to headset jack can act as a small antenna. On phones on which no external antenna can work, this is why. An engineer COULD design the PCB traces to be long and arranged more effectively, but I've never heard of such a claim.

- Some chips are much more sensitive than others. I have a cheap $100 Samsung phone bought 2 years ago that receives RDS OK with no antenna; better than any other phone I have. It uses a then next generation Broadcom BCM20780, similar to BCM4330. I think the BCM433x line may still be the most FM sensitive chips out there. Worst are TI chips, and I think 2nd worst are SI4701 used in Galaxy S, S2 and Note.
[Spirit FM] mikereidis:
:)

If you have Unlocked, have you tried the digital audio feature ?
[Spirit FM] mikereidis:
First HTC/Google One support, for stock and AOSP ROMs; tested on CM10. It will work on Google version, or I'll make it work. :)

Spirit Free June 25: http://d-h.st/unU (Other versions on Play.)

Stock phones with SU/root will use the OEM API, but may be switchable to UART mode if you need the extra RDS or other features.

For CM/Google etc:

Volume is loud; you can set Audio-Volume Scale to 30 or as required.

So far you can only get speaker mode by selecting speaker mode, then pulling the wired headset out, and re-inserting just enough for the antenna affect.

Occasional audio glitches possible. Try Pause/Play or restart Spirit. I tested one phone call and that worked.

Bluetooth must be off. There is a new "Broadcom Bluedroid" Bluetooth API I need to support.

Audio->Method is "HTC One ALSA Xprmnt", which should be automatic if ro.product.device starts with "m7".

I "roughed in" some digital audio support. It should eventually work but not yet.

At some point direct FM to BT A2DP headset without the data leaving the combo chip may be possible. But going low level could create problems with other BT headset usage, and digital audio will provide a usable, though less efficient route.
[Spirit FM] hotaru2k3:
will this be on the play store for htc one?

it's still not showing up on my htc one.
[Spirit FM] mikereidis:
Yes, I re-enabled the "m7" on Play but that can sometimes take hours to go through.

Send me an email if you can't wait. :)
[Spirit FM] hotaru2k3:
will that make it available for m7wls (sprint htc one) as well?
[Spirit FM] mikereidis:
Thanks, I've enabled "m7wls" just now.

I missed it because Google has it listed under "Unknown" instead of "HTC".
[Spirit FM] hotaru2k3:
thanks! i figured it would be good to ask because i've seen a number of other apps that were available for m7 but not m7wls.
[Spirit FM] vahidexis:
Used to work a treat on my sgs 2. Can't seem to get it to work with my m7 running latest paranoid android 4.2.2. Love the app, hope developer can point me in the right direction to get it working. Still an awesome app.
[Spirit FM] makbil:
Playstore still shows my HTC One as not compatible. Should I just download on my HTC One X and transfer to my One ?

Edit: Just saw the other posts. I'll wait a few hours before trying again.
[Spirit FM] eymas:
Works like a charm on the regular HTC Sensation.
[Spirit FM] jercas:
Spirit from LG Optimus G E976 - E977 america

Hello brothers.possible spirit?
[Spirit FM] mikereidis:
This ROM here ? : http://xdaforums.com/showthread.php?t=2315236

I can try it out.

What happens if you start (even reboot) with Bluetooth off and a wired headset plugged in ? Does RSSI at top left go over 20 when tuned to a strong station ?
[Spirit FM] mikereidis:
Sure, that should work. There is no copy protection on Spirit Unlocked or Light.

If it still shows not compatible, let me know. See if you can install this "test" app: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_xl
[Spirit FM] mikereidis:
Only some Optimus G variants have the FM antenna pin connected.

On those, I believe Spirit is working OK. Otherwise it appears to work but RSSI at top left is 0 or negative, even with wired headset plugged in for the antenna.

Some manual settings might help on some ROMs, but try it and let me know what happens first.
[Spirit FM] makbil:
Half hour after my post, I was able to download it. The first thing I notice is that BT no longer has to be on for Spirit to work. Digital audio also seems to work except for the graphics but that is a known limitation as far as I remember. I'll do some more testing today.

What is the test app for? I can install it in a few hours when I get back.

Edit: I installed the test app, it opens for a second but immediately closes, so it will not run.
[Spirit FM] abnoob:
I tried it out on Sony Xperia Arc. It is not working. I tried almost all the options.

Anyway, I notice a dramatic in-call volume drop through headset. It stays still even I restore the firmware with Titanium backup.

I know it is kind of impossible. But is that possible Spirit FM write to some chip registers perminently?
[Spirit FM] mikereidis:
I'm not able to support the Arc, or other 2011 or earlier Sony devices.

Anything is possible, but this is not a known problem and I can't really imagine how this would happen, other than via some obscure and rare circumstances.

Remove Spirit, remove the phone battery for 10 minutes and try again.
[Spirit FM] mikereidis:
Normally, on a Broadcom FM/combo chip device, if Spirit has SU/root and if BT is off, Spirit will try to use the low level UART mode. This won't work on stock HTC One's unless the stock FM has been used at least once since reboot, or unless BT has been switched on, then off.

So I made an exception for the HTC One: if the phone is stock, and Spirit has SU, it will use the stock Broadcom OEM Proprietary FM API, even if BT is off. I may address this issue better (with UART mode) at some point, but it's not a priority for now.

?????? What settings did you change, and what evidence is there that the audio is digital ? I haven't gotten digital audio working yet.

In this case I directed you to the test app only because all devices are enabled for it. So it's a test to see if you can see it when Unlocked or Light can't be seen.

The "test" app only starts under certain conditions. It has a "special" purpose that I want to keep quiet. It's a free app, so if it actually did anything and/or if I claimed it did anything, there would be a ton of silly & bad reviews.
[Spirit FM] leo_kazapi:
How i can configure Spirit Fm in Galaxy W ??

Please, i cannot live without fm app in my phone :)

I need a liltle help to configure it in JB 4.1.2 (CM 10.1 - Xperia UI Rom)

Thanks in advance !!!!
[Spirit FM] makbil:
I was going to write about this tonight but you were faster :) My initial assumsption was that after playing around in digital settings that I had gotten it to work but obviously that wasn't the case. I need to have my full cup of coffee before making such statements in the future.

From your lengthy explanation on how the Spirit works on HTC One, I've tried to make sense of a few things that I encountered today, I'm sure they will be more meaningful to you.

Generally Spirit works pretty good but there is sound only through the headphones, not from the speakers if the button is selected.

On the lockscreen, the first word I see is unknown just below the RDS data, then the frequency and the station name. What does this unknown refer to, what data am I missing in my reception?

Once, after I started Spirit, my preset station frequency somehow got changed by +.2, instead of 107.4 it became 107.6. I reset it and tested a few times but hasn't happened since. Will keep an eye on this.

The following might be explained by the info you posted and it has happened twice: Spirit was not able to turn on FM and even while exiting it displayed some errors (next time I will write it down, sorry) and wouldn't shut down. Just exiting to home and clearing Spirit from the app list and starting it again solved the problem though. I will also keep an eye on this and hopefully send you a better report about what has happened exactly.

Even with these minor bugs, Spirit is well on its way to becoming my main FM app on my M7 :)
[Spirit FM] mikereidis:
I can't help you unless you at least try to explain the problem(s) you are having.

If you're a paid customer, email me.

FAQ is here: http://xdaforums.com/showthread.php?t=1059296&page=447