yashsingh1/xdaforums huggingface dataset:
[Spirit FM] antonio89drop:
"Spirit FM" For Xperia 2011 "ST17i"

I just read your post on Xda and I read that you could be helpful to the rom of my "ST17i" I found that this is my version of firmware and root -

Link: - https://rapidshare.com/#!download|9...154344|R~6151C8E159F0802FB927EB1D008A43F6|0|0

Anyway I read your post and you mentioned 2 other smartphones that have this ability to record from FM radio in particular the Galaxy notes and X10 mini.

The galaxy is not well known to defoult records as it seems to record 64Kbps/44KHz/2Ch (stereo)

Before I buy "ST17i" and I've got "X10 mini" to record from FM radio but the quality was lower in particular the volume after the recording was very low.

While my Active "ST17i" record is impressive-even well 256Kbps/48KHz/2Ch (stereo) - (this is one of the reasons why I bought it) but too bad that the sonyericsson did not list this recording function directly in the UI FM Radio.

So I hope in "Spirit FM" in order to use the FM radio in offline, without a headset, and even record from radio. All with just one UI in one application the fantastic "Spirit FM".

But I think that the whole range 2011 Xperia has the ability to record from FM radio, but I'm not sure because I have not tried with them.

But both my Active "ST17i" that Xperia Mini "new" have the ability to record from FM radio.

I await your new information for the funzionamato of "Spirit FM" on my "ST17i".
[Spirit FM] xmguy:
Mike, has there been any luck with the Droid x? I'm still holding out hope for the razr no matter how small it's chances.
[Spirit FM] mikereidis:
Well, there's a bit of new entertainment value on the whole "Sutton Shin" com.motorola.fmradio, "stolen" and slightly repackaged Motorola FM app story, so I thought I'd comment.

I saw his "INSTALLS: 10,000 - 50,000" and I was thinking, Dang, he's making more than I, and if I can't "beat" him, I should join in the fun and post Motorola FM apps.

But after much anguish, I noted that the app is free now, not $1.99 as previously. And the "last 30 days" graph seems to indicate most downloads were within the past few weeks, likely when it went free. AND his "donate" app seems to be gone now too.

So, perhaps,... perhaps Google shut him down ? And made the app free ? After all, Googarola is likely the owner of the app now (or if and whenever the purchase formally completes.)

He would now have been a direct competitor, since Spirit now supports the Motorola OEM API. I guess his app is still competition, as it gives people the Motorola app they weren't given on the Droid 2 CDMA or Bionic etc. People have long been able to download the needed file(s) from various places, but most "normal people" wouldn't know that.

So it still affects me a bit, but that's life. I feel better just knowing he is no longer making money from a mis-representation, and with an unfair advantage.

Perhaps I should accept his Google+ circle invitation and see what's up. LOL. :)
[Spirit FM] mikereidis:
Absolutely, it's working fine now on my Droid X on a bunch of ROMs (but not CM9 yet): March 17: http://www.mediafire.com/?4cp8t77pi6hqinb

But on phones like the Bionic, the FM Radio Service is installed, so it only needs one of the Motorola apps or my app to work.

Something tells me the impossible phones have no FM Radio Service installed. But the Droid 2 also has no service and one can still be installed.

You'd need root to install the FM Radio Service, but even a temp root with zergRush could do that I think. (?).

Also, if the Motorola apps don't work (and they don't) then my app is also quite unlikely to work in the Moto OEM API mode.

Assuming that's the case, the only hope is that, like the Droid 2 Global, a antenna switch function is found that magically enables reception. If I recall correctly, the Razr's have the same symptom as the D2G when using the original low level modes: RSSI is 0 or negative.

I've removed all Razr's, and over 100 other phone models from the list of devices that can download my apps. I don't expect to ever be able to re-enable any of them, but there's always a chance...
[Spirit FM] locomotive96:
Thanks for the support for the D2G. :) I would really like to have this work. And there are cheap ones on the internet. Bought this one off craigslist a month ago for $40.
[Spirit FM] mikereidis:
Thanks, these are useful clues. Re: "hard to get phone", yes unfortunately poking the device drivers when I don't have a very similar phone is difficult to figure out.

IF you were running a ROM that had the stock audio libraries, we'd have a better chance, assuming the stock FM app worked and I could determine what it does by inspection. Otherwise, we just have to try the lower level methods.

