yashsingh1/xdaforums huggingface dataset:
[Spirit FM] feriber:
I've been using that version as soon it was published. Now i've flashed 20150319 version

Yes. See my signature

I started from scratch with beta 18 (february) after a clean install including pit 1Gb/4Gb pit flashing, all formats, etc. And i've never been able to make Spirit work.

I even upgraded radio firmware from I9100BULS1 to I9100XXLS8 version (afterwards RIL information stored with the ROM matches the radio firmware version.

I've removed all low level apps (SamBattery, Autorun Manager, etc.) I've even tried disabling "administrator" apps (Lookout, Android Lost), with no success.

I have no audio apps (only those which ships with our CM12 rom).

I've tried radio even in plane mode, and the phone also soft reboots after two minutes playing radio.

In digital mode (as happens in analog mode), there is no speaker output, BUT it seems to work longer, but not much longer

Can I enable some kind of debug or extract some log that could give you an idea of what's happenning.

I've also noticed that when the app is running at full screen, and phone goes to sleep, when i press power button y see a visualitation on the screen saver. and i can unlock the phone.

If i run Spirit from the notification bar, and let the phone go to sleep, i can not wake it unless i go to settings trough notification bar.

It's annoying. Finally phone performs a soft restart.

When the phone restarts almost 50% of times it does not recognice my carrier. Euskaltel is a virtual operator that uses Orange's network. When phones boots correctly, Euskaltel appears as the network carrier, but when Spirit crashes and phone performs a soft reboot Orange appears as the network.

It's all very strange.

Thank you for your attention and support.

EDIT: I've got no SuperSU app installed. Just CM12 ROM tools
[Spirit FM] mikereidis:
No, Samsung purposely, permanently and unfixably disables FM on most flagships since the GS4...

...except US Sprint variants after GS4, which further proves it is done on purpose and that it's not an issue of software support.

No app can ever fix what Samsung (or Google, Apple, etc) purposely disables in hardware.
[Spirit FM] mikereidis:
Just FYI I am now running Omni LollipopMR1 5.1 (omni-5.1-20150313-i9100-HOMEMADE) on my GT-I9100 now and I'm not seeing any notable issues on it either.

Yes, send me a log from the latest Spirit2 regular Lollipop release 2015_03_18_lollipop or the newer beta 2015_03_20_beta. Use Menu>About>Debug>Log and press Send on email client after 10-20 seconds or so.

Please email me mikereidis@gmail.com and I will send you a test release of Spirit1 that can run on Lollipop.

There are other things that can be tried on Spirit2. Set Menu>Service>Audio Plugin to "CUS" (Custom) and restart Spirit2. This will disable audio (uses microphone ? I don't recall right now) but can be useful to trouble-shoot.

You can do the same with the Tuner Plugin, to see if it is related to the tuner code, which I suspect.

Also set Tuner>RDS and Tuner>RDS AF to "Stop". And disable the 3 Service>Update * settings. Disabling the update settings allows me to run Spirit2 for testing with screen on for many days; otherwise I have to reboot every 12-24 hours (unless screen is off). This is due to an Android 5.0 and/or CM12 memory leak issue.

Speaker mode on GT-I9100 is a bit of a problem lately. It often works better to pause/play the audio after, or while switching headset & speaker.

I have also been noticing that GT-I9100 and GT-N7000 are struggling for CPU time when running Spirit2 in digital mode, with RDS, with visualizer and EQ and other effects. This has long been true for the now ancient Galaxy S GT-I9000, but I am seeing this more now on GS2 and Note1.

So it might help to tweak the CPU speed and try to ensure other apps aren't using too much CPU. Turn EQ and effects off to improve.
[Spirit FM] feriber:
Done. I've sent three mails. Spirit2 running in auto mode, digital mode and analog mode.

No radio. Only mic input is played

No audio (radio neither mic)

Done.

I really don't need speaker mode. I allways use headphones.

I have also been noticing that GT-I9100 and GT-N7000 are struggling for CPU time when running Spirit2 in digital mode, with RDS, with visualizer and EQ and other effects. This has long been true for the now ancient Galaxy S GT-I9000, but I am seeing this more now on GS2 and Note1.

They are all off.
[Spirit FM] mato1168:
I tried to transmit spirit fm transmitter app Xperia T with CM 12 android 5.0.2 but the application does not work. There is a version of the application which operates under the CM 12? Thank you for your response.Sorry for my bad english
[Spirit FM] 4non:
it works

I tested the opensourcebased SpiritF on my LGD855 on CM12-based Rom and it worked after i flashed the 777 Kernel, which has radio-module.
[Spirit FM] mikereidis:
:)

Audio sound OK ?
[Spirit FM] mikereidis:
:)

