yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
Is the tuner part working ? IE does RSSI signal strength at top left go up, and over 20 when tuned to a strong station, while a wired headset is plugged in ?

Which Android version ?

On stock devices, try setting Menu-> Settings-> Audio-> Method to "HTC" and restart Spirit.
[Spirit FM] mariusx25:
HTC Desire 500

Yes, i have signals and also rds informations, but no sound.

I have 4.1.2 android version, 1.32.401.1 software.

I tried htc method, no sound.
[Spirit FM] KrellaKrentoshi:
I hate to beat a question to death but....

could you please post in the compatibility lists of Spirit1 and Sprit2 of any tablets that have fm? I realize FM radio in a tablet is a very rare thing, but i'm sure there are some out there. I am looking for a tablet, and I want to listen to FM on it while I work out. I"m not interested in a phone that pretends to be a tablet, just a 7 inch or bigger tablet that either has a stock FM app or one that can be modified to run Spirit. Please please please post a list somewhere for compatible tablets. Thanks so much, I appreciate the hard work you have done on this app, I bought Spirit1 Unlocked for my Droid 4 and LOVE it!! I want a tablet that can run Spirit also, but I need to know what tablets will work. Thanks!!
[Spirit FM] maquinabaja:
Someone could tell me if this app would work in one plus one?

Greetings and thanks.
[Spirit FM] scutworker:
You could download the free version from the first post and try it!

Make sure you post your findings back here so others know in the future

Cheers.
[Spirit FM] guhvanoh:
The Sony Xperia Tablet Z has fm radio. I think the Z2 tablet also has radio but I can't be sure as I don't have one.

HTH
[Spirit FM] mikereidis:
Yes.

Sony Tablet Z and Tablet Z2 are the only readily available first world tablets over 5" with FM.

I'd love to buy one but they were $400+ last I looked.

Spirit1 likely works. Spirit2 maybe if rooted, not sure.
[Spirit FM] mikereidis:
Probably not.

As always, the question is:

"Is the combo chip FM antenna pin connected to wired headset jack through a penny worth of components" ?
[Spirit FM] mikereidis:
Digital audio mode versus homescreen Google Now hotword detection ?

What phone ?

It should be possible to avoid conflict on devices that have an alternative PCM device, besides the usual default, available for audio input.

Default is /dev/snd/pcmC0D0c and is likely what mic input usually uses. I'd want to use pcmC0D2c or higher, but the ALSA driver must be able to connect FM to it. Not all can.

I'm assuming the ALSA driver can handle multiple simultaneous input streams. I've never even tried this yet.

More recent devices have more chance. Galaxy S GT-I9000, forget about it. One input device only.
[Spirit FM] KrellaKrentoshi:
thanks!

thank you both, i will look into them
[Spirit FM] maquinabaja:
Thanks for your reply but unfortunately I have not yet the one plus one in my hands ..
[Spirit FM] LenAsh:
Ha. Several G2 variants do. D802 for instance. Repent in your own time...
[Spirit FM] mikereidis:
Then ask the One+ folk, or someone who has one.

With CM, aren't they supposed to be hacker friendly ?

Or is the attitude "We're CM, we don't have to answer questions, and we don't support or like FM anyway". ?
[Spirit FM] mikereidis:
Normally I'd back off, but somebody who effectively says "You're wrong" in capitals and uses 2 exclamation marks deserves their own comments thrown back at them. ;)

Almost nothing is absolute.

There are a few devices "without FM" that I gave up on years ago. And then I found out they DO have all the needed hardware connections for FM. (Asus transformer TF101, Motorola Milestone,...)

Whatever, we all make mistakes and live and learn.
[Spirit FM] Preter:
What relevance is it when those variants, like the Korean version are not even available to most of the rest of the world?

What relevance would those variants be to this thread about Spirit FM when they would have their own radio apps already? Even the developer has specifically lambasted the LG G2 (as well as other new phone releases) for not supporting FM radio! He needs a huge number of users for each phone brand/model in order to even contemplate supporting it since most consumers don't even know how to root their phones.

So what if your version has FM? Is it enough for the developer to give a hoot for the small minority of users?

I can get the F320S/F320K/F320L variants specially imported too, but then again who would want an LG G2 variant with a crappy 2610mAh battery & other crappy compromises? There is a lesson for manufacturers to not offer flagship phones with compromises like the removal of FM radio etc.. Likewise for consumers to not pay top-dollar for such crap.

