yashsingh1/xdaforums huggingface dataset:
[Spirit FM] danielalarcon:
Hello Mike,it's been a long time, I recently switched to the GalaxyS3, tried stock roms and they just... well, are bloated and full of bells and whistles that make them useless.

Back on CM 10.1 now :) and I was using spiritFM (full unlock) normally untill the 20130222 nightly, I stayed there for a while and updated to 20130306, it had a weird crash, I tried several times, and just wasn't able to start.

I did a force close, and wipe data = problem solved :)

Now, I have poweramp for music, and is my default player (plug in headphones and play), the weird behaviour I noticed is that, I open SpiritFM, then plug in the headphones, and get this:

poweramp plays music

SpiritFM plays radio :)

and the lockscreen just goes crazy tryin to show one player lockscreen or the other, whic by the way, nice lockscreen controls for SpiritFM, really useful, my solution for now is disable the poweramp function to start playing when inserting the headphones.

Not sure if it's an app/rom/poweramp issue, or a combination of all three.

I will continue to test/play/test and grab screenshot if the issues happen again.
[Spirit FM] pogi1100:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

I think that's a known issue on CM10.1. I get it too sometimes.
[Spirit FM] mikereidis:
If it was going to work, it would likely work already.

Spirit is reasonably good at detecting FM hardware and APIs automatically. It doesn't depend on device name, it probes looking for FM access. Audio is a different story but that's at least somewhat automatic.
[Spirit FM] mikereidis:
Does this happen when using older versions of Spirit ?

If so, it seems to me this is a configuration issue that you resolved by perhaps the only usable method: turning the feature off.

Like other media players and as it should be, Spirit requests audio focus when it starts. AFAIK there's no Android API to call to tell other media players to NOT auto-start on headset insertion. Getting audio focus is sufficient. If another app takes audio focus, Spirit should turns itself off, as it should be.

What happens if you use a 2nd media player instead of Spirit ? One that doesn't auto-start on headset insert.
[Spirit FM] mikereidis:
For devices with no native FM support, and for those interested in "Software Defined Radio" (SDR):

- There's a cool Android app here that uses a DVB / FM USB dongle to do SDR: http://xdaforums.com/showthread.php?t=2108053

It works on the FM broadcast band, and many others, but needs that dongle, some software support and can kill a battery quickly due to all the CPU it uses.

I'm going to try it out and have ordered a USB dongle that goes from 24 MHz - 1850 MHz: http://www.nooelec.com/store/software-defined-radio/tv28tv2.html#.UTkTglGUx0w

I'm continuing to consider supporting a dongle approach for otherwise impossible phones and tablets. I think most won't accept a dongle, but for tablets used as car computers, for example, I think it's acceptable.

I would use the "normal" non-SDR receiver modes to be practical. Bonuses over normal FM chips are a huge range of frequencies covered and digital audio that can be used for recording, Bluetooth, equalizers and visualizers.
[Spirit FM] alonsosjumper:
It doesn´t work :(. Do you believe it´s not possible to work, don´t?
[Spirit FM] ashutoshgoyal:
volume issue

Tried it on samsung note (N7000) and it worked fine. But even after switching off app the volume was gone from phone for any music player or game etc. Reboot was the only solution.
[Spirit FM] mikereidis:
Send me a debug log as described at the end of this FAQ entry: http://xdaforums.com/showpost.php?p=31983151&postcount=4465
[Spirit FM] mikereidis:
- Dongle OK for digital audio ?

- Dongle OK for FM incapable devices ?

I've finally proven that an Si4709 based USB FM dongle can be used with a USB OTG cable to the device micro-usb, using CM10.1 at least.

The audio is digital (albeit with the usual added D->A->D), 96 KHz even, so this could provide a digital mode on non-digital FM audio devices. So, the usual record, equalizers, visualizers and bluetooth.

The dongles and cables can each be bought for as little as a few dollars, plus shipping.

This may be possible without root and on ICS-JB stock ROMs, I'm not too sure yet. But this may only apply to newer devices with hardware that can support USB OTG.

Hypothetically, a very handy person might be able to graft the dongle circuit board inside of a tablet and hook wires to the micro-usb. But I'd guess no more than 1 person per year might succeed. I've thought about ways to make a dongle less intrusive but can find nothing feasible. The closest is something inline with the headset jack, which is completely different from USB connections. And I have no desire to build and sell any electronics, but would be happy to recommend dongle and cable vendors.

Are there "use-cases" for you where dealing with a dongle and cables on the end is worth it to get digital audio, or to FM enable an otherwise FM dead device ? Or even to record one FM program while listening to a different one ? Two tuners ! :)

