yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
Hi, Thanks for your support. :)

I'll presume you have tried rebooting at least once.

Please email me at mikereidis@gmail.com and I'll send you the Spirit2 receive app to try. Or try the free one here: http://xdaforums.com/attachment.php?attachmentid=3215671&d=1426618705

Please send me a debug log from Spirit Transmit. Use Menu-> About-> Debug-> Log and once you get to your email client, press Send.

This is the first time I have heard of KingUser so I'm not familiar with it.

I've been running custom ROMs on my Xperia Z and Z1 until recently. I'll re-test Spirit Transmit on the stock rooted ROMs I'm running now.
[Spirit FM] Eibs:
Thanks for your good customer service, but the app actually started working on it's own after the night. And yes, I had restarted the phone a few times, no idea what was wrong but now it has worked fine for two days. So thank you for good app!
[Spirit FM] mikereidis:
Great ! :)

My best guess is that it was related to SuperUser/SuperSU. They can be "funny" sometimes.
[Spirit FM] wallton777:
I installed Spiritf but it says that maybe there is no kernel driver. Can you help me?
[Spirit FM] mikereidis:
Zenphone is not capable of FM, AFAIK.
[Spirit FM] wallton777:
Zenfone 5 official rom have fm radio end works good, but the spiritf don't find the driver. The kernel had been published so would be wonderful if can do something about that because spiritf is by far a better app.:)
[Spirit FM] mvua:
Reverse stereo sound in FM radio

I noticed that my Xperia U FM radio sound stereo in reverse or "mirror" (in the left channel plays the sound of the right and vice versa). At the same player in the service menu audiotest give a correct stereo sound. Verifies sounding radio with stereo receiver and the other phone models, and sound an modulation from an external FM transmitter, changing the sound balance. Tested on the built-in FM radio application and Spirit FM. ROMs also tried to change. Someone else noticed this feature? And who can know, in any system files to find a solution or a hardware marriage?
[Spirit FM] mikereidis:
Oh, OK, I wasn't aware that it had stock FM. Not being 100% positive is why I added "AFAIK" to my response. ;)

If the device is rooted and it didn't just automatically work with Spirit (after Spirit gets root/SU), it likely never will.

If it has a Qualcomm FM/combo chip, it should just work.

If it uses a Broadcom FM/combo chip, the "reception" MIGHT work, but FM audio never work, because every phone with Broadcom chips does it differently, and it's a lot of work to figure it out, besides that I'd have to buy one myself.

There are virtually no other FM chips besides BCM and QCom for a few years now.
[Spirit FM] mikereidis:
That's strange.

I have a very similar Xperia P myself.

Only Spirit1 will work on it, and only if the device is stock. Root makes no difference.

Spirit1 just calls the same APIs that the stock Sony FM app does.

So why you would hear channels reversed is a mystery to me.
[Spirit FM] petros1969:
I have a Huawei u8800pro and i install the last CM12.1

Im looking for radio apk for this rom(spirit fm or something else)

Do you have any solution?

Sorry for my bad English
[Spirit FM] mvua:
Maybe reason in kernel\include\linux\mfd\cg2900_audio.h ?

...
enum cg2900_dai_channel_sel {
CHANNEL_SELECTION_RIGHT = 0x00,
CHANNEL_SELECTION_LEFT = 0x01,
CHANNEL_SELECTION_BOTH = 0x02
};
...

Usually left channel is first (0x00).
[Spirit FM] mikereidis:
I don't know. Spirit1 just calls the "Enable FM audio" function and has no way of selecting which way around the channels go.
[Spirit FM] mikereidis:
Search this thread on u8800pro or similar.

I see this one: http://xdaforums.com/showthread.php?p=49879832&highlight=u8800pro#post49879832

