yashsingh1/xdaforums huggingface dataset:
[Spirit FM] Chiarro:
Nice to hear my case is unique :eek: Anyway I kept a nandroid backup of the stock OS and when I restore my phone to that point the FM Radio app works fine.

I've received advice claiming it's a cache issue so I'll be attempting another factory reset. If that doesn't work I'll try one of those new releases of spirit. Neglecting my weird errors, do you know if spiritFM does work on rooted, stock ROM HTC Desire 816s?
[Spirit FM] noobsgs2:
Hi there,

I have a oneplus One if you want me to test the app
[Spirit FM] Larph:
Alright, won't happen again ;)

Thanks for the swift answer. Checked out the dongle and app and that's a nice solution indeed. But i'm not a scanner enthousiast myself. Just thought it would be cool to see if it could be done using built-in hardware of an android device such as a phone, thats all.

Cheers.
[Spirit FM] mervluk:
I had another attempt with my NooElec dongle and the Wavesink app after its latest update. Really impressive clarity and stereo separation now with no break-ups particularly with the UK's heavily compressed DAB, and with fm too. Assume it's a benefit of an external aerial that doesn't have to compete with all the electronics inside a phone. Of course the stuff hanging off the phone and the battery (used like keeping the screen on, although actually slightly better on my ZX) makes it only suitable for serious listening in one position. But then, a joy with half-decent headphones, better than many a domestic radio, and as good as data streaming at its rarely-available best. :victory:
[Spirit FM] mikereidis:
I've heard nothing about Desire 816 and Spirit yet. If rooted, it should be possible, and may work already IF 816 uses a Qualcomm FM/combo chip.

I just got an HTC One M8 the other day, and Spirit1 does not work on unrooted M8 yet; it works, more or less, when rooted, but not too well yet.
[Spirit FM] mikereidis:
Sure, if your 1+1 is rooted, try the test releases here: http://xdaforums.com/showpost.php?p=54851406&postcount=18

If not rooted, it reportedly won't work.

I doubt FM was left enabled on 1+1; it's certainly not supported stock.
[Spirit FM] mikereidis:
The guys who hang out at the end of airport runways have asked me for aircraft band several times already.

Nobody wants a dongle hanging off...

I'd love to find a phone/tablet with an SDR capable tuner inside. I checked yesterday to see if there are any such Chinese devices and saw nothing obvious, though the capability could be in DVB-T type tuners.
[Spirit FM] mikereidis:
I looked at the Wavesink app the other day, and for plain old analog FM at least, I was not impressed. It seemed Mono to me, and no RDS. No DAB here in Canada to test that, unless I set up my own transmitter.

If I sold an SDR solution, I'd be in mostly direct competition (analog FM at least, for now) with Wavesink, and to a lesser extent SDR Touch (since it's not been updated for almost a year now.) And I'd guess there are other Android SDR apps that will be coming out in the next year; there are some others already, such as for aircraft tracking ADSB.

SDR can offer some pretty cool capabilities, but I'm hesitant to refocus from an area where I have virtually zero competition (undocumented internal analog FM chips) to an area where the market seems more limited AND where there is already competition and may be much more to come.

Competition can be a great thing, but it also raises the possibility of competitors unfairly slamming each others apps for no better reason than that the competition is seen as "the enemy". I want neither enemies, nor drama...
[Spirit FM] noobsgs2:
I have it rooted and it seems not to work, i was wondering if you need a logcat or something
[Spirit FM] mikereidis:
You can send me a debug log from Spirit1.

Tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.
[Spirit FM] Cars-Ten:
SlimRom and Spirit

Hi Mike and all

I am now on SlimRom 4.4.2 after some bad experience with SlimKat 4.4.4.

So far observed the following:

1.- Spirit 2 stays mute. I enabled it when switching of my Poweramp Player and switching to Spirit 2.

2.- Spirit 2 often stays resident and I cannot seem to Switch it off. I see it in the tray and it drains battery like hell (kills my batt in <30 minutes). I noticed that after switch off, the blue indicator comes back as if the radio does not want to switch off or better, the hardware does not allow the switch-off. The message in the Left says: "Radio Start/Tuner Start" all the time

3. Spirit 1 (link you had sent) works, also with Stereo on very strong channels, but this can only by ROM issue as Stockrom and Stock app worked very nicely and only the ROM was changed and the App just using the Chip (of course App does not change hardware ;) )

Very odd. Perhaps I am better of using an FM dongle......

Thanks

Carsten