Please send me an email mikereidis@gmail.com .

What happens ? Error message ?

Which version ? Latest on Play ?

Do any of the Spirit FM receive apps work ? I fixed an issue in Spirit2 2015_03_25_lollipop with daemon not starting on Xperia L, but it's not in the released Transmit app yet.

Spirit Transmit has been based on the redesigned Spirit2 for Lollipop in the last few months.

Transmit runs fine on my Xperia Z1 with CM12. Same on Xperia Z with pretty much all the Lollipop ROMs I've tried, including cm-12-20150324-INFECTED-yuga.zip.
[Spirit FM] mikereidis:
See below for Spirit2 KitKat.

Spirit2 2015_03_25_lollipop is on Play now for Lollipop devices.

Fixes relative to 2015_03_18_lollipop include:

- Daemon start fix for CM12 Xperia L (and likely some other devices/ROMs).

- GS2/Note1 fix for switching Speaker mode without Pause/Play.

- HTC One M8 too loud pop at startup.

Spirit2 KitKat has been "stuck" at the 2014_11_28_kitkat release for 4 months now, and is based on 2014_09_11 which is 6.5 months old now.

I will slowly release a KitKat+ compatible Spirit2 2015_03_26 starting tomorrow with a staged rollout starting at 5%.

What happened is that in November I released the redesigned Lollipop/SELinux compatible Spirit2, and there were WAY TOO MANY reports of problems on various KitKat ROMs, despite a good bit of testing I had done on both KitKat and Lollipop.

So I re-released 2014_09_11 as a few *_kitkat releases until that was working for most people. Since then I have been very hesitant to make the redesigned Spirit2 available for KitKat, except for the beta testers.

But this 6.5 month old code has MANY bugs and lacks many features of the latest Lollipop releases and I am getting increasing emails about this.

If a small rollout results in few reported problems I will slowly ramp up the percentage and see how it goes, and perhaps eventually enable this for Android 4.1-4.3 as well. Otherwise if too many problems are reported I might cancel this rollout and leave KitKat users with the old release.

If you are on 4.1 JB - 4.4 KitKat and are a customer and can't wait for this slow rollout, just sign up for the beta and you'll get the latest code. Instructions here: http://xdaforums.com/showpost.php?p=57079402&postcount=795
[Spirit FM] 4non:
Yes it sounds good, now iam looking for spirit2 from playstore which has more features
[Spirit FM] mikereidis:
Sorry for my delay.

I don't see any obvious problems in the debug logs. The kernel logs seem "busy" but they often ARE busy on many devices.

The easiest resolution for me at this point is just to refund your purchase. I'll let you decide about that.

I have sent you the latest Spirit1 beta in the hope that it will work better for you.

The GT-I9100 is the 2nd most popular phone running Spirit. Wikipedia says at least 40 million were sold at one point.

AFAIR you are the only person reporting this stability problem on GT-I9100, though my memory is hazy about perhaps 1 person who had problems on old versions of another ROM and I also saw problems on that ROM.

In similar circumstances in the past, where a cause was found, it is often a hardware fault that was intermittent or mostly showed up when the CPU was hot, or certain other apps or mods were running.

These otherwise unexplainable problems are relatively rare though, so it's hard to make generalizations.

Have you tried any other ROMs ? I am currently running 5.1 on my 9100: omni-5.1-20150324-i9100-HOMEMADE.zip

i
[Spirit FM] Braaainz:
Mike, I was recommending Spirit1 to a friend and saw that in one review you commentated to a reviewer that the LG G3 might be compatible with Lollipop ROM now.

I checked one of your threads and earlier this month you expressed skepticism that you could get it to work on the G3 851 (T-Mobile) version. However layer, you said it might work on the G3 running Lollipop.

I know you are probably taking about some other variant, but i have to make sure. I really miss having your app.

So, did you find a work around for the T Mobile G3, version 851?
[Spirit FM] mikereidis:
No, I am pretty sure that only International and US Sprint variants have FM antenna connected. Spirit "works" if it's rooted and a kernel with FM driver is installed, but there is no signal strength and no signal.

Exact same situation as with the G2, and I expect the coming G4.

FM on Android is dying, particularly on 1st world flagships.

The "ancient" International (again, only) GS2 and GS3 are the most popular phones from which Spirit is "supported"/purchased.

That income is in terminal decline, bumped a year ago only by the then new Spirit2.