Other than what's already written in this thread, I have no knowledge of that device, and can hardly remember anything about Huawei's.
[Spirit FM] mvua:
I know how working the Spirit1 for Xperia U/P/sola. Wanted to know the opinion of an experienced developer about the impact of the kernel driver to FM audio stereo channels. I accident found reverse stereo. Do not think anyone of the owners Xperia U/P/sola (where applicable CG2900 chip for FM) noticed this difference. Sorry.
[Spirit FM] petros1969:
It is not working.I read the thread,but with these settings nothing

Anyway bro thx a lot
[Spirit FM] leocharrua:
Error en Lenovo K3 Note (lemon)

Hi!!! I trying to use spirit app, but I get this error:

SpiritF 2015_03_17_beta

ERROR: Tuner API did not start.

This device may need a kernel with a working FM driver.

My phone:

Lenovo K3 Note (lemon)

Can you help me?

Thanks
[Spirit FM] mikereidis:
First, if there is no stock working FM app, chances are close to zero these days.

If a phone isn't listed in the post #2 Compatibility list (and most of them are ancient now): http://xdaforums.com/showpost.php?p=13380058&postcount=2

then the only chances of hope are if it is:

(1) Sony Xperia Z2/Z3 or compatible, OR...

(2) International or Sprint LG G2, OR...

(3) It is likely rooted AND it uses Qualcomm FM/combo and audio chips, such as HTC One M8, Xperia Z1, or among a decent sized list of much lesser known and less popular devices.

Basically, chances are close to zero if Spirit2 or Spirit1 don't work for you right away. Sometimes tuner might work, but audio requires a special setting (rare) or is a mystery that will likely never be solved.

There is one exception for some Chinese devices that some Chinese hackers have hacked support into for (pirate-wise I think), but I have no information about that and little interest in finding out.
[Spirit FM] mantisss:
Xperia J

Tried both v1 and v2 on Xperia J. First work with choosing right chip in output. But v2 not work (because Menu button not shown/disappeared) and can't access to to output menu. Main reason use it to output sound on Bluetooth headset (which supported in v2). Any ideas how to switch to right output on start (maybe change settings inside APK)? Thanks
[Spirit FM] mikereidis:
Spirit2 can not support Xperia J.
[Spirit FM] TonyCC:
Xperia P with cm12

Hi Mike

First of all congrats for the great work you've done with your apps. :good:

Second, I'll give you a little backup on my android experience (hope you don't matter), I've never had an android device till recently that I trade an old iphone and got an Xperia P LT22i, immediately I started to play with it and I like it, one thing I always admire from Android devices was the ability to receive FM frequencies, my Xperia P had stock Android 4.1 Jellybeans, was already unlocked and with the Sony radio app, then I started reading about upgrading the OS, I found that I can upgrade to 5.0.2 Lollipop, so I did a little research on the web and got cm-12-20150407-UNOFFICIAL-nypon, gapps-lp-20150222-signed, SuperSU v2.46, TWRP and the apropriate flash utilities, so I flash it, hehe first time didn't end well, I ended with a soft bricked phone, fortunately flash & TWRP worked and I was able to clean everything and start over following instructions line by line, this time the phone worked perfect, no problems, so I decided to continue adding apps, one of the most important to me was the radio app that wasn't installed on this, so I look on the net and found yours, I haven't bought it from Play store (I may not buy them there as I read that Google takes VAT's from you and cuts your profits a lot, better with paypal i guess), I wanted to know that it runs without problems, so I found xda-developers and your forum, I start reading from mid 2012 posts till the very last one, I found that you posted some links to get your apps to try or lite versions, I've tried both and even googled the error messages I got from them without luck.

I also read that in case the app doesn't work you refund it, that's good, I'm asking for your help by telling me if:

Spirit1 or Spirit2 is compatible with my phone's configuration

with the SpiritUL 2014-12-16 I got this: Unfortunately, AudioFX has stopped

with SpiritF 2015-03-17-beta: Error: Tuner API did not start or stop. This device may need a kernel with a working FM driver.

Please help me

cheers

Tony
[Spirit FM] mikereidis:
Hi, :)