PS: Hope you still had a good vacation, despite nerving posts ;)
[Spirit FM] monikazhang:
My old samsung has radio fm app packaged, but my new phone doesn,t i miss a radio and find your fm is a lot better thanks
[Spirit FM] mikereidis:
Spirit1 and Spirit2 August 19 / 0819 updates are now on Play:

Spirit1:

Qualcomm "Get RMS" fix speeds up audio switching on devices like stock MotoG w/ 4.4.4 and stock Xperia Z*.

Xperia L/M/SP/C External Antenna default fix.

Qualcomm OEM API reverted from newer qcom.fmradio to older android.hardware.fmradio . Newer doesn't seem in use anywhere important, and even HTC One M8 uses older.

Stock Xperia Z SU crash fix when not rooted.

HTC One M8 detection improvement.

Kill ssd fix.

Audio fixes for HTC One M8, Xperia Z*.

Spirit2:

Xperia L/M/SP/C External Antenna default fix.

Audio Overflow sleep fix improves audio on some devices.

Iris module check disable allows Qualcomm use without kernel modules.

HTC One M8 detection improvement.
[Spirit FM] mikereidis:
Dongle will kill your battery in 15 minutes perhaps, LOL.

Did you send me a debug log ? Please do again from Spirit1 even if already done, then email mikereidis@gmail.com to make sure I got it. I get way too many pirate logs, so I often just delete them if it's not obvious it's a customer or that I asked for the log.

Tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.
[Spirit FM] Tord Amraam:
Im sorry if this have been answerd before.

Ive got an Xperia Z2, rooted and installed cm11 but neither spirit1 or 2 works..

I cant get spirit2 to work at all, however spirit1 finds the FM stations but I get no sound at all.

I tried it last week and again just now with the Aug 19 update but no luck..
[Spirit FM] mikereidis:
For now, Spirit1 and Spirit2 work only on Z2 stock ROMs, and still have some issues.

CM and other AOSP ROMs will be supported, but it takes some time to get to these things.

I got a Z2 Tablet this month, but I've also been taking some vacation time and only had time to get stock working.
[Spirit FM] Tord Amraam:
Oh I see, thank you for the reply.
[Spirit FM] Fnord12:
Yeah, that's my main concern with whatever phone I get next. (granted that's ~1.5 years or so away)

FM Radio on phones seems nearly dead in the .us, i'm lucky enough to be on a carrier with a few choices there but even those are becoming scarce.

Hence the problem with SDR as you've got two choices, radio or charging, not both at once. Yes there's wireless charging but last I looked choices there were even rarer than FM Radio phones.

aaaanyway, just random ramblings. Would still enjoy a SDR version of Spirit (already have one of the RTL dongles) but i'm not exactly the majority here.
[Spirit FM] mikereidis:
1.5 years ? Project ARA phone with FM Radio block, LOL.

You know that Sprint is being paid $ millions every year by US FM broadcasters to sell phones with FM ? I half expect this deal to fall apart at some point...

I buy phones with FM all the time on EBay. HTC, Sony,... The many Hong Kong, China, and other resellers have no problem shipping to the US of course.

US has at least 2 issues in this regard:

- VZN and Sprint are CDMA and need special phones (and many people need VZN for coverage.)

- Most people want their phone subsidized, and purchasable by walking into a retailer.

Top that off with many people not caring, or at least not thinking about, FM at the time of purchase. Many of the people emailing me asking for support for their impossible GS5 etc., tell me they just assumed FM was there.

I haven't achieved it yet, but I THINK it should be possible to charge and SDR at the same time. Just Googled now and I see that sometimes a custom kernel or ROM can allow charging and OTG at the same time.

I tried to do this long ago on my Nexus 7 2012. I put the N7 in it's dock. I connected the OTG dongle cable directly to the tablet. I connected a charger to the dock USB.

It seemed to "work", but battery power ALWAYS dropped pretty quickly, even with the spectrum off and screen off.

I should try this using a powered USB Hub. I tried USB Hub today with my Z2 tablet, and the tablet battery dropped of course, but pretty slowly compared to N7. I'm now thinking that a lot of the power draw is the dongle, and not so much the SDR on the CPU.

I also got a new NooElec dongle today; the really small one. I'm hoping it uses less power; I'll see. Also ordered 2 cheap Chinese versions of the same; I'll see if they're any different too.

Yeah, I just put out the new "Spirit Transmit" app this month and am thinking about "Spirit SDR" too, LOL. The SDR 88-108 broadcast WFM seems to be rather noisy; maybe new dongle is better, or maybe there's a hardware mod that can be done. I've heard there is a "trap" to filter out the VERY strong FM broadcast band, so disabling such a trap might improve FM.

