yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
"Defy A8210 / MB525" aka umts_jordan is actually at the top of the 2013 Moto popularity list, despite my mistaken claims about Droid 4 and Bionic, which are #2 and #3.

XT557 is Defy XT ? I don't think I have much info on it. I'll edit this post after I look a bit.

I've reached a point where if a device isn't popular enough, I don't "officially" support it.

I depend on LOTS of people to be my QA / testing group, especially for phones I don't have. So I can't help people much if I have no debug logs and other experience emails and posts. And that help always takes longer & is more frustrating.

So in such cases it's easier to disable on Play, for the modest drop in income that produces. And Play ratings and overall perception of the app is better when fewer people are running Spirit on badly supported devices.

EDIT: OK, you're the only one asking about this phone really. It doesn't fit the profile of phones I want to officially support. I'm trying to concentrate on the most popular high end devices running custom Android 4.1+ ROMs. XT557 meets none of these criteria.

If I enable it on Play, maybe I'll make 2-10 sales in the next year. And I'll have to spend hours maintaining info on it and perhaps providing support. I've put LOTS of time into editing and re-editing many posts and docs and info files over the last 2 years. I can't remember everything in my head. So understand that each phone that is officially supported takes a minimum of several hours every year to keep in that list.

It's just not worth it.

Also note that I may disable the associated audio method at some point, and/or enforce that Spirit won't run on non-officially supported devices.

There is a large amount of horrible looking source code in Spirit's audio method detection function. Simplifying it starts with removing the least popular/un-supported methods. For the sake of my sanity and reliability for supported devices, sacrifices have to be made.

As always, customers are free to use an older Spirit version, or ask for a refund. But I have to listen to the hundreds of voices with popular devices, and sadly the lone voices may lose out. Better to rescue 100 people in a life-boat than 1 single person in the water, given an either/or choice.
[Spirit FM] cajunflavoredbob:
I figured it was something like that. Mind sending me the unlocked version via PM then? I had to wipe data the other day and can't reinstall from the market. It works perfectly for me with root and no other modifications.
[Spirit FM] mikereidis:
I can't PM a file AFAIK, so I emailed.
[Spirit FM] cajunflavoredbob:
I got it. Thanks.

I'm sure there probably won't be any major updates to the app since you're moving on to Spirit 2 now, so I shouldn't need to request any updates.
[Spirit FM] mikereidis:
Still no more major features expected in Spirit1.

But development of Spirit2 has been stalled for the last month. Once I back-ported digital audio to Spirit1 the urgency for Spirit2 has gone.

Issues faced by Spirit1 customers keep coming in, and it's hard to do two projects at once. And nobody is even asking about Spirit2 now.

People want bug fixes and features, like Notification Window media controls, and auto-scan, and don't care much what name or number it's called.

Hopefully I'll get back to Spirit2 in a month or so. Tons of other personal and Spirit related tasks to do first. I'm glad to have it on the go though, and time to think about it is good too.

Amateurs tend to dive into coding right away, with no design or plan. 6-12 months later they have an un-maintainable mess and must forever fix and re-arrange. Seasoned devs are more likely to "take their time" and have something much nicer by 6-12 months. So it's very good to give it thought time.

Of course Seasoned devs act somewhat like amateurs when doing super-rapid development. Another reason to keep source closed is the embarrassing mess.
[Spirit FM] Captain_Throwback:
Re: [APP] Spirit FM

I was actually waiting for the initial beta version of Spirit2 to test on my EVO LTE.

I need to record from FM but need a compressed format which Spirit1 doesn't offer. I hope you have something by July, as that's when I'll have an immediate need for it :). But take your time and brainstorm. I know these things take time.
[Spirit FM] cajunflavoredbob:
I know what you mean. In my opinion, I was with you for making a new version to only support higher end devices. It makes more sense to do it that way, than to phase out customers who have been happy on Spirit1 for so long. If nothing else, just sorting out the supported devices with Spirit2 would be a big help.

