yashsingh1/xdaforums huggingface dataset:
[Spirit FM] audaxrandonneur:
Yes, nowerdays support means much more than the product itself (it's the same in my buisness and the standard quote is that the problem sits in front of the monitor). ;)

Personally I don't understand why one thinks it would appropiate to buy a device for 500 $ or more and than not to spend the appropriate amount in the applications needed.

Updating the HBoot of the One X means that you will be unable to install older roms i.e. the boot.img won't work properly or at all. So there is a decision to make. The process itself is easy because one just have to commit a series of fastboot commands and using the right firmware. It ugraded my OneX three times and my sons once without any flaw. But of course the is the risk of bricking the device.

In the thread http://xdaforums.com/showthread.php?t=1924003 you will find a download link for a zip container which holds various firmware files and a batch file with a lot of jump marks but if you read it you will find the series of fastboot commands needed.
[Spirit FM] selemine:
AW: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Although the fm radio app from Samsung is enough for me and my s2( only problem is displaying non ascii letters in rds), I appreciate your hard work mike and therefore bought a copy.
[Spirit FM] superkoal:
There's another commit merged to cm10.1 in the latest nightly regarding fm radio.

Don't know if it's mainly for xperia devices again, but hope dies last for my i9000 ;)
[Spirit FM] jelle2503:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

I read on Google+ spirit2 with samsung plugin will come out with support for newly merged cyanogenmod fm api :D

Edit: lol i no read op

Verstuurd van mijn GT-I9000 met Tapatalk
[Spirit FM] mikereidis:
Thanks. :)

I don't recall seeing or hearing that any stock app can handle the extended European characters. Seems strange.

But then, I also don't recall any that can be changed between North American and elsewhere de-emphasis or RDS program type either. And most don't handle Japan band. And I wouldn't be surprised if most are permanently set to North American standards, changing the audio frequency response inappropriately.

It's as if someone wrote a basic FM app 5-10 years ago, everyone uses it, and nobody adds anything.

I might have some trouble with European RDS characters on Spirit2; I'm not sure the Android FM API handles them properly. But there's a way around any problem, even if it gets messy.
[Spirit FM] mikereidis:
The Feb 10 nightlies for GS2/GS3 and probably most others includes the libanalogradiobroadcasting.so library which causes problems for Spirit releases older than the latest Feb 8 release.

My guess is that it could be quite a while before any of the CM code includes the needed FM chip plugins, besides the few pre-built ones from Sony for cg2900 and Xperia T "iris".

And when someone creates and builds them, and makes them work, I'm further convinced it will be some time before RDS & AF can be supported, if ever.

And then, somebody needs to change the audio libraries to support FM.

There are a good number of people who think that official FM support from CM is coming soon for their phone, because somebody has built an open source app and has a pre-built plugin available for a few Sony devices.

Maybe. On some phones. But I know how much work I've done and I think that IF official FM support comes from CM, it could easily take 3 months or more for basic functionality on popular devices like high end Samsungs, HTCs and etc.

We shall see.

I also think that some CM devs don't worry about FM, in part, because Spirit is available, even in a free form. Half the custom AOSP based ROM threads I read (which devices are mostly capable of FM) have a reference to Spirit on their first page as the only FM solution. Strangely, most seem to make no reference to the free version and indicate or imply Spirit is only a paid app.
[Spirit FM] mikereidis:
Spirit should be able to use any such support, if and when it works, by setting Debug-> FM Chip to "STE AFM RX".

But as I indicated above, somebody needs to do a bunch of work to create FM plugins and modify the audio libraries. CM is not going to magically be able to support FM on many devices overnight.

Easier said than done.
[Spirit FM] mikereidis:
Spirit2 alpha #3 Feb 11: http://d-h.st/Jxb

- Digital audio support only. No analog. Wired or Bluetooth headset only, no speaker. GS3 balance fixed relative to Spirit1 digital audio mode.

Total device battery consumption I saw, from fully charged, after 5 / 15 hours of use with moderate wired headset volume:

GS3: 14% / 58%

GS2: 21% / 95%

GS1: 25% / 96%

- Added controls in Notification window: Previous, Pause/Play, Next.

- CM10.1 / JB 4.2 only.