Semi-stationary tablets for home or car audio are the most obvious cases where dangling wires can be suffered. I think few people will suffer a dongle in the pocket; they might as well have a music player/FM radio in addition to the phone, though that won't provide digital data.

Some other dongles could provide access to a wide range of frequencies from 20 MHz to 2 GHz. Hypothetically various television broadcast standards are also possible, but I don't think there will be a Spirit TV anytime soon, unless it's for experimental fun.
[Spirit FM] mervluk:
Have one of these with an OTA cable coming from Amazon in UK:

DVB-T USB TV RTL-SDR FM+DAB Radio Tuner Receiver Stick Realtek RTL2832U+R820T.

Happy to experiment with my Razr i, due to lose FM functionality when the JB update eventually arrives. I mostly use FM which I find gives better quality sound for serious listening, in a stationary location so use of a dongle no problem, (as I have to use over-ear headphones anyway due to stupid ears which can't take in-ear versions). Can't update my version of Spirit unlocked though!

Currently unlocked and rooted, and will need to keep it that way.
[Spirit FM] mikereidis:
I'll presume you got that backwards and you mean Locked and Un-Rooted.

I've ordered that same dongle also. As soon as you get that dongle you should try the SDR app I linked to in post 5063 above: http://xdaforums.com/showpost.php?p=38887290&postcount=5603

Downsides include that it eats lots of CPU and battery, but at least the Razr I has plenty of Intel CPU power.

AFAICT the only way to get FM out of that dongle is with SDR, so I think most people will want a more battery friendly solution. My first choice for that, which I have working experimentally, is the ADS Tech RDX-155 Instant FM. It has a si4709 FM chip, is pretty much the Silicon Labs reference design, and this vendor is selling for $1.90 plus shipping: http://www.amazon.com/ADS-Tech-RDX-155-Instant-Recorder/dp/B00A7WZC8Q
[Spirit FM] Quinny899:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Scrap that....

---------- Post added at 11:06 PM ---------- Previous post was at 11:01 PM ----------

In terms of external receivers, there's always this product: http://www.lingodab.co.uk/product_iVy.php

(They're not selling it explicitly currently, but if you email them they'll sell you one for €90)

Trouble is it uses a crappy closed-source receiver app, which I'm trying to make Holo and it seems to be working, but I've not bought one of the devices yet so I can't tell
[Spirit FM] mikereidis:
Interesting. But I'd find it difficult to recommend something that's not being officially sold, from a company I haven't heard of and at that price. It specifies iDevices and says nothing about Android. And the BT is looking oldish now at v2.1.

Perhaps it's similar to the Sony MW600/MW1 BT/FM/(mp3) headsets ?

----------

My results so far with the ADS tech dongle:

GS3 GT-I9300 (already with FM anyway) & CM10.1: Should work, needs root for the audio part I think, but it's CM anyway.

Nexus 7 & stock Google ROM, rooted: FM part works, but no audio PCM device is automatically created.

Nexus 7 & CM10.1 ROM: FM part works, and still no audio PCM device is automatically created.

The USB Audio Recorder Pro demo app was able to record from the USB dongle, even without root, because it basically has the USB audio drivers internal to the app. I could likely figure that out, but it could take some time. Hopefully the CM10.1 code that works on GS3 wlll eventually be enabled on Nexus7 CM. Better yet, Google's stock N7 ROM.

Disappointing though that Audio Recorder Pro couldn't play back a 96 KHz file. I presume there are ways around that.
[Spirit FM] mikereidis:
March 11 Free: http://d-h.st/B8E

Also updated on Play.

- At FM shutdown, Bluetooth power state is no longer returned to the original state at FM startup.

- Stock HTC OneX LTE, OneS and Evo 4G LTE default Audio-> Method changed to "HTC" for stock ICS ROMs (and stock JB as previously.)

- Band settings all mapped to just 5 bands, so I've now reduced selections to these 5, and any conversion should be automatic:

North America

Japan

Europe 200 KHz

UK 100 KHz

World 50 KHz

If you're in North America or South Korea, select "North America". For Japan set "Japan".

Everywhere else should set Europe, UK or World. The only difference between these is the channel offsets, so choose whatever you need for your local stations.

Some Galaxy devices, or at least the GS2 GT-I9100, seem to have some tuning problems with some stations. This has been solved by selecting World. Why ? I don't know.

- LG P990 Audio-> Method works now on at least one custom ROM. But it appears there may be microphone noises and I'm sure there are many other problems.

I don't expect to officially support the P990 despite this. A very helpful P990 user discovered the ALSA register settings needed and posted on an XDA P990 thread.

This illustrates the problems I have with devices I don't own, and that aren't popular enough for me to buy, EVEN when I have help. Some people will say "Oh, just fix this one bug..." not realizing there are at least 10-20 bugs, problems or conflicts they haven't noticed or that doesn't affect them.

There are ALWAYS more bugs, and many new custom or stock ROMs will bring more to light.
[Spirit FM] lobie81:
Hi,

Sorry if this has been covered. I have searched.

Is it possible to get the app to tune to frequencies below 87.5mhz? I'd like to listen to a broadcast around the 70mhz mark.

Thanks heaps

Matt
[Spirit FM] mikereidis:
Japan band is 76-90.

Some FM chips go as low as 65 MHz but I don't support that at this time.

For a dongle solution, see this: http://xdaforums.com/showpost.php?p=38887290&postcount=5603
[Spirit FM] lobie81:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Thanks. So there's no way to go below 76 without a dongle?

Thanks for your work

Matt
[Spirit FM] mikereidis:
Not at present.

What phone ?
[Spirit FM] lobie81:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Motorola Defy Mb525.

Thanks again

Matt
[Spirit FM] mikereidis:
TI chips, at least older ones, have no chance to go below 76.
[Spirit FM] lobie81:
Cheers mate. I've got an old HTC Desire lying around somewhere. Is that any more likely to support the lower frequencies?

thanks again
[Spirit FM] mikereidis:
No, forget about older devices.

I think it's mostly limited to newer Broadcom chips, like BCM4330 or 4334 and higher, as well as Galaxy S3/Note2 si4705. Maybe the Qualcomm WCN36xx also.
[Spirit FM] pamarakos:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

I m on sgs s1 with cm10.1

Can I stream spiritfm via bluetooth??

If i set audio from auto to digital gs1 i get fc and then to get it back I clear app data!!

Is it related that I cant find bluetooth output??

If it s there somewhere please let me know where and how to find it!!

I m on spirit light!

Thanks for your app, with the wire headset it works just perfect especially together with voodoo sound app
[Spirit FM] mikereidis:
Yes. All you need is to get digital audio working.

Normally I'd say you need Unlocked or Spirit2 to get digital audio (beyond 5 minutes), but I've enabled it for all variants of Spirit on GS1, because I hope it's the solution for speaker damage risk.

Send me a debug log with Menu-> Test-> Email-> Logs. After 20 seconds press Send.

It works for me on every recent CM release, at least using the stock CM kernel, default ROM settings and with virtually no added apps.
[Spirit FM] pamarakos:
Last update:

Reflashed rom+clear data of voodoo app+clear data of spirit app and made it ok!

Of course it needs a set of wired headphones for antenna use but then plays just fine through my bluetooth headset:)