My Deft XT is just my second line. It sits on my desk most of the day playing the radio, so Spirit is easily my number one app on that device. It works perfectly as long as you allow root. There are no custom ROMs to worry about ever on this device, due to the custom software needed by the network its using. In any case, this is why I see it that way.

My main phone is my T-Mobile Note 2. No FM support on that one, but it wouldn't due much good, since I'm talking on it a lot during the day. My next phone will most likely be the Xperia ZL.

In short, my opinion would just be to leave Spirit1 up for legacy users. Spirit2 can go on handling the shorter list of flagship devices and hopefully make your life a bit easier.

As you've said many times before, what your customers pay for is the product support. You've done a stand up job on that front. Even so, I've been using Spirit since my Touch Pro2 days with my first use of Android. I doubt anyone would think less of you for moving on to bigger and better things.

Just my 2 cents, though.
[Spirit FM] xhunter_tinhte:
It ín't support LG LU
[Spirit FM] mikereidis:
Nope.
[Spirit FM] mikereidis:
Sorry, should have asked you to post.

The code I used long ago on GB ROMs I think depended on the stock audio libraries. So it's useless to show that code and it's buried in very old versions of Spirit now.

Here's the current code for "TWL6040" GT-I9100G, LG P920 / P925 that I hoped would work recently:

// FM Headset on:
ssd_run ("4 2 'Aux FM Volume' 3");
ssd_run ("4 3 'HS Right Playback' 2"); // 'Off' 'HF DAC' |'Line-In amp'|
ssd_run ("4 3 'HS Left Playback' 2"); // 'Off' 'HF DAC' |'Line-In amp'|

// FM Headset off:
ssd_run ("4 3 'HS Right Playback' 0"); // 'Off' |'HS DAC'| 'Line-In amp' or Off ?
ssd_run ("4 3 'HS Left Playback' 0"); // 'Off' |'HS DAC'| 'Line-In amp' or Off ?

// FM Speaker on:
ssd_run ("4 2 'Aux FM Volume' 3");
ssd_run ("4 3 'HF Right Playback' 2"); // 'Off' 'HF DAC' |'Line-In amp'|
ssd_run ("4 3 'HF Left Playback' 2"); // 'Off' 'HF DAC' |'Line-In amp'|

// FM Speaker off:
ssd_run ("4 2 'Aux FM Volume' 3");
ssd_run ("4 3 'HF Right Playback' 0"); // 'Off' |'HF DAC'| 'Line-In amp' or Off ?
ssd_run ("4 3 'HF Left Playback' 0"); // 'Off' |'HF DAC'| 'Line-In amp' or Off ?

ssd is my ALSA utility that speaks to kernel APIs. It doesn't require ALSA libs that many ROMs don't have.

"4 3 ..." sets an Enumerated control.

"4 2 ..." sets an Integer control.
[Spirit FM] mikereidis:
SPH-L900 Sprint Note2 ?

I can't imagine an SI470x chip is there. It was never sold as FM capable, and nobody has ever had FM working in US variants of GS/GS2/GS3/etc.

Even if there was a spot for the chip on the PCB, why would they spend the $1 or whatever on a chip that will never be activated ? It's a dedicated chip for FM only, not a combo chip.

For the most part, Spirit just tries to open the /dev/fmradio or /dev/radio0 driver and use it. If power up fails, an error is shown and/or Spirit tries to use the BT/WiFi/FM combo chip.

Despite using the /dev/radio0 name, most-all custom ROM kernels enable a Samsung proprietary driver, not a V4L driver.

The Ioctl I use for power up is called Si4709_IOC_POWERUP.

I think that if the driver is /dev/radio0, Spirit tries to do a V4L VIDIOC_QUERYCAP ioctl to see if it's V4L or Samsung. That might cause a reboot. Android kernel drivers seems to do very little parameter checking. And I curse who-ever it was who thought using a V4L specific name for a proprietary driver was a good idea.

It's possible that explicitly setting Debug-> FM chip might prevent a reboot. Clear app data and hit Back at startup to prevent auto startup and reboot. Then you can config.