I am considering a move into the Android Auto world, which currently needs a Head Unit app for tablets. And I am guessing that Android Auto music will be largely non-traditional broadcast, though I've experimented with Spirit2 AAuto support for the dwindling number of phones with FM.
[Spirit FM] mikereidis:
GOOGLE BAN on the Spirit apps. :(

I added some debug/test capabilities to disable SELinux in the Spirit apps, and Google has banned them as a result.

I haven't looked yet but I guess this means they can't be downloaded from Play now.

My priority now is to remove these capabilities and post new versions on Play.

I provided 2 methods to disable SELinux. 1 required accessing debug menus and the other required creating a flag file, which was for my own testing.

In neither case was there a dialog, but I DID pop up a long toast saying it was a really bad idea and was only for testing.

Here is the 1st notice:
[Spirit FM] TsuNoDan:
Free version apk

Hi! I can't download the free version for Lollipop (attachment not found).

Can someone post the link plis?

Thanks!
[Spirit FM] Mosh Edd:
Hi bro OP, is there a way to solve this issue I have, because if I am listening to fm and I make a call, or a call incomes, the person am speaking with hears what is going on in the fm radio station am listening to. i don't know why, or is it just me!

P.S. Device and ROM/KERNEL is as shown in my signature.
[Spirit FM] mikereidis:
Spirit2 Free is here where it has always been: http://xdaforums.com/apps/spirit-fm/app-spirit2-free-source-real-fm-radio-t2951455

Direct link: http://xdaforums.com/attachment.php?attachmentid=3215671&d=1426618705
[Spirit FM] mikereidis:
Spirit2 ? Which version ? Use Menu->About to see.

This should be solved in many of the recent releases of Spirit2. If you have a Kitkat release from 2014 you should use a more recent release. If on KitKat you can sign up for beta releases with the info here: http://xdaforums.com/showpost.php?p=57079402&postcount=795
[Spirit FM] TsuNoDan:
Hi mikereidis, thanks for your reply!

The apk link in thread don't work for me (this message appears: "Invalid Attachment specified. This can happen for a variety of reasons-- most likely because the thread or post you are trying to view has been moved or deleted. Please return to the forum home and browse for another similiar post.")

The direct link is working! :)

Anyway, I bought the app yesterday. I will send you a report of bugs that I found (I have CM12.1 for GT-I9300). Do not worry, it's works pretty well! :D
[Spirit FM] Mosh Edd:
oooh, thanx bro, I updated to a 2015 version, I hope it's gonna work well now.
[Spirit FM] ali_ihsan21:
Folks Im on DN4 and running Spirit 2 on my Note 2 but when I receive a phone call if my radio is running caller is hearing the radio sound if I dont turn raido off while ringing which is a little tricky as you can guess :p

Do you know a solution for that ? I tried to kill radio app with tasker while ringing but it didnt work.
[Spirit FM] Mosh Edd:
I already posted the question and given solution, just check previous posts.
[Spirit FM] ali_ihsan21:
Whenever I want to solve this problem its just changing face. This time yes caller dont hear radio sound, radio pausing but mic of my headset not working till I unplug and plug it again. Either I will do that unplug/plug every time I receive a call or I'll talk without headset.

I tried a lot of settings non worked.

Edit just saw that you said only latest 2015 is working but I can't open that package while install.

Now its fine I found the right file.
[Spirit FM] appro77:
I've purchased both Spirit 1 and Spirit 2 and used them on devices in the past with great success. I'm currently running a Huawei Ascend Mate 7 with a custom AOSP rom. Spirit 2 installs but won't start.

Spirit 1 however installs and seems to be frustratingly close to working. By that I mean that it will tune stations and show the station info on the display but I can't get it to produce any audio. I've tried all the audio "methods" in Settings but none will produce audio.

I fully realise that it may not be possible to make Spirit 1 work on my Mate 7 but I thought I'd post here just in case there's something else I can try.
[Spirit FM] sfs15:
No way to use this app on Nexus 5? Would really need FM radio
[Spirit FM] mikereidis:
No way to ever use ANY app on any Nexus, except original ancient Nexus One.

Google hates FM. It interferes with their profits.
[Spirit FM] mikereidis:
:)

If you have tried all Audio Methods, there is likely no way known to enable FM audio on it.

"Enable FM audio" is 3 simple words, and you may thus think it's easy. Once the "secret" is known, it may be "easy" but then there can be issues with phone calls and 100 other things that need a lot of work and a device to test with.
[Spirit FM] mikereidis:
As Mosh Edd said, see my response to him here: http://xdaforums.com/showpost.php?p=59853021&postcount=9050
[Spirit FM] mikereidis:
Customers can get the latest versions from Play or by emailing me.

