yashsingh1/xdaforums huggingface dataset:
[Spirit FM] coloxim:
Thanks...if I'll pay with paypal can I get anyway all update? And can I use this app on other device? Because from official market I can install the same app on new phone..thank you so much for the patience..

Inviato dal mio GT-I9100 usando Tapatalk
[Spirit FM] Fekajo:
Hello

Could someone explain why this application running on the motorola droid 4 while on the motorola razr droid / maxx it does not work? it's related to kernel?

While these two phone are exactly the same chip

- Texas Instruments WL1285C Wilink 7 Bluetooth/Wi-Fi/GPS

http://www.ifixit.com/Teardown/Motorola-Droid-RAZR-Teardown/7048/3

at Step 18

And

- Texas Instruments WL 1285C WiLink 7.0 single-chip WLAN, GPS, Bluetooth and FM solution

http://www.ifixit.com/Teardown/Motorola-Droid-4-Teardown/7759/2

at step 15
[Spirit FM] Souf0:
I fixed this issue with the call, but if i reboot the phone, and run spirit, the headset not work, only speaker, and i must call my phone to hear the headsets...

mikereidis, if you need another log, tell me. I can reboot my device and test it.

Thanks
[Spirit FM] dboechat:
Just waiting for the "Speaker/Headset" bug to be sorted out so I can buy this app! :D
[Spirit FM] idkidk:
Hi mikereidis,

Bcfm don't start because adb command at start line..... sorry, bad copy&paste ... :-( i'll try tomorrow...

Bye

Idk
[Spirit FM] Quinny899:
I had this same issue with v2015 but hadn't tried 12 properly and went back to market version which works fine.

When you exit (in my case I wanted to test the themed native CM radio) it won't let you enable bluetooth. When you turn it on it turns itself off. I have a LG GT540 with SwiftDroid CM7 2.0M4

Sent from my Acer Aspire One D255 Netbook with dual-boot Android 2.1 - Rooted

^ I do have a GT540
[Spirit FM] mikereidis:
OK,...

I can see this happening if you are using bcprp / bcfm in the HCI UART mode. The bcprp turns on the HCI UART but doesn't turn it back off when exiting. It also likely resets the baudrate to a higher value than the startup default of 115200.

So when the REAL bluetooth daemon etc. (or a 2nd run of bcprp) try to access the HCI UART, they can't. Some previous versions of bcprp tried different baudates, so the FM app may have worked on subsequent starts, but took longer to initialise.

For whatever reason this isn't an issue on my phone but I can see it being an issue on others.

I'll try some fixes for this in the next release, which will hopefully also have the new audio customisation mechanism.
[Spirit FM] sudo.adam:
Has anyone tested this on the Motorola CLIQ/DEXT?
[Spirit FM] mikereidis:
Nobody has reported on this thread but I did a quick google and see that somebody has it working on CM7:

http://modmymobile.com/forums/548-m...tass-lagfree-swap-flashlite-05-08-11-a-5.html

Note that the tester is having some audio routing issue on their ROM though.

Also I think that this compatibility list here might roughly match experiences with my app, at least as far as HCI access to the FM chip goes: http://android.ccpcreations.com/wiicontroller/wc-compatibility

That app is a WiiMote Bluetooth app and I'd guess if that app works on a phone, then my app is also likely to work, but might require some configuration and perhaps a fix for audio routing issues. It may even work on a phone with a stock ROM.
[Spirit FM] rollon76:
My phone is HTC Wildfire CM7 NIGHT 80.Version from market works well.The test versions have a problems with no sound after radio off and then radio on
[Spirit FM] mikereidis:
OK, great !...

I think I found the bug. I was getting no sound and on app power up the frequency display would show 64 MHz.

The problem was due to some code from the original Broadcom code that did a reset after the "patchram". I disabled it as it didn't seem to be needed. Re-enabled and now seems fine.