I have an Xperia P myself, running stock Sony Android 4.1, and Spirit1 runs OK on it.

But sadly I can't support FM on it when using AOSP ROMs like CM.

Xperia P/U/Sola/Go use a relatively rare cg2900 FM chip that I can only support in Spirit1 via a Sony FM library that only works on stock Sony ROMs.

These chips/devices are so rare that I've never been able to justify spending the hundreds of hours needed to support it properly.
[Spirit FM] mervluk:
Interesting perhaps because on a rooted Xperia Z2 running on wholly stock LP 5.1.1, I'm getting the error Tuner did not start or stop with the same kernel message on Spirit 2. Did not happen on rooted stock 5.0.2 though, so I wonder if it's a rom change? I understand why you can't keep maintaining an old app which isn't generating income, and where the market has moved on, though! Spirit 1 runs OK but with no audio. A pity because data streaming for radio still breaks up frequently where FM doesn't.

Try several times and eventually I get it to start and it then runs perfectly for an hour before it stops with the same message. I'd look for something else, but the phone is set up with the same apps and everything as it was on 5.0.2 with no problems, so maybe Sony did something. Will try the Sony app and perhaps a logcat if it helps.

PS Just tried logcat, and it started both times (but with the longer 10 sec countdown for the tuner on the second as though it was going to fail, but didn't) . Still no audio on Spirit 1, though.
[Spirit FM] Fabio20015:
Spirit Ul and SpiritF don't work on LG p760

Hi,

I have installed spirit UI and SpiritF on a Lg P760 that has a BCM4330 FM Chip as the P880 if I'm not wrong; but I have read that on P880 Spirit works. Why?

I've a Resurrection remix LP v5.3.4 (Android 5.0.2) and Spirit UI Hangs and the app is closed; while SpiritF say "Tuner API did not start or stop. This device may need a kernel with a working FM driver."

Is there a method to know what SpiritF try to do?

Thanks.
[Spirit FM] mikereidis:
I have a Z2 tablet, running stock for a month+ for the first time in quite a while (for testing my Headunit app), but it's on stock 5.0 and I've been waiting for a stock 5.1. I'll give it a shot.

5.1 may have new SELinux rules, so it might work if SELinux is disabled.

There is a better/alternative way to access the FM chip that requires Bluetooth to be on. Enabling it changes the /system a bit so there is a bit of risk that it might mess something up that should be fixable from recovery. I just tried now on mine and it worked, but 5.1 might be different.

If you can accept this IMO small risk, use Menu>About>Debug>Shim>Install . When it finishes, start Bluetooth and after that Spirit2. If Bluetooth was on after boot already, you probably need to reboot phone.

This method is a lot faster to start, is compatible with BT on, and also allows sending audio over BT A2DP.

Sony tablets are the only ones with FM, pretty much. It will be nice if I can have some sort of FM app for at least one of my Headunit tablets.
[Spirit FM] mikereidis:
Spirit1 just isn't compatible with most Lollipop+ ROMs because they mostly enable SELinux and that prevents some audio and BT/FM chip port accesses. There's a beta version of my paid app that works on some devices/ROMs, but only if SELinux is disabled.

But the audio is the biggest obstacle. Success rates for LGs with Spirit1 is VERY low. I think some 880 and maybe 760 worked, just barely, on some version of some ROM.

Basically, I don't have any solution for that phone.
[Spirit FM] mervluk:
Good! Certainly opened faster on the XZ2 running 5.1.1 with no adverse effects at least initially. In the UK at least I still find the FM signal more reliable than streaming, and at least as good sound quality.

Thank you.
[Spirit FM] Fabio20015:
Thanks for reply,

SELinux is set as Permissive.

It isn't a money problem; the full version of Spirit will work with P760?

Best regards.
[Spirit FM] fadival:
Spirit free is working great on legacycarbon 4.4
[Spirit FM] mikereidis:
No, I don't think it will work.

I'd recommend searching this thread for P760 or similar, but I'm not seeing any Search buttons on XDA right now.

See if you can find an FM thread in the P760/L9 sections of XDA. My guess is that nobody has gotten it working lately, or perhaps ever.

Audio methods in Spirit1 include P880 and P990, but I think it's rare that they work any more and 760 is not there at all.
[Spirit FM] mikereidis:
I loaded this pre-rooted 5.1.1 on my Z2 tablet, and the Bluetooth off "UART mode" is working fine for me: http://xdaforums.com/xperia-z2-tablet/general/latestlollipopprerooted231a128z2-tabletsgp511-t3100821

The Bluetooth shim mode also works, but requires SELinux to be disabled before it can be installed.
[Spirit FM] emjas:
ADB commands to control Spirit2

Hi Mike,

Any chance you could tell me what the commands are that you mentioned please?

I am having trouble with incoming calls while listening to the radio with headphones and would like to use Tasker to stop the radio when the phone is ringing.

I know Spirit pauses during the call, but then it resumes afterwards even though I pulled out the headphones before answering the call, thus it plays static through the speaker.

I did some experimentation with settings and pulling out the headphones before/during the call I either get the radio playing through to the calling phone, or no sound/mic at all until my phone is put on speaker.

Stopping the radio during the call works, but making this automatic would be great.

I'm using the latest 14 April 2015 version of Spirit2.

I will try Spirit2 Free at some point too.

Thanks,

James
[Spirit FM] mikereidis:
Please email me at mikereidis@gmail.com .

Why would you run the free version when you are presumably a paid customer with a version that has many more features ?

April 14 release was never released by me as free so if you didn't get it from me or from Play then it's not an authorized copy.
[Spirit FM] emjas:
I didn't know about the free version until looking for solutions yesterday, so I tried it after posting to see if it might handle calls differently. I know now that they work the same.

Apart from the stop button on the notification, I don't use any other extra features that I know of, so if the free one had worked better I wouldn't have minded using it.

An option to stop the radio completely on an incoming call so it doesn't interfere with the call would be useful.

I guess if I had the time I could try modify and compile the open version to stop on call and not resume.
[Spirit FM] Fabio20015:
Now I have Spirit UL Working on P760 on Android 4.4.4

FM Chip: BCM 433X/207XX

FM API : low level.

BC 4330/20780: enable.

HCI Access: UART.

from terminal

alsa_amixer cset numid=67 7 7 ; alsa_amixer cset numid=80 2 ; alsa_amixer cset numid=81 2 -------> (Radio in Vivavoce)

alsa_amixer cset numid=67 7 7 ; alsa_amixer cset numid=79 2 ; alsa_amixer cset numid=78 2 ; alsa_amixer cset numid=80 0 ; alsa_amixer cset 81 0 --------> (Radio nelle Cuffiette)

numid=67 7 7 --------> (Volume max)

numid=67 0 0 --------> (Volume min)

So now it's simpler to add the "official" support for P760 for the Author of the application :)

The Custom Audio option is for things like this? if yes can I use it to write these commands?

Best regards.
[Spirit FM] mikereidis:
:)

