yashsingh1/xdaforums huggingface dataset:
[Spirit FM] alex_72gr:
Thanks for answering so fast. I need to understand what is going on. I have an xperia L with the cm12 lollipop made for it by varum. Beta 1 version played spirit2 like a charm. But after beta 2 version it goes not work any more. I have tried everythink, is it a rom problem or something else. I really like how my phone works with the newer Rom but I need the radio because I commute to work and I need the company. Can you help?
[Spirit FM] vrwmiaris1:
[MENTION=711091]MikeReid[/MENTION]es ,i have installed the spirit2 app on my g2 ,but when im opening it bt collapses and i must reboot the phone to make it work again.what are the steps to hear radio through my bt headset man?tnx
[Spirit FM] pamarakos:
Finally s5 all versions except sprint onr wont have fm tuner / software?
[Spirit FM] alex_72gr:
why cant you help me?

I made same more trials with cm-12-20141208-UNOFFICIAL-taoshan by varum and I get a lot o static, however there is a station that is heard very faintly. But with cm-12-20141114-UNOFFICIAL-taoshan by varum I can hear all the station perfecty what is the problem.
[Spirit FM] mikereidis:
No I can not. As I explained, I can manually go through what is now 5,654 (FIVE THOUSAND+ !!!) devices (out of almost 8000), try to figure out which variants support FM and that Spirit can support, try to figure out many (thousand+ ?) obscure code names and manually disable each and every one that I can not support. I would have to repeat this regularly to deal with new devices (100+ every week) AND for each of the 4 FM receiver apps I currently have on Play.

This would be madness of course.

I have worked virtually exclusively on Android FM for almost 4 years now. And I am not sure what you are talking about.

Devices like GS4, GS5 and all Nexus's except ancient Nexus One have FM purposely and unfixably disabled in hardware. If I could make FM work on these devices I am positive my income would triple at least.
[Spirit FM] mikereidis:
I presume your LG G2 is rooted and is an International D802 or Sprint LS980 variant. Is that correct ?

Does Spirit2 work OK if it is started when Bluetooth is off ?

Which ROM ?

Spirit uses a "shim" library for operation with Bluetooth on Broadcom chip devices like G2. Stock and Lollipop ROMs are missing the /system/lib/libbt-hci.so library Spirit needs for this, but it is there on most Kitkat and earlier AOSP ROMs, except GPE's.

I am presently working on a new /system/vendor/lib/libbt-vendor.so shim for devices without libbt-hci.so . It's working OK on HTC One M7 and Xperia Z2, but still needs some work for G2.

Which Spirit2 variant ? There are several now: Free/Open Source, and on Play: Kitkat (Android 4.0-4.4), Lollipop (5+) and Beta (4.1-5+).
[Spirit FM] mikereidis:
Yes. Sprint GS5 is the only GS5 that does NOT have FM purposely and unfixably disabled in hardware.

And I can not support Sprint GS5 either because Spirit apparently does not work on it, and there are so few out there that I can not justify spending any MORE* time trying to get it working.

*MORE: I did spend a few hours trying to help someone with a Sprint GS5, with no positive results. Details are in this thread somewhere.
[Spirit FM] mikereidis:
I answered one of your posts within 24 minutes. Now it sounds like you are concerned because I could not answer within 11 hours ?

If you are a customer, please email me at mikereidis@gmail.com . Otherwise the support I provide here is on a "best efforts" and "out of the goodness of my heart" basis.

Spirit tries to figure out whether to use Internal or External FM pin on Sony devices (only) based on the value of ro.product.device in /system/build.prop .

I think the ROM may have changed this value.

What is this value on the old and new ROMs ? From adb shell you can use "getprop ro.product.device" or "grep ro.product.device /system/build.prop" . Or just read the build.prop file from the ZIP.
[Spirit FM] vikraminside:
Dear [MENTION=3575078]mikereidis[/MENTION] @OP

Please see if this is helpful

http://xdaforums.com/showthread.php?t=2451980

Sent from Moto (G)od. THANKS for pressing thanks.
[Spirit FM] alex_72gr:
Spirit tries to figure out whether to use Internal or External FM pin on Sony devices (only) based on the value of ro.product.device in /system/build.prop .

I think the ROM may have changed this value.

What is this value on the old and new ROMs ? From adb shell you can use "getprop ro.product.device" or "grep ro.product.device /system/build.prop" . Or just read the build.prop file from the ZIP.[/QUOTE]

Thank you I got it working by changing the prop to the one that it was initially working. Thank you again.
[Spirit FM] mikereidis:
I & Spirit do not support the Pioneer AppRadio head unit for cars.