I'll try to get 2.0.16 out later today. For the UART mode, I should be able to avoid using a daemon.
[Spirit FM] idkidk:
Hi mikereidis,

in attach logcat with correct bcfm, there isn't bcfm_start ok... but srv_len is present...

Tia

Idk
[Spirit FM] djsolidsnake86:
i don't have that 2 files to delete, but spirit fm won't work here (HD2)
[Spirit FM] rollon76:
Yes! It's working on CM7 Wildfire now!

Thanks.
[Spirit FM] mikereidis:
WooHoo ! :)

We didn't get the HTC Wildfire (codename Buzz) here in Canada or the US.

Please let me know if there are any glitches in the audio, and if you can get it working with BT on and off. Power off the app, toggle BT and power on and see if it works. If you just toggle BT with FM power on, the app might freeze for a bit, but generally shouldn't crash or hang for more than 5-20 seconds or so.

Thanks for your report. I like the success stories most of course. ;)

----

Funny download stats. v2.0.16 has 19 downloads in 2.4 hours but v2.0.15 only had 12 downloads in 48 hours. Hmm, I guess that's partly due to only uploading to mediafire. On Android Marketplace I have 2032 active installs from May 1-25. I suppose there are more of you reading here than I thought... Wave... :)
[Spirit FM] idkidk:
Hi mikereidis,

Just try the 2016 version:

The app start (no error message) but no audio. Signal is "strange": for some station i've 2 or three bars, for another stations 1 bar, for most 0 (working FM?).

For some stations PI is 0 (normally -1).

in attach logcat with and without sprtd.

I've "best signal" without sprtd, is possible?

Thanks for you hard work!

Tia

Idk
[Spirit FM] rollon76:
I have no any glitches in the audio from speaker,for me.

Radio is working with BT on and with BT off very well.

I have power off the app, toggle BT and power on and it's working well.

When i toggle BT on with FM power on, the app was freeze, no audio and signal at all.Then i toggle BT off,wait a few seconds and turned power off.The app going to "wait" mode (no crash),then i turned power on and after a few seconds app was working.

With the radio on and incoming call receive, the app stop working.After the ending of the call, the app going to normal work.
[Spirit FM] jacko5:
Mike,

2.0.26 not working on my Sony x10i.

But i have not copied the extra file in the download to my phone, i just ran the apk.

If anyone gets it working on the Sony x10i please post on here.

Thanks for your great work :D
[Spirit FM] icke:
Same here on HD2...great work!

Thank U!:)
[Spirit FM] 4silvertooth:
Working on lgp500 without sprt and Bluetooth off. With sprt FC.

If I switch Bluetooth on or off I have to restart the app.

Nice work thank you.
[Spirit FM] rollon76:
Mike!

How about a new design of the app?

I found some pictures from original OS 2.2.

Look.
[Spirit FM] 4silvertooth:
@Mike Hey you say it needs mounted sdcard but even if unmount my sdcard FM still working.

Edit: It needs sdcard to start. Once app start we can unmount it.
[Spirit FM] CR5N:
Hi Mike, great job. V16 runs on HD2 without turning bluetooth on (no icon). Haven't tried your deamon, need to read back a few pages to catch up on progress. FYI, I still need to use ssd to assign audio path before enabling fm to prevent system sounds killing audio. Will create a log if any use.
[Spirit FM] mikereidis:
Yes. Which ROM ?

Try setting Audio->Method to "HTC".

Or on some ROMs, these may work:

msm7x30

msm7x30 sysfs

qsd8250

qdsp5v2* (4 different ones.)

I'll look at some logs and try to give a better answer and edit this post.
[Spirit FM] mikereidis:
Yes. Send me an email: mikereidis@gmail.com
[Spirit FM] mikereidis:
Thanks.

Sometimes removing the battery for a few minutes might help.
[Spirit FM] mikereidis:
Yes, updates are emailed for now, but I will try to automate this ASAP.

I follow the standard Google Play license:

- As many phones as you own, now or in the next 20+ years, and are tied to the same Google Play account. At some point the code may enforce this, but not now.

In other words, if your brother has his own Google Play account, then it's not considered legitimate to pass him a copy.

I don't know for sure that the standard Google Play license is OK with your whole family using one Google Play account. But I'm not going to get picky about that anyway. :)
[Spirit FM] mikereidis:
Yes, send me a log thanks.

Some people have said it works across reboots, but I guess not for you.

I wonder if they were not doing full, cold reboots ?
[Spirit FM] mikereidis:
It's the same reason why there are hundreds of millions of phones with BT/WiFi/FM combination chips that are physically incapable of usable FM without absolutely impractical hardware modifications.

I'd estimate this problem afflicts 40-50% of all Android phones out there, including every Google Nexus device, except the Nexus One, which is a modified HTC Desire and has FM by "accident":

One or more of the following on these chips are not connected anywhere useful :

- FM specific power pins.

- FM Antenna pins.

- FM Audio output pins.

There are other ways to disable FM, but these 3 are virtually impossible to bypass, unless you're able to re-wire the circuit board. Not practical.

I got big laughs in the past when reviewers of the free app would criticise me/my app because their chip "supports FM", but my "stupid app" wouldn't work. Some people know just enough to be "dangerous".
[Spirit FM] mars3910:
Any news Mike?

I Know you're workin on it.
[Spirit FM] mikereidis:
300 pages, post 3001. :) :D

Thanks for the app purchase support I've had from so many of you.

Now I no longer have to consider doing contract work "on the side".

I can concentrate my double full efforts on continued improvement, fixes, new devices and technical support..
[Spirit FM] mikereidis:
Darn it, you took post 3000. LOL. :)

Switching presets with the headset cable media buttons ?

Not yet. I'll take a peek tonight to see if there's a quick shortcut way to do this that doesn't involve a lot of work.

The Unlocked version is required for the media buttons.
[Spirit FM] mars3910:
ok if you support it, will be happy to buy it :)
[Spirit FM] Souf0:
The steps that i follow:

-Reboot

-Enable logs (pastebin->Spirit Fm on SGS2-1)

-Plug the headset

-Open Spirit FM (i hear only speaker)

-Incoming call

-I hear now headset

-Stop logs

-Reboot

-Enable logs (pastebin->Spirit Fm on SGS2-2)

-Plug the headset

-Open Spirit FM (i hear only speaker)

-Incoming call

-I hear now headset

-Go to settings

-Change between headset and speaker, and then headset (allways hear headset, not speaker)

-Stop logs

There are 2 log files, because when i reboot the system i create another log file (i think it would be better)

http://pastebin.com/WSq1ebtf

http://pastebin.com/aJ0CSfh9

Thanks

