yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
Spirit1 can do exactly the same as the LG G2 stock FM app, or the NextRadio app, on the stock ROM, and it works fine.

This is using the "Qualcomm Intent" Audio-> Method.

It's only the Spirit specific digital audio mode that has problems on stock kernels. This mode provides features that I think the stock FM app doesn't, like record, EQ, effects, visual and BT A2DP. I don't 100% recall, does the stock app provide any of this ?
[Spirit FM] Android_Raj:
Today is 1st I can't see any price drop in spirit2
[Spirit FM] LenAsh:
Better Call Saul
[Spirit FM] Cookie Ninja:
Date/time may not have changed 01 Feb in US pacific timezone....

Dead Cookies leave no trails...
[Spirit FM] mikereidis:
Darn it, sorry. I'll change it right now and make it a bit deeper and at least for 2 days.

My excuse is that I feel sick/awful and need some rest.

Happy Chinese New Year, and watch out for that nasty H7N9 and other bird flu's.... (Hope it's not what I've got, LOL.)
[Spirit FM] GoJo ^^:
App work well on my i9100 however not in Digital mode... It does sometimes then not anymore.

Non Digital mode is annoying (mostly cause no record button). I don't get it, can you help me?
[Spirit FM] mikereidis:
Sorry, I took a long weekend for health and to upgrade PC's. :)

Have you tried Spirit2 ? It only has digital mode.

For Spirit1 you need the paid Unlocked version for digital audio. Set Menu-> Settings-> Audio-> method to "Digital Auto" or the GS2 selection.

What ROM and kernel ? There's just no audio ?

Email mikereidis@gmail.com
[Spirit FM] GoJo ^^:
Rootbox 4.2.2, Dorimanx 9.43, actually it works but only headset. Spirit2 I tried, nice but only headset again, no button to switch to speakers!
[Spirit FM] mikereidis:
If you don't mind a loose headset plug, speaker mode can often be done by removing the headset plug.

Then, to restore the antenna function, the plug can be pushed in just enough for that, but not enough to switch to headset again.

Of course this works best (when it works) on a stationary surface.
[Spirit FM] theoneofgod:
Moto G GPE, it's working, detects Radio names but no sound through headphones or speaker.
[Spirit FM] dk147in:
Hi, sorry if sound off topic...

I am using 4.4 with semaphore kernel (s-version) with bigmem libs as per the links in my signature...every thing seems ok and working fine untill i use spirit FM (unlocked version)...upon using this i noticed that vibration stops working even there is no vibrate sound profile and proximity sensor also stops working i mean during in call screen is on with the touch active even closing to ears due to this reason many other apps and other goes clicked unknowingly.

anybody noticed this ....please provide solution.....

On stock kernel as developed by pawtip there is no problem...but missing some important RAM.

Thanks
[Spirit FM] hotaru2k3:
it sounds like your kernel is very broken ( especially since it works fine with the stock kernel), and the correct way to solve the problem would be to fix the kernel or switch to one that isn't broken.
[Spirit FM] Faruko:
This was supposed to be on the Spirit2 thread
[Spirit FM] versuscmt:
Need help at here. Using slimkat latest build with modem xxms4. Can't use spirit fm due to keep on error: no fm accessible. SU:1 FM :SOS su:0 bt:0 ht:0 mo:Sls. Any idea?
[Spirit FM] mikereidis:
I just tried GPE on my MotoG, and was happy to see Google/Moto did not remove or disable the FM driver.

I think you have to change the Audio-> Method setting to "HTC OneS/X LTE ALSA".

If you have Unlocked you can set it to "Digital QCOM OneXL/S/Sony/MoG".
[Spirit FM] GreenGrassnHighTides:
I'm sorry, but was it figured out whether or not the AT&T G2 is working (Rooted D800)? I'll gladly purchase the app if it works, I really miss the FM capability that I had on my old HTC phone.

Thank you for your continued support for your app, gives me hope that FM won't die.
[Spirit FM] mikereidis:
hotaru2k3 may be right that the kernel is "broken".

But Spirit DOES do low level things that can create conflicts sometimes.

I don't think I've heard of vibrator problems before, but is it somewhat tied into audio.

The best thought I have is to switch to analog audio if digital, or vice versa. Analog may have an increased chance of speaker damage. If you can accept that risk, change Audio-> Method to "Galaxy S ALSA/ICS" and restart Spirit.

If problems persist after turning FM off, you can try Debug-> Power Restart Media to reset the audio system at turn off.
[Spirit FM] mikereidis:
Yes, that means Spirit does not have the root/SU privelege it needs.