I've hardly looked at my Spirit code recently, so changing any code would probably be dangerous, LOL.

Yes, this is what the Custom Audio>Method is for:

Create a shell script (or just a list of commands) at /sdcard/sprt_hdst for commands that enable the headset. For Speaker use /sdcard/sprt_spkr and to turn off audio use /sdcard/sprt_mute . It should run as root commands. Here's the code:

You will probably also want to enable Debug>Silent Loop. This loops a silent audio file, which is needed to let Android know that audio is running.
[Spirit FM] Fabio20015:
I'm trying also Stay Alive! Android app to prevent Android goes sleep when Spirit UL is running. To avoid problem with the restart of Spirit UL after sleep.

With Stay Alive! all seems perfect working. :good:

Is there also the possibility for Spirit UL to launch a script when it starts and stops?
[Spirit FM] mikereidis:
No, but you could hack together the equivalent. At start either sprt_hdst or sprt_spkr will be run, and at stop sprt_mute will be run.

But these are also called when switching between speaker, headset and mute conditions while running.
[Spirit FM] Fabio20015:
:crying:

The simplest way has gone :(

Thanks for reply.
[Spirit FM] Hattori_Hanzo:
When I tap the SpiritF notification it goes to "App Info" and not actual application. Does anyone else have this behaviour?

I'm running CM12.1 on Xperia SP.
[Spirit FM] mikereidis:
That's normal for the free version.

Paid version goes directly to the app, and provides notification shade Pause, Play and Next controls as well as station and RDS info.
[Spirit FM] Jannomag:
Tried it on my HTC One Mini @ CM12.1 5.1.1 - didn't work.

App tells me I need a kernel with FM drivers.
[Spirit FM] mikereidis:
The message text says MAY. On supported devices MAY = true. Unsupported devices are unsupported and it's hard to tell the difference.

One Mini uses a Broadcom FM/combo chip, and I have no idea what "magic" is needed to enable FM audio on AOSP. Stock devices worked at one point, but stopped working at some release.
[Spirit FM] ykphuah:
Just bought a M5, and strangely I see this service that is running called FMTransmitterService, and the package name is com.mediatek.fmtransmitter.

However, there's no fm transmitting feature to be found anywhere on the phone.

I understand that the Spirit FM only works with Qualcomm chips is that right?
[Spirit FM] takis73:
Mike hello.I would like to thank you for this great app that i am using last 3 years.I would like to ask you if you are planing to develop this GREAT APP for the new generation qualcom devices like lg g4,htc m9 e.t.c. If you dont i am planning to downgrade my device from lg g4 wich i have now to my previous device htc m8 in wich your GREAT APP works perfect.THANKS.
[Spirit FM] mikereidis:
Spirit does not and will not (by me) support Mediatek FM chips. I think some Chinese hackers may have written a Mediatek plugin for Spirit2, but I can't read Chinese so I didn't understand their thread. :)

