yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
I do, and it usually works fine with all default settings.

Ensure Spirit has SU/root. If so, and if the kernel has a usable FM driver, you should see RSSI at top left over 20 when tuned to a strong station if a wired headset is plugged in for the antenna.

If RSSI is good and you hear no audio, try setting Audio-> Method to "HTC OneS/X LTE ALSA" and restart Spirit. This may be required on ROMs that don't identify the device properly.

If no luck and if you're a customer, send me a debug log with Menu-> Test-> Email-> Logs and press Send after 20 seconds. Sorry, but I'm too busy with personal work now to deal with logs from free users.
[Spirit FM] hitech0101:
Hello,I just installed latest spirit free on samsung gt p5100 it gives an error fm not accesssible so can you please help Mike.
[Spirit FM] mikereidis:
Galaxy Tab's are not capable of FM.
[Spirit FM] danielalarcon:
Hey Mike,

Just a little note for all new users of Spirit, I believe I've been using Spirit almost after it saw the light of day, this is by far the best supported app I have used for 3 years now, used it in gs1,gs2 now on GS3, and of course not planning on moving to gs4,maybe the xperia z line next year, as long as it supports FM and/or CM :)

Yes, FM radio is aging out, but take this from a guy that lives in Guatemala, where 4G is still not deployed and 3G is limited, having for me, my wife, sister in law etc etc etc FM radio on our phones is very important, and despite not all of us use Spirit / CM, they have now turned to see the Sony Z lineup because Samsung ditched the fm support on the gs4.

Sure, we are nothing compared to the large masses, but, we have a choice :)

Thanks Mike for making FM more than usable in my devices.

This app is worth every cent paid for, and the support is simply without question, the best part of it.
[Spirit FM] rwb2073:
I've been using this app for a while now on an older phone, but recently installed a JB CM 10.1 ROM on my HTC Amaze 4G / Ruby. I'm just getting static and +/- 0 by 3 or 4. Wired headset is plugged in and it's getting root. Compared to when I started using Spirit a few years ago, the number of options and settings are staggering (it was pretty much Install > Fiddle > working on the Desire). I'm SO GLAD it's still around.

Can anyone share settings for the Ruby on a CM ROM or point me in the right direction?
[Spirit FM] Razakhan11:
Inquiry for Mark Reid, SPIRIT FM Radio

Dear Mike Reids,

I am on the look out for a radio app very similar to the SPIRIT FM you have created. Can you please confirm that does this application work with sets like Samsung Galaxy Pocket & Pocket Duos in Pakistan.

Specifications can be found on shophive website for mobile phones in Pakistan ( Sorry, I am barred to paste link as I just joined to talk to you)

In case the answer is yes, then we can work towards further development of the required app.

Thankyou for your time & support. Looking forward to hearing from you.

Best Regards

Raza Khan

email: razakhan11@hotmail.com
[Spirit FM] mikereidis:
:)

I've been considering other app areas as something I might transition to over the next year.

But it's very difficult to think of anything else with a good chance of success. Android FM has been difficult work, but I now have a few years of experience and code with pretty much no competition for a paid FM app and none on the horizon, paid or not, especially from Google.

My income is surprisingly steady and "decent" and the expression is "If it isn't broken, don't 'fix' it".

There are some bright spots regarding FM on phones, including HTC One (especially Nexus edition), GS4 mini, and possibly US Sprint phones in the next month or two.

Most of my sales are currently in Europe, so if Europeans move largely to streaming, I might have to reconsider. But it's all just a function of total sales/income.

So, onward and upward with Spirit and FM. There are plenty of ways I can improve my income if it starts heading down.
[Spirit FM] mikereidis:
I have very few customers with an Amaze, so I get little feedback.

Have you seen FM work at all lately ? Sometimes FM chips get fried by lightning, power surges etc.

Default settings are usually best, but you can try these, and restart Spirit:

Debug-> FM Chip = "TI (HTC)"

Debug-> FM API = "Low Level"

Debug-> HCI Access = "TIFM" or "BT Socket"

Audio-> Method = "qdsp5v2 Plus AIC"

If nothing works, a different kernel might help.

Send me a debug log with Menu-> Test-> Email-> Logs and press Send after 20 seconds.
[Spirit FM] mikereidis:
I don't support these phones.

Spirit might work, but enabling FM audio may be a problem.