**Edit: Long time ago when I last checked Mike Reid's page & other sites, LG G2 got only flak for not having FM support. I haven't bothered once I strike a phone off my list. It appears that Spirit has finally reached 2 versions of LG G2 - even then for only some ROMs. After how long? Which means ultimately how many users got to benefit?

When it first came out, myself and so many others immediately vowed not to touch it with a barge pole. What with all the BS variants removing this and that feature. Just cos a variant comes with FM radio doesn't mean we would be willing to give up the removeable battery and mSD etc. By the time you know what version you can get and whether Mike is going to support it and when ... ...

At least they learnt something with the LG G3 - now that's a proper phone which is set to sell in large enough numbers for the dev community to support .
[Spirit FM] Rick O:
The reason for using Spirit or Spirit 2 on LG G2 at least for me is so I can record using digital audio.
[Spirit FM] mikereidis:
Scratched my cornea Friday. :( Thankful no eyeball surgery needed... :)

Can't read for more than 30 seconds. Will respond when I can; hopefully within a few days.
[Spirit FM] Rinoceros:
Get well soon.

Take your time. Maybe a good rest is also some nice thing to have ;)
[Spirit FM] Preter:
The problem with all these variants sh*t... Spirit 2 FM recording does not work on my i9100.
[Spirit FM] mikereidis:
Thanks. :)

Well with one eye closed and a dark theme I'm up to reading a few minutes at a time now...

Opportunity for some design time too; pencil, paper and thinking... :)
[Spirit FM] mikereidis:
Spirit2 is all digital audio, so recording should always work.

Maybe you don't have an SDCard or it's not mounted at /sdcard/ ? Spirit recording creates a directory /sdcard/Music/fm/ and writes the WAV files there, creating /sdcard/Music/ if needed.

I presume you ARE talking about Spirit2 (This is Spirit1 thread) and GT-I9100 (supported by Spirit2 and Spirit1 digital audio) and not GT-I9100g (not supported digital or Spirit2.)

Spirit2 recording is started or stopped by pressing the red button at top left and it gets brighter when recording.

Send me an email if you need help.
[Spirit FM] mikereidis:
Stock Android 4.4.3 seems to be compatible in general with both Spirit1 and Spirit2 :)

i ran both on my Nexus 7 2013 flo, and they seemed to work as needed, though the N7s are not, and are never expected to be fm capable.

The anticipated root app problems have not arisen, at least for now.

Of course OEM and device specific issues can still aruse, Eg the SELinix/Knox on GT-N7100 w/ stock 4.4.2 prevents either Spirit from working/ (I hope/expect to fix this.)
[Spirit FM] rob_yx:
Hi Mike,

I have a cm11 i9000 and I read that for si(Samsung Turner) there is only stereo(blend or switch) and mono control. Before buy spirit1 I would to say if I can use FORCE stereo mode in My phone, I love to listen fm always in stereo, eventi when rssi is low. Thank you

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Spirit FM] mikereidis:
The best you can do is set it to "Switch". Some chips allow tuning the switching thresholds, but Spirit doesn't provide access to it. (The command line ioctl utility could maybe do this, with the right parameters.)

It's not possible to FORCE stereo in all circumstances:

1 - Transmitters could be set for Mono only. I thought this was rare, then noticed some news and talk programs switch to Mono.

2 - The main L+R signal is usually the strongest. For stereo, we need the 19 KHz pilot tone and the L-R signal at 38 KHz and they are usually weaker, So at some point, L+R will be usable but the other signals needed for stereo won't be.
[Spirit FM] orlanddon:
Hi there.

I have a question: what are the units in which RSSI is shown? Is it dBf or dBn or something else? Thanks.
[Spirit FM] mikereidis:
Whatever the chip or API provides. ;) Though in at least one case, between the TI and Broadcom chips, I applied a factor of 1.5 to get them roughly the same.

Searching this thread on RSSI might provide some answers. I have a bad eyesight threatening eye infection right now, on top of my eye injury, so I can't read well right now.

I think the values tend to be logarithmic and in dB-something.
[Spirit FM] orlanddon:
Sad to here that news about your health, Mike. Hope everything will be OK soon.

I have found in this thread that Broadcom reports RSSI in dBuV, but my device most prorbably has Qualcomm's chip. At least it is built on Snapdragon 600 APQ8064T SoC. And it looks to work well on Automatic FM chip selection and not that well on QC V4L selection (sometimes crashes, sound disappears, etc), while other chip selections don't work at all. Working Audio method is Sony QC/Intent.
[Spirit FM] nicesoni_ash:
Oh boy, not good time of health for your family. First the kid and now you, just be safe and get well soon mike.

_____________

Sent from my GT-I9300 powered by Temasek Rom & Boeffla Kernel

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] mikereidis:
Thanks, eye is better today. Life stacks them up sometimes. :)

I count my blessings every day I wake up in a country without bombs or bullets flying through the air and where we can afford 3 good meals a day and a nice roof over our head.
[Spirit FM] mikereidis:
:)

SOC doesn't matter. FM/BT/WiFi combo chip matters, or dedicated Silicon Labs FM chip on Samsung GS1-GS3.

You haven't said what phone, and whether rooted or ROM'd.

For Qualcomm V4L Spirit1 takes v4l_tuner.signal, subtracts 150, and multiplies by 1.5 to roughly match Broadcom scale. Static w/ no signal tends to display around 0, and stations start getting good around 20-30 and max out from 50-70 or so, all displayed numbers in Spirit1.

I forget if V4L spec specifies .signal, but it might.
[Spirit FM] orlanddon:
The phone is xiaomi mi2s with miui v5 Rom which is rooted off course.

Is there a way to explicitly see what chip is used except for dismantle the phone?:)

And yes it can show values below zero and higher than 75 and 20-30 gives decent RX.
[Spirit FM] gqcJYb3UN8xSIWNUy2xX:
Hey,

Xperia Z1 compact latest cm11 . Spirit2 works, but one channel is lagging about a second.

Half of the buttons are not working like pause and stop. Some time after pressing buttons app FC.
[Spirit FM] j1miroquai:
Do you have any suggestions on how to make spirit radio 1 or 2 (I bought both) work on lg g2 with Mahdi rom 4.4.2. It worked but after the latest updates of Mahdi rom it doesn't work anymore. It seems that the app starts normally and the menu seems to work but I have no sound at all. Any recommendations, tweaks for spirit 1? (Spirit 2 doesn't have the options)
[Spirit FM] LenAsh:
You need to contact dr87 - he's removed (or forgotten) the FM radio audio driver in the kernel.
[Spirit FM] jocooljocool:
Hi,

I bought this when I was using a Galaxy S2. Now, I'm using a Galaxy s5 rooted but the radio doesn't work

---------- Post added at 09:20 AM ---------- Previous post was at 08:45 AM ----------

Sorry just saw the post that it's not compatible with S5

Thanks
[Spirit FM] umhhmm:
just a question

Good day all,

maybe someone can help me out i have a htc one s ville (s4) unlocked s-off supercid , and root,and stock rom, my question is can anyone tell me what if any custom roms that will support spirit1\2 real fm radio ?? i have flashed a number of roms from 4.2.2 to 4.4.3 and with no ota fm radio goodness so i am hoping that someone can give something to try , i have surfed many different forums and can not find an answer ,

thanking you in advance for any and all help !:fingers-crossed:
[Spirit FM] Rinoceros:
Did your stockROM supported FM radio? At least, the One S does.

What is the difference between the One S and the One S ville?
[Spirit FM] umhhmm:
yes it does support fm with stock but i am looking to move on from stock to a 4.2.2 or higher custom rom and would like a rom that also supports over the air fm ,

and as far as your question about ville there are a couple of variants of this model and the one s that i have is commonly referred to as the ville variant
[Spirit FM] Rinoceros:
It depends if the ROM developer has added the FM drivers to it. Most of the times they do.

I say: just give it a try.

If the drivers are installed in the ROM, Spirit FM (1 and/or 2) will work on your One S.
[Spirit FM] umhhmm:
thanks but most of the roms if not all for this device do not in fact support over the air fm i have tried most of them , this is why i have asked for some help with this issue , i thought that maybe someone would have some insight and experience with this particular problem is all
[Spirit FM] mikereidis:
Sorry, I've been off XDA and my email for 7 days now.

For anyone who doesn't know, I'm still suffering from a bad eye injury I got 2 weeks ago, it's VERY hard to read computer screens, and I'm also dealing with multiple and major health problems with my son. More details in my Spirit2 thread for anyone interested: http://xdaforums.com/showthread.php?t=2537861&page=75

I'll try to deal with the email backlog within 24 hours. Development will be slow over the rest of June at least.

Thanks for your understandings. :)
[Spirit FM] mikereidis:
OneS has likely same problem as my OneXL. CM11 removed kernel support for "modules" in 2014 releases, and that prevents FM from working, I have found NO alternative kernels with fm still working,

Late December nightlies of CM11, and the Jan 4, 2014 snapshot still work OK.

Sadly this is an accelerating trend; ROM and kernel devs are becoming less concerned about FM radio support.

I've long considered making my own custom kernels. But that's another job in itself and I'm already spread too thin with other things,
[Spirit FM] mikereidis:
When Spirit1 starts, there should be at least a brief flash of a "diagnostic" line of info that includes something like "FM: BC" for Broadcom based devices. Broadcom is most common, except for high end Samsungs (Silicon Labs), and the Qualcomm FM/combo chip on many devices the last 1-2 years.
[Spirit FM] umhhmm:
thanks for that mike and sorry to hear about these problems you are facing , i to suffered a major eye injury a few years back and found myself having to readjust to life with one eye and still 6 and a half years later find it a complete strain to read for more than a couple of hour at a time , good luck to you in the future
[Spirit FM] mikereidis:
One channel lagging a second is an unusual symptom I've never seen or recalling hearing of before.

Sorry but I can't investigate further right now.
[Spirit FM] mikereidis:
Thanks. Yes this is the issue with recent LG G2 Mahdi ROM as well as any alternative non-stock (ie AOSP) kernels,

I've been thinking there may be a way around it without building my own FM friendly kernel. Many chips have a lower level API that is USED by the ALSA driver. I might find a simple solution there. This is how I got digital FM audio on ancient GS1/GT-I9000, and it also helped solve a channel balance issue for me.
[Spirit FM] acuicultor:
Will SpiritFm 1/2 work on 1+ one? Thanks.

Sent from Mallorca to your face
[Spirit FM] :
Not Radio hardware - so no way.
[Spirit FM] comolik:
option to purchase outside google play store?

Is there an option to purchase the Spirit FM 2 app outside the google play store?

I'm trying hard to keep google stuff away from my device and so far succeeded by fetching all required apps from another place or by using googleplaydownloader[1], which apparently works only with free apps.

I'd be happy to pay for Spirit FM 2, just not at Google Play store

[1] codingteam.net/project/googleplaydownloader
[Spirit FM] Jctatis:
this links are dead. can you re upload them?
[Spirit FM] decao15:
Worked on my G2 LG LS980
[Spirit FM] Quinny899:
This theme was implemented into the app ages ago
[Spirit FM] mikereidis:
Yeah, the post quoted was "ancient", and all the crazy customization settings are long gone (except internally, in crazy code I never dare touch again for fear of breaking it).

And virtually nobody used it, except I guess for you, who gave me the theme.

I'm reading this Android history article here: http://arstechnica.com/gadgets/2014...a-40000-word-history-of-googles-mobile-os/20/

and am reminded that Google has moved away from the Honeycomb/ICS Holo theme that was "spacy" I guess.

Google now uses and recommends the new themes, brighter black text on white background. I've personally never liked them and nobody is asking me to move that way with either Spirit or the new app. My eye injury makes those bright themes almost unbearable, and dark works better for me anyway; my work area is usually rather dark.
[Spirit FM] mikereidis:
Yeah, sure, you can Paypal me at mikereidis@gmail.com .

I was saying no to Paypal for a while, but as long as infrequent manual email updates are OK, then it's viable I guess.

Spirit updates are becoming less frequent anyway, but the next version of Android may be around the corner, and may require a bunch of root app changes.
[Spirit FM] Kess78:
Hi Mike,

First of all I'd like to wish you all the best for you and your family and I hope that the situation will get better very soon.

The Xperia Z1 Compact finally got root for Stock ROM and locked bootloader. Spirit 1 and 2 both work flawlessly, although there is the anoying volume blend when the RSSI goes low... This happens only while using the QC V4L FM chip option, even when I use it with the stock Sony audio method. The latency can't be set to anything else than 500 ms also.

I then tried transmit with the option in the debug menu. I can get a signal which is much stronger than my previous Xperia Sola, I can pick it up in my entire house ! Of course there is no audio, I tried different ALSA commands with no luck... I hope you or someone else will be able to figure it out someday...
[Spirit FM] mikereidis:
:)

Oh yeah ? Good... I haven't kept good track of what Sony's Spirit2 does or does not work on. AFAIK, Spirit1 works on them all.

OK, so I guess the Sony API sets the registers better, while using the low level API requires an explicit set.

In Spirit2 manually enter the frequency "230". That should disable soft-mute. There are a bunch of other registers that can be set as documented here: http://xdaforums.com/showpost.php?p=49511462&postcount=329 . You can also read the followups on the following page with xmguy.

When you say "latency" are you talking about the AF Period hidden hack to change buffer size ?

Oh, Gee, are you giving me another reason to get a Sony ? I was disappointed that my Hong Kong sourced Xperia P couldn't do transmit while your Euro model did.

In Spirit1, with FM Chip = QC V4L, can you try setting Debug-> QC Antenna to "External/Headset", restart Spirit and see if it still works ? If signal is gone or very low that indicates Sony used the Internal FM antenna pin (which is also for Tx) for some reason, and I find it hard to imagine the reason is an intent to enable FM Tx.

Because it's an all Qualcomm architecture: FM/Combo chip and audio, I THINK it should be possible to enable FM audio to transmit. There may even be a Qualcomm transmit app out there somewhere to test; maybe as a side function of the CM11 MotoG FM app.

Alas, I'm not quite as excited about FM Tx as I used to be. I have 2 old HTCs that transmit and I've almost never used them. When I did the power was so low that even wrapping antenna wires together produced a pretty low signal. I think that's to be expected with 3 volt chips that output directly to antenna without any RF amplification.
[Spirit FM] halifage:
Is this going to work on Motorola Razr Maxx (XT910)?
[Spirit FM] mustasusi:
This is extremely sad. First of all, wishing both you and your son top health and do well.

I was seriously considering to import a Sprint GNote 3 to where I live as it is known to be the only variant with FM enabled. Now I'm not quite sure.

Neither Spirit1 nor Spirit2 work & play sound?

Assuming the phone is rooted and running Sammy based, non-AOSP\AOKP and I'm talking about Spirit1 since it has more room for adjustment.

Is None of the any already provided settings - Analog\digital\auto\predefined\OEM\low level\etc to appeal?

Does it playback stereo at all? I read some reviews on Nextradio it doesn't. Can be either software fault, a hardware or just poor reception.

So many questions I have and yet too little info given, worth for me to risk 400 bucks on a used one. I'm pretty satisfied with my HTC Max, for the sake of comparison this unpopular (I doubt how less popular than Sprint GN3 is it) device relies on old existing settings, luckily to share in common. I only wish I could hot-swap the battery with a spare one, once depleted.

A person who owned the Sprint GN3 should mess it to the bone and report if any findings come up. It seems that Sprint is raising the FM platform on flagships, making it the sole U.S. carrier to enable FM in smartphones. The Galaxy S5 is reported to have FM too. Way to go Sprint!:good::good:
[Spirit FM] orlanddon:
It didn't show anything until I changed FM API to OEM Proprietary in Debug menu, then it showed fm: QC OEM. So everything points out that my phone has WCN3660/WCN3680 combo chip on board. But I can't find any detailed docs on that chip in the internet so the question what units are used to show RSSI still has no answer.:(
[Spirit FM] Kess78:
Unfortunatly it doesn't work, it just doesn't do anything even after a reboot of Spirit. I tried a lot of different numbers and nothing happens...

Yes, if I set it to anything else than 500, the sound goes very weird, even after a reboot or mute/play.

Haha it's true that transmit is not very usefull when the range is only one or two feet... But here the signal is quite strong, I get excellent reception in the car for example, so I think it could be quite usefull.

When I set the external antenna and reboot Spirit in transmit mode, the signal is still the same, but when I use external antenna in Rx, the reception is very low.

I was playing with some ALSA commands which have FM_TX in them, but it didn't work... I'm going to try again or search on Google but I don't have that much hope :(
[Spirit FM] mikereidis:
No.

Impossible to enable FM on any phone with Razr or Maxx in the name... Except Razr I, and that's it's own disaster story.
[Spirit FM] mikereidis:
:)

Sprint GS5 has FM ?? That's news to me, which might be an indication that it hasn't sold well either. In fact, looking at XDA, it doesn't look like the GS5 is that popular even adding together all the variants.

I've started some work on a non-FM general audio app, so I've started thinking about updating my test fleet of phones to include popular devices without FM: http://xdaforums.com/showpost.php?p=53514507&postcount=106

Besides the One M8 (also has FM), a Note3 is on my radar, and I've been wondering if a Sprint Note3 might "kill 2 birds with one stone".

I'll consider a Sprint Note3, but GS5 is off my radar at this point.