I do not see any particular relevance of issues with Pioneer AppRadio to smartphone FM radio.
[Spirit FM] vikraminside:
Thought it was some mod to do with enabling radio though a device for non supported phones.

Sent from Moto (G)od. THANKS for pressing thanks.
[Spirit FM] :
I9300 with ArchiDroid 3.0.1 experimental

This is just for information purpose, no complaint!

Hi Mike,

on my Galaxy S3 I9300 i run ArchiDroid 3.0.1 experimental and ArchiKernel.

This is one of the FM friendly ROMs, based on CM11, and heavily modified by JustArchi.

He puts the free Spirit2 version to his AROMA installer.

But i run the PlayStore version i bought a while ago.

Now, today, after a complete reinstall, i saw that the new Playstore "kitkat" version of Spirit2 was installed.

The app works, but there are two main problems:

- Speaker output does not work anymore

- After stopping Spirit2 the Google Voice search does not work. It does not recognize the mic and does not output sound to the speaker.

(You know that short klick after pressing the mic symbol and when you speak is a red signal around the search icon, flashing in accordance to the sound).

A reboot is necessary to get sound working again.

Fortunately i had a copy of the apk from a previous backup.

This is version 2014_09_10.

For me everything works just fine again but just in case others have a problem this could just put them on track.

I know, I9300 is legacy -more or less- but atm you can get it for cheap and it is very smooth with ArchiDroid and reliable.

Best regards,

Frank
[Spirit FM] mikereidis:
:) I took a weekend off from XDA...

BTW: 9300 is not "legacy" as far as I am concerned. It is still the most popular phone on which Spirit is bought, after swapping with the GT-I9100 GS2 sometime a year ago or so. OTOH, this helps to show why my full-time+ Spirit income is in terminal decline; Nexus, Samsung and Motorola flagships no longer have FM... :(

Terse response: If an older version of Spirit works well on your pre-Lollipop ROM, then that is the version you should run.

In other words, I think that in 2 months time, over 50% of Spirit2 users will be running Lollipop and won't care about Kitkat anymore.

And because I still have a lot of work to do for Lollipop, I have to concentrate on that. GPE (at least) M7's. LG G2's and Xperia Z2/Z3 have audio and Bluetooth issues I've been working on this weekend, but still work to do. Plenty of other issues will arise, especially with stock ROMs to come from Sony, Moto, HTC,...

The recent Spirit2 1128_kitkat release was based on the 0912 release. I know 0912 had speaker issues on (I think) OmniROM & ??. 0911 seemed better for those who had those issues, but I think 0912 worked better on most AOSP ROMs, such as CM and many related/derived. Email me and I'll send you the possibly slightly better 0911, and I'm happy to send any version to any customer at any time... :) Too bad Google doesn't provide app rollbacks, but the scammy spammy app devs would hate that.

The new Spirit2 Lollipop/beta releases have I think a good fix for the Google Now interference problem. (But you can just turn off hottword detection too.) Basically they "properly" open the microphone as input, so Google Now voice stuff can't use the mike. just the same as if recording audio.

There was an experimental 0920 release that used this trick, without all the other major redesign stuff. But it would likely give you the same speaker issue.
[Spirit FM] mudassar59:
Hello

I have samsung galaxy s4 GT-I9515 value edition.

its tech specs says that it has FM Radio, but i am unable to find it. and if i install Spirit FM, its not working on it . Can anybody help me to find out a way for a working Fm Radio over the air ( Not Internet Radio) on my Phone?????
[Spirit FM] mikereidis:
You quoted an ancient and long since disproven post.

No "normal" GS4 was ever capable of FM. GS4 mini has FM but is not "normal" GS4.

I've hardly ever heard of the "value edition".

Spec sites are notorious for getting FM wrong.