P.S.: It works equal doing a reboot (in a terminal as root) that select reboot option in CM9 (I think it's the same)
[Spirit FM] coloxim:
No..no...I'm talking about the same and my account!! No other person..for example..now I've s2..maybe next year I'll change phone, but I use always my account..and I can download the app that I had payed..

Sorry for my English...did you understand?

Inviato dal mio GT-I9100 usando Tapatalk
[Spirit FM] dboechat:
I've noticed that after listening music with headphones in Poweramp, the speaker/headset bug doesn't happen...
[Spirit FM] mikereidis:
:D

Oh absolutely, I understand. I was just trying to explain it in detail for everyone.

It's all good. :)
[Spirit FM] mikereidis:
Hmm, OK thanks.

I hope everyone is talking about the same "speaker/headset bug".

IE that on first startup, sound comes from both speaker and headset, until at least one ring happens, which may or may not persist across reboots.

Some (all ?) have been saying also that they can't switch speaker/headset using the UI button. (On paid versions. Free is limited to headset only.)

But at least some are also saying that plugging/unplugging the headset switches from or to speaker ?

It can get confusing if people just talk about "the speaker/headset bug".

For anyone who isn't capable of switching Speaker/Headset, this might work, even on the Free version:

Speaker on:

Menu->Test->SGS2->setRadioSpeakerOn (true)

Speaker off:

Menu->Test->SGS2->setRadioSpeakerOn (false)
[Spirit FM] dboechat:
Yeah I'm talking about this one, I'm using the free version.
[Spirit FM] mikereidis:
April 17 Free test release: http://www.mediafire.com/?6fuqdu2ehscv6cp

Not on Play because I don't have time to test on various phones and modes tonight.

For Galaxy S ICS/danger and Galaxy SL (GT-i9003).

I hope that one or both of these enhancements will put an end to speaker damage.

- The "Galaxy i9003 danger" method is for that specific device, but may also be used on Galaxy S. It uses the very simple method that the Feb 28 release did for Galaxy S. It's possible that speaker damage risk may be reduced.

On a Galaxy SL GT-i9003, I believe there is no speaker danger due to the use of a different audio chip. This method supports headset only, but I may enable speaker mode at some point.

- The "Galaxy S ICS/danger" method has been modified so that it produces EXACTLY the same kernel messages as the CM FM app does on the 11/16 CM7 ROM, for the following cases:

On/Off

Pause/Unpause

Speaker/Headset

BUT for the exact same messages you MUST enable Debug->ALSA PCM Open. This replicates what the audio library does, but it may cause problems with other audio, particularly notifications. Ringing is OK though. I didn't have time to test phone calls but I think they should work.

If you don't enable "ALSA PCM Open", the normal "Silent Loop" is automatically and silently enabled, meaning the audio chip is kept on by playing a silent audio file over and over again. This may or may not be better with other audio. EDIT: If I re-enable my "Audio Focus Loss" code I think notifications can be made good. Tomorrow.

Kernel messages are not exactly the same for ringing and phone calls, but are relatively similar.
[Spirit FM] ssauger:
Can confirm this, works for me too. So i got no problems with other media sounds.
[Spirit FM] lrbpereira:
Any luck sorting the right connection for option headset/speaker for the SGS2 CM9?
[Spirit FM] Juzman:
Doesn't work for me. All I can hear is static, doesn't tune to any stations (never shows any signal). :(

Radio on stock Samsung rom seemed to work fine. Will try later with earphones in for antenna.
[Spirit FM] mikereidis:
Nobody has reported whether or not the method in this post works: http://xdaforums.com/showpost.php?p=24940837&postcount=3008

But perhaps it doesn't ? Likely the UI button would work then.

But just be aware that the Free version doesn't support speaker output, except perhaps via the "trick" in the post I linked.
[Spirit FM] mikereidis:
If it starts without a power on error, it's likely working.

ALTHOUGH, if you see "Fm: BC" in the Radiotext area at startup, instead of "FM: SL", then that means the app is trying to use the Broadcom FM/combo chip, which won't work.

That might happen if the kernel doesn't provide a /dev/fmradio or /dev/radio0 driver using the Samsung API. Or if the app doesn't have SU and needs it to change permissions on that driver.

An antenna is very helpful, though not always necessary.

You have Audio->Method set to "Galaxy S2 Test" or "Galaxy S2/Note" ?
[Spirit FM] lrbpereira:
On the last paid version Apr13, this test option isn´t there...
[Spirit FM] mikereidis:
I just need your email address to send it to.

I'm envisioning an updater app that can automatically download new test versions, and allow old versions to be re-installed in case of problems.

But I hate to create yet another app.

In a better world, perhaps within the next year, Google Play would have this capability; or at least the ability to roll back to a previous known working version. There's something sort of like that, but I'd have to flip the revert switch, and for everybody.
[Spirit FM] mikereidis:
Galaxy S2/Note.

Some people have been saying the speaker doesn't work, which except for the possible "trick", requires Light or Unlocked.

I'm not sure if it worked on April 13, and stopped working on April 15, but if so, then there is likely no reason to run anything but April 13, except for those test functions that I think nobody is using to any effect.

Anyway, probably best just to wait for my new Note to arrive.
[Spirit FM] FabricioGS:
Mike,

Thanks for the effort!!! Thanks for this app I don't need to use Samsung firmware anymore, only CM9/AOKP on my GSII from now on!! :D
[Spirit FM] mikereidis:
:D

Well, let's just hope nothing breaks in that audio support. CM9 does not officially support FM so if something breaks, they may just say "we don't support it."

I was a bit surprised that the same FM audio enable commands are used as on the stock Samsung ROMs (Note at least). So perhaps CM9 is using some proprietary libraries they don't have source for ? If so, they may be looking to switch to open source drivers at some point.

Anyway, I'll accommodate any changes as best as I can.
[Spirit FM] lrbpereira:
Mike!

Tested those test modes that you gave us for the SGS2 but the problem is there, we cant choose between speaker and headset.

Normally after install you can only listen via speaker and headset at the same time.

After the incall workarround you can listen only via headset and no speaker. After this if you use the test mode you can listem via headset or listen via speaker and headset at the same time...

:(
[Spirit FM] rauldumi:
OK thanks a lot ......... and u should check the semaphore FM module inside the kernels.........maybe it will be at some help......regards
[Spirit FM] CR5N:
Mike, idiot question I could maybe Google but...

Does your app consider the different audio hardware options on sg2? Only ask as phone is overdue an upgrade (have a HD2 with unlimited data plan) but difficult to 'upgrade'. SGii looks good and uk version has FM :D I should (and will) read up on this and edit this post ;)
[Spirit FM] mikereidis:
OK, you can't choose, but you found a way to switch between headset only and headset+speaker ?

Which test options do you use for this ?
[Spirit FM] mikereidis:
You mean Galaxy S 2 (II) ?

The US and Canadian Rogers versions do not support FM at all.

AFAIK, there is only one International variant named the "Galaxy S II" that supports FM.

I examined the code for the Samsung FM app on one of the stock Galaxy Note ICS ROMs that supports that app. I added code to my app that pretty much does what it does.

So far, AFAIK, that code works, more or less, on everything that has FM and can be called an "International Galaxy S II" or "International Galaxy Note".

The code calls functions in the audio libraries who's explicit function is to insulate apps from hardware details. I wouldn't be surprised if it works on the soon to be seen Galaxy S3 as well.
[Spirit FM] Juzman:
Mine says FM: BC, plugged earphones in and worked fine through loudspeaker. Set audio to headphones but still on loudspeaker. Not complaining, radio works. :)

Sent from my Galaxy S2 using Cyanogenmod 9
[Spirit FM] mikereidis:
"Fm: BC" on a Galaxy S2 ? :eek:

That's "Unpossible". :)

Anybody else see this "bug" ? Or with an unlikely Galaxy S2 with a Broadcom chip ?

If so, please send a debug log:

Hit the Frequency button, enter 7 and OK, and after a few seconds. enter "BC GS2" in the email text and press send.
[Spirit FM] SaltSpork:
I finally managed to purchase the unlocked version of the app after faithful use on my S1 (no popped speakers luckily). I've since traded up to an S2 (i9100) and moved from stock ICS to CM9.

The April 17 test release worked a treat, but I see that the unlocked version isn't yet updated. The test mode works, but volume control doesn't seem to work like it did in the free test version.

Any ETA on when the unlocked version will be updated?
[Spirit FM] mikereidis:
This isn't CM. So there ARE ETAs. Sometimes. :)

Now. See next post.
[Spirit FM] mikereidis:
EDIT: April 18b free: http://www.mediafire.com/?wzxt1b606rou0q6

Light and Unlocked available on Play.

- Galaxy S ICS/danger has had many changes that I hope will stop speaker damage. April 18 replaced with April 18b due to problems.

- I'm getting rather annoyed that I can Google April 13 Unlocked and find it pretty darn fast. So counter-measures have begun, but I'll do everything I can not to inconvenience legitimate customers.

For now, April 18 Unlocked requires the month be set to April, or it will revert to Light features. I'll have something better in place before the end of the month.

- Free version has restored the use of Mute/Unmute and Speaker/Headset, as well as Menu->Test.

- Unlocked now has Media Button support to move through the presets of the currently loaded preset list. Works on one button headsets via User Interface->Media Button Pause/Play and 3 button via Media Buttons Prev+Next. Also works on some lock-screens like CM.
[Spirit FM] lrbpereira:
Ho Mike,

I used this test keys:

Speaker on:

Menu->Test->SGS2->setRadioSpeakerOn (true)

Speaker off:

Menu->Test->SGS2->setRadioSpeakerOn (false)

In unlock Apr18 it´s sorted out? Can´t help you with that... :(
[Spirit FM] mikereidis:
EDIT: April 18 replaced with 18b: http://www.mediafire.com/?wzxt1b606rou0q6

Still a few glitches here and there, but that's the price of progress, and trying to protect speakers.

I tested Galaxy S on CM7 without testing on CM9 and it didn't work very well on CM9. I thought I could de-activate the new version, but Google won't let me, so I replaced it with April 18b.

Should have no impact on anything except Galaxy S/ICS.
[Spirit FM] davidcd13:
With SGS ICS CM9 must activate Silent Loop and ALSA PCM Open ?

Sorry for my english.

Thank you.

Envoyé depuis mon GT-I9000
[Spirit FM] mikereidis:
OK, thanks, so that setRadioSpeakerOn() function DID work. But it doesn't turn off headphones when turning on speakers.

I didn't see an equivalent function for FM headset on and off.

No, April 18 should be the same as April 15 and 17 with regards to Galaxy S2. The changes were mostly for Galaxy S.
[Spirit FM] mikereidis:
No, just make sure you are using April 18b, the fixed version I just uploaded: http://www.mediafire.com/?wzxt1b606rou0q6 (or on Google Play within the next 10 minutes or so.).

And leave those settings the way they were before, at their defaults of Disabled (Not checked.) Same with "Unmute Audio Focus": disabled.

Sorry for any inconvenience or scary audio crackling.
[Spirit FM] davidcd13:
Ok. Thank you :)

Envoyé depuis mon GT-I9000
[Spirit FM] lrbpereira:
Test results SGS2 CM9

Some more tests on my SGS2 CM9 with SPIRIT FM RADIO APR17 UNLOCKED.

1) After installing the app.