Spirit supports the Qualcomm FM/audio architecture, Samsung GS1-Note2 Silicon Labs FM and select devices with Broadcom FM/combo chips. Spirit1 also supports some ancient TI chips.
[Spirit FM] mikereidis:
:)

I thought I had heard some scattered reports of success on International LG G4 and HTC M9, but I've heard very little.

If Spirit does not work on any given phone now, I think chances are slim that it ever will.
[Spirit FM] takis73:
Thank you mike for your reply.If you remember these threads in which lg g4 and m9 worked with your fantastic app please tell me because i didnt find anything here in xda.Thank you.
[Spirit FM] Rinoceros:
The M9 might sometimes (randomly) work with Spirit FM UL but NOT with Spirit 2. Sorry. Both are working on the M8.
[Spirit FM] mikereidis:
If it's not here on this thread, it's probably not anywhere.
[Spirit FM] takis73:
Thank you guys .I am moving ahead to purchase htc m8 again.
[Spirit FM] ykphuah:
I can read Chinese, do you happen to keep the link of "their thread"?
[Spirit FM] setia4u:
which version is working with android 12.1 aka 5.1.1
[Spirit FM] mikereidis:
Spirit2 / SpiritF is recommended, on supported devices.

I also have a beta of Spirit1 that works on some devices, but it's only available to customers.
[Spirit FM] FacSBe:
Spirit2 works fine on Sony xperia Z3 Compact D5803 with firmware CM 12.1 (20151007)
[Spirit FM] shsaifee:
I am planning to buy Meizu m2 Note, but could see FM is missing there. The same chipset is used for other devices which has FM radio in that like Doogee F5. However, if someone can confirm that Spirit would work on Meizu m2, I can go ahead and buy the app.

Cheers

Saabir
[Spirit FM] orava:
Just bought the app (spirit2). Works great with CM11 / Galaxy s2. Keep up good work. :good:
[Spirit FM] aaron13:
I have no sound with youtube, spottify after using Spirit fm, a reboot is the only thing that helps than. I am using Nemesis 3.6 on my Note2.