Are there any good schematics out yet, or tear downs ? Sooner or later, most Samsung service manuals "leak" (I think on purpose now.)
[Spirit FM] ilie321:
Re: [APP] Spirit FM

Thanks from what i see is doing things similar to tinymix check this topic xdaforums.com/showthread.php?t=2198686

Enable:

#!/system/bin/sh

echo "Routing To Headset"

tinymix "6" "120"

tinymix "66" "7"

tinymix "67" "7"

tinymix "73" "2"

tinymix "74" "2"

Set volume and set route from aux of 6040 to out

Disable.....

The question is :

Can you add to spirit for p920 to try run this commands for tinymix (it will be located in system/bin) tinymix is TI tool for linux to test their chips

Thank you
[Spirit FM] mikereidis:
Sorry, no.

I wish you well, but I've given up on trying to support LG devices.

I have more than enough work to do to support Samsung, HTC, Sony and ever decreasingly, Googorola.
[Spirit FM] ©h®is:
AW: [APP] Spirit FM

so, it is not mentioned in op, the Samsung N8000 is not supported?

right?

sent from my N8000 running 4.2.2 AOKP MR1 Kang Project by Jamison904
[Spirit FM] error: username not found:
Spirit2 Alpha 5 works great on GT-i9100M (essentially the exact same as international) running AOKP JellyBean MR1 BUILD5.

What does the (green) button on the bottom center do?

P.S. Is the "menu" soft-key (beside home button) not supposed to work on Spirit2?
[Spirit FM] 089man:
AW: [APP] Spirit FM

Spirit fm alpha 5 works on 9100 but had a big issue.

If I finished than all voice recorder not work.

Saved without recorded voices. No sound hear. After a reboot works the voice recorder.

I9100 Tapatalk 2, Rom1 Android 4.2.2 / Rom2 Miui v5 android 4.2.1 Kernel siyah v5 mcm by rush85
[Spirit FM] mikereidis:
Not listed in post #2 means not officially supported.

And N8000 is not capable of FM, AFAICT. No Note over 5" is.
[Spirit FM] mikereidis:
I haven't done anything with Spirit2 since that last release Feb 21. So I've forgotten a lot. :)

Green button is for record. See the posts linked in post #1.
[Spirit FM] mikereidis:
Thanks for your report.

I'll test this on Spirit Unlocked. Then Spirit2 when I get back to it. EDIT: Seems fine on latest Unlocked.

Unlocked now pretty much does everything Spirit2 does and more. So I've slowed down Spirit2 development to keep improving Spirit1 and to update all the info I've posted.

The Spirit1 FAQ is now updated, in addition to the first 3 posts from the last few days.
[Spirit FM] 089man:
AW: [APP] Spirit FM

Thx for answer. In FM free 1 the issue is solved, its only in Spirit 2 in my Galaxy s2.

I9100 Tapatalk 2, Rom1 Android 4.2.2 / Rom2 Miui v5 android 4.2.1 Kernel siyah v5 mcm by rush85
[Spirit FM] icpart:
Hi mikeredis.

I have one simple question. Is latest 23March free version support digital mode in GB roms on i9000 devices. I want to test if it work on my i9000 before upgrade to JB rom, but I'm afraid to do that because I blow my speaker one year ago when I tested SpiritFM on ICS based rom.

Also tested latest free version but when try to enable digital mode my phone hangs on and after s while it restart itself. I'm currently on Saurom GB rom.
[Spirit FM] mikereidis:
It should work if the kernel support Voodoo sound. I tested it on the last CM7 recently and it seemed to work. (cm-7.2.0-galaxysmtd.zip)

But I think on most GB ROMs Spirit uses known safe methods. Most GB ROMs are either based on CM7 or stock.

CM7 and related ROMs can use the CM7 Audio-> Method, while stock can use "Galaxy S2/S/Gio GB stock". Either is safe.

You should be prompted with a warning if this is an issue.