Try one of the free versions linked in post #1 of this thread. With the wired headset plugged in, and frequency tuned to a strong station, the RSSI signal strength at top left should be over 20.

If not, try changing the Bluetooth power state and try again.

If still not, I have no further suggestions.
[Spirit FM] Razakhan11:
inquiry for mark reid

Dear mike

I am not a developer. Actualy i need an application for a project i am working on. I need services of a qualified deveoper like you.

Kindly give me some time to explain

Please share your email or send me one to help me explain.

Best regards

Raza rehman khan
[Spirit FM] mikereidis:
Sorry, but all my time is completely spoken for. :)
[Spirit FM] mikereidis:
Spirit Free June 7: http://d-h.st/Zt4

- Stock HTC One: Enable Debug-> Audio Focus to fix phone call issue. Reports are still mixed & HTC One still Play disabled until more positive reports.

- Buy button fix.

- Remove Intel library support. Rooted Motorola Razr I XT890's with JB update will revert to "Does not work at all" from "Only audio does not work".

- Update for variety of statistical and practical reasons including:

Determine how many updates are to Android 2.2 devices to gauge disablement.

Determine current active updaters.

Ensure current version has a proper source code backup.

Annoy pirates and detect their debug logs.
[Spirit FM] mervluk:
I assume the removal of intel libraries wil only affect those of us still using Spirit on (rooted) XT890's who have kept ICS (4.0.1) for that purpose if we need to download again and have to (as I suppose we do) use the latest free version for that purpose. Hope I can keep my current (Feb 26 -before removed from Play) version working staying on ICS! (Thanks, Titanium Backup). If not I will be very peeved as a paid user as it's one of my main-use apps on a limited data plan. (That's until the UK government turn off FM in 2018 - or later when they realise the upset - to gain more frequencies for 4G and its friends, forgetting the population outside the cities, as usual).
[Spirit FM] solrakk6:
is this apk work on cm10.1 for U8800 (ideos X5)

b reguards
[Spirit FM] mikereidis:
Hmmm, I hadn't really thought of any impact on those sticking with ICS; that's a good point.

I added the Intel library support AFTER declaring Razr I as no longer officially supported and disabling it on Play.

I did this as an experiment to see if rooted devices on JB could "work" again (without audio) by using the lower level /dev/tifm interface. I was pleasantly surprised to see it DID work. I added some code I hoped could enable FM audio, but that didn't succeed.

I still hold out hope that eventually some skilled person with this phone will inform me of the ALSA controls that need to be set for FM audio. I suspect this will happen eventually, maybe within the next year or so. But there were already ICS audio problems that didn't seem well solvable, particularly since I don't have this phone and can't justify getting one based on previous sales. Hypothetically the JB update Motorola/Verizon FM removal could result in more future sales, at least for the minority of people who can and will root.

So what is the impact on those sticking with ICS ? Those running the April 24 test release (never on Play) or the May 8 (was on Play) release on a rooted Razr I with ICS can use /dev/tifm as well as the Motorola proprietary FM API. This API is a little bit more CPU efficient and I think the Unlocked version will have at least one more bit of RDS data and maybe Alternate Frequency. I'm not sure if there are any positive or negative implications for audio with /dev/tifm .

So, there was just one Play release (May 8) which could provide a bit more efficiency and a bit more RDS on Unlocked via an experimental feature that I think I've only had one verifying report for. This May 8 release came (a few months ?) after I declared support unofficial going forward and disabled the Razr I on Play.

As long as I'm alive, I can provide May 8, or any version, to any customer wanting Unlocked or Light or anyone wanting the Free version to experiment with. So Titanium Backup isn't really needed unless/until I die, become incapacitated or abandon Spirit completely (IE no time soon).

And anyway, pirate copies will always be around and a few people know where I hide Unlocked downloads anyway... ;) And if anything sufficiently annoys you or anyone, just ask for a refund/cancel.

I'll consider putting Intel library support back in if someone figures out the audio. Pulling it out was a last minute decision I made because I saw a strange problem when updating Spirit on my GS3, but not on my OneXL.

For some strange reason, the GS3 test update installs killed the common ARM (non Intel) libraries. When I went to start Spirit, it would not start. I rebooted and re-installed and it was fine again. This may have been a fluke that few if any customers would experience. But I decided it could be related to having both ARM and Intel libraries, and I felt that reducing it back to only ARM would eliminate that risk for the vast majority of users.

Make sense ?
[Spirit FM] mikereidis:
No.