If there was no stock Samsung FM app (and Sprint specific Nextradio isn't compatible), then FM is not possible. This has been true on every Samsung device the last four years. I would be shocked if that ever changed, especially now that Sammy doesn't do FM at all on flagships anymore (except US carrier Sprint for Note3, GS5, Note4.).
[Spirit FM] Rick O:
Spirit 2 is working well with Liquid Smooth (Lollipop) on LG G2 except that it turns off WiFi. Only a reboot will switch it on again. Just a minor annoyance.
[Spirit FM] :
Hi Mike,

thanks alot for providing help.

I tested the "final_beta" and it works on the I9300. But sound is mono only and speaker does not work.

After stopping FM, speaker works again. But now the earpiece speaker does not react any more and the microphone, on Google search, receives "funny stuff"

and wants me to listen to music instead searching the nearest Pizzeria.

With the provided 0911 i am really happy. Everything works just fine before and after using FM.

Did not test bluetooth. But incall reactions are ok. Audio is muted and reappears after call is ended.

This for both send and receive calls.

Yes, i see that Lollipop is on it's way. Even for the i9300 ;)

I really like my Sammy phone. The 4.8 inch plus hardware buttons is just as large as the N5. And AMOLED displays are really battery friendly as long

as you stay with mostly black backgrounds.

Ah, yes, forgot: It's the last Samsung flagship with FM radio.

So things are getting worse for FM listeners. Sony Xperia lineup shows all of the newer models still have onboard FM.

So do LG. But Sony and LG both are not easy to handle with custom ROM. Sony looses DRM keys and LG G3 presents Fort-Knox-secured bootloaders.

The easiest to handle with average skills are the Nexuses, Oppos and One PlusOne's . All of them without FM. What a shame!

With my I9300 FM is as good as i can listen to AFN Wiesbaden which is 150km away. Streaming their Internetstream costs me my whole data plan within a few hours.

Sorry for being slightly off-topic. :o
[Spirit FM] mikereidis:
I am pretty sure that's a bug in the ROM, not Spirit.

I gave up on Liquid Smooth. It was stuck at 1117 and I saw many bugs, including the WiFi.

I was running pa_ls980-5.0-ALPHA1-20141210.zip and switched to cm-12-20141208-EXPERIMENTAL-ls980.zip . Both worked OK for me.
[Spirit FM] mikereidis:
GT-N7100 is newer than I9300 (though "phablet"). I still use my Note2 as my actual phone.

And the rare US Sprint variants of Note3/4, and GS5 have FM via NextRadio app, though I don't/can't support them. Sammy could re-incorporate FM if they wanted, but I don't expect that, and I think even Sprint will stop supporting FM on Samsungs when their ransom deal with US broadcasters runs out and the broadcasters decide they are wasting millions of dollars for just a few more listeners.

Yeah, I hate LG's unlockable (so far) bootloaders. I dread loading new ROMs on my G2 as it so often requires an hour or more to recover from the soft bricks. I am hesitating to buy a G3 for this reason.

I personally do not care (anymore) about Sony DRM keys and similar. What I hate is that most Sony boot-loaders from carriers are not unlockable, even in Europe.

MotoG is fine, but Moto flagships are not.

HTC flagships are a decent choice. HTC One M8 (and Sony Z3v) on Verizon can have stock FM side-loaded, and Spirit works when rooted.

I am also happy that rooted GPE devices (except Samsung) can run Spirit: HTC One M7, M8, Sony, and MotoG.
[Spirit FM] Austin68:
just bought spirit 2 today. tried it and it don't work on samsung galaxy player 5.0 us version. it's running carbon rom. think i have to get a different kernel or what? :confused:
[Spirit FM] ThePagel:
Sorry if this has been adressed but the post you quoted from said he heard a station for about half a second. I own the d851 and thought just for the heck of it I would give it a try. Well I deffinetly get audio but its from my microphone. I fully understand that my t-mobile d851 will probably never get fm but if I get a microphone loop im sure most other g3 models do as well.
[Spirit FM] 55pawan:
Thank you I got it working by changing the prop to the one that it was initially working. Thank you again.[/QUOTE]

Alex can you tell me what changes you made in build prop

I'm also facing the same problem

In cm 12 beta 1 spirit FM worked flawlessly but in beta 3 it has very weak signal(strength around -250)

Plz help??
[Spirit FM] mikereidis:
Thanks for your support. :)

YP-G70 ? I think it has same FM and audio drivers as GT-I9000 and should work.

Try running Spirit1 to see if that works or if running it first fixes Spirit2. Free Light version here: http://xdaforums.com/attachment.php?attachmentid=3048429&d=1417737396

I posted new beta versions for both Spirit1 and Spirit2 10 hours ago.

One of the mods for Spirit2 is code from Spirit1 to load Samsung FM drivers that aren't already loaded. At least one ROM recently required this code.

Email me at mikereidis@gmail.com and I can send beta releases or Spirit1 that you can send a debug log from.

You can send me a debug log from Spirit1. Tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.
[Spirit FM] mikereidis:
You can follow the latest LG G3 FM investigation/re-investigation here: http://xdaforums.com/showthread.php?t=2788364&page=4

At least one person on this thread reported Spirit2 success on his FM capable G3. Two others reported success, but said the audio had too much bass.

