yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
This looks like a good thread to discuss with G2 users: http://xdaforums.com/showthread.php?p=48658279#post48658279

I would support as many G2 variants as I could, as well as any other devices that were pretty similar.

I think that many of the G2 variants that don't come with a stock FM app are hardware disabled and there is nothing I can do about that. This couid be a problem for me if the phone is popular enough, but say 90% of those phones are FM disabled.

Is there any list anywhere of which variants support FM ? I'd need to get a phone with FM guaranteed to work, so I need model numbers to do price searches on EBay. Sometimes you can get lucky with a phone that's half broken, but the FM works.

And here's how I gauge phone popularity among the XDA crowd. I go to the top of the XDA forums: http://xdaforums.com/index.php .

Then I do a quick compare of the numbers of threads and posts, compared to phones which are close on that top page, meaning they were likely released about the same time. EG. the Moto X is a popular phone listed just before LG G2, but the G2 seems more popular.
[Spirit FM] LenAsh:
The LG G2 D802 is the International variant and the one widely sold outside the US and Korea by the likes of Handtec, Amazon, Expansys. It has FM Radio as stock.

One of the things deterring owners from going AOSP based is the lack of an FM app...

One ASSUMES that the Broadcom FM driver is included in the CM kernel...
[Spirit FM] royalhawk2002:
I understand...if it can help you, I can "extract" the original radio apk from the 2 Din unit ROM and post here....it could be useful to understand as it works! What do you think ?

Meanwhile, here http://uploaded.net/file/khtg47f2 you can download the complete ROM including apk's for S150 and here http://xdaforums.com/showthread.php?t=2503964 there is a specific thread on these units. We will appreciate if you can give us the possibility to improve our units! ;)
[Spirit FM] Airboner:
guyz i have galaxy ace 2 rooted on cm 10.2 and i dont have stock radio..

so some other guyz told me about spirit..i downloaded (and thanx for this work)

but i cant config my settings to listen radio without internet..

i live in Greece..if anyone can help me..:)
[Spirit FM] shaq1907:
In Turkey, all G2's are software disabled because of unreasonable taxes. If I install UK firmware, I can use radio or I need to root device and change a few file name in Turkey firmware. As I know all D802 models are hardware enabled. I think Turkey is the only country that radio is disabled by software. I also tried to install original LG radio apk, but app doesn't install that way.
[Spirit FM] profyler:
on my moto G app works ok, but volume is low, speacialy from loudspeaker. Do I have to do something on settings?
[Spirit FM] saumar:
^

Use these settings to get fm working on your device,they will work for sure ;)

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Spirit FM] mikereidis:
You may be my first MotoG report, besides my own. :)

Yes, enable Menu-> Settings-> Silent-> Loop and restart Spirit. This will be automatic in next release.

BTW, if your MotoG is rooted you can use digital audio mode in Spirit1 Unlocked (Paid) or Spirit2 Free or Paid.
[Spirit FM] mikereidis:
I've decided I should buy a Sprint G2, in part because...

They go as cheap as US $250 on Ebay for good condition but "Bad ESN", which I don't care about. I just missed an auction now that went at $249.50.

I'm presuming the cell phone circuitry is the same as International, except for CDMA/US band issues with the baseband/modem etc. For me all I care is that it's the same FM and audio chips and connected the same way

But I should check first; I bought an International HTC OneX thinking it had a more popular FM chip and still regret it, LOL.

I've heard that several times over the years, that it was the last missing link. :)

I did several weeks of "research" before committing myself to the 1st versions of Spirit in 2011. Among other things*, I read thread after thread of people asking for FM for AOSP ROM, with some notable passion.

*Notable was one year(s) long thread ending around 2009-10 or so for an FM app w/ RDS on now ancient Windows Phone versions. The developer took donations, which I don't think added up to much, but eventually disappeared, along with his app.

I read that long thread (and many others) at least twice, to gain FM chip/app specific knowledge, but also vowing not to repeat his mistakes and allow my app to wither and disappear.

Basically that meant selling my app for a "quality app" price and eventually focusing just on the most lucrative phones, to keep Spirit as an ongoing thing. Tough decisions have to be made; "Sorry I can't support that phone anymore because it's old/cheap and nobody buys my app from it, as seen in the dev stats".

Well, there's different "drivers" at different layers. The lowest layers are usually always accessible, with root, via kernel drivers. Broadcom has limitations though, and special tricks because the driver has to be shared with Bluetooth.