OK. I'm not concerned about GB ROMs anymore. I only loaded CM7 to chase down the chipmunk sound problem. But I was happy to see digital worked just as well as on JB.
[Spirit FM] James Bottomtooth III:
Re: [APP] Spirit FM

Hi mikereidis,

First of all thank you for this awesome app!

Second, is digital mode supposed to play through the headset only, or should it work through the speaker as well? On my i9000 with Digital GS1 selected I cannot switch between speaker and headset. Sound only comes through the headset.
[Spirit FM] mikereidis:
Works for me. Do you have a recent version ? What ROM ?

Do you have Unlocked or Light ? If so, send me a debug log with Menu-> Test-> Email-> Logs and press Send after 20 seconds.

Free usually supports speaker, but I don't recall if it supports speaker in digital mode. I think yes.
[Spirit FM] James Bottomtooth III:
Re: [APP] Spirit FM

I've got version March 11 Unlocked on SlimBean 4.2.2 v2.5. I'll get you a log asap.

EDIT:

In fact, I will stick with Automatic setting for now. Digital GS1 interferes with my earpiece. If I quit the app with a headset plugged in on (GS1), then unplug it, then make or receive a call, neither the microphone nor the earpiece work.
[Spirit FM] mikereidis:
Yes, plugging and unplugging have been problematic.

It took a LONG time to get analog working reasonably well on most phones, and then there's the hundreds of hours on the GS1 speaker damage problem and I still hear about 1 broken speaker every month.

It will also take a good bit of time to get the digital bugs worked out as best they can.

I've been saying over half, but I might estimate audio issues are actually over 80% of my problems & work lately.
[Spirit FM] James Bottomtooth III:
Re: [APP] Spirit FM

Wow, that sounds like a LOT of work only for audio problems. It's a shame, really. I'm thankful to be one of the lucky ones whose speaker didn't get damaged.

The good news is that plugging/unplugging issues are absent for me on analog mode. Only the digital mode has them, but I do understand that that's still in alpha stage.

Fantastic work so far, I hope you'll make a breakthrough with the sound bugs soon. Hang in there! :thumbup:
[Spirit FM] mikereidis:
:)

Not THAT lucky. My guess is around 1% of GS users had this problem, but it could be as high as 5%.

About 3,000 of my sales have been on Galaxy S, of about 13,600 sales. Maybe 22%.

And with 3,000 sales I'd bet a total of at least 10,000 users, when including the free versions and pirated versions. And yes, I've had some damage reports from pirates.

It's a double-edged sword. If there was a standard, open source, API, FM on Android would be much easier. And Spirit would not have been created to fill the gap.

I HOPE some progress is made with the ST-Ericsson proposed Android FM API, also used by Sony. Maybe if FM broadcasters in the US pay off the carriers, as Sprint is doing, Google will come around and bless an official API and HAL for FM chips and audio.
[Spirit FM] antonio89drop:
For: mikereidis

Hello I wanted to ask about the new developments made on the application Spirit Fm.

More specifically, having been able to try the Spirit FM Radio with Recording from FM models Galaxy S3 and Xperia P.

The Galaxy S3 unfortunately the recording is mono sound while on the Xperia P Recording from FM radio with stereo audio and is just perfect.

For this reason, I wanted to ask if any of the following models support the Recording mode Stereo FM radio with Spirit FM ie: Xperia GO? , Xperia S, Xperia ZL (model C6502)??

Could you tell me in more general models which you are aware that currently support Recording from FM radio in Stereo could you do me a list??

One last question.

I read that the Galaxy Player is supported by Spirit FM Digital Audio Recording and FM Radio but having already downloaded Spirit FM unlock I tried to record from FM radio on my Galaxy Player 5.0 but unfortunately the application crashes may mistake the parameters.

For this reason I ask you what are the parameters for Record from FM Radio on the Galaxy Player.

I await your response.

Thank you very much for your work and for me is priceless. Really the best app that's on Google Play Store.
[Spirit FM] tariq2kn:
Re: [APP] Spirit FM