The "somewhat dying FM" issue is a reason I'm looking at related areas to consider branching out to. Every time I run my Spirit sales stats, including today up until August 19, I see that 75% of sales is to Galaxy S1/S2/S3/Note1/Note2. Five Samsung phones that are mostly not sold new much anymore and are getting older every day.

The only positive here is that as those 5 Samsungs' age, and their owners lament the older stock Android versions, they, or their new owners are installing custom ROMs. And they find no FM app and Spirit is the only choice. Regardless, selling Android FM apps is not a growth area, and pretty much nobody else is even trying to "compete", at least with a non-free paid app (for internal FM chip), LOL.
[Spirit FM] Cars-Ten:
Just sent it....hope you get it. Thanks
[Spirit FM] irefutabil:
I want to download this app for Sony Xperia Arc S but don't know what is the right app! Anyone can help me, please? Thx
[Spirit FM] mikereidis:
Spirit can only support 2012+ Sony devices when stock. They use the Sony Radio3 app.

On custom ROM'd devices, Spirit can only support late 2012+ Sony's, with Qualcomm FM/combo chips and starting with Xperia T.
[Spirit FM] lcosta2:
Legal :
[Spirit FM] KoscheiTheDeathless:
WOOT

Spirit Transmit works flawlessly on my Z1s. Headphone ->car-> headphone is now a seamless transition. Thanks!
[Spirit FM] antonio89drop:
Hi

So with the root on the Lg G3 unable to listen to Radio Fm Stereo with Spirito Fm2 ??

Can it even Recorder from Radio Fm in Stereo with a Spirit Fm2??

You jump or discontinuity in the record or you have other problems like signal quality or other ??

Could you share a file with a few seconds of recording from Spirit Fm ??

Thank you.
[Spirit FM] Meerhie:
hello. i do use spirit2 on ville device about some month. my rom was pacman based on 4.2.2.

i just came to 4.4.4 beta1 based on pac and found out spirit2 not longer working due to missing radio modules in kernel.

any body knows a custom kernel for ville ( kitkat) including this modules ?

thx, meerhie
[Spirit FM] mikereidis:
A helpful person sent me a kernel that works with CM11 on my OneXL. I don't know if a OneXL kernel can run on a OneS, but they must be pretty similar.

Email me mikereidis@gmail.com for further info.
[Spirit FM] nicesoni_ash:
Although I am not hoping for any good news since running spirit1 on my oneplus gave me error but still I sent you a log since other guy didn't when you asked for or at least he didn't write here whether he did or not. Will wait for ur findings.. :)

_____________

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

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] Meerhie:
finally i fixed this by compiling my own kernel ( with some problems at the beginning ).

FM is up and running again .-)

btw @ mike: entering a frequency directly has no effect on spirity 2, it stays on old freqency.
[Spirit FM] BSapps:
Works great on Note II.
[Spirit FM] mikereidis:
I've had one OnePlusOne debug log from a rooted device.

The stock OnePlusOne kernel does not have the needed Qualcomm/Iris FM kernel driver.

To test any further requires a kernel with this driver.

At that point, my guess is that we'll see RSSI negative or 0, indicating FM antenna pin is grounded. But we won't know until it's tried.
[Spirit FM] mikereidis:
Good. :)

Direct entry works fine for me, and I've heard no other reports. Anything else appear broken ?

Tap on light blue frequency display showing eg "88.5" in big numerals. At "Set Frequency" dialog, enter eg "106.1" and tap OK. Frequency changes.
[Spirit FM] mikereidis:
Spirit1 minor fix 0827 / August 27 on Play:

- Fixes startup problem on stock, unrooted HTC OneXL, OneS, Evo 4G LTE.

Spirit2 fix is coming for startup problem on HTC One M8.
[Spirit FM] LenAsh:
Forgive the possible repeat question, is CM11 for Z2 a possibility or have I dreamt it?
[Spirit FM] nicesoni_ash:
Can you guide me to a commit or something so I can ask the developer to include that in oneplus kernel for testing purpose? Thanks.

_____________

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

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] mikereidis:
I just posted an August 28 Spirit2 on Play that has a good chance of working on AOSP. Unless that was just a dream, LOL.

It works on stock rooted, using low level ALSA commands, and seems not dependent on the stock "audio method". Should work on AOSP unless there are changes made to the ALSA driver making it incompatible.

I'm a little bit hesitant to flash AOSP still; very little feedback is available for Z2 Tablet, a lot more for Z2 phone I think.

I'm not 100% positive, but it looks to me like Z2 uses analog output of Broadcom FM/combo chip. (Hmm, a low level tuner mod should tell me though.)

Anyway, Spirit emulates the stock HAL audio setup, which uses ADC to get digital audio. A schematic, or perhaps some testing, should be able to tell me if true digital audio is possible.

Adding an extra D->A->D conversion sucks, philosophically if nothing else. Besides Z2, only the Samsungs require this. HTC One M7, LG G2 and the Qualcomm devices are all digital to digital, and I had hoped that would be standard going forward. Maybe Sony rushed the design; I wonder if Z3 will be digital.
[Spirit FM] mikereidis:
Spirit2: August 28 is now on Play.

- HTC One M8 AOSP startup fix; may also fix other Qualcomm devices.

- Xperia Z2 audio fixes that will hopefully work on AOSP.
[Spirit FM] mikereidis:
Pretty much what hi_cannon posted here: http://xdaforums.com/showpost.php?p=54226570&postcount=8097

Here's the link: https://github.com/hicannon/android...mmit/669834afabfa6aa607c80f4ff14afd9c15b4b3c3

These are the 3 lines:

CONFIG_MODULES=y

CONFIG_RADIO_IRIS=y

CONFIG_RADIO_IRIS_TRANSPORT=m
[Spirit FM] LenAsh:
Happy to give it a try. Will advise one way or another. Thanks.
[Spirit FM] Meerhie:
Setting Module loading to Y can cause reboots. i experienced them and bubba wrote in his changelog.

but anyway, i am fine with it.

dont use hicannons git / bubba on ONE S, it bricks Wifi

dmesg: prima_wlan: driver load failure
[Spirit FM] nicesoni_ash:
One S or One Plus?

_____________

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

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] LenAsh:
Spirit 2 hangs on startup on Z2 CM11 with BT on or off and various resets.

Spirit 1 starts fine with RSSI etc. but no audio
[Spirit FM] Meerhie:
so, for all ONE S ( S4 ) Users and cm11 / pac 4.4 users:

Here is my kernel, with spirit 2 working. Module loading has been enabled, so you may experience random reboots.

Kernel 3.4.82, based on latest CM11 git.

Install through TWRP / or other Recovery.

dev: you may link it in first post

http://files.lantiere.de/latest.zip
[Spirit FM] mikereidis:
Thanks ! :)

Enabling modules is not inherently buggy. The vast majority of Android and PC Linux kernels use modules, and have since the dawn of modules which was not far off from the birth of Linux in the early 1990's. (1995 claimed here: http://linux.about.com/od/lkm_howto/a/hwtlkm03t01.htm )

So I think there must be something flaky in one of the kernel drivers. The whole reason we need modules for FM on most Qualcomm devices is because of a Qualcomm V4L driver bug, that may have been fixed in more recent kernels (eg One M8).

If it's a flaky driver and we can identify it, we may be able to build that driver into the kernel, assuming it's only buggy in module form.
[Spirit FM] mikereidis:
Thanks ! I have CM loaded now. It's working for me now. :) Seems to be distorted though; probably need to set more ALSA controls than on stock.

FM chip detection was not working. Next update will fix.

Or if you just can't wait, remount /system and do "touch /system/lib/libbt-fmrds.so" from adb shell...
[Spirit FM] Meerhie:
any hints why spirit 2 stops playaing music randomly ? sometimes it comes back after a few minutes, sometimes i have to restart the app. experienced that since i purchased.
[Spirit FM] mikereidis:
Thanks for your report. I put more effort into problems that others are seeing.

What phone and ROM etc ? And you purchased/started seeing it when ?

I think I've been seeing the same on some of my devices. Right now, stock rooted MotoG, Xperia Z and Z1.

Pause/Play doesn't fix, but stop and restart FM/app does fix it.

I think it only happens when it's been playing for quite a while.
[Spirit FM] Meerhie:
One S, latest PAC based on kitkat. but had this alsoon JB. i think it does come more often when volume is too high.

today, i forgot to kill the app, and after 3 hours it just started begin to play music again.

i did telnet in fast and saw some iris module message in dmesg. something like Error on FM -4
[Spirit FM] mikereidis:
Spirit FM forum or Spirit FM thread ?

I got a PM that some popular apps are getting their own forum and Spirit could get a Spirit forum.

That would make answering posts a little harder for me, but I guess some of you could like it.

Please share your thoughts.

Thanks ! :)

Plus - I've always felt that thread search can be useful for finding specific topics. But forums can be searched too, as well as threads, so there are more search options.