A year or more ago, I did try to support this phone, but audio (at least) was tricky.

I stopped supporting it perhaps 6-12 months or so ago.

Recent versions may "work", but with no audio.
[Spirit FM] 089man:
Works spirit fm also on stock rom?

I will test stock rom now...

I9100 Tapatalk 2, Rom1 Rootbox / Rom2 SlimBean , Kernel Dorimanx
[Spirit FM] mikereidis:
On most supported phones, yes.

GT-I9100 yes, from Android 2.3 GB through 4.1 JB.
[Spirit FM] 089man:
Yes its works with biftor rom.

Nice , also with visual Effekt.

I9100 Tapatalk 2, Rom1 Rootbox / Rom2 SlimBean , Kernel Dorimanx
[Spirit FM] steliosk:
Is spirit working with LGP700 (lg 7)?
[Spirit FM] pmn1:
Please support Samsung GT-I8190 Galaxy S III mini
[Spirit FM] land.apfel:
I haven't read all 600 pages so please bear with me if this question had already been asked.

Is there no digital support on the HTC One X?

What is exactly the advantage of digital? I don't quite understand it.

Digital doesn't enable DAB support, does it?

Cheers,

land.apfel
[Spirit FM] mervluk:
Yep. My phone didn't do the auto update to the May 8 version on Play, perhaps you removed it too quickly . . . fortunately! There's just a bit of audio crackle (which I don't get on the Xperia Z) so I assume that will be the Moto hardware being less tolerant of poorer signals (low RSSI figures). Despite that the RDS works fully on my XT890 running ICS, but not at all on my Xperia Z, and sound quality is similar with the same set of half-decent headphones on both. The XT890 has a 2GHz processor so I don't find CPU use an issue on Spirit (and battery use is about 50% of that on streaming radio). It's just better than the Moto application which freezes and needs a restart every time there's one of the numerous system sounds or a call, which Spirit copes with perfectly on the XT890.

I think FM is starting to wither in Europe (with the increasingly popular specialist stations now exclusively on digital services), so I suspect the best (though perhaps unlikely as I think the phone is being superceded) hope for sorting out the XT890's JB audio for FM is the work being done in South America.
[Spirit FM] LamerDuck:
I own the LG Optimus 4x P880 HD with CM10.1 as ROM

The app seems to work just fine on my phone, channels get recognized, it has just 1 little flaw:

no audio comes out.

has it something to do with the audio-settings or does it just not work with my phone? o0
[Spirit FM] mikereidis:
No.

On many recent LGs that are capable of FM, the "FM tuner" part works, but there is no FM audio.

I encourage anyone with these phones and some skills to find out how to enable the FM audio.
[Spirit FM] mikereidis:
On many recent phones that are capable of FM, the "FM tuner" part works, but there is no FM audio.

I encourage anyone with these phones and some skills to find out how to enable the FM audio.
[Spirit FM] mikereidis:
OK, let's see if we can get sound... :)

Install the just uploaded v11.06.30. Start the app, tune to a strong channel and raise volume to at least 50%.

Then run this:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 8 /dev/snd/controlC0 0

8 should be the "FM Radio Path". The above likely disables FM audio. So keep going with increasing numbers, eg:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 8 /dev/snd/controlC0 1

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 8 /dev/snd/controlC0 2

If that doesn't work you can try "/dev/snd/controlC1" with the "1" on the end.

If you run:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 0

and look under the "FM Radio Path" you should see some "Enumerated" values. They might be "disabled" "speaker" "headset" etc.

EDIT: From your asound.conf: 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX

So try values from 1 to 4, and add 5 just to test.

If no sound and no static we may have hit a dead end, again. Here's hoping you can report good news... :)
[Spirit FM] mikereidis:
Wow ! Great job with the soldering ! I don't think I've heard of anyone successfully doing that yet.

Now, can you also solder the audio connections ? ;)

Yours is the first device reported that has a working ALSA library and can use alsa_amixer. The alsa_amixer is better documented than my utility, and I'm sure has better capabilities.

But I don't see any "FM" or "Radio" type names in the ALSA controls. It's possible that one of the generically named Boolean or Enumerated controls might do something good.

I seem to recall something about 'AIN1' being commonly used for FM.

To set the "ADC Mux Right Capture Switch" to 'AIN1' you could run (With the v11.06.30 ssd):

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 73 /dev/snd/controlC0 0