Now a new thing to me was if I have it set to Digital GS1 and use only the wired headphones with bluetooth de-activated, I can't switch to speaker output, both revert to the wired headphones even the button is changed from speaker to headphones!! If I set it to analog output through audio settings it changes fine!!

Is this normal?? Never used Digital GS1 output so I don't know if it's normal!!

Thanks for your fast response!!

EDIT: Just sent you the logs (it seems like it's stuck for some secs and then it gets me to choose what email app to use, so I gues I made it correctly:) )
[Spirit FM] lobie81:
No worries mate, I'll go buy a dedicated radio. Cheers.
[Spirit FM] mikereidis:
Got your debug log, thanks. March 6 and later versions of Spirit work fine to speaker in digital mode, though the switch takes a bit longer. March 11 may be better. Maybe a reboot will fix.

But something somewhere might be preventing speaker mode, perhaps a volume booster type app. If all else fails, pull the wired headset plug out, and output should go to speaker just like with other audio apps. To get the antenna effect, push the headset plug in just enough to improve the signal, but not enough to switch back to headset.

Sometimes pause/play is needed, but I just tested March 11 Light on my GT-I9000 and saw no problem.

And sometimes starting Spirit in speaker mode may be different than switching to speaker mode. Not usually a problem, but the code in Spirit for this is relatively new and may have some issues.
[Spirit FM] elevul:
Thank you. Seems to work properly on SlimBean 4.2.2 Galaxy Note.

But I don't understand why you didn't make a free app with advertising. There is plenty of space in the app UI for advertising...
[Spirit FM] pamarakos:
Sorry for filling the thread but couldn't resist to thank you also in written words except the button thing:) So many info in just one post:) Thanks again!

I'll try remove DSP manager (included in cm10.1 stock) and voodoo app and re-test!!
[Spirit FM] mikereidis:
OK, but I doubt those things will help.

DSP manager is stock in CM10 and most of my testing is done with it. I have tried THE "Equalizer" app from Play to replace it, and that worked well also.
[Spirit FM] pamarakos:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

True

Dont have to do anything with spirit app

I ve just updated to mar-11 version and now first thing is fc when I choose any country except europe and japan!?!?!?! + no audio output when choosing digital gs1....what was the version I was before?? Can you check from the log I ve sent? :)
[Spirit FM] mikereidis:
If you search this thread with the right keywords, like "ads" for example, you'll find many posts explaining the reasoning behind just about every visible business decision I've made.

