yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
Explained with workaround here: http://xdaforums.com/showpost.php?p=42922397&postcount=6291

You aren't missing anything. The lockscreen is geared to music players and that field is probably for track/song or album name or similar. I will provide some better options to control what data goes where, but the implementation for lock-screen is in the ROM. Apps can't change the layout.

Weird.

Every new phone requires lots of little fixes, and on an ongoing basis as new ROMs etc come out.

Since I have my own M7 it will be supported very well. I only got it on Saturday though. And no matter how good it gets, there will always be issues, and will always be someone wanting "just ONE more" feature or bug-fix. :)
[Spirit FM] leo_kazapi:
Sorry for my bad english Mr mike. My apologises. I'm on galaxy w using a jb 4.1.2 Rom. My spirit fm don't play. Seek stations ok but don't play the music. I try various audio configurations but don't know what its correct.

Sorry but im not a registered user, i'm come from galaxy 5 and im senior member of a madteam forum.

Thanks a lot for your job.

Hugs from Brazil.

Enviado de meu GT-I8150 usando o Tapatalk 2
[Spirit FM] mikereidis:
:)

So the FM tuner works, but you have no audio. RSSI at top left is 20 or more when tuned.

I presume you have a wired headset plugged in. When you test, press Pause/Play and Speaker/Headset buttons a few times.

Try setting Menu-> Settings-> Audio-> Method to "qdsp5v2 Altern".

You can also try enabling Debug-> Silent Loop and restarting Spirit.
[Spirit FM] tomatende2001:
What about Oppo Find 5?
[Spirit FM] leo_kazapi:
It´s work Mr. mikereidis, the audio method suggested its ok...

Thank you very much and i will buy your app, i promisse.

You are the BEST man !!!
[Spirit FM] mikereidis:
Try it.
[Spirit FM] tomatende2001:
I can not install my unlocked version from Play Store and the free version does not work for me.
[Spirit FM] mikereidis:
The Free version is good enough for testing.

Send me a debug log with Menu-> Test-> Email-> Logs. After 20 seconds or so press Send.

Make sure the wired headset is plugged in. Can you tune and see RSSI at top left go over 20 ?
[Spirit FM] tomatende2001:
Done. In the left corner is always 0.
[Spirit FM] mikereidis:
Is that a stock ROM ?

Is there an FM app, or is it known that FM works ?

First step is to get RSSI at top left to 20 or more when tuned.

I presume you had a wired headset plugged in for antenna.

For a stock ROM, try setting Menu-> Settings-> Debug-> FM API to "OEM Proprietary" and restart Spirit.

And try setting Menu-> Settings-> Debug-> QCom Antenna to "Internal" and restart Spirit.

If FM isn't known to work, and if none of this helps, I think the FM antenna pins are not connected.
[Spirit FM] tomatende2001:
Yes, this is an Stock ROM. Both settings not work. :( Does it make sense to test with a CM10 ROM?
[Spirit FM] FannyR:
have a try:)
[Spirit FM] vittoriop77:
Is it possible to change frequency by 0.1 instead of 0.2 ?

I need to listen 107.0 but I can select only 106.9 or 107.1
[Spirit FM] Lagkage:
Go into settings and choose Band>World 100 KHz
[Spirit FM] mikereidis:
You didn't say, but I saw no FM app, so I'll presume there is none.

I don't think alternate ROMs will help.

The Qualcomm V4L FM radio driver is there. The driver and Spirit "work".

The problem is that there is no signal.

It's likely the FM antenna pins on the Qualcomm WCN3660 FM/combo chip were grounded and not connected anywhere useful.

IMO, end of story unless there is some new information or hopeful signs.
[Spirit FM] mikereidis:
HTC One digital audio:

I have HTC One digital audio working, with a good speaker mode. Works on stock or AOSP ROMs.

I'm not ready to update on Play though.

If you're an Unlocked customer and want to try it, send an email to the usual mikereidis@gmail.com . No PMs please.