I am on S2 Jellybean. I am trying it in India on 91.1, 93.5 & 98.3 Mhz., but this app has never worked for me.

Can anyone provide settings/solution?
[Spirit FM] mikereidis:
Audio is a BIG step 2, but RF is an essential step 1.

RSSI at top left should be 20 or higher when tuned to a strong station.

There's a 19 page thread about (lack of) FM on Nexus 4 here if you haven't seen it: http://xdaforums.com/showthread.php?t=1963623&page=19

I think no usable FM antenna connection is made to either the "internal" or external antenna pins on the WCN3660. The service manual schematics seem to verify that for both Nexus 4 and Optimus G.

But if you're this far, and the phone isn't rebooting, and the FM more or less looks like it's working with no errors, then it's worth trying these settings for Debug-> QCom Antenna, then restarting Spirit and see if RSSI improves to at least say 5-10 when tuned:

External/Headset

Internal
[Spirit FM] mikereidis:
S2 means GS2 ? Perhaps 9100G ? And Band is set to "World 100 KHz" or "World 50 KHz" ?

Set Band to North America.

Then set it back to "World...."

If 9100G I think this is due to the 3 year old and very buggy driver in the codeworkx kernel.

Next release of Spirit does this silly switching back and forth automatically, and has been reported to work.

I'm interested to know if the switch back and forth fixes it even after a reboot. Or better yet, after battery is pulled for 10 minutes.
[Spirit FM] tariq2kn:
Re: [APP] Spirit FM

It is GS2, I9100 on Jellybean 4.1.2.

I will try now as you have mentioned & revert.
[Spirit FM] tariq2kn:
Re: [APP] Spirit FM

Unfortunately, nothing happens. Only hissing sound as usual.
[Spirit FM] mikereidis:
delete
[Spirit FM] tariq2kn:
Re: [APP] Spirit FM

Dear I told you in earlier posts. It is GS2/i9100 on jellybean 4.1.2 with Siyah kernel.

100.7 & 101.6 Mhz works.

But, 91.1, 93.5 & 98.3 Mhz. don't work :rolleyes:
[Spirit FM] mikereidis:
Sorry, I'm losing track. Time for bed... :) But I did ask a second time, and reading older posts is getting to be a lot of work.

So stock Samsung JB ? Like the I9100XWLSJ for Nordic countries I saw you post in a thread ?

Or JB XXMS1 NeatROM like another thread I saw you post multiple times ?

I can help better if I get some help. I really don't like looking for where else people are posting to guess their EXACT ROM etc.

Anyway, I get a lot of info very quick if you send a debug log.