Or search Google for "Making money on Android apps" or similar and avoid the sites trying to sell devs something, and you'll find many sad tales of developers trying to make money.

Ads only work if a HUGE number of people run your app, and if enough of them don't block the ads AND if sufficient numbers are "purchasing challenged" enough to actually click an ad and occasionally buy something.

Spirit is a very niche app, very hardware and support intensive and mostly for custom ROM users. That's why the price is higher than mass market apps. Many of the users block ads and would never click or buy.

Personally, as an IMO "normal person", I hate ads. I hate them because they work, otherwise Samsung etc. wouldn't spend as much on ads as R&D !!.

And they work because they get into our heads, using the latest in psychological research to do so. I hate being manipulated and controlled like that.

OTOH, I can at least get some joy in recalling and singing a^H MANY 40 year old commercial jingle(s). And then resent that they will always be in my head. LOL.
[Spirit FM] mikereidis:
You were at March 6.

Sounds like you have a lot of problems. I hate to recommend too much work, but perhaps a clean ROM install would help, or at least give another clue. Or even just a clearing of dalvik cache.
[Spirit FM] pamarakos:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

I ll give a little more efforts and then I ll go with the cwm working(hopefully) backup I have:)

It lets me choose any country till australia in the list and nothing lower:)

It s just funny!