Check your SuperUser or SuperSU app and allow Spirit to have SU.
[Spirit FM] mikereidis:
At this point, I'm pretty sure that US carrier variants are impossible for FM, except for Sprint.

I'm looking forward to see if rumors of FM on the coming "back to basics" GS5 are true. If so, I think Spirit has at least a few more years of life left in it.

If not, things are looking hazier. It's hard to say otherwise, when most of my sales are on Samsung devices, and almost half from the GS2 and GS3 alone.
[Spirit FM] theoneofgod:
Working now, thanks a lot.
[Spirit FM] dk147in:
Thanks [MENTION=3575078]mikereidis[/MENTION] for your suggestion...

For the time being I think i should stick with the CM11 pawtip's kernel only as with this i dont have any problem except low RAM memory...

but I also noticed that if i cleared the app (spiritFM ublocked) cache and data then launch it and do the setting then there is no such issue & works fine...next time when i launch the app then vibrater stops and goes unavailble only only reboot can help...

So if I launch the app after clearing app cache & data then it seems ok...but its qiut annoying to do the setting every time i launch the app.

I have strong belief that there is some kernel problem (semaphore 3.4.0s) rather then your app.

Thanks
[Spirit FM] fmehdi:
Pleaz Make support for galaxy s2 plus I9105P

Thank You
[Spirit FM] LenAsh:
Ignore
[Spirit FM] Scenic1111:
Why Xperia S original rom 4.1.2 Spirit 1 works.

And on 4.4.2 AOSP ROM is a signal but no sound.

Setting the same.
[Spirit FM] vishal1082:
Can't figure out how to make it work on my Dual-Sim Moto G (XT1033). I also get an error saying "UL/Li Only" when I try changing freqency.
[Spirit FM] Kess78:
Hi Mike,

I got a new phone today, the Sony Xperia Z1 Compact. I cant root it yet because the only root solultion works with unlocked bootloader only.

Spirit 1 works fine with the LG G2 audio method only and STE FM RX, and I don't have RT and AF. I guess this is because the phone is not rooted and the OEM API doesn't allow this ?

Spirit 2 doesn't work at all but well I'm not rooted...
[Spirit FM] mikereidis:
Same issue on all AOSP ROMs. Almost none provide a proper method to enable FM audio, largely due to Google removing all traces of FM from AOSP.

That's why Spirit1 has so many Audio-> Method settings.

And that's half the reason why FM on AOSP Android is so hard to do and why other AOSP FM apps are so rare.

In fact, Spirit1 was born almost exactly 3 years ago now because the CM dev for the HTC Legend didn't know how to enable FM audio, despite having some knowledge of how to control the FM tuner. A call was put out, and I answered. :)
[Spirit FM] mikereidis:
Was there a stock FM app on this XT1033 ? If not, FM may not be possible.

Otherwise, tuner should work at least, if phone is rooted at least. Audio-> Method can be set.

Those are the seek buttons, which don't work on the free versions of Spirit. Manual up/down tuning works, or just tap the frequency to enter a value.

The last free version of Spirit1 though was September I think, which was before the MotoG came out.
[Spirit FM] mikereidis:
Hmm, G2 audio method isn't even the default on G2's (stock), so you finding a use for a new, otherwise unused method is just luck. :)

I don't recall RT not working on Sony; it works on my stock, unrooted Xperia P, which is stuck forever on Android 4.1 now.

I'd have to check the code to be sure, but I think AF should work. But it works differently than low level rooted AF, which can show the frequencies to you. Turn AF on and try it, if you haven't yet.

And try setting band to North America to test at least.

I've been swapping emails with someone who has an un-rooted Xperia Z with stock 4.3 and no sound. As I wrote to him:

I borrowed an Xperia Z from Sony last summer and Spirit worked. Then Sony changed something in 4.2 and I added support for that. Now it seems they've changed the FM audio again in 4.3.

I don't have a Z. I've started to consider getting one, but it's hard when I've just barely made enough in sales on that phone to buy a used one with a bad IMEI.

I'll look at the stock 4.3 FM app tonight and see if I can find the latest trick.
[Spirit FM] Kess78:
Hmm you right finally AF works, I just didn't make the RSSI go down enough, and it looks like its a very efficient AF, much better than the one on the Sola (which was an automatic one also not carried out by Spirit).

I tried NA band and still no RT :(

You should tell the guy to try the LG G2 method :)

The Xperia Z is a year old already and the Z2 is likely to be presented at the MWC so maybe you could be more interested by this one
[Spirit FM] Mohanned85:
will this work with google edition htc one?

do u need be rooted

if not will ur other app work for htc one google edition?
[Spirit FM] mervluk:
Just for info on 4.3 stock Spirit1 works fine on my rooted XZ, but sound only with Digital Audio method, which requires root? (not it seems at least for me the various Sony ones, although the default setting always worked up to 4.2.2). I've never had RDS though, but do get the station info. Better audio than Sony's stock FM IMO. As mentioned earlier Spirit 2 works fully too, with RDS, with excellent audio but the sound breaks up unless the screen is kept on with the EQ display switched on.** Edit: Though thinking about it, as the big idea behind Spirit2 seems to be to make FM a visual experience, forcing the screen to remain on is no bad thing! I think though that both versions, when on digital settings use the same audio processing and give the same audio quality??, so at the moment aren't the differences to the customer just cosmetic if you have the option of using either - which not all FM capable phones do, I realise (albeit Spirit 2 is much more technically pleasing to the Dev!). Sadly as Spirit seems best on AOSP roms there's an unfortunate consequence in unlocking Sony's which is the loss of the Bravia engine (for screen) and Walkman, if you use phone for streaming, and this man at least shall not live by FM alone!!

Just out of interest does Spirit 2 still "hang on" after closing with the most recent incarnation, so messing up Spirit 1 (requiring a reboot and sometimes a reinstall to recover stereo audio?) if you're foolish enough, like me, to try both!!

** I doubt it, but could this be anything to do with Spirit1's EQ display (not of course the audio) "switching off" with the screen as it seems as it takes a few seconds to start again once the screen is reactivated, whereas Spirit2's version seems to keep "playing" when the screen is off?
[Spirit FM] mikereidis:
I sent you a new Unlocked test release to the last gmail I have for you.

I ripped open the Z Android 4.3 Radio3.apk and found it mostly did what LG G2 did, except for speaker. I hate it when OEMs like HTC and Sony change their FM audio APIs every Android version.

Yeah, but the Z can be had as cheap as $240 or so on EBay. I read a bit about the compact Z1; looks nice; it may be popular, but at this point I'm not going to spend $700 on a Sony; not unless I can feel sure it's worth the money and the time I'd have to "invest".
[Spirit FM] mikereidis:
Both Spirit1 and Spirit2 work on GPE HTC One, with 2 requirements:

Phone must be rooted.

Bluetooth must be off. I might be able to fix this someday.

There is an annoying 8-10 second wait at startup, due to Bluetooth off.

Spirit2 only supports digital audio mode, and there are still some audio dropouts with digital sometimes.

And... Spirit2 still seems to freeze up on the One sometimes.
[Spirit FM] bloatSux:
e975?

Any intent to support optimus g (e975)?
[Spirit FM] julioforo:
Sadly it's not working on my lg g2.

I have tried everything!

It's stock and rooted...
[Spirit FM] mikereidis:
It can work on any Optimus G that enables the optional PCB traces for FM antenna, as long as the kernel has the FM driver.

Sadly, only a rather small percentage of these were FM enabled.
[Spirit FM] mikereidis:
I'd guess about 75% of LG G2s were sold by ATT, Verizon and T-Mobile. These variants seem to be hardware FM disabled.

Sprint and International variants mostly have FM.

Which variant do you have ? And what happens ?
[Spirit FM] julioforo:
Mine is D802 (International I think)

If I choose Lg G2 method everything works fine except that there is no sound.

If I choose Digital g2, the phone restarts...
[Spirit FM] mikereidis:
Yeah, digital crashes the kernel on stock kernels, and CM10.2 kernels.

Use the "Sony/QC Intent" Audio-> Method. Both this and the LG G2 method worked for me on stock ROM.

I should switch back to a stock ROM to make sure it works OK and sets method automatically. Right now it defaults to digital, which reboots on stock kernels.
[Spirit FM] mikereidis:
OK, I loaded d3rp_LG_G2_RLS2 ROM which is VZ8 and tested with Spirit1 Unlocked Jan 15...

On this stock ROM the easiest is just to deny SU to Spirit1 and the OEM FM API will be used. And then the default Sony/QC Intent method will work, as will LG G2.

Otherwise, you can give Spirit SU/root (eg to experiment w/ digital or send me logs) if you set Debug-> FM API to "OEM Proprietary".

The main loss with the Broadcom API is RDS PI Program ID; that's 4 hex digits to identify station in Europe or call letters in North America. PS, PT and RT are there; haven't tested AF. I should eventually be able to make non digital FM audio work with low level mode I think.

The big gain with the Broadcom API is being able to switch Bluetooth on or off while FM is running. And maybe I can find a kernel or workaround for digital audio and we can get FM over BT too.