Like the OneXL sample rate is limited to 22.05 KHz. There might be occasional audio glitches, but it seems OK.

It might work through a BT headset on stock ROMs; I haven't tested that yet. BT must still be off on AOSP ROMs so BT headset can't work of course.
[Spirit FM] tomatende2001:
[MENTION=3575078]mikereidis[/MENTION]

Thank you for your help. Your app did a good job for a year on my old HTC HD2. I'll push this on the Oppo forum. I hope that Oppo the pin in the new Find 7 will use. If Oppo still write anything about the Find 5 I'll get back.

For now we found a solution: http://www.oppoforums.com/threads/radio-fm.3550/#post-53466
[Spirit FM] ttuner:
Galaxy S Captivate, Galaxy S2 epic 4g, Motorola Atrix - this app NOT WORK
[Spirit FM] mikereidis:
A smaller solution is the BT/FM headsets from Sony: MW1, MW-600 and some new ones.
[Spirit FM] mikereidis:
Spirit is not able to work on devices without a usable FM/combo chip. Usable means an FM antenna pin must be connected to the headset cable, and the analog or digital audio output pins must be connected somewhere that can be forwarded to audio output.

And Spirit can't support many devices WITH a usable FM/combo chip because I don't have time to reverse engineer the 1000+ Android devices out there.

Besides that, some Sony BT headsets have FM and here's a USB dongle solution: http://xdaforums.com/showthread.php?t=2108053
[Spirit FM] vittoriop77:
Thanks !!!
[Spirit FM] mikereidis:
Spirit Free June 29: http://d-h.st/pJ8 . Unlocked and Light are Updated on Play.

For HTC One:

- Google Play Edition ROM: Avoids broken Broadcom BT/FM stack and uses UART mode only, with Bluetooth off only.

- Unlocked has digital audio at 22.05 KHz. Set Audio-> Method to "Digital Auto" and restart Spirit. BT headset may work on stock Sense ROM; haven't checked yet.

- Speaker button works in digital audio mode.

Volume levels may change depending on screen state.

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

My observations about the new HTC One Google Play Edition, as I posted on the thread for that ROM:

The proprietary Broadcom Bluetooth stack is used. Low level daemon: btld.

I'm personally not too happy about this. It is NOT Bluez. It is closed source.

AFAIK, Google has never used a proprietary, closed source BT stack in AOSP so far.

So I think this is very different than AOSP / Nexus. Upside may be more features and better reliability. maybe. Downsides include AOSP/CM etc ROMs can't use this closed source stuff.

Some of the Sense framework files may be gone, but there's still a heck of a lot of HTC stuff there. Upside may include HTC releasing the IR TV app which has been at least rumoured.

The Broadcom proprietary stuff for the FM radio pretends it's working, then shuts itself off, LOL. So HTC might add FM later if their app is "De-Sensed". My FM app is working, with BT off and talking to the HCI UART. Have analog or digital audio, at 22.05 KHz stereo 16 bit.

I took a look at the alleged Android 4.3 GS4 Google Play Edition ROM. It seems to show several new changes in Bluetooth relative to 4.2.x. This will be an issue with custom ROMs going forward, we'll find out eventually if there are positives to out-weigh the negatives.

Android 4.2 brought a new Broadcom written API for BT, and it's unclear exactly where it's going. Fortunately the One and GS4, and about every other recent decent device of note, use the latest gen Broadcom BCM4335 BT chips, which is better than trying to adapt Broadcoms' code to other OEMs chips.
[Spirit FM] k1w1b:
Edit: Don't worry. It turns out installing any app causes the reboot.

I'm running CyanogenMod 10.1 (Android 4.2.2) on a HTC Desire. The latest update crashes the phone - causes it to reboot - on installing. The previous versions had worked fine. I've now lost the app, and can't get it back on. Is there a chance I can get hold of the previous version? Or, even better, get this version fixed. Is there any information you'd like?

Thanks.
[Spirit FM] mikereidis:
Please send me an email and I can send you any version.

Anyone else see a similar problem ?

