yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
With SELinux disabled, and with support for non-PIE binaries switched back on, Spirit1 MAY work on some phones w/ Lollipop ROMs.

But it's time to leave Spirit1 behind, fix the main problems in Spirit2, and add some more features.

Spirit1 source code after almost 4 years of quick hacking is fragile. Changing just a few lines of code can break things on some phones and ROMs. Doing the major re-architecture needed might take 6 months to start, and another 6 to iron out issues.

Spirit1 is a heavily rooted app, with a lot of "tricks". The old fashioned "chmod 777 /dev/fmradio" and same for various audio, bluetooth and FM ports used to allow "regular" java code to access FM and audio chips directly.

Even Spirit2 was architected this way, until the last 140912 public release.

Now Spirit2 does all nasty root stuff from one root launched daemon. And it's taken around 3 months to get it this far, in beta, despite that Spirit2 is much newer, nicer and smaller, simpler, more elegant code and design, for a more limited number of phones, APIs and ROMs.
[Spirit FM] mikereidis:
Spirit2 beta for Lollipop: November 21 / 141121:

Now on Play for customers signed up for betas: https://play.google.com/apps/testing/fm.a2d.s2

- Speaker/Headset switching changes. Hopefully this will reduce or eliminate speaker related issues that remain after turning FM off.

- Qualcomm chip startup error fix.

- Fix for 10 second delay un-pausing HTC One M8 when headset plug is not inserted.
[Spirit FM] microhardest:
I tried it on Huawei Mate 7. didn't work. Could you please make it support Mate 7? Thanks.
[Spirit FM] mikereidis:
I'm afraid I have plenty of work already, supporting Lollipop on the most popular devices with Spirit2.

If one of the Spirit's doesn't already work on a phone, it never will, unless:

Unless it happens to be a new, higher end and popular among ROM'ers device with FM capability with digital FM audio. These few will be supported by Spirit2..
[Spirit FM] sinless34:
Please, support the LG G3 .
[Spirit FM] mikereidis:
Spirit1 and Spirit2 should work on rooted International or US Sprint LG G3's.

If you see otherwise, let me know.
[Spirit FM] mikereidis:
From another thread: ;)

"Mike's rule" for FM radio threads on XDA is still as true now as it was 4 years ago:

Sooner or later, in every thread about so called "old fashioned" over the air FM radio, somebody will bring up streaming apps.

That poster usually seems to think either:

(a) - We have never before heard about streaming apps, and he is educating us, or

(b) - We need to "get with the times", abandon the old, and go with the new.

Most of us understand that there are pro's and con's to streaming and OTA radio.

If we decide we prefer one over the other (either), don't try to convince us we are wrong.

I don't post on streaming app threads trying to convert streamers to OTA'ers.
[Spirit FM] mikereidis:
From another thread, again:

There have been many "test releases" over the years that I've posted free links to on XDA.

This includes the full versions of Spirit1/Spirit Unlocked and Spirit2. I've posted a bunch of Spirit2 betas for Android Lollipop just recently.

But eventually I "age" them and stop making them available for download. Right now I'm only making available 2 free versions from 2013.

If someone has an older version already, that's fine. I ask that they not be redistributed though, while still understanding that it's not a big sin to pass a copy to a friend or 2.

Anyway, I'll send a copy of any of my apps to anyone who asks by email. Nobody has ever abused this to get updates on an ongoing basis. The newest releases tend to give the best impression of Spirit and I prefer the impressions be more under my control and hopefully thus better.

So that's my answer to anyone sharing copies. If anyone wants a copy to test, please just email me at mikereidis@gmail.com . :)
[Spirit FM] mervluk:
Why are the app upgrades and bug fixes now only available on request, or by admission to the beta group? Spirit seems unusual among apps in this regard. (Though for Spirit 2 you could eventually make the L version a new paid app, perhaps?). It does seem less fair for Spirit 1 users, especially with the known Google voice bug.

I do have an interest using the Spirit 2 beta, as I have the speaker bug but shouldn't use the email route for regular upgrades as you say (and don't want to anyway). I'm a paid user. It's a catch 22. I'm happy to pay for a new app, though.