- As before only supports GS, GS2, GS3, Note, Note2 ; IE the "Great Pentumverate" responsible for 55% of Spirit1 sales.
[Spirit FM] :
Spirit 2 working. cant make loudspeaker to work. notification and lockscreen tuning working. S3 rootbox
[Spirit FM] pradeepjoshua:
why not mediatek??
[Spirit FM] Arcano:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

I believe Sony's stock fm app does handle at least cyrillic characters, because there's a russian station around here and I'd swear it sometimes showed russian text thru rds. I'm talking from memory though.

--

Enviado desde mi móvil.
[Spirit FM] superkoal:
AW: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Thanks for the clarification. I love fm radio and i agree that cm can't just do it over night. I hope they provide q basic api for all phones, which can be used by 3rd party apps like yours.

This way you wouldn't have to deal with so many hw issues alone!

I love spiritfm and spirit2 with rds is gonna be legendary! I would love to see a few different skins too, but as an app developer myself i know what a pain in the a.. the graphic design in android is :D
[Spirit FM] xhejtman:
Are there any plans for HTC DHD?
[Spirit FM] mikereidis:
Mediatek FM chips, or any FM chips (like cg2900 on Sony devices), could be supported via the "Android FM API", if a stock or custom ROM supported that API.

But I'm unable/unwilling to directly support the secret and proprietary Mediatek APIs, or the V4L with proprietary extensions used by cg2900 drivers.

There are virtually no Android devices with Mediatek readily available outside of Asia (China, India mostly) and the Asian devices are mostly low end.

I get about 10 pirate debug logs every day; most of them are from Chinese users with Mediatek devices. Yet pretty much no legitimate or potential legitimate customers have Mediatek. Am I supposed to support the FM chips used almost entirely by pirates ??

- Silicon Labs si470x FM chips in Samsung devices: 59% of Spirit1 sales and the first "official" chip supported in Spirit2.

- Qualcomm WCN3660 FM/combo chips: Only 4% of Spirit1 sales, but holds promise since Qualcomm high end SOCs are VERY popular now. Too bad most don't support FM though. Likely the 2nd chip to be supported by Spirit2.

- Broadcom FM/combo chips: Still VERY popular, but recent high end devices use Silicon Labs and Qualcomm. Might see Spirit2 support IF some new & popular high end device used it. But high end devices are not being designed with this chip it seems.

- TI FM/combo chips: Haven't done too well lately and TI is getting out of the mobile chips business. I MIGHT support the /dev/tifm API used on HTC OneX International in Spirit2 at some point. But probably not.

- Everything else: forget about it unless there's an Android FM API plugin available and it works well with little work from me. And I'm not going to write plugins that are a waste of my time, economically speaking.
[Spirit FM] mikereidis:
Yeah, I thought Sony might; Sony has some good things going on, and they are more popular in Europe than in North America. I'll check it out on my Xperia P.

And it's been a while since I've had a good look at the stock FM apps from Samsung and HTC on stock ICS or JB ROMs.
[Spirit FM] mikereidis:
Not at this time.

But if the CM folk support it with an FM plugin and the needed audio mods, I'd be happy to also support it.

Otherwise, the nasty & virtually unresolvable AIC3254 DSP audio problems alone are enough to say no.

Lack of capability to record or use digital audio are also big negatives.

My probable inclusion of Galaxy S is an unexpected fluke. I found a way to record and do digital audio on this "ancient" phone, I think digital resolves the speaker damage issue, AND it REALLY helps that it's the 2nd most popular phone on Spirit1, with 15% of sales.

Add to that it uses the same FM driver as the other 4 higher end Samsungs, AND the audio chip is rather similar to the chip in the GS3 and Note2. Add it up and I'd be crazy not to support it.
[Spirit FM] mikereidis:
It will be relatively easy for other developers, or myself, to create alternate UIs for Spirit2.

As a user, looking at Spirit1 and Spirit2 at present, Spirit1 has many more features and is thus "better".

But the Spirit1 source code is pretty messy and difficult to add functionality to. Spirit2 is designed so that multiple apps or widgets can run simultaneously or interchangeably. Or multiple "UI modules" inside the Spirit2 app could be supported. Perhaps a tabbed approach, with different UIs by swiping left or right would be useful.

Currently, the code / architecture is:

S2Main instantiates a UI object.

UI object instantiates and uses a "Simple FM API" object.

Simple FM API uses either the official Android FM API or the Spirit2 alternative.

In this architecture, it's easy to replace UI with UI2 etc.

Using the Android FM API, it may be feasible to have multiple FM apps running simultaneously, say the CM app and Spirit2. (Practically, issues of which app/service is "in charge" could be challenging.)

And I will release enough source code to enable others to build an alternate UI/app. The Spirit2 FM service will take care of most of the "hard stuff", like background processing for audio, recording, notifications etc. Or a CM service for this could be used. This 3rd/4th party alternate UI app could mostly be written to the open source Android FM API, with small mods / additions, or to the Spirit2 internal simple API.

That's the closest thing to skins I've committed to at this point. Spirit1 had LOTS of "UI Elements" customizations possible, and ways to provide a background image, but nobody used them, so I'm very hesitant to spend much time on any special skinning API. Most people want a finished, ready to go app, not a toolkit to build one.
[Spirit FM] mikereidis:
Feb 12: http://d-h.st/qhb

Also on Play.

For HTC OneX International:

- Stock ROMs now defaults Audio-> Method = "HTC" and Debug-> HTC = "Intent2". Needed on stock JB ROMs. This now matches the OneX LTE, OneS and Evo 4G.

- Custom AOSP based JB ROMs now defaults Audio-> Method = "HTC OneX/X+ Int ALSA". Prevents a volume feedback loop from raising volume to maximum.
[Spirit FM] mikereidis:
The new Feb 12 release of Spirit tests OK on the OneX using aokp_ICJ421-V1.7.2, and using the kernel included in it's ZIP.

I've noted that 3 button wired headets for older HTC devices don't act or fit exactly like the stock single button headsets. This can be seen on the stock JB ROM with the stock FM app or Spirit.

I tried to get Feb 10 CM10.1 running, but it wouldn't boot despite several tries.
[Spirit FM] xhejtman:
Well, I tried SR10 with Feb8 release. It seems to be ok just after upgrade from SR7 to SR10. However, today, I received new version of Spirit (feb12) and things are broken again - no notification sound when FM is ON. Moreover, I noticed that sometimes Spirit gets confused and turns on Bluetooth instead of FM (I have bt turned off all the time, I noticed this as BT icon shown in status bar). Is this something expected or there is a nasty bug?
[Spirit FM] mikereidis:
The only changes between Feb 8 and Feb 12 were for the default Audio Method for HTC OneX International.

Send me a debug log after it starts with Bluetooth off. Then another when it starts and turns Bluetooth on. If you can detect any pattern, please let me know. Eg: this happens after you use a BT headset, then turn BT off, and a reboot resolves it.

BT has been funny ever since ICS custom ROMs started coming out. Many have BT running all the time, but hide that from the user. So I had to add some strange code in Spirit that tries to figure out if BT is REALLY on or not, and it seems impossible to do that and have it work well on every ROM. I don't know really, but it may be related to low power BT 4.0 support that may need to run all the time.

So to summarize:

- When you upgraded to cfx_ace-4.2.1-SR10 from SR7, the Feb 8 release of Spirit was working OK. IE. audio notifications (and phone calls ?) while listening to FM worked.

- But then you say Feb 12 Spirit stops audio notifications while FM is on.

Given all the above, I don't believe the Spirit update was responsible; I think something else is contributing to an intermittent issue.

One of the really nasty things I hate about the Desire HD and similar HTC devices with AIC3254 DSP is the default enabling of Debug-> Power Restart Media. This is a horrible hack that tries to restart the audio system when FM/Spirit is turned off. You could try disabling it to see if things improve.

I've spent well over a hundred hours trying to find better solutions for these devices, and couldn't. Sometimes, unavoidably, the audio system gets messed up and a reset is needed. But the reset doesn't always work, especially if you quickly turn off FM and start another audio app immediately.

One thing to watch out for is anything that might create a click or other short sound while FM is running, like a camera click noise. Debug-> Suppress System Sounds is default, but it doesn't disable some noises, such as camera click. Disabling camera click is apparently illegal in some countries.
[Spirit FM] mikereidis:
There is now a minor update "Feb 12a" release on Play, but I won't post a new free one.

- Warning for users of Razr I that the JB update removes access to FM. I'll also re-enable Razr I on Play, at least for a while.

- GS3 GT-I9300: Balance issue fixed for recording & digital audio.
[Spirit FM] zaxarop:
If i use it ONLY with headsets did I have the risk to damage the speaker ?

SGS with CM10.1 (13/13)
[Spirit FM] Rick O:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

When recording with Spirit UL using a Galaxy S3 I am getting the phone's mic as well. AOSP rom. Since I am a piano tuner this is a problem! Please advise.
[Spirit FM] mikereidis:
Yes.

Otherwise I would have disabled the speaker mode over a year ago.

There was a "rebellion" when I disabled (or made it harder to enable) GalaxyS ICS+/ALSA support. I relented, by popular demand, but would have held my ground on making it difficult to enable speaker mode if this solved the issue.
[Spirit FM] mikereidis:
Thanks, I've seen it before and I'll look into it.

My quick testing seems to indicate it doesn't happen in the Feb 12 release when using the digital audio mode. But Feb12a has this problem in digital mode, and all (?) have it in analog mode.

Do you use analog or digital ? And did this just start happening with Feb12a ?
[Spirit FM] Rick O:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

It happened in an earlier version a week or so ago but was only on the left channel so left out one ear piece. This time on both channels. Don't know if analog or digital; whatever is the default.
[Spirit FM] Siggei:
deep problems with fm Spirit for CM10 on samsung i9001

Dear to all,

thanks to XDA useful suggestions I've several time changed the ROM on my samsung i9001. Just 3 days ago I decide to try CM10 beta 1. I love this rom the best i've tried for my device. But I have the following problem:installing fm spirit (whatever version full/free) and trying to configure it, the app get frozen, the system crash and the phone starts to re reboot by itself. I noticed that fm spirit also goes in conflict with Apollo app, infact it doen't work until fm spirit isn't uninstalled. has someone the same issue :confused:? thanks in advance.
[Spirit FM] pamarakos:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Hi

I m on cm10.1 and I ve been using this app for a while now since it s the only app for fm radio working out there:) Thanks for this!!

Now

1) is it possible to have it working through bluetooth headset?? Or is it completely impossible due to the lack of antenna?? I could have the wired headset in my bag plugged in!! Am I dreaming??:)

2) How can I make it working and passing the sound through voodoo sound app, or is it doing so either way??

Thanks
[Spirit FM] mikereidis:
I haven't heard of this issue. Best to send me a debug log.

Remove and re-install Spirit, or just clear the app data. At the introduction screen hit Back. Then Menu-> Test-> Email-> Logs and press Send after 20 seconds.
[Spirit FM] mikereidis:
Yes, experimentally, on the Galaxy S and Note lines, but more likely to work on custom ROMs.

The last release of Spirit2 uses digital audio by default, and Spirit1 has digital Audio-> Method settings at the list end.
[Spirit FM] mikereidis:
This is a common problem on Desire HD and similar, unfortunately. It's the reason why Debug-> Power Restart Media is enabled by default on these devices, in order to try and completely reset the audio system when FM is turned off.

To avoid it, the only solution is to prevent other sounds from playing while FM is playing. Debug-> Suppress System Sounds (enabled by default) helps, but doesn't catch camera clicks and likely other sounds. "Normal" audio notifications should be OK, because Spirit is informed and disables FM first, but for all I know the internal Android timing of things could mess things up, especially if the CPU is under load.

Pulling headset plugs out while playing is something I don't test too much. In this area, it's semi-common for ROMs to have random issues, and Spirit may have a few issues also.

I know that pulling the headset plug on CM10.1 on Samsungs tends to kill the lockscreen if it's displayed.
[Spirit FM] Siggei:
problem with fm spirit and cm10 on galaxy gt i9001

Hi. first of all thanks for the answer. well: i have sent you (i think so, the e-mail adress was already filled!!!).

just one think: in the introduction screen there are three option: about, keep, ok but the back button is not available.... I'm sure I'm making a mistake, but I cannot understand wich s it.

waiting for an answer thanks again.
[Spirit FM] xhejtman:
As I have said, it was incoming sms and it seems that audio *sometimes* messes up if device is in sleep mode (i.e., screen of), playing FM and sound event is incoming (sms, incoming call, but *not* camera click and such), and it keeps to be messed up until I wake up the device. Don't know why and it used to be ok I think in december 2012. These stuff was completely OK.

I don't plug out during playback. I meant, that I plug-in, start FM, finish FM, plug out. Then I plug-in, start FM -> oops, no sound until I toggle speakers/headset, it does not depend on reboot but on plug out/in event what breaks output. If I keep headset plug-in, no need for toggling.
[Spirit FM] tbalden:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Hello!

I've purchased this great app to use with the cm ROMs I help to be maintained (Onex t3 and doubleshot)

Since going 4.2 android, it only works to output to speaker and not to headphones jack.

Can I help any way to resolve this issue?

It was made working with cm9 a half year ago or so. I guess we're just missing something to let this happen.

Endeavoru cm10.1 android 4.2.1 and 4.2.2 using ICS audio blobs.

Thanks. Thanks for this excellent app

Pm me please if its easier to discuss it or you have an advice.
[Spirit FM] mikereidis:
There is no back button in the dialog.

The "Back button" is the physical or virtual button that AFAIR should always be available in Android.

Usually, when you are finished with an app, you hit this Back button, and it pretty much always closes an open dialog.
[Spirit FM] mikereidis:
It would be helpful if you could isolate which version first created this problem for you. The December 21 release is my recent "gold standard". It and MANY other versions of the free app can be found in post 1 of this thread. Or if you're a customer, email me and I can send you a ZIP with many older versions of Unlocked.

My experience with many of the nasty ongoing audio problems is: If I make a change that partly or fully fixes a problem on some phone and ROM combinations, it will often break things for others. So at this point I am very hesitant to make changes, since I think I've reached a "local peak" in the number of people who are having at least reasonably good results.

The best bet at this point I think is to find the best combination of system settings and Spirit settings, and perhaps even sticking with a best version of Spirit, or a ROM.

Spirit really isn't getting many features at this point, so if the Dec 21 release works well, it may be best to stick with it. There's little feature difference between it and the latest releases; mostly bug fixes for other phones.
[Spirit FM] mikereidis:
Hi. :)

Someone else mentioned a speaker only problem on a stock JB ROM. I didn't see this on my OneX International, but did see some other problem that was resolved by using HTC audio method with sub-method Intent2. This won't help custom ROMs though.

And here's my response to a speaker only issue on some custom JB ROMs: http://xdaforums.com/showthread.php?p=37788920&highlight=speaker#post37788920

Again, I didn't see the speaker only issue, but fixed some issue by changing default Audio-> Method on JB custom ROMs to "HTC OneX/X+ Int ALSA" with "... ALSA" at the end.

EDIT: I've been running aokp_ICJ421-V1.7.2.zip with no problems using Spirit Feb12 or Feb12a with all defaults.

Can you point me to the best ROM to do further testing with ?

EDIT: I guess it's your ROM here ?: http://xdaforums.com/showthread.php?t=1786696

I've loaded your cm-10.1-20130215-JB-A9-endeavoru.zip and see the problem now.

Without even involving FM, I reboot with the stock headset plugged all the way in. Stock is a flat cable with 1 media button. Starting Apollo, music won't play in the headset. Pulling and re-inserting the headset plug fixes Apollo (but not Spirit).

Because of this Apollo issue, my first guess is that there is some generic headset problem, not necessarily directly related to FM. I tried a few quick commands to see if I could restore FM headset, but found nothing so far.

Non-functioning audio is due to the infamous "obtainBuffer timed out (is the CPU pegged?)" problem. Spirit has a Debug-> Power Restart Media setting to try to restart the mediaserver etc. and it appears to at least partly work.
[Spirit FM] thomasvdalen90:
ooooo myyyy goddd!!!! I lovee you serious!!!!!!!! I loveeee you!!!!!!!!!!!!!!!!!!!!!!!
[Spirit FM] aini12aian:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Thanks for making such a great. It worked in my phone now and To think that all I need is a headset. Haha! I will buy it the first chance I get! Thanks again! :thumbup:

Sent from my GT-S5570
[Spirit FM] wikie:
Unfortunately, the headphones do not work hi :) it's only when I'm wearing speakers.

I have to change what the mechanism that the headphones go?

thank