I'll take another look, but I can't imagine any change since June 25 affects any device but the HTC One.

Google still doesn't provide a way to roll back an app version, at your end or at mine. The closest is to build a new version almost identical to the previous.

EDIT: You said "causes it to reboot - on installing". If the problem happens on installing Spirit, and not starting/running it, this sounds like a Play app problem.

Also, I left test code in that sets a LOT of music info, such as disk number, artist, genre, etc., and that could break some ROMs. I saw a crash on stock HTC One when I added Year info for example.

If this is the problem, it could be worked around by setting UI-> Lockscreen Display to "Off". This problem shouldn't happen until the RDS PS shows up, so pull the headset to configure.
[Spirit FM] k1w1b:
Hi Mike,

You beat me to it. It's not your app. Installing anything new has the same problem. I've got a rom to fix. Thanks. :)
[Spirit FM] mikereidis:
Ah, good, now I can sleep...

But I may have nightmares about Duration values of 3600000...

.putString (MediaMetadataRetriever.METADATA_KEY_ALBUM, " ")//album") // Yes

.putString (MediaMetadataRetriever.METADATA_KEY_ARTIST, "artist")
.putLong (MediaMetadataRetriever.METADATA_KEY_DURATION, 3600000)
.putLong (MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER, 3)
.putLong (MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER, 4)
//.putLong (MediaMetadataRetriever.METADATA_KEY_YEAR, 2) //112) // !! Crash on stock HTC One
///*
.putString (MediaMetadataRetriever.METADATA_KEY_AUTHOR, "Author")
.putString (MediaMetadataRetriever.METADATA_KEY_COMPILATION, "Compilation")
.putString (MediaMetadataRetriever.METADATA_KEY_COMPOSER, "Composer")
.putString (MediaMetadataRetriever.METADATA_KEY_DATE, "Date 12/21 2012")
.putString (MediaMetadataRetriever.METADATA_KEY_GENRE, "Genre")
.putString (MediaMetadataRetriever.METADATA_KEY_WRITER, "Writer")

In the SERIOUS world of SW development, you shouldn't change a single text character without a full round of re-testing by a QA team. :)
[Spirit FM] makbil:
Just got the new version off the Playstore.

Here's my report:

I have to run the native FM app before opening Spirit, otherwise I get the error in the picture.

I haven't figured out how digital audio works, did you enable it in the released version or is it something you are still working on?

I'm on stock kernel, so I don't expect any problems there.
[Spirit FM] l3onard:
hi folks

i bought this app to stream fm radio from my sgs3 to my cars stereo but i can't figure out how to make it work.

some advise would be great.

thanks.
[Spirit FM] mikereidis:
It appears to detect a V4L/Qualcomm /dev/radio0 FM driver, which is weird. To avoid this, set Debug-> FM Chip to "BCM 433x/207xx".

Also, On a stock ROM, it's probably best to set Debug-> FM API to "OEM Proprietary".

Reboot the phone to clear out any weirdness.
[Spirit FM] mikereidis:
Hi, Thanks for your purchase support. :)

But I'm afraid Spirit does not transmit FM from the phone to an external FM radio. Spirit is an FM radio receiver only. Email me for an order cancel if FM transmit is your requirement.

If you are talking about transmitting over Bluetooth, or with a wired connection, please send me a debug log. Use Menu-> Test-> Email-> Logs and after 20 seconds or so press Send.

Otherwise, please clarify.
[Spirit FM] HSishi:
Hi Mike,