But I think that's the default. You could also try values of 1 to 4 at the end of that command instead of 0.

For Left channel, use 74 instead of 73:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 74 /dev/snd/controlC0 0

I'll go back over your previous posts and look at your files more closely, but that may have to wait for much later today (or tomorrow for you).

EDIT: Passthrough controls are promising. We never saw a schematic, right ?

'Passthrough Left Playback Switch' (id 71) could be set to on (1):

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 71 /dev/snd/controlC0 1

Same for Right channel:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 70 /dev/snd/controlC0 1

These are already set as default, but can't hurt:

'Passthru Playback Switch'

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 25 /dev/snd/controlC0 1

'Passthru Playback Volume'

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 24 /dev/snd/controlC0 144

I think I recall there are 4 passthrough channels (?) but I see no way to select them.

EDIT2: The audio chip spec sheet is available here: http://www.cirrus.com/en/products/cs42l52.html

It seems to indicate analog passthrough is only for the headphones. But there are other possibilities like sending the analog audio to ADCs for conversion to digital...
[Spirit FM] idkidk:
Hi Mike,

:( no news for now, sorry......

In attach the result, i've try a little bit, this evening i'll try again.

I can't heard any little sound from headset.... but we have the "dancing signal".... that change to -10 to 55 continously..... so i think there isn't any signal to listen..... :confused:

Bye

Idk
[Spirit FM] Quinny899:
In vwhatever.30 the normal sfu_sdcs works without the plus. Don't know why. Maybe the phone just rejected the app last time. Anyway, the _plus method is quiter and worse quality than just sfu_sdcs
[Spirit FM] mikereidis:
Great ! Great !

It's been really bugging me as it's an awful hack and I can't understand how it would work. I almost made the _plus method the default but it caused problems on my HTC Legend.

I'll leave the code and option there for now, but will remove it if/when nobody seems to need it.
[Spirit FM] mikereidis:
OK, definitely run this as it will give more information than last time:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 0

Also it would be good to get the output from:

adb shell cat /proc/kmsg > kmsg.txt

Start it before running the ssd commands and Ctrl-C to stop it after.

There are some kernel messages that can be seen in this code that I'd hope to see: http://bonsai.googlecode.com/svn-hi...32.9/sound/soc/codecs/victory/wm8994_voodoo.c

It seems strange that you would have "FM Radio Path" in the ALSA controls if FM can't be supported, but it's possible it's there just due to common configuration between Samsung phones.

But the voodoo driver code I linked also has many FM references, and some #define's specifically for Galaxy Tab. AFAIK, there is no Galaxy Tab or variant that supports FM officially. (?)

I'm still doubtful given the lack of analog audio connection in the schematic, but if there was a connection I think we'd at least hear static if a connection was made.

EDIT: There's a curious post here in which the poster seems to claim to have an FM app on some version of the TAB, but that "Sometimes the signal is gone for 5 to 10 seconds, reoccurs again." This sounds like your experience with the RSSI jumping around.

http://www.mygalaxytab.net/samsung-galaxy-tab-applications/about-fm-radio-and-camera-application/
[Spirit FM] idkidk:
Hi Mike,

in attach kmsg and result of ssd 4 0. I've seen the above link, and i try to contact the user but no lucky.....

Tia!

Idk
[Spirit FM] jayson94538:
Ehh doesnt support my device
[Spirit FM] g4rb4g3:
Hi mike, sorry for the late update but I was pretty busy.

Thanks for the .30 update the good news first:

Radio works on Desire Z with MIUI 1.7.1

Changing between speaker and headset works too

The "headset-less" mode works if no headset is connected while starting

Now the bad thing. While getting a call the phone doesn't ring, reports a missed call after 1-2 seconds and then just restarts.

Logcat: http://pastebin.com/qFHk6EiF

After the reboot you can't hear anything but the audio method is still the right one.

If you select a different one then the phone reboots again.

Logcat: http://pastebin.com/kBeeC5pD

Hmm... while typing the phone just crashed again while playing...

Can't tell you if the phone would ring after exiting the app since it crashes pretty fast and then the phone reboots.

btw I don't have the old ssd bin on my phone anymore.

But still a big THANK YOU since we made a huge step forward to a working FM radio on MIUI.
[Spirit FM] seraser:
Hello mikeiridis, now I can write here.

Here you are my log on galaxy spica i5700, bcm4325 with your latest version of spirit:

http://www.megaupload.com/?d=LGCZT1NS.

I cant get signal, some times show -128 and PI:1.

Thanks in advance and wait your comment:)
[Spirit FM] mikereidis:
Off topic, but now I'm confused. You only seem to have 8 posts, yet you can post here. Other's say they need 10 posts and I confirmed a user with 0 posts can't post here. Perhaps it's because you've been a member here since 2009 ?