The microphone feedback is because of the way the Lollipop re-design of Spirit2 works: It reads from the "microphone" and writes to audio output in a standard Android way that should always work.

The tricky bit is that Spirit2 beta/lollipop then "sneaks in" and switches microphone and FM inputs. If this fails for some reason, it picks up microphone audio.

If Spirit2 starts with no error and "appears" to work, that likely means that FM is disabled by the usual grounding of the FM antenna pins. RSSI at top left will be low, zero or negative, even when tuned to a strong station with a wired headset plugged in for antenna.
[Spirit FM] mikereidis:
You can send me a debug log from Spirit1 (not Spirit2) and I can see the codename and accommodate it.

Tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.
[Spirit FM] xjumpman45:
will this work on the s3 sgh 1747

Hello i have a galaxy s3 at&t with cm 11 latest snapshotas of 12/16/14. And I'm wondering does spirit 2 have any problems with it or is there any setting to make it work because I'm not getting any audio thanks
[Spirit FM] JustArchi:
AD includes latest Spirit2 (Free/Light) released by Mike at the time of stable release. AFAIK In 3.0.0 I included "free" open-source variant released by Mike as second or 3rd free version.

Your not working speaker is probably not connected with the Spirit at all, but with privacy mode found e.g. in my ArchiKernel. This mode silences speaker as long as you have headphones plugged in, so no kind of magic will play anything through speaker during that time. Unchecking that option will make it work again, this is intended, as privacy mode is not "default" option.

About google search tho, no clue. AD doesn't seem to be a problem here.
[Spirit FM] Austin68:
Yeah it's the yp-g70. I tried your spirit 1 free version you have there and that one works awesome! Had to do a little playing with the settings to get the audio to work for my headphones. But it works great! As for spirit 2.... I still can't get that one to work :/
[Spirit FM] mikereidis:
ATT GS3 is impossible to support. :(

FM is permanently and purposely disabled at the factory.

Email me mikereidis@gmail.com if you ordered on Play and need it cancelled.
[Spirit FM] mikereidis:
Good. :)

Debug log might give me info.

I see only 4 YP-G70 in my sales statistics for Spirit2, so feedback is limited.
[Spirit FM] mikereidis:
Good to know. :)

I presume "privacy" in this context means that a person surrepticiously listening to audio will not accidentally alert others to this, such as the teacher or parent of a young person...
[Spirit FM] JustArchi:
Exactly, like receiving sms message, or so.
[Spirit FM] alex_72gr:
[/COLOR]

Alex can you tell me what changes you made in build prop

I'm also facing the same problem

In cm 12 beta 1 spirit FM worked flawlessly but in beta 3 it has very weak signal(strength around -250)

Plz help??[/QUOTE]

Make sure all these are in the built.prop in beta 1 all were there in beta 2 and 3 some were missing (don't remember which ones).

It has to do with how the program recognizes the phone and how it assings internal or external Antena,

ro.product.model=C2105

ro.product.brand=Sony

ro.product.name=C2105

ro.product.device=taoshan
[Spirit FM] :
I use ArchiKernel and did not check or change privacy options.

When i swap the Spirit2 version from Spirit2 Free, which is provided by the ROM / Aroma Installer, to an older version i bought, respectively Mike provided the 0911 version, then everything works.

If privacy settings were the reason for disconnecting the speaker output then it would not work with any version, right?

Or, this older Spirit2 version does not care about privacy settings in the ROm :)

My best guess is that Mike changed something in the way audio is fired up / closed down.

I remember i had a post 0911 Playstore version of Spirit2 combined with an early version of 3.0.0 experimental where audio was fed back from speaker to mic which resulted in a total mess.

Means i could myself hear breathing while listening to FM and when i changed to speaker output that worked but the result was heavy feedback.

Plus that audio was mono only, even with stereo headset.

Now, in the latest KK version of Spirit2 audio works, but only mono, and speaker output does not work, and there is no feedback through the mic and this is the same for both free and playstore version.

I talk about the combination I9300 / Spirit2 / ArchiDroid 3.0.1 experimental from Dec. 6th (or so) only! No other ROM or phone !

That said i am totally satisfied with both, ROM and Spirit2. I use a dummy plug with a short wire as antenna and can listen to FM via mono speaker.

I can plug in a stereo headset and FM is loud and clear in stereo with excellent reception.

I can receive calls during FM speaker operation and audio is muted and transfered to the headset. I can answer the call using mic with no feedback.

And the best is: Audio come back after call is ended on speaker!

Did not test with bluetooth headset because i do not have one.