I have a Galaxy S4 now (GT-I9505 version for Germany's carrier EPlus) and, according to your posts about SGS4 FM capabilities, the SGS4 is unable to use any FM. Don't worry, I won't ask for a refund because I still have a customized S1 on which SpiritFM works fine.

Besides that, I value the effort you put into the app. There aren't really much real FM apps and those which come pre-installed in stock roms are device-only ones.

Regarding the "FM to streaming" transition you posted somewhere here ... this month I had a traffic of more than 2 GB on my phone, ~ 1.3 GB just from radio streaming. Luckily for me, I have an "old" Flatrate without throttleing after a specific amount of traffic. Still, I would prefer native FM useage but I was surprised Samsung didn't implement that on the SGS4, after all previous flagships had that. Well, we'll see what's in stock in two years, after my current Carrier Contract binding passed again.

Mobile carriers should be able to influence manufacturers to implement stuff or not. But then ... I don't know how mobile carriers think - maybe it's "Let our customers hear music via streaming, so we can sell more flatrates. But we have to expand our networks for more broadband useage and traffic."

Something about XL test app ... I test-installed it via Playstore. No problems. When I open XL on my SGS4, it just closes itself immediately after I saw the small FM radio icon and "XL". Is it just that or is something logged in the background which is useable for development? If yes, I would mail it to you if you need it.

Anyway, don't get disencouraged by the fact FM chips aren't build into some HighEnd phones these days; there are lots of ppl around the world who don't need, can't effort or are otherwise unable to get the newest flagship phones. Head up :) .

//HSishi
[Spirit FM] makbil:
Done and no issues so far.

Was digital audio enabled for this version and if so what do I have to do to enable it.
[Spirit FM] mikereidis:
Good, I probably messed up the stock One detection adapting it for Google Play Edition.

Oh yeah, sorry, for digital audio set Menu-> Settings-> Audio-> Method to "Digital Auto" and restart Spirit.
[Spirit FM] mikereidis:
In North America, or anywhere where subsidized contracted devices are effectively "rented", the carriers are the customers of the OEMs, so they have pretty much full influence. They tell the OEMs to disable or not install FM.

Sprint has a deal where they get paid millions to enable FM chips, but it remains to be seen how that will go.

The problem is that most paying customers are 1st world, mostly Europe and the America's, and they have high end phones. I've moved to mostly only support higher end phones, for new ones at least.

But it's great to have a niche with no paid competition, so I'll be sticking with Spirit development as long as it pays the bills. :)

Pretend it doesn't exist. :)
[Spirit FM] esasoft:
mikereidis

Hi !

Tell me please, do you have plans to support LG Optimus VU (F100L/F100S, both are Qualcomm-based) in your wonderful program ?
[Spirit FM] mikereidis:
Not really, but my ears are open to votes for any phone.

If it's reasonably easy to support, with few problems, the likelihood rises.

What happens when you try to run Spirit on it ?
[Spirit FM] makbil:
I set it to Digital One and it works, including the spectrum analyzer graphic, should I specifically set it to Digital Auto or am I good?

My first impression, either the station had some problems yesterday or digital audio really does have better sound quality.
[Spirit FM] esasoft:
When I run Spirit on F100L (Android 4.0.4, ), it runs, and even tries to tune something (frequency selection sliders are working), but there is no sound, neither from headset nor from built-in speaker, and the program itself lags terribly.

I think that it will work, but this specific phone model must be supported.

By the way, I have a service manual for LG F100L (in PDF) that contains a lot of technical data.

If you need it, tell me, I'll send it to you.
[Spirit FM] l3onard:
Sorry, i didn't explain that clearly. Yes, stream over bluetooth to my car stereo. So i can hear radio and navigation instruction at the same time.

One more question. Do i have to have a routed phone for that or works on stock rom too?

Thanks for support.
[Spirit FM] mikereidis:
Great ! Digital One is fine.

Digital audio gives you Beats and any equalizers or effects that work with streaming or media players. The traditional, special, analog audio path for FM normally bypasses all that.
[Spirit FM] mikereidis:
If RSSI at top left is 20 or more when a wired headset is plugged in, and when tuned, that means the FM tuner part is working.

If so, trying different values for Menu-> Settings-> Audio-> Method might produce audio.

At this time, I don't have time to look any further.
[Spirit FM] mikereidis:
The only phones I know that can do FM over Bluetooth without root/SU are stock Sony 2012-2013 models. For them, it's just automatic when a BT headset is paired and connected.

