yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
OK, then it's more likely a bug of some sort. That was general advice.

Try setting Menu-> Settings-> Debug-> QCom Antenna to "Internal" and restart Spirit.

This likely won't work though, so set it to "External/Headset", and restart Spirit again.

You can also try setting Band to "North America" (to test) and restart Spirit again.

Are you running a ROM, or is it stock and rooted, or unrooted ? You can try setting Debug-> FM Chip to "OEM Proprietary" and restart Spirit again.

You can send me a debug log: Run Spirit, tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client. If that doesn't work, email me for an unreleased fix.

Have you tried Spirit2 ? I can send you a copy if you email me, but last I heard the Xperia Z may not have been working well with S2.
[Spirit FM] albertusac:
Can Spirit2 executed on S3 mini? :confused:

I just use XperiaZ for playing :D

BTW, how to enable Equalizer in this?

When I try to make log, it says not found.
[Spirit FM] mikereidis:
No.

I have to admit I was pretty surprised how prominent the GS3 mini was in my Spirit1 sales stats. About 6.7% of 2014 Spirit Unlocked sales -> March 10.

I've been wondering if I should get one, but "Novathor" turns me off.

On Xperia Z ? If Spirit is running in digital audio mode, then hitting Menu-> Equalizer tends to work on CM/AOSP ROMs. But it never seems to work on stock Sony ROMs; must be some proprietary stuff for that. Installing the "Equalizer" app on Play might fix that.

After getting used to my favorite EQ settings* (or at least something automatic, like HTC Beats), it becomes hard to enjoy no EQ for FM.

*I like a small bit of Bass Boost and R&B EQ settings usually, sometimes Rock.

That's the bug I mentioned that a newer version of Spirit fixes. I can email, or maybe tonight I'll put it up as a Spirit Unlocked beta.
[Spirit FM] albertusac:
Okay.

How to enable equalizer on S3 Mini?
[Spirit FM] mikereidis:
You can't.

S3 mini stock FM doesn't work with EQ. Right ? Otherwise Spirit could do the same.

And Spirit's digital audio mode won't work.
[Spirit FM] albertusac:
Okay let you upload the beta :good:
[Spirit FM] devdasrathod:
Tested March 10 Beta on Micromax A55 Bling 2 (Rooted). But, there is no Audio. Antenna is Disabled but still no output. Interestingly, when it wasnt rooted, extremely loud Audio (disturbance only) came and the phone kept vibrating.

Thanks.
[Spirit FM] vance74:
Is there a way to use the built in radio on HTC ONE while running Cm 11 4.4.2?
[Spirit FM] mikereidis:
I know nothing about that phone and it is not officially supportable.

There's a remote chance it could work with some configuration, if it has a supported FM chip and audio chip.

You can send me a debug log. Run Spirit, granting SU when requested. Tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.

If that doesn't work, email me for a version with debug logs fixed.
[Spirit FM] mikereidis:
Yes, the HTC One is fully supported. I mostly run the latest CM11 nightlies on mine.

You might consider Spirit2 at this point. It has fewer features, and some audio glitches on March 10 or earlier, but the new March 16 beta seems to fix those.
[Spirit FM] Ricardin:
Is the At&t Lgg2 capable of work with spirit 1 or spirit 2? thank you.
[Spirit FM] !n!t6:
I get a msm_serial_hs_rx wakelock after exiting spirit fm preventing my HTC ONE GPE going to deep sleep. I am on kitkat KOT49H.

Is there anything I could change in the settings?
[Spirit FM] posy:
Hi,

i have an lg optimus black with a custom rom based on last CM, is there any way to use spirit FM on this device?

thanks
[Spirit FM] hemantvaswani:
Sony 2011 - Xperia WT19i - Rooted

Hi,

could you please confirm SPIRIT FM will work on CM11 - KK 4.4.1 based ROM for Xperia 2011 - Live with Walkman(WT19i)

Thanks

Hemant
[Spirit FM] nirajvashi:
Hello, are there chances that Galaxy S5 has FM Hardware? Thank you
[Spirit FM] devdasrathod:
I have sent the Debug Log by email. Please let me know if Spirit can work on Micromax A55 Bling 2. Thanks
[Spirit FM] mikereidis:
Sadly no.

Only International and Sprint G2s have usable FM.
[Spirit FM] mikereidis:
I can confirm it will NOT work. :(

AFAICT it has no usable FM, and it's too obscure to support well anyway.
[Spirit FM] mikereidis:
I haven't been able to support P970 in a LONG time now.

The tuner part will work, but audio will not.

Some smart person with plenty of time could figure out the magic to enable FM audio.
[Spirit FM] mikereidis:
Every Galaxy has an FM/BT/WiFi combo chip.

But the S5, like most Galaxy's, disables the FM by grounding the FM antenna pin, instead of connecting it to the wired headset.

It's purposely disabled and not possible to fix.
[Spirit FM] mikereidis:
Hmmm... How do you see wakelocks ? I've never really looked.

I'll look at my own One and see.
[Spirit FM] clebersb:
I bought the Spirit 2 without looking at the supported devices. Is there any way to work on Huawei Ascend P6?

Jelly Bean 4.2.2 rooted

Thank you.
[Spirit FM] devdasrathod:
Hi Mike,

Are you getting a disturbance free audio (without plugging the headset) on the loudspeaker of SpiritFM on your Note 2? Thanks.
[Spirit FM] mikereidis:
No. Not even Spirit1 supports P6, at least not officially.

Just email mikereidis@gmail.com and I'll cancel your order.
[Spirit FM] mikereidis:
Yes, except for issues with lower signal due to no FM antenna.

What ROM and kernel are you using ? Digital audio or not for Spirit ? What does it sound like ? Does it happen even after a fresh boot, not running other apps ? Any audio mods or low level audio apps ?

I'm currently running cm-11-20140313-Linaro-n7100.zip because I've tired of waiting for official CM11 support; still stuck at 10.2.

I tried this with both digital and the default non-digital audio modes and interrupted both with a few audio notifications.
[Spirit FM] mikereidis:
... Spirit2.... next page. :)
[Spirit FM] mikereidis:
Spirit2 Free version March 20 Release Candidate 1

I've released as FREE the March 20 Release Candidate 1 for Spirit2. It may be the last fully functional free release.

APK here: http://d-h.st/EoD

More info on Spirit2 thread here: http://xdaforums.com/showpost.php?p=51226990&postcount=566

License validation DRM is now disabled, at least for now. App stats collection is also disabled, at least for now.

Spirit2 is officially supported on these rooted / AOSP phones:

Samsung:

GT-I9300

GT-I9100

GT-I9000

GT-N7100

GT-N7000

HTC:

One (GPE requires BT off)

OneX LTE, OneS, Evo 4G LTE (2013 CM11 or CM10 only. Most 2014 kernels removed module support needed for FM driver.)

LG:

G2 (International and Sprint LS980 only.)

Motorola:

Moto G

The only other devices with a chance of working fully are those with Qualcomm WCN3660 or newer compatible FM/BT/WiFi chips as well as Qualcomm WDC9310 or newer compatible audio chips. This includes most late 2012+ Sony devices starting with Xperia T. These may or may not work well, and are not officially supported. With sufficient demand I will consider buying a "Z" device and officially supporting some Sony's.

Thanks ! :)
[Spirit FM] nirajvashi:
Hello,

With regard to the FM pin being grounded in latest Samsung Flagships like the Note 3 and the S5, is it practically possible to open the hardware of the phone and connect it to the antenna headset? If yes, I think some Hardware experts may be able to do it.

Thank you.

---------- Post added at 02:03 PM ---------- Previous post was at 01:41 PM ----------

Hello, Is it possible to play FM transmitting on a Headset with FM Capabilities through a Smartphone Loud Speaker when a Smartphone does not have FM (such as Nexus 5 or Note 3) i.e will FM playing on a headphone with FM be heard through a Smartphone Loudspeaker ? Thank you
[Spirit FM] lomunet:
Hi!

First, thanks for your work... I have buyed the spirit fm and the spirit2 beta... Both works fine with cm 11 (my phone is lg g2 d802) but in slimroms (the last beta for my model) I can't listen the audio... I have seen that the radio is working cause I can see the radio station name...

Can u help me? Please, tell me if you need any log or something...

If is helpfully i have found this log...

V/MediaFocusControl( 738): updating focussed RCC change to RCD: CallingPackageName:fm.a2d.s2 isFocussed:false isAvailable:true

V/MediaFocusControl( 738): updating focussed RCC change to RCD: CallingPackageName:fm.a2d.s2 isFocussed:true isAvailable:true

D/utils (20385): prefs_set: String: tuner_freq = 93200

W/art (20447): Thread[15,tid=20524,Native,Thread*=0x473b1140,peer=0x650b 9588,"Thread-1762"] attached without supplying a name

V/MediaFocusControl( 738): updating focussed RCC change to RCD: CallingPackageName:fm.a2d.s2 isFocussed:false isAvailable:true

V/MediaFocusControl( 738): updating focussed RCC change to RCD: CallingPackageName:fm.a2d.s2 isFocussed:true isAvailable:true

E/pcm (20385): pcm_read readi frames errors: 13 ret: -1 errno: 77

D/pcm (20385): pcm_read_init pcm_read_fd: -1 device: 10 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init pcm_read_alsa_device: "/dev/snd/pcmC0D0c" pcm_read_fd: 28 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init set sw params OK

E/pcm (20385): pcm_read_init 0x4140, 0x7 error ret: -1 errno: 22

E/pcm (20385): pcm_read readi frames errors: 14 ret: -1 errno: 77

D/pcm (20385): pcm_read_init pcm_read_fd: -1 device: 10 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init pcm_read_alsa_device: "/dev/snd/pcmC0D0c" pcm_read_fd: 28 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init set sw params OK

E/pcm (20385): pcm_read_init 0x4140, 0x7 error ret: -1 errno: 22

E/pcm (20385): pcm_read readi frames errors: 15 ret: -1 errno: 77

D/pcm (20385): pcm_read_init pcm_read_fd: -1 device: 10 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init pcm_read_alsa_device: "/dev/snd/pcmC0D0c" pcm_read_fd: 28 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init set sw params OK

E/pcm (20385): pcm_read_init 0x4140, 0x7 error ret: -1 errno: 22

E/pcm (20385): pcm_read readi frames errors: 16 ret: -1 errno: 77

D/pcm (20385): pcm_read_init pcm_read_fd: -1 device: 10 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init pcm_read_alsa_device: "/dev/snd/pcmC0D0c" pcm_read_fd: 28 samplerate: 48000 channels: 2 len_max: 3840

D/pcm (20385): pcm_read_init set sw params OK

E/pcm (20385): pcm_read_init 0x4140, 0x7 error ret: -1 errno: 22

E/svc_aud!!(20385): fill_pcm_buffer: fill_pcm_buffer get error: -1 tail index: 0
[Spirit FM] !n!t6:
My better battery stats lists them in the kernel wakelock section. It's actually two of them everytime I close spirit fm:

msm_serial_hs_rx

msm_serial_hs_dma

I could not reproduce this behaviour with Spirit2 2014_03_20.
[Spirit FM] mikereidis:
Hi, No. In the history of phones, nobody has ever done it. And somebody would have done it on an iPhone by now.

I did a lot of component level repair on early PCs and terminals and comms equipment in the early 1980's, and still use soldering skills from time. But these are many layered circuit boards using surface mount devices requiring thousands of dollars of equipment, and a lot of experience using them. Much cheaper to buy a new phone LOL.

I REALLY wanted to do this on my Nexus7, but trying to remove the RF shield probably would have killed the PCB.

No. There are some BT headsets with FM, but AFAIK none of them allow any interaction between FM and the phone. I was a bit excited when some of Sony's BT headsets were

"sort of" opened to hackers, but they didn't release source code for the normal product, so no FM.

I was hoping to at least control FM on the headset from the phone. It's theoretically possible but nothing supports it.

Closest you'll get right now is to hang a USB radio dongle off the device and run SDR Touch.

EDIT: Hmmm, I've been keeping an eye on watches/wearables and just resigned myself to the idea of no FM. Then I see this, which is supposed to have FM: http://xdaforums.com/showthread.php?t=2630636

None of the "Android on a stick" devices seems to support FM either.
[Spirit FM] mikereidis:
Great ! Problem solved ! :)
[Spirit FM] mikereidis:
Hi. Please try not to quote large posts, especially post #1.

Email me mikereidis@gmail.com so I can send you a test release.

So, also with Spirit1 Unlocked audio doesn't work when using installation defaults, IE non-digital mode ?

Is it a beta of Spirit1 Unlocked, or the Feb 14 "production" release ?

I put a hack into Spirit2 and Spirit1 Unlocked beta digital mode for a GS2 Slimrom. This hack doesn't seem needed on new Slimrom's for GS2 so I disabled it.

I'll try the Slimrom for LS980; I think it should show the same problem as for d802. I tested with Slim-ls980-4.4.2.build.3.4-WEEKLY-3177.zip around March 6.

EDIT: I keep relearning stuff I already learned before. Time to document.

Anyway, the audio driver in the kernel in the Slim ROM is just plain incompatible with FM. I'm not too confident the dev will be happy to change the driver. Maybe alternative kernels would work, but I think I tried them all before and they all have this issue. They all have no /system/etc/snd_soc_msm directory either.

CM and the Mahdi ROMs were the only ones with an FM compatible kernel. Slim, Nameless and Paranoid Android kernels were not compatible, nor were Dorimanx or Furnace.
[Spirit FM] lomunet:
Hi again,first sorry for the large quote :p. Yo must have a mail from xxxxx@lomunet.org. Thank you very much!

Edit: spirit 1 is a stable release
[Spirit FM] nirajvashi:
Xperia E1 Music Smartphone

Sony has launched its Walkman Smartphone - the Xperia E1 with a loudspeaker output of upto 100db. This is probably the loudest Android smartphone available. I have personally tested it and I am not sure whether its volume can go upto 100db but surely its quite loud. I have also tested the so called loud phones such as the HTC One and the HTC One Max but I can assure that they are much quieter than the Xperia E1.

Here is the link to the Xperia E1 - http://www.sonymobile.com/global-en/products/phones/xperia-e1/features/

The complete specifications link is here - http://www.gsmarena.com/sony_xperia_e1_dual-5967.php

It is a Smartphone for Music Lovers and therefore a potential client for Spirit.

It has the Qualcomm MSM8210 Snapdragon 200.

What are the chances of Spirit working on this Smartphone and whether there are chances of it will be officially supported.

Thank you.
[Spirit FM] CayetanoVelocity:
Hi there!

First of all thx for your great work, much appreciated!

Scanned through a lot of pages of this thread, but couldn't find the answer:

What do you mean by "officially supported"?

Is there still a risk of frying your phone's speakers with Samsung Galaxy S GT-i9000?

My phone is a lagfest and I'm really looking forward to installing a more recent custom rom (eg. CyanogenMod) but can't really do without an FM radio.
[Spirit FM] devdasrathod:
Does Spirit FM work on the Mediatek SOC powered devices such as the MT6589 ? Thanks.
[Spirit FM] mikereidis:
SOC doesn't matter to me.

What matters on stock, unrooted phones is FM tuner and FM audio API. If the FM tuner API is the same as all other Sony 2012+ phones, Spirit1 supports that already. Sony has had MANY variants of the FM audio API though. I can't say if they've changed it again, or if it will be easy and worth my time to figure out any changes. Regardless, I'm not too interested in stock APIs any more.

What matters on AOSP ROMs, or sometimes stock rooted ROMs is the FM and audio chips and their kernel drivers. Spirit pretty much "supports" all Sony late 2012+ devices (Xperia T and later) because they all use Qualcomm FM and audio. "Supports" is quoted because there are some issues on some phones.

So, there's a reasonably good chance Spirit will work, but I can't guarantee anything. I also can't guarantee I'll be too interested to fix any problems. The Xperia Z2 is expected to sell well and I may be more interested in supporting it first, but this improves the chances for other recent Sony phones.
[Spirit FM] mikereidis:
This is the Spirit1 thread, and that "official support" list is for Spirit2. Regardless, the Spirit2 list is what I concentrate on for Spirit1 now also. I will no longer spend more than a few minutes trying to fix Spirit1 problems on other phones, and there are very few requests for those older devices anyway.

"Official support" means I own the phones, or very similar ones, can test ROMs myself and have a commitment to doing my best to resolve problems, mostly on AOSP ROMs.

Yes, GT-I9000 speaker damage risk is still present on all AOSP ROMs that came after CM7 Android 2.3 GB. I get few damage reports now, about 2-4 a year, but that may be in part because most people have moved on to more recent devices.

Look at it this way: There's a 1-5% chance the I9000's speaker will break within 20-40 hours of FM listening. If it doesn't happen during that time, it likely never will. Nothing can be done to reduce risk, other than perhaps not playing FM during charging or connecting / disconnecting charger/PC or headsets.
[Spirit FM] mikereidis:
No, and very likely never.
[Spirit FM] CayetanoVelocity:
Ok, crystal clear, thank you very much.

Sorry state of affairs and despicable nearsightedness on Samsung's part (I mean not releasing the driver's code)...

Those hyper-consumistic market models were perhaps acceptable in the late '90s, with the exponential growth of cellphone capabilities, but not now anymore, with the economic crysis on top...
[Spirit FM] tranphu:
Got background noise when listening radio and it's still noise in my headphone even Spirit FM turned off.

Have any settings to reduce noise? I wanna clearly sound.

I am on Galaxy Ace phone.

Thanks.
[Spirit FM] !n!t6:
Well, not really. The sound on my One is slightly overdriven with Spirit2 :(

I switched back to Spirt 1 UL. Will have to reboot my phone every time after using the app.
[Spirit FM] mikereidis:
I'm not sure we can entirely blame Samsung.

It's standard industry practice to NOT release source code for the audio libraries. Everybody else keeps the code to themselves, EXCEPT for Nexus devices (which almost always have FM support removed, thanks to Google.)

AND, CM7 audio library works with FM and has never hurt a speaker.

It's just a mystery why I was never able to remove the risk. I spent hundreds of hours trying to solve it. I even made the ICS kernel put out the exact same kernel messages as the CM7 code did; unfortunately FM wouldn't work with that exact code in ICS.

That said, GT-I9000 hardware shipped with various known bugs. And I suspect a HW bug, that only affects 1-5% of devices is "ultimately responsible". But I can't be sure and the problem is beyond a solution at this point.
[Spirit FM] mikereidis:
I'm afraid this problem is known, and is not solvable by me.

It requires a fix in the audio library to raise an analog output level.

Some ROMs for some similar devices have this fix. Many don't.

The worst part is that some devices put out a very loud spike of audio when FM starts. It sounds like something simple to fix, but nothing I tried worked.

These devices are relatively old now, so fixes are rare.
[Spirit FM] mikereidis:
I presume the same when using Spirit1 with Audio-> Method set to "Digital One" ?

HTC One FM audio is purely digital I think*, even when using "non-digital" audio methods.

So there's no analog level to reduce, other than the analog output volume after the DACs. In theory, over-driving should not be possible.

Whenever I switch HTC One from "Automatic" to "Digital...", the volume always reduces, speaker or headset. "Over-driving" should raise the volume I'd think.

Note that digital audio enables the use of Equalizer, Effects and Beats or whatever audio mods you have. Enabling compression is one way to create an over-driven like situation.

I don't recall anyone else reporting this, but I forget plenty and many people don't have the best ears, self included.

*I'll experiment and verify or not.
[Spirit FM] mikereidis:
Spirit2:

In preparation for the pending "Official non-beta release", the first 10 posts of the Spirit2 thread have been entirely redone and filled with the most useful information: http://xdaforums.com/showthread.php?t=2537861
[Spirit FM] nirajvashi:
The New HTC One (M8) is launched today. The review says it does not have FM Radio.

It is really shocking and surprising that with technology developing so much every day, features should be added on a device instead of them being removed. http://www.gsmarena.com/htc_one_m8-review-1062.php

The S5 does not have FM and the same is the case now with HTC. I hope this is not the case with the Xperia Z2.

I feel all the data on the internet should be collected across forums and articles on the Web where people have criticized the omission of FM Radio from Flagship phones and the same should be submitted to companies like Samsung by bringing to their notice that customers want FM Radio. I request opinion on whether this should be done and will that make a difference.
[Spirit FM] !n!t6:
Never tried this mode before, I had it running in ALSA mode up to now. After switching to "Digital One" the wakelocks are gone! :good:

Thank you!
[Spirit FM] gabi_tz:
Spirit FM not working in samsung S2 Plus. Any help apreciated: http://tapatalk.com/tapatalk_image....vZC8xNC8wMy8xOC9vcmlnaW5hbC9wdWJ1bnltZS5qcGc=

[MENTION=4698029]Mike[/MENTION]: I also sent an e-mail with this problem. Thanks!
[Spirit FM] mikereidis:
At least some variants of HTC One M8 WILL HAVE FM RADIO ! :)

US variants may not though, particularly Verizon, who has the only M7 with no FM.

I was just checking and my first thoughts were no FM. But at least one hands on review confirms a working FM app, and some official video shows an FM widget.

I've seen ignorant comments like "I'm glad it doesn't have FM. I always remove the app, and it requires a headset plugged in anyway". Some people seem to think FM takes up precious space inside the phone too.

Next question is whether or not Spirit will be able to support it, officially or not. Despite my disappointment with Spirit sales on HTC 2012 flagships, I was excited to buy the HTC One M7 and convinced it would pay for itself.

Looking at my sales stats now, about half of my sales paid for the phone, and the other half made me less than half the minimum legal wage here, sigh... And there are still problems that would probably take me at least 100 hours to deal with, and that's not counting the fact that HTC disabled 3rd party FM access on stock unrooted KitKat.

So,... I'm not about to rush out and buy an M8 and support it officially. I'll be counting support requests though, and watching XDA activity.

The sad fact is that I don't really see any 2014 phones yet that are clearly worth my while to buy. I added support recently for MotoG and the 25% or so of the LG G2s that are FM capable. But Spirit sales on these devices is VERY low.

The only bright point is still Galaxy flagships from 2011-2012: S2/S3/Note1/Note2.

With no hugely popular FM capable devices among ROMers in 2013-2014, the fate of Spirit is pretty much sealed. It's just a question of how long I can keep at it full time and what happens after that.

FM Radio has IMO at least 10 years of life left in "The West" and at least 20 years elsewhere. And inexpensive phones will have FM for at least 10 years I think.

But the prospects for a paid 3rd party FM app are slim going forward.
[Spirit FM] mikereidis:
Spirit is trying to use the Broadcom chip.

It SHOULD be trying to use the actual FM chip: Silicon Labs SI4701.

Your kernel may not have the SI4701 driver.