Can I find somewhere the 6th march of light version??

Thanks for the total support!
[Spirit FM] mikereidis:
Spirit March 11 only supports 5 "bands". That's all there ever was, so this simplifies it.

I think we should take this conversation to email now.
[Spirit FM] danielalarcon:
Maybe is not a good solution, but got a similar behaviour, my solution, go settings>apps>SpiritFM and clear/wipe it's data, then run spiritFM and your problem may be resolved.

---------- Post added at 03:13 AM ---------- Previous post was at 03:05 AM ----------

This post just to point out a bit of Mike's recent post about ads.

FIrst, I'd like to thank Mike for making a paid version with full options enabled, why? well, I think the same, ads are not the way to go with this app, and should be the way with other apps, I prefer to pay a good developer for a good app, than seeing ads, besides, I block all ads with this or that app that avoid this.

People should consider that the amount of time to have an FM app in a custom ROM is just ridcicuosly big, compared to other apps, and what's the payback? well, first I guess is just a matter of accomplishment, then users (like me :) ) start asking for specific fixes, features, etc, and, if you want a good maintained app, you have to pay the price.

Keep up the good work Mike and thanks for your continuous suppport for SpiritFM, specially on custom ROMs like CM10.1.
[Spirit FM] mikereidis:
:)

I actually did try ads in the free version for a few months, about 21 months or so ago. I think there's still $25 or so sitting in the Google ad account I've never gotten around to claiming. The first few weeks they paid relatively well, then it went way down. I decided that $10 a month wasn't worth it to annoy so many people.

Custom ROMs, especially CM10 are I'm pretty sure my main source of customers. And I'm seeing my stock un-rooted ROM OEM proprietary support have more bugs as time goes on. But almost nobody is reporting them so I conclude most are rooted.

Thus my decision to focus virtually exclusively on custom ROMs with Spirit2. (Sony may be an exception due to being part of the source of the proposed Android FM API.)

I'm really looking forward to the unveiling of the Galaxy S4(s) this week. It's likely the only phone I'm sure to buy this year. In a perfect world there will be one world model with LTE and FM and I'd prefer it be qualcomm based & digital, though si47xx with a digital interface would be cool too.

And hopefully this will help allow the US carriers to come to deals with broadcasters and get those chips enabled. I watched a video on the Emmis NextRadio app deal and they seemed to be implying that they are working with Google and Microsoft and may have a deal coming with a 2nd US carrier. Maybe part of why MS re-added FM to WinPhone ?

And maybe related to Android FM API in AOSP experimental branch ? I checked that code yesterday and there hasn't been any action since Jan 9, except for the patches breaking the build, LOL: https://android-review.googlesource.com/#/q/owner:benn.porscke%40stericsson.com+status:open,n,z

OTOH, for all I know Samsung has abandoned FM. But I'd be surprised given that their FM apps have advanced in the last few years, at least adding recording capability (But why it's in two identical stereo channels and thus is really mono I have no idea).

HTC One is in the hands of some German O2 customers the last few days. Seems to have stock FM, I think via a Broadcom BCM4335 chip, going through a Qualcomm WCD93xx audio chip. I'd have preferred a Qualcomm FM chip, but at least I think the audio can be digitized and recorded etc.

But I'm not expecting to get an HTC One, unless it became much more popular than seems likely now.
[Spirit FM] elevul:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

You do realize that despite being niche your app is being pirated to hell and beyond, don't you? And that if you released a full feature version with ads most of the people using the pirated version wouldn't, right?

Isn't something better than nothing?
[Spirit FM] elevul:
Then where is the 99c app? I am not saying the advertising version would be better than the current, but very few people would be willing to pay 8€ for an app, unless they really use it 24/7...

Hell, the only reason I have it installed is because it annoys me that a part of my hardware is not usable otherwise, even if I listen to radio once a week tops...