For the email logs, the file is /sdcard/sprt_debug.txt . If it doesn't exist, you can look in /data/data/com.mikersmicros.fm/cache to see if it's there, or at least to see what files were generated before the crash.

From your description, trying to disable the outputs (or at least the headset output) crashes the phone. The mute still works without sprt_mute because the app does both an FM chip mute AND an output disable. The FM chip mute is fine, so perhaps we can just forget about sprt_mute for now, although that might cause problems with other audio including phone calls.

These same sorts of problems were plaguing us on the basic u8800 so perhaps the audio system is similar, despite a different FM chip.

So here's what I would try, assuming the free version. For the pay version substitute "com.mikersmicros.fm_unlock" where "com.mikersmicros.fm" is shown:

Just 2 files, no sprt_mute file.

sprt_hdst contains:

/data/data/com.mikersmicros.fm/files/ssd 3 1 fmradio_analog_headset

sprt_spkr contains:

/data/data/com.mikersmicros.fm/files/ssd 3 1 fmradio_analog_speaker

It's possible that you will end up stuck in speaker mode if you start in speaker mode and same for headset modes. Or if you try to switch it might cause a crash, or enable both audio outputs.

I'll try to get the above into a March 18 version as "qdsp5v2 Analog" I'll try to get out in the next few hours.
[Spirit FM] mikereidis:
"Old" tech gets cheap. :) As a naturally "thrifty" person I love it and it's helping to round out my test phone arsenal.

I still can't get over that my $100+ Desire HD that was closer to $600 1 year ago will be getting an official HTC update to ICS.
[Spirit FM] mikereidis:
Sony Ericsson hasn't sold too many phones, so it might make sense that their phones are rather similar.

I expect to support many different parameters for recording eventually, but for now the parameters are fixed.

You may not be aware, but Menu->Test->Record gives some recording functions, we just have to figure out which number. You could try "start 10", then after a few seconds, "stop".

You should see a file on the SDCard named something like FMRecording346014218.3ga . If it's 0 bytes or under 1 KBytes it probably didn't work and you can try "start 9", followed by "stop" etc.

Hypothetically you might be able to play a file while it is being recorded with PVR type functionality.

I'll see what I can find about the ST17i.
[Spirit FM] pikachukaki:
I can't send you an email so i post the sprt_debug here..i can't find a cache file in data folder...i have stock roms where the radio works properly..if you can tell me which files you need i can extract them from the roms and send them to you!!

http://www.mediafire.com/?j5r1yk24s2n36op sprt_debug

http://www.mediafire.com/?f3pr35brnyid7gd lib folder

http://www.mediafire.com/?nx9sbh7k0a3a941 files with fm in their name!!

I hope they help your work!!thanks for your time!
[Spirit FM] mikereidis:
March 18 is now on the "Google Play" (LOL, the entity previously known as the Android Market): https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

Or if you must: https://play.google.com/store/apps/details?id=com.mikersmicros.fm

For statistics I very much prefer you use the "Play", but if you can't the free version is here: http://www.mediafire.com/?zccv4d4fh31wo9q

For the reasons posted above, GalaxyS ALSA mode for ICS etc is re-enabled and again renamed to "GalaxyS alsa/DANGER". Due to this I no longer offer an Unlocked copy for anyone bitten by this, but currently existing customers can get a refund if they want.

I modified the qdsp5v2 Analog method as posted above.

I tried to make Audio Method automatic for the OEM/Proprietary API modes, when the default of CyanogenMod is selected:

- For the Samsung OEM Galaxy S* API, the Samsung method is in effect.

- For the Motorola OEM API, the Motorola method is used.

- For Broadcom and TI OEM APIs, when /sys/class/htc_accessory/fm/flag exists, the HTC method is used.

Hopefully this will assist the "great unwashed masses". ;)
[Spirit FM] mikereidis:
I looked at the app and it contains the functions I'm using in the SonyEricsson2 audio method.

Please ensure you've tried the SonyEricsson2 (With a "2" at the end) audio method, including in the March 18 release, although 17th should be the same I think.

Send me a debug log after toggling Mute/Unmute (ie Pause/Play) and Speaker/Headset a few times, working or not.

If you have a stock FM app loaded, try running both apps at the same time, starting with the stock app first, then again with Spirit first. If it works, see if Spirit Mute/UnMute and Speaker/Headset buttons are working. As always, a log may be helpful.
[Spirit FM] icke:
Hi mike!

Thank U for your great work!