Where are you getting your copies of Spirit from ?
[Spirit FM] appro77:
Thanks for your reply Mike. I can't even begin to imagine how complex it is to get Spirit to work at all, let alone on a million different devices. :) Thanks for a great app.
[Spirit FM] wonder_user:
CM12 support on Samsung W I8150

Hi Mike,

Spirit1 used to work with my Samsung W I8150 in CM11. In CM12 and Spirit2 it says 'no FM enabled in the kernel'. (Spirit1 doesn't work with CM12.)

Using CM-12.0 20150314-UNOFFICIAL and 150317 SpiritF (Spirit2 Free).

Is that something that the ROM developer needs to enable or something you can resolve?

Many thanks in advance!
[Spirit FM] mikereidis:
:)

If you are a customer, email me for the latest Spirit1 beta, or sign up with the instructions here: http://xdaforums.com/showpost.php?p=57079402&postcount=795

I added beta support for Lollipop to Spirit1 and it can work on some devices/ROMs, but SELinux MUST be disabled. This semi-support will likely never be in a non-beta Spirit1.

And Spirit2 will likely never support Galaxy W, unless somebody besides me modifies the source code for Spirit2 Free/Open.
[Spirit FM] Meneldur:
Hello!

I finally installed 777 kernel with radio support on my G3 D855 with CM12 0406 nightly, so I could try SpiritF.

It works really nice, using both analog and digital audio. I had two issues, though:

1. When launching the app, there's a loud starting peak, both on speaker and headphones. Using headphones may damage your inner ear :)

2. Using analog audio gives strong loud sound but digital seems more convenient and in sync with overall sound levels. However, both streams give saturated sound, as if gain was excessive. I saw a “preamp gain” option but I didn't know what values to try, and I remember tinkering with Spirit on my Galaxy S days could lead to permanent hardware damage...

Your work is superb. I really appreciate it and I'd like to buy the full version.
[Spirit FM] mikereidis:
Hi, :)

I heard the audio pop on my One M8 and made a special case for it. I should extend that to all Qualcomm devices.

For the over-driven issue, can you select Menu>About>Debug>ACDB>Install ? Then wait about 20 seconds and restart Spirit, or sometimes it's better just to reboot the phone.
[Spirit FM] Optimissimus99:
Is there a fix for this bug on G2 (D802 - Spirit2 payed+CM12): Bluetooth didn't work after Spirit2 was closed. Spirit didnt enables it again. It also cant be enabled manually. Only workaround for now is a reboot :(
[Spirit FM] mikereidis:
I'm not sure if this is related, but all G2 AOSP Lollipop ROMs have a power problem between Bluetooth and WiFi and both are on the same chip as FM.

If Bluetooth is off, this results in WiFi connections dying every time Spirit starts. Spirit2 has a workaround for this: If BT is off when Spirit2 starts, Spirit2 will power cycle the WiFi after it starts. This is important for me because I have 13 devices set up for semi-automated debugging over WiFi.

You may be able to avoid BT problems by always having BT on when Spirit is started. To allow operation with Bluetooth enabled, use Menu>About>Debug>SHIM>Install and then reboot the phone.
[Spirit FM] vrwmiaris1:
Just want to report that spirit 2 is working with saber sunset+ black bird kernel,BT streaming though didn't, nevertheless I'm satisfied
[Spirit FM] Optimissimus99:
I am using blackbird + CM12... I will try mike's trick... Thanx for answering
[Spirit FM] k4bbe:
Hi all ?

I had Spirit 2 on my Galaxy S3 and was about to purchase Spirit 1 for my S5 running Official CM12... am right in thinking that would be a pointless purchase as Spirit doesn't work on this device? I'm a lil bit confused regarding the different spirits and compatability etc so any advice would be greatly appreciated ☺ ?
[Spirit FM] JustArchi:
If your device doesn't include FM chip, then it's physically not possible to make any version of Spirit work. And S5 doesn't have FM chip IIRC.

Otherwise, mike provides many beta packages, including Spirit Free, so you can test if it works before you buy.
[Spirit FM] agritux:
Now it is working cm added your commits
[Spirit FM] mikereidis:
The only GS5 with usable fm is the very rare variant from Sprint in the US.

I don't support the Sprint GS5 because it is very rare and would require buying a phone and putting a lot of effort into it; I would never be able to pay for that phone with the few extra Spirit sales I'd get, never mind all the time needed.

Pretty much ALL phones have "FM" in an FM/BT/WiFi combo chip.

But most phones have this FM disabled/not enabled by shorting the FM antenna pin on the chip to ground, instead of connecting it to wired headset jack with about 1 cent worth of tiny parts.