Does someone has a solution for this?

Verstuurd vanaf mijn GT-I9300 met Tapatalk
[Spirit FM] jib@rmi.ge:
Before I buy it, is there a way to find out whether spirit will work on a specific device with specific system?

(Namely Huawei y300-0100 (u8833) with slimlp beta 0.9 by chil360)

The only thing I know is that /dev/radio0 is present and that the "standard" fm radio app that came with kitkat (also by chil360) worked well
[Spirit FM] guhvanoh:
I believe there are free versions of Spirit. Ask [MENTION=3575078]mikereidis[/MENTION] for a copy. If that then works, purchase it.
[Spirit FM] aaron13:
I have still an issue with Spirit 2. When I am listening FM radio with the headphones in and suddenly a telephone call is coming in I take out the headphone plug to answer the call. While the radio is still on the person on the other end of the line is hearing disturbance of the radio. What can we do about it?
[Spirit FM] KoscheiTheDeathless:
Stock Rooted 4.4.4 and 5.1.1 work on the Z3C as well.
[Spirit FM] electronic13:
Hello! It will support LG G3s (Beat)? In the latest version Spirit1 receive there but no sound!
[Spirit FM] mikereidis:
Sorry to anyone waiting on a reply here or on email etc. I got burned out on daily emails and development for the 2nd time this year and BADLY needed a break.

If you are a customer, please email me mikereidis@gmail.com for the best support I can give.

If you are not a customer, please understand I have to prioritize my and my family's sanity/health over helping you out more than I already have these last 4.7 years by releasing free versions

and writing the TONs of advice in this thread that can be searched via XDA or Google etc.

If you might become a customer, please understand the 2 points above. Please do not be one of the people who say they will buy, ask for help, then disappear when they get it working.

My income is roughly "poverty level" so don't call me a greedy dev. Try the free versions. Or email me mikereidis@gmail.com for a copy.

Or trust that I cancel any Play order on request within a reasonable time* and try it that way. I'm much happier to help people who have at least shown up on my customers list, even if temporary.

(Reasonable time*: I used to say forever & reduced to 30 days 1+ years ago. I've been off of email for about 1 month now, so of course I adjust for that.)

Thanks for your understandings, :)

Mike.
[Spirit FM] mikereidis:
I'm not sure.

If you are a customer, please email me mikereidis@gmail.com .

Maybe need to manually set Audio-> Method.
[Spirit FM] mikereidis:
If you are a customer, please email me mikereidis@gmail.com .

Spirit2 Play version or free ?

Have you tried Spirit1 or the free version SpiritF ?

Nemesis is a stock Note 4 ROM ported to Note 2 GT-N7100, correct ? With a working stock Samsung FM app ?

Spirit1 can use the stock Samsung FM APIs which may avoid problems.
[Spirit FM] mikereidis:
Email me mikereidis@gmail.com for a copy to try.

If that phone uses a modern Qualcomm FM/combo chip, then it should work if it's rooted, and if the kernel has the full FM driver (sometimes only half of /dev/radio0 is loaded.)
[Spirit FM] mikereidis:
Very unlikely to work.
[Spirit FM] jib@rmi.ge:
Thanks for the reply. I've already found the free version, it did not work. The phone is rooted. CPU is Qualcomm MSM8225, could not find any more details.

In fact chil360 says in the slimlp info that FM radio currently does not work.
[Spirit FM] aaron13:
It seems the problem is corrected with Spirit2 Real FM Radio 4 AOSP v2015_04_14.

The problems I had was in Spirit2 build 59

Disturbance on the speaker is now reduced to a very minimum.

Thanks for your answer Mike.

ps. Is there a guide for the inside settings of Spirit?
[Spirit FM] mikereidis:
:)

No Settings guide for Spirit2, but most of the settings shouldn't be touched anyway.

There's a guide for the older Spirit1 linked in the first page of this thread.