Have to say Dec23 is last version working for me on HD2 ICS.:(

Why it is so?
[Spirit FM] bengalli:
Help me please!

Spirit FM working good :) Thanks for this.

But after closing and exit app, all of phone sounds stopping. I cannot hear phone ring, alarms, notifications .... After reboot, everthing is ok...

Can you help me for this??

Thanks to all..

DESIRE HD

ICS Virtuous Quattro RC3
[Spirit FM] xmguy:
Got it downloaded. Still nothing. :( RSSI at 0. Believe me I wish it worked. I know you do too. Maybe later on.
[Spirit FM] pikachukaki:
Ι use the latest market update i can't use the speaker but i don't care about that it still needs restart after you close the radio...i send you the libs from official rom if they can help you...or maybe i can do something more to help you fix it!thanks for your great work!!
[Spirit FM] vispinet:
Galaxy S (quick question)

I have a Galaxy S and I'd like to flash an ics rom. I heard your app is pretty much the only way to get radio working on ics.

I went through the thread (not ALL of it :)). I understand your app MAY cause damage to the speakers. So my question is: if I use the headphones will I be 100% safe (I don't need to listen to the radio on speakers)? Also, do you have any update on the issue? Thanks and congrats for a wonderful work anyway.
[Spirit FM] m.ksy:
What exactly you downloaded? You need to download this, don't look at the name - flash in any case, this should help you.

Mike, have you read this message? I can send you a log if you want.
[Spirit FM] mikereidis:
Good question. :)

Some others have had HD2 ICS working, but I think they had to set some settings and do a few things. Perhaps one of those people can speak up ?

The fact that Dec 23 works is an interesting clue. Can you send me a log with that version after a phone reboot and right after starting the app ?
[Spirit FM] mikereidis:
Do you know if you are in the Motorola OEM API ? I think you aren't because the Motorola FM Radio Service isn't pre-installed on the Droid.

I think if you follow the instructions here you can get that service loaded: http://androidforums.com/droid-2-all-things-root/163171-fm-radio-d2.html

Then, to ensure the low level know non-working mode doesn't start, set Debug->FM Chip to V4L.

If the OEM API doesn't load then the app will not start without an error. And I think a power up error is likely, meaning we are likely out of luck as I expect.
[Spirit FM] mikereidis:
No, disabling speaker mode would have been (and was) a super easy "fix" but still people had problems.

No update other than too many people bad-mouthing my app either because their speaker broke or because I removed the mode for a week trying to save speakers from their ignorance and itchy "OK" fingers.
[Spirit FM] mikereidis:
Thanks m.ksy. Yes I read it.

You have the Droid X I wish I had, with the "antenna switch" problem. Care to swap ? :) (Joking. I think.)

But really, I very much want to find out why my Droid X works fine in the old low level mode and yours, and many others, do not. XmGuy's Droid X was also good.

So yes, please send me a debug log. Reboot the phone fully, start my app and immediately send a log after it starts. Hopefully by comparing it line by line with my logs, I can spot a difference. Use the built in Menu->Help->eml (or Menu->Email Logs) so I can get the dmesg kernel log also.
[Spirit FM] onesolo:
Hello,

My wife has a Huawei X5 (U8800). I know that the device has an fm chip. I tried to run your app but unfortunately when the app starts, after a while of thinking, the phone reboots for itself... can you help me??
[Spirit FM] mikereidis:
For those who didn't get the "memo" I'm trying to take some "vacation" time this week. Which for me means perhaps only 30-40 hours of work instead of the usual 70-80.

It's 24 celsius or 75 F here now and we Canadians are trying to enjoy the early spring, and I've got a ton of household duties that have piled up and the kids need to see Dad a bit more. :D

So please don't expect a lot from me this week, app wise.
[Spirit FM] mikereidis:
I can't support that rare-ish chip properly. See post 2 of this thread for links to info.
[Spirit FM] vispinet:
That is soooo weird... what's your advice? Could it be better to wait for more reports and testing?

EDIT: Sorry, I read the OP more carefully. I guess I'll keep an eye on the thread and wait for the issue to be fixed.
[Spirit FM] antonio89drop:
HI,

I have good news for my "ST17i" about "Spirit FM".

Here I have installed the latest version of the March 18 and set audio output "sonyericsson2" done the procedure you described here are the results I've had in the different performance conditions "Spirit FM" (with audio output sonyericsson2):

1) If you simply turn on "Spirit FM" signal present but no audio output (unfortunately).