(And catch a surprising # of pirates that way. No reflection on you. AFAIK you're a customer or potential customer and last thing I want to do is offend. But pirates DO post here partly because some of them know I'll try to match their email w/ customer list. Really, this happens every day; I don't mind free users posting here, but it really annoys me when pirates ask for help. Steal my app fine; likely no loss to me. Free support for free; I do what I can. Steal the app THEN ask for support, that's over the line. Again, no reflection on you.)

Menu-> Test-> Email-> Logs and press Send after 20 seconds...

Thanks.
[Spirit FM] tariq2kn:
Re: [APP] Spirit FM

Ok. Have good sleep :D

SGS2- I9100

PDA: XWLSJ Stock JB

MODEM: XXLS8

Kernel: Philz Stock based
[Spirit FM] zaldax:
Re: [APP] Spirit FM

this could fix p990 mic problem, if you free time, maybe you can check it

http://xdaforums.com/showthread.php?p=38831550
[Spirit FM] tariq2kn:
Re: [APP] Spirit FM

@ Mike

Please check email for the debug file.

SGS2- I9100

PDA: XWLSJ

MODEM: XXLS8

Kernel: Philz Stock
[Spirit FM] mikereidis:
I've watched the thread and nothing new in the last few days.

I have no free time though, and should probably un-sub from the thread.
[Spirit FM] mikereidis:
As I emailed:

All my stations are odd: 88.5, 89.1, 89,9 etc.

But I got all 25 local stations just fine.
[Spirit FM] mikereidis:
Galaxy S4 GT-I9500:

My older March 14 post on GT-I9500 & GT-I9505: http://xdaforums.com/showpost.php?p=39153520&postcount=5658

Copying my post on the GS4 FM thread here: http://xdaforums.com/showthread.php?t=2204907&page=4

I've looked at the two system dumps for the GT-I9500 variant, and I think there is sufficient evidence of FM capability.

There is no FM app yet; I can't even find it hidden in music apps.

My theory continues to be that the FM radio app is not ready yet. Some spec sheets list TBD.

This may be due to the first time using FM on the Broadcom combo chip on a high end Galaxy S/Note class device. All prior devices used a SI470x dedicated FM chip, and ignored FM on the combo chip. If true, FM on GT-I9505 may be more likely, or at least jumper selectable. The Broadcom chip might be on a Murata module based on some drivers I saw.

feature_default.xml contains:

So as a CSC feature, the app may not be on some carrier software loads.

"RTPlus" is interesting as a possible new feature. It combines RDS info with online info to give an "interactive experience" and perhaps push ads at us, LOL.

There is some indication in the libraries that FM over Bluetooth may be supported for the first time in a stock Samsung FM app. Using a combo chip makes it easy, audio data never leaves the chip. I'm surprised it took this long to get that; was at least partially supported in the chips for years.

If using the Broadcom BCM4335 combo chip, I think the chances are better for digital FM audio, without the silly D->A->D conversion when recording on GS2/GS3/Note/Note2. Hopefully, everything will work as with other audio, such as equalizers/effects and external visualizers, and with low power consumption.

Some messages in the framework files:

:)

So, FM is playing. You say "Stop". Then you can say "Wake up" or whatever. I presume.

And I presume voice control might turn off with speaker on ? Otherwise some fancy code is needed to determine if radio guy says "Coming up next..." and it switches to next channel. LOL.
[Spirit FM] tariq2kn:
Re: [APP] Spirit FM

Then why isn't it working for me? :banghead:

SGS2- I9100

PDA: XWLSJ

MODEM: XXLS8

Kernel: Siyah 6.0b4

MOD: Many40's battery tweaks.
[Spirit FM] mikereidis:
Maybe due to Siyah kernel ?

I didn't test that because in post 5758 you said:

And the debug log you sent shows Philz CWM.

I have a 9100m, but it's virtually identical to 9100.

I used:

I9100XWLSJ_I9100XXLS8_I9100OXXLS7_NEE.zip

PhilZ-cwm6-XXLSJ-OXX-4.35.tar.md5

Then got root by using the recovery to load:

PhilZ-cwm6-XWLSJ-OXX-4.90.8-signed.zip

All this with factory reset, all defaults except developer options, and no other apps loaded.

EDIT: I wrote after "-------------" before remembering this is a stock ROM with stock FM app. It still applies if the stock app has the same problem.

Does the stock app have the same problem ? If no, then set Debug-> FM API to "OEM Proprietary", or just deny SU to Spirit. It should then work just like the stock app.

-------------

It's possible there's a hardware revision of the FM chip involved.

As I've said, a few people have had a similar problem recently, solved by switching band back and forth, or with a hack I added that does the same.

But besides the 3-5 people who have reported this, and who I got running OK, you're the only one with an ongoing problem.

For all we know there could be an unusual defect in your chip. Lightning and power surges can do bad things with an antenna connected to a sensitive RF input.
[Spirit FM] mikereidis:
The Galaxy S Advance GT-I9070/P is the least popular Samsung device I "support": 5 sales, with about $14 revenue to me, LOL. EDIT: I've now removed official support. I have way too many emails about it for only 5 customers.

I have almost no information about it. For these reasons I suspect I will retire it from the official support list soon.

I don't think it supports FM over BT, and there is no way I can support it on this device.

Do you have audio OK ? I can't tell from your message.

This is what I've emailed to the several people who reported audio problems, and only 1 person responded and I think he said it worked, but I'm not positive: