yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
Great ! :)

Yes a few people have reported success on Razr I, the first Intel device Spirit reportedly works on.

So it doesn't work by default, trying to use the low level API ? One way to avoid configuring of FM API is to deny SU/root (or just have an un-rooted device).

Did you have to configure the FM chip ? And did sound work at all without Silent Loop ?

I'm pleasantly surprised, but a bit puzzled that Spirit can work on Intel based devices. Spirit uses a "native library" to access low level things, and even when using high level APIs, it is required. But this library is built for ARM devices only.

I SHOULD have to build an Intel specific library, containing Intel machine code. I can't imagine how it's working, but will just call it magic for now. :)
[Spirit FM] mikereidis:
GT-i9100g:

I bid up to $300 on that EBay 9100g, but it went a bit higher.

I saw a HUGE jump in sales when I first supported GT-i9100. It's early but I'm seeing nothing for the G variant. Sales over the weekend are actually 20% lower than usual, and the stats aren't really showing G, but hopefully over the next week that will improve.

There has been a LOT of requests for G support over months. But unless that get's backed up with sales, I'm not too likely to get one so that I can support it well.

I know many people say they'll buy when it works well. Chicken and egg, right ? But in general (not just for 9100g), people say things because "talk is cheap".

I have so far invested at least a few dozen hours into G support (and "risked" my EBay bids) and I cancel any order at any time on request, so if you want to see good G support, then now is the time to show it. And let others know the fate of G support is riding on their support.

I fully understand not everyone can afford, and some countries are less well off than other countries, etc. etc.

Again and in other words, if I'm unable to see good G sales support, I will likely have to leave G support wherever it lands in the next week or so. And anyone who's purchased and is unhappy with the outcome is free to ask for a refund/order cancel at any time.

Since the 9100g seems capable of FM record and some other fancy things, I'd like to include it in Phase2 of Spirit. But I won't/can't without support.

Thanks ! (And may the best phones win. :) )
[Spirit FM] :
it is difficult to test further without unlocked version. no offense but it's a bit expensive, like the most expensive app in my phone. lol. Anyway, you'll have my feedback since I'll be using radio everyday
[Spirit FM] BJohnM:
T-Mobile 4G Slide issue

Mike:

I've used Spiritlight (paid version) on my rooted and "androidized" HD2 for some time, and love it. I'm about to give it to nephew, and have to start actually using my 4g Slide. I got it rooted, and added Spiritlight to it, and was thrilled that it worked beautifully. In fact, the reception was even better than on the HD2. (BTW, stock ROM, just rooted with Superuser added).

However, it's now been about three weeks, and suddenly, this morning, it wouldn't work. I have tinkered with settings, read what I could here, and did use the search box before writing, but so far, no luck finding any information or getting it to work again.

I love being able to listen to the radio when working in the yard or on my morning walk, and I'm not asking for my money back...I really want to get it working. Any advice? Is there something I've missed?

Thank you so much for a great app.

---------- Post added at 07:16 PM ---------- Previous post was at 07:12 PM ----------

And yes, I did try several other sets of headphones, and they do work playing music, etc. Also, I ran fix permissions, cleared cache, and ultimately uninstalled and reinstalled.
[Spirit FM] mikereidis:
Yes. :)

I've emailed you a copy of Unlocked to test.
[Spirit FM] mikereidis:
:)

It's difficult lately to allow fully automatic configuration, and fix issues on some device and ROM combinations, without breaking others.

I'm in a cleanup phase with Spirit now, and hope to patch as many issues as I can in the next few months.

I just added this to the FAQ, as lately some stock HTC devices are losing audio:

Set Debug-> HTC to each of the settings besides "Auto (all)" and follow each with a Mute/Unmute or Speaker/Headset button press to see if one results in success.

If one works, please let me know which and I'll try to make it more automatic.
[Spirit FM] :
Please email or quote me if you need to ask me for something to check or try.

Meanwhile, I'll keep on testing and sharing
[Spirit FM] ReeSilva:
When my Razr I was un-rooted, it works ALMOST well (keeping going to mute then I has to change to speaker then back to earphone to works again). Whein I root my device Spirit device stop to work, so I made the changes that I have talked before and it back to work :D (and without any "mute bug")
[Spirit FM] ArkBlitz:
I really, really hope this program is open-sourced someday (or at least a free alternative appears). As an user of an Android phone with a stock ROM and an integrated FM radio (Galaxy W), the only things that prevent me from using a non-stock ROM are the problems with reverse-engineering the camera, and the fact that (as of now) the only way to "restore" FM radio is by purchasing a device-locked app (something that I'm not confortable with, being a free software fan). I'm all in with donations, but DRM is definitely not my favorite thing in the world. Are there any free, non-streaming alternative for this program currently in the works, by the way? If I install a "backported" version of the FM app from the stock ROM and into the custom one, will it work or not?
[Spirit FM] mikereidis:
Thanks ! I've added that info to the compatibility list, and will likely make it automatic when I can.
[Spirit FM] mikereidis:
:) I LOVE open source & especially Linux. The last 15 years of my 28 year career have been mostly Linux, of the embedded kind.

Every company I worked for used it, but none of them released source, except in a few necessary areas of the kernel, eg.

Open is great, but closed pays the bills, and I wouldn't be here right now, working 70 hour weeks for the last 20 months, if I wasn't making the current 505 of what I can make in private industry working 35-40 hours.

There are a few other Android FM projects, most with open source that I've linked as alternatives in my compatibility list. And there's the CM7 FM app, and MIUI and Code Aurora Forum apps that are open.

I've absolutely definitely considered, and continue to do, the opening of various parts of my code and the massive amount of info I've collected on secret, undocumented OEM APIs and FM chip and SOC and audio codec stuff. I pretty much develop openly here, albeit not with code.

As for "DRM", the "protection" in Spirit is effectively disabled at this point, except to send me a piracy clue when a pirate sends a debug log. Protection never helps, and I'll rip this code out in the cleanup.

Anyone is welcome to start an open source project. Heck, let's get all the game and other app devs to open their source too, you think they'll go for that ?

Open source devs tend to do what they love. The fun stuff. Not the hard reverse engineering stuff (if possible), not the absolutely boring testing, re-testing x1000s on every common phone and custom or stock ROM combination out there. Not the TONS of tech support email I deal with every day that's probably at least triple what you see in this thread.

Spirit is free (binary) if you don't mind the free version, or pirating.

I propose that people are paying me mostly for an ongoing update and technical support service. And because they want to see development continue, with new phone/ROM supports, and new features.

But yes, I'm continuing to re-evaluate the situation regularly. If I come to the conclusion that open sourcing parts or all are in the best interest of this software project, and to keeping me away from soul sucking corporations but still able feed and house my family, I will do so.

I am seriously considering opening the source for Spirit phase 1, as I move to phase 2 over the next few months. But ya know what ? I have doubts much would happen to it at that point without my being involved. Most people want app solutions, not source code.

I don't think any open source Android FM app is going to go too much of anywhere, anytime too soon, unless and until there are standard APIs for FM and associated audio stuff. There was an attempt to create these APIs by ST-Ericsson but it's gone nowhere. And Google doesn't seem to care. And the CM devs are in no particular rush and I think claim to have abandoned FM, among other things, on Samsung products at least.
[Spirit FM] Metallico:
Hi Mike, how are you?

I purchased the light paid version from the market.

I want to know if I can fix the problem when press a key with sound and stops the radio.

The volume panel is working good now and we are happy with the FM radio so big Thanx to you.

Best regards Mike

Enviado desde mi GT-I9100G usando Tapatalk 2
[Spirit FM] :
Try setting > debug > Suppress System sound (enable)

not perfect but helpful for me
[Spirit FM] mikereidis:
Fine, thanks. Here near Ottawa we're getting 60-70 KMH wind gusts from the edge of Sandy, but it's nothing compared to NYC etc. Had to go offline due to some power issues.

Great, thanks, I also noted 2 sales of Light to 9100G users on Sunday.

This is a common type of problem that I now have an arsenal of workaround hacks for.

Enabling Debug-> Suppress System Sounds may help. While Spirit runs it disables button clicks and lock-screen sounds at least.

Also try enabling/checking Debug-> Silent Loop and restart Spirit. This plays a silent audio file to keep the audio chip occupied and running. It can also fix background volume control.

But sometimes this messes up other audio, which is where Debug-> Power Restart Media comes in handy. It restarts the whole audio system when FM is turned off. It's "brute force" but better than nothing/rebooting the phone.

If Silent Loop doesn't work well, disable it and try enabling Debug-> Play Audiotrack. It's like Silent Loop, but at a lower level and it doesn't waste resources by actually starting audio transfer.
[Spirit FM] Metallico:
Ok thanks

Enviado desde mi GT-I9100G usando Tapatalk 2

---------- Post added at 07:50 AM ---------- Previous post was at 07:46 AM ----------

Ohh, Sandy...

I saw it on tv and it's really bad.

Hope will be allright there.

Now, I will try doing what you said and will see.

Thanx Mike and good look with the weather.

Enviado desde mi GT-I9100G usando Tapatalk 2
[Spirit FM] felipevsw:
2012 Sony Xperia

Hi!

Last Sunday, FreeXperia team release an unofficial port of CM9 for the 2012 line of Sony's Xperia devices, including Xperia U, Go and Sola, along with the already supported P.

So from now on, a lot of user of these devices will start needing an FM app. Yesterday I bought Spirit FM to try, but it didn't work on my Xperia U.

Any special config I need to make, or these models are not supported yet? If not, any plans to support them?

I started a campaign on our forum thread for users to buy your app and motivate you to support us!

Thanks in advance!
[Spirit FM] :
Can the radio not disable touch sound and screen lock sound automatically? The problem is, radio does not re-enable the touch sound after switch radio off. I have to re-enable manually. I - Update: setting Power Restart Media (Enable) helps to recover/re-enable the original phone sound setting as before launching radio. Good job!

So, the only problem now is key press sound (swiftkey) and maybe notification (sms, email etc) sound - I wish the radio can auto resume. - Update: the radio resumes after email notification sound. Great! And disabling swiftkey press sound solve all pause/stop problem OR if not disable key sound, just press headset button twice to pause and play again.

I wish even the radio is playing, we still can hear clicking and pressing sound simultaneously - any specific setting for this?

RDS not working for me.

This interface is lovely.. where is it?? This is what people want
[Spirit FM] msameer1:
I have downloaded the light version from here on XDA and it works great on My HTC Sensation running CM10 ROM.

However, in Google Play Store it says it's not compatible with my device.

If you made it compatible I sure will buy the unlocked version .. it's really great app.

Thank you very much and keep up the good work :good:
[Spirit FM] mikereidis:
I appreciate that, and use requests (especially from customers) as a gauge for demand, but prospects for Sony/SE are growing dimmer as I clean up phase 1 of Spirit and move on to Phase 2.

Some thoughts are here for Xperia Sola MT27i with the rare-ish STE CG2900 FM chip: http://xdaforums.com/showpost.php?p=28442355&postcount=3976

For alternatives see FMCyanogen.apk or FMCyanogenHoloStyle.apk : http://xdaforums.com/showpost.php?p=27560996&postcount=1 & http://xdaforums.com/showthread.php?t=1761549 . If either works, let me know.

I've never figured out why my Sony Ericsson 2011 device support (which took many dozens of hours to add at least) didn't work, at least using the Proprietary OEM API. It's a variant of the TI proprietary stack I learned from reverse engineering some Sony apps. Sony has since released the source for 2011 devices, but I note that the Sony system keys are needed to create an FM app for stock, unrooted devices.

---------

As for phase 2 of Spirit, I will be limiting support even further, mostly to Samsung and HTC devices.

But I'm even wondering about HTC. I've checked the sales stats and just a few Samsung devices are responsible for 54% of Unlocked sales: GS, GS2, GS3 & Note. Development would be SO much easier, and the quality (control) so much higher, if I just concentrated on these 4 phones.

Add GS+, GSL, GW and recent HTCs and I'm looking at 65%. Add some older HTCs similar to Desire HD and we're at 75%.

Yes, absolutely, Sony/SE would be in the stats somewhere if I supported them. But their marketshare, ESPECIALLY among custom ROM devs, has never convinced me yet that I should tackle them.
[Spirit FM] TonyBoes:
I'd be sad if you moved from HTC, though I understand the thought process.

Just bought Light to try out (though I'm not against Paying for the unlocked version) on my HTC One X. I've tried it on CM10 and not been able to get any audio (though I do have a signal). Also tried it on King Kang (has an aokp base). Same issue.

I appreciate that you're working on it. I don't think we could hope for any FM support on non-Sense roms if you were not.
[Spirit FM] mikereidis:
Probably just need to set Audio-> Method to one of the "HTC..." selections. If ATT OneX(L) try "HTC OneX ALSA".

I want it to be automatic, so please send a debug log with Menu-> Email Logs.

--

I'm pretty sure HTC will be included. I have more HTC phones than Samsung phones, among the 18 or so test phones I have now. But among current high end models I only have the two types of OneX.

ATT OneX(L) is a bit special because it's a good proxy for OneS and Evo 4g LTE, and gives me the experience I hope to use on similar/future Qualcomm SOC devices using Qualcomm FM chips. Maybe similar Motorola devices can be FM enabled (not sure yet) and it's possible Samsung will release a similar device. US GS3s have the SOC, but not the Qualcomm or other FM.
[Spirit FM] mikereidis:
:)

We just had a wonderfully warm 18 degree celcius windstorm. We had a 70 ft / 20 metre tree fall, but no damage, thanks to a big forested backyard. The tree was killed by lightning a few years ago and was going to go sooner or later.

I think I heard most of the dozens of dead were hit by falling frees. The only Canadian fatality was a Toronto woman hit by a sign.

Best wishes to those seriously affected...
[Spirit FM] mikereidis:
I think system sounds are disabled on on devices like Desire HD in Oct 28 release, or at least what I'm working on now. Debug->Suppress System Sounds can be configured.

Oh, but you must be talking about some other audio problem that is worked around with Power Restart Media.

No. And annoying little things like this are precisely why I absolutely have to have a physical GT-i9100g to support it properly. I count 3 copies of Light so far and I will keep the thread updated.

Are you asking about Custom Elements ? There's a ton of settings for this under "UI Elements:..." that I've documented in this thread. It was intended to provide some nice UI mods, especially since so many people don't like the current Spirit UI. But nobody uses this feature so I will likely remove it soon.
[Spirit FM] :
I'm talking about the white interface, photo there. also in Play Store UL version. But i couldn't find the theme. where is it?
[Spirit FM] mikereidis:
Great ! :)

I'll presume you mean a Free version linked from post 1 of this thread. Otherwise it's a pirate link, so please let me know and I'll get it zapped. (XDA is the only place I'd bother anymore.)

I do Paypal sales for 1% of customers, but very much prefer Play sales, despite Googles 42% markup, LOL.

I think your ROM either misidentifies the device (code name should be "pyramid" I think), or you are using a non-standard DPI. AFAIK, nobody has ever figured out why some paid apps, but not all, can't be installed from Play with certain custom DPI settings.

But CM is usually no problem.

Send me a debug log with Menu-> Test-> Email-> Logs and press Send after 20 seconds. Then I can try to figure out the problem.
[Spirit FM] :
this theme. where is it?
[Spirit FM] mikereidis:
Try setting User Interface-> Theme to "Holo Light ICS". Or "Light 2.x" which is of Gingerbread era. You may also try changing User Interface-> Text Color.

I think that pic was taken with a Gingerbread ROM, and it might even have been MIUI or some other ROM that uses a Light theme, which tends to invert the colors.

Spirit tends to use the ROM theme defaults, so some ROMs look nicer than others, with button shapes and animations etc.
[Spirit FM] ReeSilva:
Today I've noticed that sometimes when I stop the Spirit (on my Razr I), the rest of the sound going to mute. So, if u'll really make my settings as default, will be interesting that u make the "Power Restart Media" as default too.
[Spirit FM] ArkBlitz:
Yeah, a very common problem with free software of this kind. Too much time for zero pay is something that only a person with much free time can do.

Unfortunately, none of them work as of now, sadly. At least, not with CM9 or later. Some code scrapping or something, you should know more about it than me.

Well, that should suffice for building a free-as-in-freedom reimplementation of the FM radio. Which would be greatly helpful for the Replicant project, by the way.

Very common problem as well. Most programmers only do frontends to already-built libraries. See FFMPEG, for example. Or the plethora of gaming console emulators that are on Google Play (nearly none of which are free-as-in-freedom, sadly, except for the background engine, which is a true shame).

Well, it seems like if FM radio support was totally dropped officially. The best we can do is to implement our own standard API by coordinating with other similar projects. Anyway, I guess I'll fork some cash for this project, in the hopes that at least the drivers get freed someday.
[Spirit FM] CheF85:
I tried all modes in "Menu-> Settings-> Debug-> Galaxy S2": June15(No spkr), July12(Stick Spkr), July27(Issues). In all these modes I get sound from headphones only independently of headphone/speaker position on main screen of Spirit Fm
[Spirit FM] BJohnM:
Thanks for the suggestions Mike. I tried this, and I also every combination of HTC Settings with every FM Chip choice, and it made no difference. However, this morning I headed outside for my morning walk, and as I do every day, decided to try it again, and it worked. Remember, I had tried multiple headphones. I did go back and check to see if I'd left any of the settings anywhere other than Auto, but it was back on auto for both settings. I'll email a log, but for now, it seems to be working again.

I appreciate your support.
[Spirit FM] JohnCorleone:
Mike I bought Unlocked version a while ago as I have a few devices you support. I was shocked people on international One X and i9300 S3 didn't know it worked until I posted screenshots. Anyhow, strike while the iron is hot. I have those phones I mentioned, EvoLTE, CDMA Galaxy Nexus, GSM Galaxy Nexus and a Nexus 7. I can test compatibility going forward if you add more devices. Its strange that Sprint has FM Radios in the HTC devices and Samsung doesn't seem to give much thought to it. But to be honest, some top devs are starting to venture outside the Samsung or HTC only area. I know a few that got the new Xpreria (have to check which) and after not so great previous reviews, I wouldn't be surprised if LG (don't laugh) makes a push going forward. I can't wait for CES in Vegas in January to see where the new tech is going. Anyhow keep up the great work. If an update makes an issue show on a device that hadn't previously had it, I will PM you

Sent from my GT-I9300 using Xparent ICS Tapatalk 2
[Spirit FM] Steppenwolfie:
Mike, now that the lg optimus 2x received CM10 love, is there any chance to make spirit work with it? I restored my previous TB installation of the light version, since your app is listed as not compatible on the market, and fm signal looks great, with missing sound though. I tested thoroughly LG methods, the automatic and CM7 ones and a few others, but with no luck. Thank you.
[Spirit FM] mikereidis:
Okay, I've made the code changes for next release, based on the Razr I "smi" device name.

OEM Proprietary, Silent Loop and Restart Media. I don't think there's any need to change FM Chip since the auto detection seems to be fine.
[Spirit FM] mikereidis:
So no speaker mode ? That's unusual that no setting would work.

I'm working on this area right now, so I'll try your "Android 4.0.4 hydra h2o v1.4.1 AOKP" ROM and see.

Galaxy S2 is the most popular phone for Spirit (22% !) so making it work well on many ROMs is very important.

Can you send me a debug log with Menu-> Email Logs ? Thanks....
[Spirit FM] mikereidis:
You're better off testing with the latest version, email me for Unlocked or use the free version here: http://d-h.st/JJ6

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

Last I recall these LG devices use mysterious, undocumented Nvidia APIs to do audio, although I thought I heard Nvidia loosened their info a bit.

The ALSA drivers are just for "show" in previous looks, but perhaps CM is using proper drivers.

I think setting Audio-> Method to "HTC OneX QCom" is worth a try, as the OneX International is Nvidia. Try all methods if you want.
[Spirit FM] :
so far recording not working for me. zero file size.

edit: i see no record button? How to record?
[Spirit FM] burnerr:
Sorry for offtopic, but I need HELP and I think that it's a right topic to ask

Samsung Galaxy S II I9100 > Galaxy S II Q&A > [Q] Sound over speaker | headphones plugged in

Sorry for my English.
[Spirit FM] mikereidis:
You will likely have to wait until I get a 9100g and see if it's possible. It looks like the hardware is capable, but I can make no guarantees.
[Spirit FM] :
but where is the record button?
[Spirit FM] mikereidis:
Menu-> Test-> Record-> Start.

It's a "Test" function and only works on some stock devices.

Please don't tell me now it doesn't work. I know. I just told you. Be patient and hope support comes through from 9100g users. Right now it doesn't look so good. $5.25 doesn't even cover shipping.
[Spirit FM] ReeSilva:
Today, when I get in home, I'll test the FM chip on automatic and I'll see if there's a way of rear the notification without lose the FM sound, cuz' everytime that I receive a notification the sound of notification take the focus, remove the sound of Spirit and it only Back to normal if I pause and play the app. I've already tried disable the focus functionality but the bug persists. If anyone know how to fix it, plz let me now.
[Spirit FM] :
Thanks Mike. Just wanna let u know, at least the radio manage to generate a file (but 0 kb)
[Spirit FM] mikereidis:
That ROM contains an old and pirated version of my commercial app.

I can't support any such ROM.