This is done very purposely and it is not feasible to fix.
[Spirit FM] Mad_Lion:
Hello. Can you please make possible to save more preset stations? I like to have all available stations saved and 16 spaces currently offered in Spirit2 simply isn't enough. In old Spirit1 this was possible as I had preset about 20 stations.

Thanks
[Spirit FM] mikereidis:
OK. :)
[Spirit FM] Victoristics:
Spirit2 rocks, but encountering an issue on Xperia L related to QCom Antenna setting

Hi Mike,

After installing it this evening I have been very pleasantly surprised at how well Spirit2 works. I was really missing the FM Radio app on my Xperia L (Taoshan) after I replaced its stock firmware recently with CM11 (Android 4.4.4) and, after only a few hours of use, I can see Spirit2 is a capable replacement. The sound quality seems better in fact than I recall it being on the FM Radio app.

Having a slight issue though that I'm here to seek your help on, it's an inconvenience really.

Spirit2 works properly when I have the QCom Antenna setting set to External. However, if I switch Spirit2 off or kill the app and relaunch it, it's necessary to go into the QCom Antenna settings (which then still show as set to External) and manually select one of the other options (i.e. the blank option at the top or the Internal option underneath External) and then select External again. Sound is then perfect on Spirit2.

It's as though, despite remembering my External antenna setting, somewhere deeper internally its not 'staying' remembered.

Is this a known issue and/or is there any light you shed on this? I would so appreciate if this could be rectified.

Thank you in advance and keep up the good work.
[Spirit FM] mikereidis:
:)

Spirit2 allows use of the EQ/effects, while most stock FM apps do not.

What version of Spirit2 do you have via Menu>About ?

I have not seen this problem with QCom Antenna setting.

I have a MotoG that stopped saving any options due to FSF partition issues.

Sometimes settings problems were fixed with an app remove and reinstall.

Can you send me /system/build.prop or just tell me what "ro.product.device" is set to ?

From terminal or adb shell you could do:

getprop ro.product.device
[Spirit FM] Victoristics:
Thank you for replying. Yes, I did uninstall, reboot and reinstall and encountered the same problem described in last post.

I have emailed you build.prop (My email says just 'build.prop' in the subject line).

Thanks again.
[Spirit FM] nandish.gr:
Does spirit fm 2 support on the DN4 2.1 ROM?
[Spirit FM] mikereidis:
Try it and let us know.
[Spirit FM] Meneldur:
ACDB worked. Now there are no more pops or peaks when starting SpiritF.

::joy::
[Spirit FM] zander21510:
Tried on my new 2014 moto X, didn't work is it compatable?
[Spirit FM] mikereidis:
Nope.

Moto killed it.
[Spirit FM] kalakahua:
Mike,

I bought Spirit2 an it's working well on Sony Xperia Z (Yuga) on Validus ROM Lollipop 5.0 with evomix kernel. Nevertheless when i install Validus or Resurrection on Lollipop 5.1 and try to access Spirit 2, the message ''This device may need a kernel with a working FM driver" appears. What could i do?

Thanks.
[Spirit FM] seatibiza:
Work on LG G3 D855 5.1 AOSP

Hi,

i´m now on Euphoria ROM with 5.1 Lollipop which based on CyanogenMod 12.1 and Spirit 2 works great! :D

LG G3 D855
[Spirit FM] zander21510:
Well that blows...idk why they disable FM radio in modern flagships...it's nice not to have to use data to listen to music at work (since the work computers don't allow streaming).

good luck with all the other devices! :)
[Spirit FM] mikereidis:
Most likely the message is correct.

You need a kernel with a working FM driver. Try a different kernel.

Many ROM and kernel devs don't care about FM, and a dwindling percentage of the ROM/kernel users care, so a bit too often the FM driver doesn't get enabled or doesn't work.
[Spirit FM] mikereidis:
Luck is not sufficient. My Spirit income is rapidly declining, and well below minimum legal wage here, so I need a new project. The new project is an Android Auto HeadUnit app.

In the North American credit culture, where most people "rent" a phone from their carrier, the carrier is the REAL customer of the phone OEM.

And most North American carriers want us to use streaming and buy data plans so they tell their suppliers to disable FM.

Add the fact that Google owned Moto for a few years. Google hates free FM with non-Google advertising and no music revenue for Google. They only grudgingly included it in the Android One devices we will likely never see in the richer "Western" world. Same with the "forbidden" SDCard support.

The only recent Motos with FM are the very clearly budget targetted Moto G and E. Buy a better phone and you are assumed to have enough credit left over for a data plan.