Higher layers are sometimes removed, sometimes not. Verizon usually kills FM completely, other US carriers, is more random. If there, they are usually accessible without root.

But I'm ticked off at HTC now, because their stock KitKat for 4.4 makes FM a system app privilege. If this trend spreads, I'm going to give up on stock ROM support and focus on AOSP. Sony did this I think 2010-2011 and I could never support all but one of those phones.
[Spirit FM] mikereidis:
I reverse engineer stock FM app APKs semi-regularly, but that's intensive extra work I have too much of so I can't take on this thing.

I'm afraid you'll have to find someone besides me for further investigation. It's almost (Merry) Christmas and I need time to spend with my family too.

:)
[Spirit FM] mikereidis:
I enabled Ace2 on Play Dec 10 due to positive reports.

Set Menu-> Settings-> Audio-> Method to "Galaxy S3/Note/S2_ICS" (the 4th entry) and restart Spirit.

It should be automatic, but some ROMs change the device name. If that alone doesn't help, try enabling Debug-> Silent Loop and restart Spirit.

This should work on stock ROMs and any ROMs that use the stock audio libraries. If a ROM uses fully open source AOSP audio libraries then this probably won't work.
[Spirit FM] Airboner:
worked i delete it and reinstall againa all automatic and works..

bands has it on north america..anyway tnx guyz xD
[Spirit FM] vivimilan:
hello!

Can you upload the version of spirit fm free Aug11 version because i have samsung galaxy y gt s5360 with rom cm 7.2 by percy and i like to have and one radio :)
[Spirit FM] acmrose:
Desire

I hope Spirit2 support nexus5
[Spirit FM] scutworker:
It won't because Google has disabled FM radio in all its Nexus devices in the hardware. Sorry, but you're out of luck.
[Spirit FM] acmrose:
sad

oh，no，This is not a good news。But I hope that this project is doing better。

thank you for your answer。
[Spirit FM] profyler:
cool, that worked out.
[Spirit FM] denzel09:
Hi Mike. I don t know if you remember me. I purchased spirit unlocked 2 years ago more or less. We have talk sometimes in past.

Ok so, how can i have free upgrade to spirit 2 ?

Thanks
[Spirit FM] mikereidis:
How could I forget you ? :) You posted 67 times in this thread and we exchanged at least 30 emails, including a number of debug logs.

Just email me and I'll cancel your original Unlocked order.

But I'm afraid I accidentally "mis-spoke" myself a bit about "free upgrades". I cancel orders so people can upgrade for difference in price (+/- about 1 Euro now). That's the only mechanism Google provides for upgrades.

So, anyone who bought Unlocked at the current price, which it's been for well over a year now I think, can get a pretty much free upgrade. Unfortunately for this, you purchased at the lowest price I ever set, which was part of price experimentation.

Beyond that, when people can afford it, and especially when they have been making good use of Spirit and the support services I provide (the main thing) for a while (say, 1+ years), I'm asking that they consider Spirit2 to be a new purchase.

That's just a request though. I don't want anyone to feel "forced" if their money is tight right now, or it's just too expensive compared to their income, or they feel they didn't get full value from Spirit1 because they only used it a few months or whatever.

IF anyone needs a further price break, I'll drop Spirit2 to match Spirit1 on January 1 for 24 hours Google/California time. And on subsequent 1st's of the months, like Feb 1, I'll try to do even better.

No need to rush anyway. You can download for free for now at least, and if RDS goes away in a week, just re-install or whatever. And Spirit2 is still in "Early Preview" until Jan 1 at least. I'm still battling too many bugs, but I hope the biggest will be gone in a few weeks.
[Spirit FM] kristijan505:
Can you please look at L7 P700 again? It got root and everything and we need Radio for CM 10, 10.1, 10.2 and 11 :D It got Qualcomm MSM7227A Chipset.
[Spirit FM] LenAsh:
This happens on LG D802 intl. when starting Spirit. CM11.
[Spirit FM] frabaa:
Hi!

I installed the latest version (s1912.apk) of Spirit2 on a GT-i9000 and I have this "chipmunk" stuff. To be honest, it is really annoying. I know, that there is a thread about it, but I cant figure out, where is this "disable menu". Could you pls help me?

Thank you in advance!

Best regards,

Csaba
[Spirit FM] raff222:
Anyone know that after listening to the radio (Spirit FM), no sound notifications and music or the sound is out. And I have to reboot to get it back.