2) I turn first to the Stock of Sonyericsson FM Radio (he feels) then turn on "Spirit FM" does not feel anything no fm radio of "Spirit FM" and now no sound from the FM radio also stock Sonyericsson.

Even after turning off "Spirit FM" Radio Fm stock Sonyericsson does not appear, and even if it leaves no more audio output will be blocked as a blanket-sound output even after you turn off "Spirit FM".

To restore audio output and the stock of Radio Fm Sonyericsson smatphone I had to restart the power cycle.

3) But now I turned on the first "Spirit FM" (can not hear anything) but then immediately after turning on simultaneously Fm Radio stocks also Sonyericsson you see here is the first good news since the radio fm sonyericsson power (you can hear ) the frequency with which I have set "Spirit FM".

Returning to IU "Spirit FM" but leaving on the FM Radio of Sonyericsson (which you can hear the audio output) I change the FM frequency with "Spirit FM" and surprise this time changed the frequency but I now also performs the automatic scanning and hear the audio output, but if I change the sound from speaker to headset does not feel anything even though he no longer return to headset audio output.

So it is necessary to restart the smartphone as when "Spirit FM" starts to show signs of operating blocks in part of the Radio Fm Sonyericsson to its audio output.

Sembrerebba now even closer to the operation of "Spirit FM" but for now it is bound to

'turn on the FM Radio stocks Sonyericsson (so for now there aren't advantages offline, or without a headset) and you can not change "Spirit FM" I play / pause it speakers / headset because in this case audio output will no longer exits (as if covered) and you must restart the smatrphone to restore the audio output.

However I have seen huge strides in the operation of "Spirit FM" on my "ST17i" and then on the Xperia range 2011 are very confident about running short of "Spirit FM" on them. As we now hear audio output and change frequencies as long as you turn on the first "Spirit FM" and then the FM Radio Sonyericcson stock.

But then should not we turn off the FM radio stocks sonyericsson will change the audio output (speaker / headset) or (play / pause), in which case you lose the audio output and you need to reboot your smartphone to get back audio in output will.

I want to make my greatest congratulations for the enormous progress made, and I confirm my readiness for further testing of "Spirit FM" on my "ST17i"
[Spirit FM] Davidban64:
Spirit FM

Okay, I have installed Spirit FM on my HTC HD2, running NexusHD2-ICS-CM9 V1.5 ROM.

Works well, but have the following issue: when switching between speaker & headphones, sound stops and you need to hit "pause" then "play" button to get sound back! Not a huge worry, as I only use headphones any way, just thought it was worth mentioning.

Otherwise, it's a good app.

Is there an online help page for this app to read about all the options available on the app?
[Spirit FM] xmguy:
Did all the installs. Said "No FM Accessible". :(
[Spirit FM] mikereidis:
Yes, in general my advice is to wait and see how many more reports come in. I was convinced the problem was fixed as of early March, because I copied pretty much what the CM audio library does, and the resulting kernel messages were pretty much the same.

Now it's possible the problem is fixed, or much less common now, maybe even more so if Debug->PCM Open is enabled. It's possible that the last few damage reports were lies or the reporters were running an older and/or pirated version. But I'd rather err on the side of caution.

BTW, I get a HUGE number of unsolicited debug logs from August and September versions. They are pretty much all pirated, and most come from names with Asian ideograms

I have an idea what the problem is, but assuming the last few reports were true, I don't know how to fix it.

I think it's about "DC offset". If there's a high enough DC offset the speaker cone will push all the way in one direction which can cause damage, There's something called a "DC servo" that is supposed to eliminate this offset, but sometimes it doesn't work I guess.

Before the early March improvement of the code, there were many occasional strange audio effects, such as speaker "popping" noises at startup (even in headset mode), and sometimes FM audio just randomly wouldn't work at startup. Pretty much all of those reports, and reports of interference with phone calls stopped after the last improvements.

But at least 2 more damage reports came in after that.
[Spirit FM] mikereidis:
Great ! :) IMO we are lucky to get that far on ICS on a WinMo device that I don't have in my test fleet.

I'll see if I can dig up some resources on the options. There's probably a good post or 3 in this thread, but I also have an as yet unreleased document I haven't worked on in the last week. It's not too well organized or pretty but has lots of info. I'll see if I can post some links and further info later.
[Spirit FM] mikereidis:
If you send me a log I can see if it's the same error:

"Unable to start service Intent { act=com.motorola.android.fmradio.FMRADIO_SERVICE }: not found"
[Spirit FM] xmguy:
I don't know how in this free version.
[Spirit FM] RobSalgado:
Thanks!