I'm gonna give the "RayGlobe Flex - ls980" ROM a try too. This is a close port for Sprint phone from a stock International ROM. Maybe it'll stop bugging me to activate on CDMA too...

EDIT: "RayGlobe Flex - ls980" worked OK w/ furnace kernel after installing the ROM without wipe. Then I re-installed after a wipe with I think the stock kernel. And audio didn't work. But strangely it looked like the furnace kernel using "adb shell uname -a". So I wiped again and updated with the other mod kernel, Leware I think. And it works. But uname -a still stays "3.4.0-furnace-0.0.7...".
[Spirit FM] julioforo:
I tried to deny supersu but it gives me this error:

su:1 fm:bc3 su:0 bt:3 ht:0 Mo:bcu
[Spirit FM] mikereidis:
You say it's International, and stock and rooted, right ?

And there's a stock FM app that works OK ?

I posted a new Spirit1 Unlocked beta with LG G2 improvements if you're signed up for that.
[Spirit FM] mikereidis:
OP gets 7500. :)
[Spirit FM] mikereidis:
LG G2:

I've posted a new Spirit1 Unlocked Feb 14 beta on Google Play with LG G2 improvements.

Some extensive testing on stock kernels indicate they are "fragile". At random, some calls to the ALSA audio drivers cause the phone to freeze and/or reboot. AFAICT so far, that's just the way it is, so stock devices, rooted or not, have to use the OEM FM API and the OEM audio methods, defaulting now to "Sony/QC Intent".

All this works fine on CM11 and likely other AOSP ROMs with AOSP kernels.

So, for AOSP ROMs, the default Audio-> Method is "LG G2". But this method is different now; it's a non-digital method for AOSP ROMs. If the stock kernel didn't blow up regularly, it would work on that too, with low level FM API.

If you want digital audio, you have to set that explicitly now.

The advantages of this "non-digital" audio (which is still digital at the hardware level) are that audio drop-outs shouldn't happen and CPU and battery will do better.

I'm thinking now that Spirit2 needs non-digital audio options.
[Spirit FM] LenAsh:
Works fine on non-digital (LG G2 d802 CM11) in terms of operability, The "RF" performance is similar to Spirit2 with the unfortunate periods of semi-muted static every few walked "yards". Like early stock LG FM was (though without the Spirit semi-muting). No audio pops though!

Trying to be more "scientific/objective", I took my other LG G2 d802 on stock with the LG stock app running whilst out walking together with my CM11 d802 - 2 pairs of the same headset (HTC Desire type are the dog's conkers for FM reception) one ear with Spirit and the other ear with stock LG FM. Quite a reasonable comparison and eliminates signal variation and propagation funnies. Significant difference... On the walk back, I tried Spirit2 in one ear and Stock in the other. Very similar, but appeared better than Spirit with less muting. That may have been my new relative position to the transmitter though, so not overly conclusive.
[Spirit FM] mikereidis:
You have TWO d802s, one stock and one CM11 ?? Good opportunity to test... :)

If this is just a soft mute issue, you should be able to test them next to each other. Tune a strong station and verify/adjust so volume is the same. Compare RSSI, though the OEM API will use some different scale.

If you now tune both to a weak station, I'd guess one should have much lower volume.

Do you see "BC OEM" flash at startup on stock ? Does Spirit show the problem with BC OEM, but the stock app on that phone doesn't ?
[Spirit FM] LenAsh:
(I fell lucky with a 2nd G2 in mint condition that someone had allegedly "bricked" and sold it me for a pittance. It took 15 minutes to sort. One of my daughters now uses it (so I only have minimal access to it now)).

BC OEM doesn't appear on CM11 or Stock as far as I can see.

Weak station-wise, and with lots of moving the headset cable around, the Stock app keeps the volume the same - no muting happened. Stock only seems to mute when searching for stations. Spirit2 on the same channel can be made to constantly flip the volume up and down as the signal drops to single figure RSSI. I tried to record this but for some reason I can't find the recorded file on the SDcard.

The stock app doesn't show RSSI.

I'm going to try Spirit1 and 2 on forced mono on tomorrow's outing and see what behaviours I get. I'm assuming that forced mono occurs in the FM front end and not in the audio path.

I think that if the soft mute can be disabled, and Spirit2 could have the pseudo-"Analogue" option (or the occasional audio pops/clicks eliminated on Digital) then the app would go from pretty acceptable to a very good solution.
[Spirit FM] j-virus:
Thanxs, great app !!!
[Spirit FM] Mohanned85:
anyways u can get this to work for non rooted htc one google play edition