Plus - Leaving threads open can serve as a bug tracking mechanism too. Open a thread with a bug report identified in the title and I guess there are a few ways I can be reminded that it's still an issue, and the details won't be scattered among many posts on a single thread.

Negative - A bit more work for me to answer posts.
[Spirit FM] hi_cannon:
This is due to updates to the Wifi stack from upstream and the corresponding blob update. Just switch to the CM11 branch which is based on stock CM as opposed to Bubba's.

Also, got a LG G3 being promised FM but :'(
[Spirit FM] mikereidis:
It's Google Now hotword detection, which causes grief for Spirit2 and Spirit1 in digital audio mode.

I've been recommending disabling Google Now hotword detection. Setting used to be on the homescreen, but I guess now it's in the Google Settings app, under:

Search and Now -> Voice -> "OK Google" Detection.

The bonus is that this makes it a bit more difficult for the NSA etc. to record and analyze every sound around us, LOL.

I should try to get Spirit2 to popup a warning if hotword detection is set, as it is by default. Google Now is spreading so this problem is really common lately. Ideally, I'd be able to turn if off, at least while FM is running, but I won't be surprised if Google Now "protects" itself, like any good NSA "virus".
[Spirit FM] mervluk:
Yep, happens on Xperia Z. Starts after up to 30-40 minutes after start playing on a stock-based 4.4.2 rom. I have occasionally had the issue on streaming apps, though not with Sony's Walkman. But it's more frequent with Spirit2, although still occurs but much less often with Spirit 1. I'd put it down to a problem with power saving though, not detecting the FM running and the app therefore needed to restart. On the UI Spirit seems to visibly go into pause mode, and restarts of its own accord, but if I try to restart straight away the UI seems unresponsive, and I have to close the app (sometimes fc). Very occasionally the audio won't restart and I have to stop/close and restart, usually after an hour or couple of playing. It can also occasionally happen when the app is first started, seems to be once the screen blanks. I have increased the min clock speed to 902MHz. Trouble is though that with my old bloated phone it could be an audio mod issue - (I'm running both the Sony PureXAudio v27, which has in the past had problems with the stock fm, and Viper), or a competing app, though I've tried disabling the obvious suspects with no improvement. Personally it's minor blemish that I can live with quite happily because of the excellent quality of the audio, often better than streaming at least for my classical/acoustic listening.

May also be related that system sounds don't come through on Spirit2 most of the time, just a pause in audio, but sometimes they come through clearly.
[Spirit FM] mikereidis:
Yeah, WiFi stopped working on my OneXL with a recent CM11 nightly, when paired with the special built FM suppporting Bubba kernel.

Stuff like this is why I can't let myself get sucked into making special FM friendly kernels. They would break all the time on different ROMs and the work would never end. Best I can do is ask kernel & ROM devs to be FM friendly, and offer patches or advice.

I often don't even want to get in the habit of asking kernel & ROM devs for FM friendliness, so it's a last resort for me; better if the users of those ROMs and kernels can ask.

LG G3 D855 ? Stock app is reported to be Mono only, LOL.

Spirit1 and 2 are reported to work when the G3 is rooted. It's Qualcomm FM with Qualcomm audio, which I like much better than Broadcom FM audio solutions, which are different with every phone.

AFAICT, G3 FM is "varianted" the same as G2 FM: Only physically usable in the International and Sprint variants.
[Spirit FM] mikereidis:
Did you see what I wrote above your post about the big Google Now hotword detection problem ? : http://xdaforums.com/showpost.php?p=55133049&postcount=8349

I'll see if the problem goes away on my Sony's and MotoG now that I've disabled it.

On the Sony's I've seen some strange problems sometimes where Pause/Play is toggling by itself every few seconds. I haven't been in a rush to flash AOSP on my Z and Z1 because I feel this problem should be fixed first.

As always, too many problems, not enough time, LOL. And Android L is around the corner, Spirit2 will need a bunch of changes, and I have serious doubts that Spirit1 could survive all the mods that will be needed to steer around Android L's security features.
[Spirit FM] nicesoni_ash:
Spirit fm own forum would be great idea amd yes few of us could help there too.. :)

Btw you were right. Tried spirit with a patched Kernel as suggested by you but still no luck. Looks like they grounded the pin in oneplus. :(

_____________

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

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] mikereidis:
:)

I presume Spirit "worked" but RSSI was always 0 or negative ?
[Spirit FM] LenAsh:
Spirit 2 now works just fine on the Z2 - starts quickly too. Build 29/8.

Will test in the field (literally) soon.

Magic, thanks.