Re: The app. Sorry, most Samsung devices use a Silicon Labs FM chip and my app doesn't work with that chip yet. Do you know the FM chip for your device ?

What ROM are you running and is there an FM app on it ? If you have "adb shell" or similar and can use it, it would be useful to know if you have a device named /dev/fmradio or similar.

Thanks !
[Spirit FM] mikereidis:
OK, I don't see any clear evidence of Audio activity in your kmsg log.

I've uploaded a "July 1" version here that may be better at enabling digital audio:

http://www.mediafire.com/file/sqfot80anrfwdfn/Spirit_FM_Radio_v110701.apk

I think we are just randomly trying things now and our chances of success are getting lower. When I buy a Samsung device and become more familiar with Voodoo sound, I may have some better ideas.

But I note you have a "Codec Status" ALSA element with the following possible values:

FMR_VOL_0 FMR_VOL_1 FMR_OFF REC_OFF REC_ON

I think FMR is FM Radio as for the "FM Radio Path" values. FMR_VOL_0 may be a reference to the /dev/snd/controlC0 device, while FMR_VOL_1 is /dev/snd/controlC1 .

I have no idea why there would be 2 "devices" instead of 1. One might be analog and the other digital or Silicon Labs and Broadcom, but I'm just guessing/speculating.

So you could try something like:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 10 /dev/snd/controlC0 0

to set "Codec Status" to FMR_VOL_0. For FMR_VOL_1:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 10 /dev/snd/controlC0 1

You could try the same for the second "...controlC1" device"

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 10 /dev/snd/controlC1 0

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 10 /dev/snd/controlC1 1

And to turn on "Codec Tuning":

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 9 /dev/snd/controlC0 1

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 9 /dev/snd/controlC1 1

Do the above AFTER the previous "FM Radio Path" commands, IE:

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 8 /dev/snd/controlC0 1

adb shell /data/data/com.mikersmicros.fm/files/ssd 4 1 8 /dev/snd/controlC0 2

If there's no sign of any audio we are stuck again and can try again perhaps when I get better Samsung/Voodoo sound experience, or if and when I'm able to achieve digital or Bluetooth headset audio.

Thanks !
[Spirit FM] mikereidis:
OK, we are making progress... I will look at your logs.

I've seen a few spontaneous reboots on my own phone when changing the Audio Method.

You phone crashes while playing FM and you aren't doing anything ? The only reason I can think of for that is that a phone call is coming in, triggers the mute and the audio code crashes.

The latest ssd should always be at: /data/data/com.mikersmicros.fm/files/ssd
[Spirit FM] mikereidis:
OK, I'll look at the log.

Your signal strength of "-128" seems similar to idkidk's issue of RSSI jumping around on his Samsung Galaxy Tab, and the report I found on another forum. Perhaps something Samsung related is at work.

It's a holiday here and I have to attend to some family responsibilities now.

Happy "Canada Day" (our nations' birthday) to all fellow Canadians, and "wisher-wells". :)
[Spirit FM] idkidk:
Hi Mike,

Bad news, there isn't any audio; the only result of above command is that... i've doubled the speed of music playback .... :D

Each commad was executed without any error message.

Tia!

Idk
[Spirit FM] seraser:
Hello

Mikereidis, with your app, when I talk or touch the jack of the earphones I can listen my words or the noise with the earphones.

Is normal?:eek:

edit: sorry, is not your applicaton, I do not need run your application to listen the noise and .....
[Spirit FM] mikereidis:
Doubled speed ? That's strange. Perhaps that's the result of "Codec Tuning".

So perhaps we can re-visit the Tab if/when I get digital audio or direct to Bluetooth headset working. Unless I learn something new about the Voodoo audio, but still I don't think there is an analog connection.
[Spirit FM] mikereidis:
Deleted due to your edit.
[Spirit FM] mikereidis:
OK. You have a galaxy spica i5700 with CM7 ?

Have you managed to get my app working ? Last post of yours you were not getting any reception I believe and signal strength was -128 or jumping around ?