i dont wanna root phone cuz i wanna get over the air updates
[Spirit FM] LenAsh:
Where does it say it needs root?
[Spirit FM] Mohanned85:
when u start app
[Spirit FM] groksteady:
Just wanted to add that I have Spirit UL working on an Xperia V (LT25i) using the most recent AOKP Kit-Kat nightly, from 20140216. Method is Digital QCOM OneXL/S/Sony/MoG.

I may have had a glitch with audio on phone calls after listening, though. A couple of hours after installing and getting it to work, I got a phone call and neither the other party or I could hear each other. Toggling speaker or mute did not work. Then I rebooted, and phone calls worked fine.

Glad, though, to have it back! Cheers, Mike!
[Spirit FM] mikereidis:
The app popup message is correct.

Root is needed for HTC One GPE FM. AND so far Bluetooth must be off.

No way around these restrictions.

Google doesn't want us to have FM.
[Spirit FM] mikereidis:
:)

Xperia V I have little or no feedback on,with only 5 customers.

You can use Debug-> Power Restart Media to reset audio at FM off time.
[Spirit FM] mervluk:
Um, the post about Digital Radio, and all that . . .

I suspect that Digital Radio and Spirit both suffer from the same problem: a technology in search of a customer.

Customers want convenience (since we all think we're time poor) and content (we worship the One God, of competition); then some of us worry about quality and like a challenge. Digital streaming gets 3 out of 4. Spirit and DAB and its variants probably get about 1 out of 4. I'll leave you to sort out which.

DAB's biggest problem apart from coverage is that it never took off in cars, and for choice, quality and convenience is now supplanted by streaming. As one would expect really by a Government-mandated system, with a marketing budget in search of a product.

Spirit's problem IF your phone has FM, and IF you want an app instead of or in addition to that packaged, and IF you're willing to pay so much for it, and IF you can put up with the audio let alone IF FM meets your needs and IF you can get it working and keep it so and UNLESS you want to play with it rather than all the other things you can do with your phone ... so many IFs. Smartphones aren't made for FM. I'm a fan of both FM (but for a small specialised part of my listening) and of Spirit (when it works as it should), but I have no illusions that I'm part of a miniscule minority (of one, perhaps?).
[Spirit FM] Mohanned85:
ok if i root htc one gpe can i still get updates?

i wanna be stock as possible incase need return you know
[Spirit FM] bern57:
Compatible

It is compatible with zte v970 android 4.1.1

Thank you
[Spirit FM] mikereidis:
Sorry, I don't recall about updates.

I would just flash GPE ROMs found on XDA, but if I was just an average phone user I guess I'd keep it stock.

I've never or very rarely heard about return issues, and non-destructive soft-bricking can solve that issue anyway.
[Spirit FM] mikereidis:
Maybe so for Digital Radio, but I have to disagree about Spirit, which was demand driven.

Spirit started as a response to some "desperate posts" asking for some dev to stand up and enable FM radio on CM on the HTC Legend. Here's the thread: "Cyanogenmod, Legend, FM Radio & MONEY" http://xdaforums.com/showthread.php?t=947581

I scoured the forums in early 2011 and found thread after thread of people running CM or AOSP desperately looking for some way to enable FM. That convinced me to start Spirit and invest a year into it with almost no income, despite that the free and open source MIUI/CM/Qualcomm FM app existed on a phone or 2 already and was expanding to others.

Spirit is an OTA broadcast app, and I don't expect that to ever change; IE I don't expect to ever add streaming. Spirit may die at some point and I might tackle new apps, but Spirit is pretty much defined as for OTA audio broadcasts; analog or digital if popular digital devices come out.

I don't advocate for analog or OTA broadcasts, other than that they may be what some people are looking for and need, while others are better served with streaming. Streaming over IP data connections is the way forward I think, but for some it will take some time to make sense. Conditions in low pop density and lower wage countries are very different than in dense urban centres of the 1st world.

There's an article here I think is good: "Why Radio is Stuck in the Middle of a Streaming Pincer Movement" http://musicindustryblog.wordpress....in-the-middle-of-a-streaming-pincer-movement/
[Spirit FM] mervluk:
Trust you realise I'm not critising the concept or execution of Spirit! I've got it working beautifully. But things change quickly in the digital world and perhaps 2011 seems like ancient history? Interesting article but I think much of traditional radio is embracing streaming services and are only too aware of the music industry fate and are determined to learn the lesson. Only question if Spirit isn't embracing streaming too. Why not?
[Spirit FM] eleph4nt:
I use it on my HTC Desire Z. Latest versions work smooth and without bugs. However, older ones, there were many bugs. I appreciate easy and nice GUI and functions too because stock one doesn't work with my ROM.