Enviado desde mi GT-I9100 usando Tapatalk
[Spirit FM] mikereidis:
I hide it under Menu->Help->eml (at the end/bottom) now.

I emailed you March 18 Unlocked where it's still conveniently at Menu->Email Logs.

Are you on the mediafire free because I set the Market to prevent installs from RAZRs and other apparently impossible devices ?
[Spirit FM] xmguy:
I got it. Tried it emailed logs.
[Spirit FM] mikereidis:
Just FYI, I think those Greek translations are as old as the first page of this thread now, and in my haste to get many phones working, there are many things that are hard-coded in English.

Dancer_69 was nice enough to send an update at one point but I never got around to it.

I am hoping that over the next few months, as the UI is improved, at least partial translations for other languages will be added in order of popularity for the paid app:

English: 38%

German: 11%

Italian: 8%

Spanish (Spain): 7%

French: 6%

Russian: 6%

Dutch: 3%

Hmm, I don't see Greek in that list now though... But a good and willing volunteer won't be ignored, once I clean up most of the hard-coded strings and support other languages.
[Spirit FM] mikereidis:
March 19 on Play has minor fixes:

- Possible solution to Motorola antenna switch problem on rooted devices with Menu->Test->

otorola Antenna (at bottom).

- Fix for shutdown hang for Broadcom OEM API.

- Debug->FM API set to OEM Proprietary no longer falls back to low level mode.
[Spirit FM] mikereidis:
Regarding the elusive Motorola antenna switch, for you or anyone who can test this, on rooted Motorola devices that previously had near zero RSSI in the low level mode:

- AFAIK, my app used to be able to run OK while the Motorola (or MIUI) app was running, but once that other app was closed, my app had near 0 RSSI again.

BUT, if you run my new March 19 app (just released) in the working OEM mode, then set Settings->Debug->FM API to "Low Level" and restart the app.... Does it work OK in low level mode ? (By OK I mean with good signal, I presume the app started OK in low level.)

If it's working now, reboot the phone and restart the app. Presumably the RSSI will be low again.

If it wasn't working (had low RSSI) don't restart the app, just continue:

Now select Menu->Test->Motorola Antenna (at bottom).

If at this point, the RSSI is good, then the antenna switch is solved. Otherwise, the search continues...

Thanks !
[Spirit FM] a1m:
Is there a list of tablets that are or might be compatible? I see there are some listed in the first post but not many.
[Spirit FM] vispinet:
Wow, thank you so much for the detailed answer. I am inquiring with the people who are using the same ics rom as me. I'll let you know if I get any reports. I'm no expert, so maybe it's unrelated, but did you think about taking a look at the radio fm app of the galaxy S2 official ics firmware? I don't know, maybe the devices have the same radio chip or something...
[Spirit FM] willie1001:
I would be happy to translate this app to dutch when the time comes
[Spirit FM] mikereidis:
:D

I know plenty about the radio chips.

My app now runs fine on stock, un-rooted devices such as the Galaxy S/S2/etc class devices, Broadcom and TI chip based devices.

In theory I think Spirit should now run on over 90% of FM capable Android devices available outside China.

There is no speaker problem on stock Galaxy S devices, nor on those running CM7, GB MIUI, just so long as you use some other method than the evil Galaxy S ALSA. I was about to remove the mode, then the ICS ROMs came and nothing else worked...
[Spirit FM] mikereidis:
:)...........
[Spirit FM] mikereidis:
List of tablets:

- Dell Streak 5"

- Galaxy Note 5" (International version only, US and Canada screwed as usual.)

- Possibly some obscure Chinese tablets, but no reports.

- 1 unconfirmed email report claimed that a rooted Toshiba Thrive worked. But Google searches found no confirmations and the emailer didn't respond to my reply and questions.

That is all. You'd think all the Tab manufacturers had a meeting and agreed to keep evil OTA FM off of their tabs. LOL. :)

But seriously. I can understand why US carriers specifically have FM surgically removed from their "special variant" phones for business reasons.

And outside of North America, FM is much more common. And on media players, like the Galaxy player, which aren't sold by carriers.

But why would they all seem to be in sync in keeping FM off of anything over 5" ? Is there some international regulation that kicks in at 15 cm or something, like it gets defined as a radio or small TV or similar ?. With or without a cell radio or carrier involvement ? Just seems weird. Unless and until ya figure it out.