Sound starts only on speaker, even if you put the headset in the sound gets out only of the speaker. Changing the audio out option doesn´t work. Changing the SGS2 test options doesn´t do anything either.

2) After a incall or going to settings and changing the in call sound (workarround).

The sound goes form speaker to headset.

Taking out the headset makes the sound go to speaker but pluging in the headset again makes the sound goe bothways.

Aflter this the sound goes always in the two at the same time. Changing the SGS2 test options doesn´t do anything (this time, had sucess before but this time is the same).

Changing the audio out option doesn´t work at anytime either.

Note:

I used this test keys:

Speaker on:

Menu->Test->SGS2->setRadioSpeakerOn (true)

Speaker off:

Menu->Test->SGS2->setRadioSpeakerOn (false)

Used the others, and result is the same... nothing...
[Spirit FM] nghalion:
I tried to restart. Didn't work.

The problem is now worse. The speaker is totally dead. No matter how many times I restart. Not a sound.
[Spirit FM] lrbpereira:
Would be great to having the ability when we update versions to keep all the definitions and the radios that are in the radio list memorized.

Or is there any way to backup this things? As for upgrading the app asks me always to unistall the previous version before...
[Spirit FM] nghalion:
I'll try that.. hope this works.. as i said the speaker is totally dead now :confused:
[Spirit FM] dboechat:
Titanium Backup? :)