If you have root/SU, you can set Menu-> Settings-> Audio-> Method to "Digital Auto" on any of these phones:

HTC One, One XL, One S, Evo 4G LTE

Sony Xperia T & similar

International non-US Galaxy S, S2, S3, Note, Note2
[Spirit FM] l3onard:
thanks.
[Spirit FM] Connecter:
I try the Spirit Free June 29 apk with the Optimus G E975. It has definitely a FM Radio. I tested it with the stock rom. When I started the radio on CM 10.1 (all stock) the radio app display "Please Wait..." then the Kernel crash and I must do a reboot.
[Spirit FM] christiandroid:
I Have an L5 with cyanogemMod can I help the dev to suport Spirit FM ?
[Spirit FM] mikereidis:
This is a common problem with the Qualcomm WCN3660 FM/combo chip.

A kernel driver module named radio-iris-transport.ko needs to be loaded.

Most likely the kernel doesn't include or support this module. The CM folk often tend to say "we don't support FM".

You can ask them to enable it in the kernel, or you may be able to use an alternative kernel with the FM driver.
[Spirit FM] mikereidis:
My dinner is ready, so the quick answer is no, at least not at this time.
[Spirit FM] esasoft:
Already tried that - there is no sound...

RSSI is about -11 to -16, regardless of whether wired headset is connected or not.

It's sad to read that... I hope someday you'll find some time to help us.

Anyway, thank you for your hard work !
[Spirit FM] mikereidis:
Does this device support FM stock, or has anyone ever seen FM work on it ?

If not, then it's likely the FM antenna pins are grounded/disabled and FM will never work.
[Spirit FM] dedakomarek:
Hi Mike.

Please, you can try the LG P970? FM radio is missing many owners of this phone. Unfortunately, FM radio is not supported in CM 10.1 :( , and your software Spirit FM is our only hope.

The FM tuner works (RSSI top left is 20 or more when tuned), but no sound. Maybe the problem with ALSA.....?? :confused:

Excuse my bad English.

Regards
[Spirit FM] rafael310886:
Xperia S (SR: OEM)

Hi, I have an Xperia S, which I have installed a custom rom (Slim Bean), but when I want to listen to FM radio, I get this message "SR: OEM" and I have no audio, not because it is.

Thanks for your help.

Greetings.

:good:
[Spirit FM] mikereidis:
I've already spent many hours in 2012 and 2013 trying to support the P970 with no luck.

If you want support, somebody who has this phone will need to "champion the cause" and find out what ALSA controls need to be set or other stuff done.

I don't have the time, money & other resources needed to support hundreds of different phones.

Some people have done this for other phones, such as the P880 and P990. I added the code for the control settings they identified. Just the other day I enabled the P990 on Play to make the support more or less official.
[Spirit FM] mikereidis:
I'm not sure I can support this ROM, or any AOSP ROM on Xperia S.

Is Free Xperia supporting FM now for Xperia S ? If yes, there is a chance, but maybe only if your ROM uses some code/libraries from Free Xperia.

Does the RSSI signal strength at top left go over 20 when a wired headset is plugged in and when tuned to a good station ? If not, try setting Menu-> Settings-> Debug-> FM API to "Low Level" and restart Spirit. It may be better to start with Bluetooth off.

But this may not fix the lack of audio problem.

EDIT: I had at least one report of success on whatever this ROM is (FreeXperia CM10 ?), with these settings: 10-20130610-UNOFFICIAL-nozomi

(Other reports are mixed.)

- Set Debug-> FM Chip to "STE AFM RX"

- Set Debug-> FM API to "OEM Proprietary"

- Set Audio-> Method to "Sony/STE/Android"

- Reboot phone and try Spirit.

You can also try this Audio-> Method: "qdsp5v2 msm8660"
[Spirit FM] rafael310886:
Xperia S (SR: OEM)

Thank you very much. I'll try this rom, anything you notice.
[Spirit FM] lead3r1:
hi i am a htc golfu desire c owner recently our little dev community succeeded in porting cm 10 for our device as it happens cm is an excellent firmware but sadly lacls fm so i decided to try your nifty app providing support to countless however i noticed i am gettin signal but there is no output in either d speaker/headset which kinda is a turndown , I am well aware of ur hectic schedules however can u please suggest as if anything could b possibly done about it tnx ![QRCODE][/QRCODE]
[Spirit FM] mikereidis:
You can send me a debug log with Menu-> Test-> Email-> Logs. After 20 seconds press Send.
[Spirit FM] madprofessorus:
I tried the free version on my Xperia tipo with custom Rom, unfortunately it dont work, don't get no sound at all,is their a chance to make it work for tipo?
[Spirit FM] mikereidis:
Only if someone can tell me how to enable FM audio on it.
[Spirit FM] madprofessorus:
Stock ICE had fm radio, of I find that apk can it help you?
[Spirit FM] mikereidis:
No.

I mean what I said:

And even then it would be quite unofficial and likely to have problems I don't have the resources to fix properly.
[Spirit FM] madprofessorus:
OK got it,too bad google itself removed fm radio from Android,it's the most immediate way of communication
[Spirit FM] chomik85:
Desire C

How to setup spirit FM to work on desire c with CM10.1 4.1.2.?
[Spirit FM] James Bottomtooth III:
cm10 = 4.1.2

cm10.1 = 4.2.2
[Spirit FM] chomik85:
Sorry.

how to setup spirit fm to work on desire c with cm10 4.1.2.? ;)
[Spirit FM] makbil:
I can confirm that Spirit works on HTC One with Google Edition ROM installed. This wasn't unexpected as HTC seems to have left bits and chunks of Sense stuff in it but being a Google device no FM radio is included. Same settings as HTC One with Sense 5.
[Spirit FM] mikereidis:
Automatic settings work most of the time, if they are going to work at all.

This is a rare-ish phone, out for a year now and discontinued 6 months ago I guess.

Sorry, but I don't have the time to support it.
[Spirit FM] chomik85:
OK :( FM signal is OK, but

there is no sound
[Spirit FM] mikereidis:
When people say "Sense", what they usually REALLY mean, whether they realize it or not, is this:

The visible Sense user interface stuff.

All the HTC proprietary extensions to Android.

All the non-HTC proprietary extensions to Android.

1. is the "real" or core Sense.

2. includes APIs to enable/disable FM audio and FM headset/speaker switching.

3. includes Broadcom's proprietary FM API.

2. and 3. are all that concern me, not the visible Sense UI stuff.

On the Google Play Edition (GPE), just like on AOSP ROMS, 2. does not exist.

Uniquely on the Google Play Edition (GPE), 3. does exist but seems intentionally broken to disable it. (It seems to switch itself off, LOL.)

So right now GPE support is like AOSP support. Bluetooth must be off so that Spirit can control the BT/FM combo chip directly via UART. And audio is done with low level ALSA APIs, either pseudo-analog or digital.

In contrast, stock ROMs have both 2. and 3. and Spirit can use them if and when desired, or can use the low level APIs (with BT off for FM tuner API).

On AOSP ROMs, I hope to enable FM access with Bluetooth on. I'm working on a "shim" or "adapter" library that sits between the BT stack and the lower level HCI driver. This will also be useful on other Broadcom based phones with AOSP Android 4.2+.

But this solution may never work on stock or GPE ROMs. On stock at least, this is OK as 3. exists and works. But on GPE it's broken.

Hopefully, maybe, stock ROMs may eventually migrate to the new open source Bluedroid in Android 4.2+. The code came from Broadcom so I hope they use the same architecture going forward. I'm tired of proprietary BT stacks.
[Spirit FM] mikereidis:
You can try different settings for Audio-> Method, most likely those starting with "qdsp5v2...".

Send me a debug log and I'll take a quick look. Use Menu-> Test-> Email-> Logs and after 20 seconds or so press Send.
[Spirit FM] chomik85:
sent, thank you in advance