Sadly both open Play versions have bugs for my semi-supported phone, which are cured by the betas, apart from the inability to use the speaker after closing Spirit 2 without a reboot. A new paid Spirit 3 (or L) app of the re-engineered Spirit 2 beta upgrades would solve my dilemma, and I'd be happy!
[Spirit FM] mikereidis:
Spirit2 beta for Lollipop: November 23 / 141123:

Now on Play for customers signed up for betas: https://play.google.com/apps/testing/fm.a2d.s2 , or email mikereidis@gmail.com for a test copy.

- Mostly relatively minor mods, relative to 1121.

This is "Release Candidate 1", after 2+ months of intensive re-design for Lollipop, with no "normal" updates since 140912.

I hope to make 1123, or a new 1124 a full release version by Monday, in time for the Christmas shopping season. :)

I've been doing lots of testing, and some adjusting, with the best Lollipop ROMs I can find for: GS3, One M8, One M7, Xperia Z, Z1, LG G2, Moto G.
[Spirit FM] :
Erm how do I get beta I just get a "nothing to see here" page on the beta link
[Spirit FM] mikereidis:
You could just wait for tonight or tomorrow. I'm hoping to make 1123 or a new 1124 an official release.

(a) - You need some luck I guess. Some people are never able to see that page and I don't know why.

In theory, you might be able to complain to Google. Google responds to paid customer emails, but refuses to speak with developers (Crazy, huh ?), despite that they take 30% of our app income.

(b) - You need to be signed in with the Google Play account/email of purchase.

I've personally never tried this myself from an Android device; I always do it from my PC.
[Spirit FM] :
Tried it from my pc and phone. both same. Do you not add me to some list ?
[Spirit FM] mikereidis:
Yes, I have to approve beta tester requests, after you request.

Step 1: Buy the app. Go here and it should show as purchased, if you are logged in correctly: https://play.google.com/store/apps/details?id=fm.a2d.s2

Step 2: Go here and click the "Become a tester" button: https://play.google.com/apps/testing/fm.a2d.s2 Screenshot below.

Step 3: Wait for me to approve the request. In gmail the bell at top right shows me pending requests, I clickety-click and approve everyone who requests.

Step 4: I'm not too sure about this; I should try myself again and see. Anyway, going to that page ( https://play.google.com/apps/testing/fm.a2d.s2 ) should show the second screenshot below .

As I've said, several people have said it doesn't work for them; they get a blank page or something indicating they can't access it. I have no idea why. I would be very interested to see what Google would say to a customer complaining about this. And again, Google refuses to speak with developers for these matters.
[Spirit FM] :
Do you not have a google group for the beta ? I See plently of beta programms that allow you to join the google play page and become a tester IF you are in the google group
[Spirit FM] mikereidis:
Yes ! :)

I had an email this afternoon from another helpful person solving this mystery.

I had to join Google+ in order to setup beta tests, and the testers are in a Google+ group.

So I'm guessing you need to be signed into Google+ with the email account of purchase.

I don't know Google+ well (LOL), but would that mean that it must be an @gmail.com or @googlemail.com address ? Most people have their purchases tied to Google emails, but I've seen a few with hotmail or whatever.

I haven't decided yet if I am for or against the EU trying to split up Google. Stuff like this is a factor, for good, bad, pros and cons or whatever.

I did not want to sign up for Google+, but I was forced to, if I wanted to set up Play betas. OTOH, integration is great, technically.
[Spirit FM] :
OK so got a link to the group url? Thats the one you should give out. You're missing a key step out there :D

If you Goto Google plus it will be in your groups or you get emails about it.

Found 1 https://plus.google.com/app/basic/communities/118032870995675059664?cbp=7gasjrwapt21

But if think its spirit 1

Spirit 2 beta found https://plus.google.com/app/basic/c...swt&sview=25&cid=5&soc-app=115&soc-platform=1
[Spirit FM] mikereidis:
Could be.

Spirit1 FM Beta: https://plus.google.com/u/0/communities/118032870995675059664

Spirit2 FM Beta: https://plus.google.com/u/0/communities/109620957330193229286
[Spirit FM] :
Yep testing link works fine now
[Spirit FM] mikereidis:
Spirit2 RC2 beta for Lollipop: November 24 / 141124:

Now on Play for customers signed up for betas: https://play.google.com/apps/testing/fm.a2d.s2 , or email mikereidis@gmail.com for a test copy.

This is "Release Candidate 2" and I will likely "pull the switch" and activate it as the "production" version, in about 12 hours, after some sleep and checking messages to ensure that nothing has horribly broken in the new release.

I am also very happy to announce "Spirit2 Free: Open Source Real FM Radio for AOSP & Root".

I have taken the essential features of my commercial Spirit2 FM app: https://play.google.com/store/apps/details?id=fm.a2d.s2

And I've open sourced the result under GPLv3 AFFERO.

Please see this new thread for further information: http://xdaforums.com/apps/spirit-fm/app-spirit2-free-source-real-fm-radio-t2951455

==============================================================================================================================================================================

Spirit is my full time job, but I'm sorry to say I still make less than half of my corporate salaries, and work about twice the hours, for the last almost 4 years, from early 2011.

I appreciate the financial support of people buying my apps, Spirit2: https://play.google.com/store/apps/details?id=fm.a2d.s2 and the older Spirit1: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

I am also happy to accept Paypal "donations" to my mikereidis@gmail.com address : https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mikereidis%40gmail%2ecom&lc=CA&item_name=Spirit%20FM%20%2d%20Mike%20Reid&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted

The commercial Spirit2 has many features that are not in this Spirit2 Free app. As time goes by, I may move paid features to the free version. The closer I can get to a "normal" salary, the more willing I will be to do so.

Thanks ! :)

Mike Reid.

==============================================================================================================================================================================
[Spirit FM] mikereidis:
Spirit2 was updated to 1125 in the Play store and in the new Spirit2 Free thread.

This fixes some stability problems related to too many open files/sockets.

And as expected, the bug reports for the Lollipop compatible re-architected Spirit2 are rolling in.

Why do I have to push a new version to thousands of people in order to get bug reports ?

I can freely post beta versions here and hundreds of people will download, and I hardly hear anything.

I can post the betas to Play where 91 Spirit2 beta testers are enabled. And I hardly get a bug report from them either.

But I post a new version on Play for all customers and I finally get bug reports. And these reports are often from people with the same very common phones I have; including GS2 and GS3, and running the same CM11 ROMs I've been doing extensive testing with over 3 months.

I often leave Spirit running for many days in a row, on my 12 Spirit2 phones, and 1 tablet, mashing buttons occasionally, trying to find problems.

I ask if there are audio mods like Viper loaded, and the answers don't come or are "No".

I've been writing robust software for quite a while now. And I know there's a billion ways for software to fail, especially interacting with other software in many ways.

But it always amazes me that I think I've done plenty for testing, but it's never enough. I'm always dependent on a fraction of the thousands of customers to act like my "QA department". 5-50 people might see a problem, and swear under their breath, but only 1 or 2 of those 5-50 report the problems.

Maybe I just don't test under real life enough conditions, like running 12 apps at once, running out of free RAM a few times, and using the phone, camera and a dozen apps.

If Google had a good solution for Play users to roll back to earlier versions, this wouldn't be as big an issue. I think the large development companies don't want Google to do this, because people could go back to versions without ads, or with more features (that were removed) and versions that are more easily hacked.

So here I am again, looking to see if I can add features internally to Spirit that allows it to self update to older or newer releases. Google should do more for small devs for their 30% of our take, and this is one of these common sense things that many agree Google should do, but they don't.

Even corporate users want to be able to rollback/downgrade app versions and Google has had an unresolved issue open for this for quite a while now. For corporations, rollbacks are a necessity to ensure that bad system upgrades don't take the company down, and are fixable within a short window.
[Spirit FM] :
Working just lovely on my g3 right now. Defo a stable release.
[Spirit FM] mervluk:
Same on xz running Existenz 3 (4.4.4 with stock kernel). With around 350 apps too, a few dozen of which are usually running at any one time. I rarely encounter an incompability, though all the roms I've tried have a few bugs, but not everyone seems to suffer them. Even Viper works on my phone with Spirit 2, but its controls are too crude in their operation (though plentiful) for my liking. Works too with PureXAudio v29.

PS if it's any consolation, even Sony have problems with their own audio app upgrades (Walkman) on stock, and like at the moment, I have to rollback.
[Spirit FM] DesMor:
I have updated to this new version on my SGSII with latest Omnirom (4.4.4) and it is not working anymore. Spirit is freezing on starting screen with your welkoming. Touching the screen welcome goes away but screen keeps frozen. No solution beside all my efforts!

Cheers
[Spirit FM] mikereidis:
Good. :)

But 2 people with G3's have reported that the low end/bass is messed up.

I should re-review my sales statistics this month, but I don't think they justify buying a G3 at this point.
[Spirit FM] mikereidis:
Good. :)

Can you test this ? : With the volume raised, and FM playing in the wired headset, pull the headset jack out.

Do you start hearing feedback ? Raise volume to maximum if you don't hear it at first. The visualizer spectrum will show a few big peaks with feedback.

I see this issue on my Z running a Lollipop ROM, but it didn't happen with stock, and I forget about CM11.

Also doesn't happen on Z1, stock, CM11 or Lollipop AOSP, because they have a "proper" FM audio input to read from, instead of fooling Android that the microphone is used for input.
[Spirit FM] mikereidis:
Thanks for your report.

There are hundreds of ROMs for SGS3 and SGS2 and I'm going to have to start testing the most popular ones, including Omni.

If you or anyone is a customer and needs the previous 0912 release, email mikereidis@gmail.com .

I am considering re-releasing 0912 as a new version until more ROMs can be tested, and accommodated.
[Spirit FM] :
They're probably running viper. Sounds fine here. Ask them to compare it to the stock app
[Spirit FM] vrwmiaris1:
I'd like to inform you [MENTION=2758183]mikeri[/MENTION]des that viper4A works really well with spirit 2 only
[Spirit FM] mervluk:
Did the test. Top volume is deafening (and distorts a bit as all my audio does at max volume), but complete silence when I pull the headphone jack out whilst playing. Has never happened I'm sure, as it's something I often do when tripping over the headphone cable. No sound feedback at all.

But I'm the bloke who had the intermittent silences with the earlier non beta version of Spirit 2, and the “studio“ voice microphone echo both of which were cured (when you changed Qualcomm to direct input from the chip? and all the prior Spirit2 audio glitches on my phone disappeared).

For some reason my phone has never displayed the visualiser spectrum on Spirit 2 where it should be, just a blank space. I don't worry about or need it. Might be an app conflict, perhaps.

Checked. The same with the Viper drivers running.
[Spirit FM] JustArchi:
[MENTION=3575078]mikereidis[/MENTION]

If that's not a problem for you, could I ask you for putting your open-source project on github and making it compatible with AOSP tree?

I mean, I'd want to be able to build your awesome app from up-to-date sources everytime I'm building ArchiDroid. This way I'd only need to add your repo to roomservice.xml and add your app as a package to particular device.

If that's too much for you, I can do that myself. But I'd prefer to sync with your repo and your sources instead of putting your code in my ArchiDroid repos, you're the one who develops the app, so I don't feel right taking this source code and putting it in my public repos :).

Thank you for everything you've done, you know how much I appreciate that.
[Spirit FM] mikereidis:
Good. :)

Spirit1 has a digital audio mode which may work.

But I'm at a point now (2015 !) where I have to concentrate on Spirit2 and leave 2011's Spirit1 to the inevitable "bit-rot" of new ROMs, mods, kernels and Android versions at least.
[Spirit FM] mikereidis:
Spirit2 updates: quite a few today/tonight on Play. I hope it's stabilized now. Had a last minute Menu button issue with EQ and Cancel, due to test code.

Google Play supports different APKs for different Android versions.

So, including Free and Beta, Spirit2 is now split into 4 versions:

("Same" means functionally the same. Versions and intro text differ.)

2014_11_25a_classic:

- For ICS 4.0 to KK 4.4.

- Same as previous stable 2014_09_20, except can't run on LOL 5+.

2014_11_26c:

- For LOL 5.0+.

- Same as 2014_11_25, except can only run on LOL 5.0+.

2014_11_26c_beta:

- For JB 4.1+

- Same as 2014_11_25, but only available to beta testers.

2014_11_25_free:

- Same as 2014_11_26c_beta, except missing commercial version functions.

I may make the 09_20 codebase the last release for Android 4.0-4.4. This way I won't have to spend a LOT of time testing various KK ROMs on my 12 phones and 1 tablet. (Thankfully all 13 now adb network accessible, with some batch testing flawed only by flaky wifi on current LOL ROMs.)

My past experience is that the Modders/ROMers who run Spirit are mostly on the new Android release within 3-6 months after AOSP dump. So I'll concentrate new development and testing on Android 5.

None of this affects the latest Spirit2 Free 11_25, matched with the above, except that bug reports indicate it also won't work on some pre-Lollipop ROMs, including Omni for Galaxy's.
[Spirit FM] mikereidis:
Oh yeah, I finally unlocked my Z in the last week and it was still stock 4.4.2.

I had the exact same experience as you. Sony does something "funny" with the visualizer stuff and has for quite a while. Every AOSP ROM on Sony's works fine though. Sony also does funny things with the notification shade and lockscreen. I think I recall no media controls in notification.

I've never really put any effort into figuring out the Sony issues, because virtually nobody reported it. I read useful advice years ago to not even bother with bug and feature lists, to save time, and to just listen to what customers/users are requesting or reporting bugs about.

And Sony's still represent a smallish fraction of my income; about 10% last month. Better than the 4% the year before though. :)
[Spirit FM] mikereidis:
:)

I'll quote from the README_OPENSOURCE_BUILDING.txt file:

But your request will move it up in my schedule. It's just a few commands to start, right ?
[Spirit FM] JustArchi:
Yeah, it's not that hard, you already know about android makefiles, it's about adding one more makefile (example) and setting up a git repository :).

No need to hurry Mike :). Thanks!
[Spirit FM] LeBourrin:
Hello, I have a Galaxy S2 and I confirm that Spirit2 doesn't work for me too, with Omni 4.4.4 (11-2014 build) and Dorimanx 10.44 kernel.

Edit: I'm on Spirit2 Free for now.
[Spirit FM] mikereidis:
IF you are on KitKat or earlier, the current release on Play for the last last 36+ hours is "2014_11_25a_classic".

This is functionally identical to the 0912 release that has been pretty stable for 2.5 months now.

No bugs have been reported in this release that aren't also in the the 0912 release.

The full featured equivalent to Spirit2 Free is "2014_11_26c" for Lollipop users, or "2014_11_26c_beta" for JB, KK and Lollipop.

If you are on JB or KK, you can get the redesigned for Lollipop beta by joining the beta group as described here: http://xdaforums.com/showpost.php?p=57079402&postcount=795

Or just email me mikereidis@gmail.com .
[Spirit FM] mikereidis:
New Spirit2 Free 1128 release APK: http://xdaforums.com/attachment.php?attachmentid=3037801&d=1417174330

Source: https://github.com/mikereidis/spirit2_free

No Android.mk file yet (except in jni), but everything else should be there.

I'm looking forward to CM12 on my GT-I9300. Nameless 1117 is getting "long in the tooth" now, LOL.
[Spirit FM] mikereidis:
I've renamed the 4 Spirit2 versions, and there are slightly new 1128 versions for all:

Changes since 1125/1126:

- MotoG 2nd gen detection.

- Minor cosmetic text changes.

Spirit2 KitKat: 141128_kitkat: old architecture 0912 code, for ICS 4.0 - KitKat 4.4. Old reliable, may get minimal updates.

Spirit2 Lollipop: 141128_lollipop: new architecture, for Lollipop 5+. Working on all Lollipop ROMs I've tested.

Spirit2 Beta: 141128_beta: new architecture, for JB 4.1 - Lollipop 5+. Does not work on some pre-Lollipop ROMs.

Spirit2 Free: 141128_free: Same as Beta except reduced functionality.
[Spirit FM] mikereidis:
I've closed / re-closed the Spirit2 Free and Spirit2 threads in favor of this general Spirit1/Spirit2 thread.

It's too confusing trying to figure out where to post what.

I will update first 10 posts of the Spirit2 Free and Spirit2 threads as documentation when I can.

Post #1 of the Spirit2 Free thread will be updated with attachments for the latest Spirit2 Free releases: http://xdaforums.com/apps/spirit-fm/app-spirit2-free-source-real-fm-radio-t2951455
[Spirit FM] JustArchi:
There won't be official CM12 for i9300, but we have semi-working alpha already :).
[Spirit FM] BPaul:
[MENTION=3575078]mikereidis[/MENTION], you planing to add to spirit2 support bcm4330 module and also with this audio lib source https://github.com/aosp-light/android_device_sony_fuji/tree/aosp-5.0/audio?

Because spirit 1/2 no work with this lib on Android 5.0, has radio signal, RDS data, but no sound and no one method no work