Thank you, Mike and Archi, for this wonderful combo.

Let me tell you i bought another S3 for cheap to have one spare :laugh:

Only downside is: If Mike decides to put more functions into his app than maybe i cannot participate.

Or if Archi decides to drop kernel fm support...

This is what nandroid backups are for.

...
[Spirit FM] 55pawan:
Make sure all these are in the built.prop in beta 1 all were there in beta 2 and 3 some were missing (don't remember which ones).

It has to do with how the program recognizes the phone and how it assings internal or external Antena,

ro.product.model=C2105

ro.product.brand=Sony

ro.product.name=C2105

ro.product.device=taoshan[/QUOTE]

thank you so much for your support

ro.product.device was missing

i just added it

it worked
[Spirit FM] mikereidis:
I can not parse your whole message right now, so I'll just say 2 things for now:

- Spirit does not explicitly bypass any privacy controls for speaker (or otherwise), it simply has no knowledge of this and I don't think I will add any (unless there was sufficient demand).

Spirit uses the semi-hidden audio API setDeviceConnectionState() for this. At some points this year, Spirit2 used setSpeakerphoneOn() and I might make this a selectable option because it has some advantages.

- The Free/Open version of Spirit2 is based on the new Lollipop/beta design. I have not released anything for free that uses the old design in a long time and don't expect to.

Some Kitkat and earlier ROMs don't work well with the Lollipop re-design, so on Play, non-beta users with ICS-Kitkat get a slightly reworked version of the 0912 release. For some people, 0911 worked better and I may base the next Kitkat release on that instead.

Instead of spending time trying to fix and upgrade the Kitkat release, I am concentrating on fixing issues in the Lollipop re-design. I may even resurrect and refresh the old audio model as an option. Free users can contribute more by testing and reporting on the new design.
[Spirit FM] :
No need to fix for me! As i mentioned with the 0911 version everything works just fine.

I will try newest PlayStore version from time to time but i always will make a nandroid backup before.

As you said PlayStore does not allow for fallback. So this is necessary. I think running two versions (or Spirit1 included this is three) in PlayStore will result in a lot amount of work for you and does not return profit.
[Spirit FM] mikereidis:
Don't worry about cluttering the thread.

But I still don't think Spirit2 is directly responsible for this. If you WiFi works OK when Spirit is NOT run after boot, then there may be an indirect effect, but that is not IMO a bug in Spirit.

I have seen WiFi problems in many early Lollipop ROMs, and I saw it on the G2 as well.

But since I have been running pa_ls980-5.0-ALPHA1-20141210.zip I have not seen problems (I think).

Bluetooth and FM are "intimately connected" on most combo chips. WiFi is on the same chip but always uses a different set of pins to control and thus the drivers tend to be independent between BT/FM and WiFi.

Regardless, it's all on the same chip, and power issues can be shared.

The WiFi problems I see on Lollipop ROMs tend to be "fixed" by turning WiFi off, then back on again. And it works for a while...
[Spirit FM] Fixo:
I used this app on Back to Noot ROM and FM audio is terrible...

So much treble on it...

is there a way to control it? Anything?

Edit: Its working fine now, but how to get stereo sound?

--------------------------------

Damn it...

Just restarted the phone and Stereo is there... WoW like the Original Samsung App... Awsome!
[Spirit FM] mikereidis:
So, working OK now, Fixo and Ceiling Cat ? ;)

I presume GT-I9300 ? And that's a stock based Touchwiz ROM ?

Spirit1 or Spirit2 ? Which variant: Free, Light or one of the full versions on Play ?
[Spirit FM] YK RAJ:
Any one is using this on dn4 rom?
[Spirit FM] AnBro-ID:
Can you add support for WCN2243 (Qualcomm MSM8225; LG Optimus L7 II P713)? Spirit1 FM Full receives RDS information and the signal, but there is no sound. May be some audio methods works or something like that?
[Spirit FM] mikereidis:
I tried Ditto Note ROM on my GT-I9300 and/or GT-N7100 many months ago.

I vaguely recall some problems and a fix or two, but the only way to know for sure with latest ROMs is to test both Spirit1 and Spirit2. Try the latest free versions of each if you don't already have copies.

Samsung made changes on stock GT-N7100 at some point that prevent Spirit1 from working if unrooted.

The vast majority of Spirit users are on AOSP ROMs where there are no other options for FM. Most people on stock derived ROMs are happy enough with the stock Samsung FM apps.

For these reasons, I have no incentive for fixing any problems on stock or stock derived ROMs, especially for the much older Spirit1.