I have an S3 and I'm wearing the Temasek CM11, thanks
[Spirit FM] mikereidis:
LG G2 isn't supported for audio. If/when I get one (maybe soon), I'll be able to support it.

You're having some other problem, but trouble-shooting it is useless without audio.

The tuner part might work if you disable Bluetooth, reboot, and wait 10 seconds for the app to start.

Or it might be the new "chmod" problem I'll write up below.
[Spirit FM] mikereidis:
Patient: Doctor it hurts when I do this.

Doctor: Then don't do that.

Spirit1 on some ROMs/kernels does the same in digital audio mode. If some app uses the microphone, the audio driver get's stuck in Mono mode and only a reboot fixes it. Maybe some app like Google Now or the NSA trojan uses the microphone at startup to hear all your secrets.

I'm not sure what Menu you're talking about, but Spirit2 doesn't really have any menus yet.
[Spirit FM] mikereidis:
Maybe it's a kernel issue.

Brute force workaround is to enable Menu->Settings->Debug-> Power Restart Media and restart Spirit. Audio will get reset when FM is turned off.

If you have Unlocked, set Menu->Settings->Audio-> Method to Digital Auto and restart Spirit.

Or you can try latest Spirit2 here: http://d-h.st/ESO
[Spirit FM] mikereidis:
Permissions problems on recent ROMs: (Also see Dagnab it ! in post 7283: http://xdaforums.com/showpost.php?p=48751413&postcount=7283 )

For Spirit2, I've noted and worked around a permissions problem that I've now seen on my HTC One w/ CM11, and first saw on a stock, rooted MotoG. This affects Spirit2 as well as all versions of Spirit1.

If you have this problem with Spirit1, and your phone is supported by Spirit2, you can run Spirit2 Dec 23 release once to set permissions: http://d-h.st/ESO (And just to warn everyone, Spirit2 does monitor and send some radio and device data for analysis. Fuller Spirit2 details here: http://xdaforums.com/showthread.php?t=2537861 )

The Linux "chmod" utility, often inside busybox etc, does not allow changing permissions on some FM and audio /dev/* pseudo-files. EVEN though the command is run with SU/root.

I'm thinking that this could be a Google AOSP change that is now trickling down to several KitKat and maybe even JB ROMs.

My workaround is to include a working busybox inside Spirit2. This is an awful hack, but works. BUT now I'm concerned this could break further in future, perhaps as part of the SE-Linux and Knox etc stuff.

I will NOT be happy, if this is part of an intentional plan to dis-allow apps from accessing lower level hardware, EVEN though they've been given and granted SU/root permission.

That would be awfully "Grinchy" of Android and any ROM devs who go along with it, IMO.

I hope I'm just imagining these dark clouds, because a move like this would kill Spirit and lots of other root apps too.
[Spirit FM] mikereidis:
Merry Christmas to you too. :)

If you search "Spirit2" on this thread, you'll find long, detailed post after even longer, "excessively" detailed post about how Spirit2 is being DESIGNED, instead of excessively quickly hacked together for 3 YEARS.

The Spirit1 code base is a mess. That's just a fact of life. I can't fix anything without breaking other things. It's lived 3 years, and I'm still doing essential updates on it, VERY CAREFULLY.

Doing an overhaul on the Spirit1 UI would take MANY months, and maybe even up to a year in ongoing fixes.

Spirit2 is the way forward. I'm "Sorry" if you're particular phone is old enough, incapable enough, or unpopular enough that I don't have time or funds enough to support it in Spirit2.

I can only support phones I own, and I can't afford to buy every phone.

At least 2/3rds of my customers in 2013 can move to Spirit2, when it's ready enough for them. And they can upgrade for no cost, if they paid the full Unlocked price this last year+.

And I always cancel ANY order at ANY time on REQUEST. So if you're a customer and want your order cancelled, just ask. Neither Google nor I care if it's over 2 years old, it can still be cancelled for a full refund. I only want happy customers.

So I don't think anyone should be accusing me of "nasty".

And a Happy New year 2.
[Spirit FM] mikereidis:
EDIT: MmegaMac informed me that a full wipe was needed, and that worked like a charm. :)

For GS3 GT-I9300 and who knows how many other devices on recent ROMs:

Dagnab it !

I update to the Dec 22 nightly of CM11 on my GS3, and Spirit2 audio doesn't work and same for Spirit1 digital audio.

I'd guess it's due to some change to the audio drivers. Permissions look OK.

Like, is somebody somewhere trying to sabotage me just before the Holidays or what ? Is that what I get for dissing the NSA, Google or some ROM devs ?

Gee...
[Spirit FM] kristijan505:
Can you please answer me?
[Spirit FM] mikereidis:
Sorry, I don't have any plans to officially support L7 P700 at this time.

If the tuner part works, with no sound, maybe somebody who has this phone can figure out what ALSA settings are needed for FM.

And then I could add those settings to Spirit1 and call it "not officially supported".
[Spirit FM] mikereidis:
EDIT: MmegaMac informed me that a full wipe was needed, and that worked like a charm. :)

EDIT2: Not so fast... still seeing the problem in Spirit, though it went away once. Apollo seems fine though.

The "Good news everybody" is that this also stops Apollo Music Player from working, so it's likely not a sabotage of Spirit.

The "Say What ? news" is that I can't find anyone else reporting this problem: http://xdaforums.com/showpost.php?p=48764371&postcount=1485

I see this problem on CM11 nightlies Dec 21, 22 and 23. So far only verified/seen on GT-i9300.

Dec 20 and earlier do not have this problem. I've flashed/booted back and forth a few times to verify.

It seems to coincide with the problem/change to chmod which prevents it from changing permissions on /dev/snd/pcm* etc., even after running SU and getting root.

Fortunately, it does not seem to affect "non-digital" audio modes of Spirit1.
[Spirit FM] mikereidis:
CM11 latest nightlies may result in permissions problems.

I'll be putting out a new version of Spirit1 after Christmas to deal with these.

In the meantime, if Spirit2 supports your phone, you can run the latest Dec 24 release of Spirit2 at least once after boot to fix this in most cases.

Spirit2 Dec 24: http://d-h.st/Ujl
[Spirit FM] nicesoni_ash:
Merry Christmas everyone..

_____________

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

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] mikereidis:
Darn it.

I think Google has now closed my ability to cancel orders over 2 months old, as part of the migration from Checkout to Wallet.

Until now I could go back 2+ years, mostly to offer upgrades for price difference.

Hmmmm, should I shrug my shoulders and say "Oh well..." ?

Or should I raise a fuss about getting "Scroogled" this Christmas ?

Merry Christmas to you too, Scrooog... LOL.

Sent an online query and kept getting "There were problems sending your form. Please try again." Server admins off for the holidays I guess... So I sent it to some other place w/ error report.

Wonder if my question will get the same level of attention as my takedown request for a Google+ account that links to many pirated apps, including my own.
[Spirit FM] mikereidis:
My message to Google (message because we can't email Google; I guess they use forms to force us to specify order numbers etc.)

Hi,

I want to cancel some Play orders for my apps, purchased before October 23, 2013.

There is no longer a cancel/refund button for orders before 9 weeks ago.

Can I submit refund requests to Google in some other way for orders over 2 months old ?

I have long promised my customers that I cancel any order, at any time, on request.

This is used mostly to provide upgrades for the difference in price between apps.

Is there a solution, or must I tell my customers that my refund/upgrade policies have been nullified by Google ?

Your Google Checkout Retirement Announcement was a bit confusing as to what applied to Play accounts, but also said "...you will continue to be supported".

Thank you.

Don't Be Evil,

Michael Reid

Dev: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock https://play.google.com/store/apps/details?id=fm.a2d.s2
[Spirit FM] cajunflavoredbob:
Stand up guy, as always.
[Spirit FM] zarraza:
Hey Mike.

I have some "play credit" and was going to buy Spirit 1 until I saw Spirit 2 was available at a slightly higher cost. (and YES you deserve to get paid for this AWESOME app!)

If I buy 2, can you send me the full unlocked version of 1 as well? you sent me the demo of 1 a long time ago and it works on at least 3 of my UNROOTED devices so I think I'm ready to spend the funds, since this is an app I will use OFTEN! I just want to make sure that it works on all 3 of them and possibly more (as I test) I don't want to buy 1, then have to upgrade to 2 - unless you recommend this method - but I'd like to have access to a previous and current version "just in case"

Thanks for making this app happen.
[Spirit FM] mikereidis:
Yes, Sure. :)

Having both is generally good, as long as you avoid running both at the same time (which I'll eventually fix). If you have both, you can check the other to see if both have the same problem. And if one stops working after an update or whatever, you may have the other to fall back on.

Your proposed method is what I'd recommend. Buy Spirit2 so you can get the regular updates easily and just email me for any Spirit1 updates you want. The Spirit1 updates will be far fewer than Spirit2 updates, and Spirit1 does not have any license checking while Spirit2 does a few checks within the first week after a fresh installation.

Right now I've been testing the latest beta for Spirit1 on all my Spirit2 test phones for 10 hours in digital audio mode. All of them are running fine; no reboots or other problems. But the same test with Spirit2 tends to cause phone reboot on Qualcomm devices ATT OneXL and MotoG and my HTC One tends to stop responding. So Spirit1 is often still more stable than Spirit2, for reasons I haven't figured out yet.
[Spirit FM] zarraza:
Thanks Mike, I'll get the order processed when I get home later - should I send you a PM with an email to get the spirit 1?
[Spirit FM] mikereidis:
I posted a Dec 27 beta test release of Spirit1 Unlocked on Google Play about 10 hours ago.

It has an addition to test LG G2 support for stock G2s that are rooted. Try a few pause/play and speaker/headset switches and listen for even brief audio.

It also backports these fixes/additions from Spirit2:

- Fix for new chmod permission problems on recent ROMs, such as CM11 nightlies.

- GT-N7100 digital audio channel volumes close to matched, though low.

- MotoG fixes + digital audio.

Spirit1 Unlocked customers who have not yet joined the beta program can make a request here: https://play.google.com/apps/testing/com.mikersmicros.fm_unlock

I think this URL will show an error page if you are not logged into the Google account that Spirit1 Unlocked was purchased from. Even then sometimes it doesn't work for some people for reasons unknown.

Again, I'm not releasing a free version at this time, and I'm not sure I ever will, beyond the last "Gold" release dated September 18, 2013.

"Sorry" guys, but I get a lot more useful feedback from customers than free users, despite there being many more free users than paid. And I'm not seeing any other notable advantages to an updated free version of Spirit1; it's mostly just extra work that takes time that would otherwise be spent improving things for paid users.

Spirit2 will continue to have free releases, from time to time at least.
[Spirit FM] mikereidis:
No just email me at the usual mikereidis@gmail.com .

I disabled XDA PMs in order to improve my working efficiency; they are distracting and the info in PMs gets lost and is unsearchable.

Thanks ! :)
[Spirit FM] mikereidis:
Quoting myself from September 3rd with my summer 2013 prediction that:

Stopping/pausing work on Spirit1 could make it "half-broken" (on at least 50% of phones) within 3 months.

It's now been 3 months and 9 days since the "Gold" release of Spirit1 on September 18.

And within the last 7 days, official CM11 nightlies for the most popular phones running Spirit all seem to have a new/secure?/broken chmod that prevent Spirit from setting needed permissions, despite using a method that's been working for 3 years, and even on some 4-5 year old phones.

I'd guess the lack of user bug reports so far indicates there are a low number of Spirit users running CM11 nightlies or other AOSP ROMs built very recently & that have this issue .

But unless this chmod "problem" gets fixed/changed very soon, which I doubt because I think it's a "feature", I think my half broken in 3 months prediction was more accurate than I would have guessed.

This chmod problem is not a problem I would have anticipated. Nor I think would most devs in my position, unless they were following AOSP very closely.

But regardless, this prediction remains sadly in place going forward, indefinitely.

http://en.wikipedia.org/wiki/Moore's_law : "... number of transistors on integrated circuits doubles approximately every two years"

Mike's Law: Without updates, Spirit (or any app with a similar very high level of hardware/low level dependence) will be half-broken on the latest AOSP ROMs in an average of 3-4 months.

AOSP just moves so darn fast. As with everything, that has pros and cons.

I played with several mass market apps over the last week setting up my Nexus tablets for my children. Wow. Relative to the better mass market apps, Spirit is pretty bad in the UI area, especially for it's lack of help in guiding a new user.

But this is largely because of all the work needed to prevent Spirit from becoming half broken within 3 months, while still trying to add features and make other improvements.

The "half broken within 3 months" story is important to understanding why Spirit is where it is, and why I have to limit devices supported, and why I'm so busy and why virtually nobody else is doing what I'm doing with FM on AOSP.

Hmm, I should assemble a list of the things that broke Spirit in the past... I know various OEM APIs changed, both for tuner access and audio, even on the same phone. Various changes to Android Bluetooth architecture since Android 2.1 have caused problems w/ Broadcom and TI chips. There have been some SU changes. The list will be lengthy.