yashsingh1/xdaforums huggingface dataset:
[Spirit FM] jlbd:
No speaker when headphones connected on GNII N7100 ROM DN4 v2.1

dear dev, I am on Spirit2 free. Congrats, good app for ROM custom without radio tuner managed.

- I noticed that when headphones fully connected (jack entirely in the hole), audio goes on headphones automatically (with the notification : headphones connected on), whenever options I select within Spirit2. If I don't connect entirely my jack, I manage to get an antenna, the speakers works but I cannot move a lot without losting my antenna (jack out of the hole) ...

- Also, is that possible to save radio bands with "+" ? every time I launch the app I have to save them again

thx
[Spirit FM] mikereidis:
Yes, with the paid version on Google Play.

The Spirit apps are no longer providing the minimal income I need to live, so I am unable to support free users now.
[Spirit FM] idoit:
Please answer: Does Samsung Galaxy Mega 6.3" SPH-L600 have FM radio?

Can SpiritFM work on it?
[Spirit FM] mikereidis:
If there was no stock Samsung FM app, then it does not have FM.

There may be a tiny chance if it has FM, but I can't support it.
[Spirit FM] idoit:
Thanks for the reply, Mike.
[Spirit FM] anjeu67:
Is it possible to play via speaker with no headset?
[Spirit FM] waver1967:
yes , with headset plugged you can.(headset is antenna)

just swipe screen to the left and you wil see the option:D
[Spirit FM] mikereidis:
Latest versions of Spirit2 have a speaker/headset control crowded next to volume at top right.

Spirit1 has a control at bottom.

Some people have reported speaker mode doesn't work on some phones/ROMs.
[Spirit FM] mustasusi:
Note 3 Lollipop (LP 5.0.1)

Hello Mike,

I'm a man of good news, therefor I'm here to report great success with Lollipop on my Sprint Note 3. Took me about half an hour to settle it, updating to the newest Spirit1 version available in Play and flashing a few kernels. Currently on TW LP 5.0.1 with AEL kernel and Spirit is working Digitally (I disabled Bluetooth just in case) using XZ2 settings - what means I can also record full quality STEREO!!! Add it with the force stereo capability was already supported by this device for weak reception folks...Hell yeah I'm here to stay. it's a win-win-win-win situation: having the almighty Note3 with a mighty dual 10A batteries running a fresh whole new lollipop with smooth and silk interface+nice custom kernel and Stereo record on top of it!

And I thought I might just switch to LG4 as soon as it hits the shelves... Well, according to my new findings I guess this purchase would be delayed for another half a year or so.

God bless Broadcomm!:highfive:
[Spirit FM] glamourservices:
Spirit 2 works now quite perfectly on rooted stock Xperia Z firmware, out of the box!

Now, I have talked to some users that have Spirit2 on their devices as well but with the latest versions there is no PTY showing anymore, does anyone else can confirm?

BTW, I'm good at photoshop, is it possible for someone to make a skin for Spirit 1 or 2?
[Spirit FM] nicesoni_ash:
Hey Mike,

I sent a request to join spirit2 beta community on google plus. Kindly accept that.

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] Victoristics:
Issue on Xperia L related to QCom Antenna setting

Hi again Mike,

Just looking back at your April 17th reply to my post I see I overlooked to tell you the version number I have of Spirit2: It's 2015_4_14.

I had sent the build.prop file by email on April 18th for you to take a look at. I'd very much appreciate if you could help me with getting the QCom Antenna setting resolved, accepting of course that you are a very busy man with finite resources like the rest of us.

Keep up the good work.
[Spirit FM] mikereidis:
Great ! :)

Thanks for the report. Yes, it appears Program Type is not working on Qualcomm chip devices now. I'll look into it.
[Spirit FM] mikereidis:
Done. :)
[Spirit FM] mikereidis:
Will do. :)

You have it working now with a manual setting, right ?
[Spirit FM] Victoristics:
Issue on Xperia L related to QCom Antenna setting

I'm not totally sure what you mean by manual setting Mike, but It certainly works now. The problem though is that each time I switch Spirit2 off and then on again, I need to go into the QCom Antenna settings, change the setting to something other than External, exit back out of Antenna settings, re-enter Antenna settings and then re-select External before the sound is right. That's a lot of clicks (eleven, by my count) each time I want to use the app.
[Spirit FM] glamourservices:
Thank you Mike, make this perfect! And let me tell you all DXers swear by your name!

Now, the phones tested are Xperia Z and Samsung GS3! All working well with Spirit2!

We also tested on Samsung s7580 with no luck, is the Broadcom chipset not supported?

And as I said before, I'd like to do something for you in return, if there is a way to make a skin or do a translation for Spirit/Spirit2 let me know!:good:
[Spirit FM] Joangarc:
New HTC One M9

I can't use Spirit2 with HTC One M9.

Isn't it compatible?

Thanks!!!
[Spirit FM] powwow12:
Hi! I just installed SpiritF on a rooted G2 D802 with CloudyG2 2.2 rom. The message i get from the application is this:

" ERROR: Tuner API did not start or stop. This device may need a kernel with a working FM driver "

The FM radio application by LG is working just fine. What is it i am doing wrong?
[Spirit FM] dada56:
Spirit2 does not release microphone upon exit from application

Hi Mike,

This may be a known issue that has been addressed already, but nevertheless:

I have the latest version of your app (lollipop) installed on Galaxy Note 2 (n7100) with CM12 and android 5.1.1 .

Upon exiting the app I noticed that the microphone is not usable and locked in applications like 'voice recording' or 'google voice search' and unless I reboot the microphone is pretty much unusable.

How do I free up the mic?

Thanks.
[Spirit FM] kbal:
A mess :(

It totally messed my speaker/mic on M7ul rooted stock 5.0.2 Android. Headphones don't get detected anymore when I plug them on, I have to rum Spirit to switch between speaker/headphone output, and my mic does not work in calls. Even after reboot :confused:
[Spirit FM] dandriop:
Hi Mike,

I own a Samsung Galaxy S II plus (GT-I9105P). I'm using a custom ROM (CyanogenMod 12.1) [http://xdaforums.com/galaxy-s2-plus/orig-development/rom-cyanogenmod-12-1-t3084287].

I've installed SELinuxModeChanger (v1.2), then I've installed a spirit1 version I've found in this forum (Spirit_UL_2014_12_16).

I've switched SELinux to Permissive. Then in Spirit_UL I've changed the audio method to "Galaxy S3/Note/S2_ICS" and I have a fully working fm radio (sound quality is superb)

I've downloaded the Spirit2 Free app from here. But I cannot make it work. What I am doing wrong? [Spirit2 Free is supposed to support lollipop but the only thing it does is to try to enable tuner API, it countdowns to zero and then it says "ERROR: Tuner API did not start. This device may need a kernel with a working FM driver.". Why it says so?]

BTW. I've got only a month on custom ROM, so Spirit_UL is my first experience and I think you have made an awesome app.

Thanks in advance for your help.
[Spirit FM] hollandais:
Spirit FM

Hi Mike,

My son owns a I8190N, with a Golden Slimkat 4.4.4.

I own still one of the first Spirit FM radios 1017ul and 1026ul.

Can they be used on his phone?

Otherwise wich one can he use?

Thanks,

Bob Cornet, France
[Spirit FM] Juanpv:
I'd increase your Google Play price to make up for it, and then give the cheaper option to buy directly thru you via PayPal.

Titanium does a similar thing.
[Spirit FM] Gitaroo:
is there a version of this that does not require rooting?
[Spirit FM] gazzacbr:
well, i finally got my lollipop update and Spirit 2 works great (bought it a long time back but didnt work on KitKat)

so for the record,

working on HTC M8 Dual Sim, Lollipop 5.02.

good work Mike :)
[Spirit FM] guhvanoh:
Why does Spirit2 stop working when I'm listening to BBC Radio4 in the mornings going to work? When it stops the only way to get it back is to reboot my fone. Shutting down Spirit2 and/or killing it from Settings -> Apps doesn't work.

Sony Xperia Z2 D6503, stock, rooted running Lollipop 5.0.2 (23.1.A.1.28).
[Spirit FM] mikereidis:
Sorry, I didn't realize I'd been away from this thread for almost a week now...

The problem with Broadcom FM chip devices is that almost every phone, even from the same manufacturer, hooks up the audio differently, which requires me to reverse engineer what was done, find the audio solutions and try to ensure it doesn't mess up with phone calls and other audio notifications and changes.

So, for Spirit2 the only Broadcom based devices that I can support are HTC One M7, LG G2 and Xperia Z2/Z3. Adding official (or with BCM, ANY) support for a phone requires a large ongoing investment of time for me, as well as usually $500-$1000 for the phone itself.

Qualcomm is much easier, they are all almost the same (but still usually with special quirks in each generation).
[Spirit FM] mikereidis:
Spirit2 requires root.

I don't know what FM/combo chip M9 uses yet.

If it's Qualcomm, Spirit2 may/should work if rooted. If it's Broadcom or anything else then it won't.
[Spirit FM] mikereidis:
Go into SuperSU or where-ever and ensure that Spirit2 shows it has root.

Spirit2 is more likely to work if Bluetooth is off. There's a shim that can be installed for BT on though, but this has become more tricky on G2's running Lollipop.

You can try manually setting these:

Menu->Set->Service->Audio Plugin = LG2

Menu->Set->Service->Tuner Plugin = BCH

Restart Spirit2, or better yet reboot the phone after these changes.
[Spirit FM] mikereidis:
Hi,

You can try the experimental Analog audio mode with Menu>About>Debug>Analog, and there's a permanent setting as well.

By "locked" do you mean that the apps show a message that the mic is not available ? Or is there just no audio ?

Beyond that, please email me at mikereidis@gmail.com . I haven't seen this problem but I haven't been testing the latest ROMs for several weeks now.
[Spirit FM] mikereidis:
Spirit1 or Spirit2 ? What release date at Menu>About ?

There should be no permanent changes by Spirit2 that survive a reboot, unless you installed the Bluetooth SHIM or the ACDB Fix now found at Menu>About>Debug. Those can be reversed there.

Some Spirit versions from a year or so ago did the SHIM automatically though.

Do you still see a problem if you uninstall Spirit and do a full reboot ? Note that stock HTCs often enable a "fast reboot" that doesn't really reboot and clear everything. I've seen disables for that in Power Settings, but I have noticed a disable switch on my stock, rooted M8.
[Spirit FM] mikereidis:
:)

Can you show me where you found Spirit_UL_2014_12_16 ? That seems to be the paid, commercial version and I'm pretty sure I didn't release it as free,

S2+ is not supported by Spirit2, and it's unlikely it ever will, unless somebody who owns this phone finds a way to hack support into the open source Spirit2-Free.
[Spirit FM] mikereidis:
:)

For Spirit1, formerly "Spirit Unlocked/UL" 1216 (2014) is the latest on Play, besides a March 2015 beta. You don't have the latest ?

Stock or stock derived ROMs for 8190 might work with Spirit1 with the right Audio>Method setting.
[Spirit FM] mikereidis:
Regarding Google's new Euro tax deductions for developers:

In the end, now that I see the numbers, it's not as bad as I had feared. Maybe about 2% of my total sales have been lost. Maybe rising in future.
[Spirit FM] mikereidis:
Spirit1 runs on some unrooted stock ROM'd phones, but without some features like more RDS data and digital audio.

Usually if there is no stock FM app, then Spirit can't work, and more so when unrooted.
[Spirit FM] mikereidis:
Great ! Thanks for your report. :)
[Spirit FM] mikereidis:
Please email me at mikereidis@gmail.com .

Is Bluetooth turning on or off ? That will create problems on Z2. Have you ever installed the Bluetooth shim ?

You can try the Analog audio mode at Menu>About>Debug>Analog to see if it's audio related.
[Spirit FM] nicesoni_ash:
[MENTION=3575078]mikereidis[/MENTION]

Hi Mike,

I am using spirit1 on my s3 (4.4.4). Problem is everytime I receive a call, it doesn't resume after the call. I have to kill the app, then remove the headset, plug it in again and then run the app again and then it will work.

Any suggestion? You need any log or something?

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] hollandais:
Thanks Mike I'll get it a try.

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Spirit FM] guhvanoh:
It is possible that Bluetooth is turning on as I have it set to come up when I get in my car. I will turn it off permanently and see what the results are. I'll also try the analog audio mode and report my results here.

Thanks.

UPDATE:

Turned Bluetooth off and switched to analog audio mode. Everything worked fine and sound seemed better. Muted the output for a couple of minutes via the button on my earphones, JAYS5, and when I unmuted, the output cut it within 20 secs. Had to reboot to get back sound.
[Spirit FM] mikereidis:
Latest Spirit1 on Play or beta ?

Rooted GT-I9300 running a custom ROM I presume ? Default Analog audio mode or digital ?

Have you tried Spirit2 ? Email me if you want the latest to test, same as on Play.

Spirit1 has probably seen one of it's last updates, after 4 years now, though there is a 2015-03-31 beta that works on some Lollipop ROMs.

So if some setting doesn't fix it, then I'd think we're out of luck. I haven't even looked at a Spirit1 debug log in many months now, and I've half forgotten many of the details.

If Spirit2 works, that's the best answer, and there's a free, open source version with 90% of the full version code for anyone who wants,
[Spirit FM] nicesoni_ash:
This is the last play store version, I am not registered to beta for spirit1 but spirit2 and have installed its latest beta. I didn't test spirit2 for this as I use it only on my lollipop roms. To be frank I am not a big fan of spirit2 ui although I know you worked too hard on it so ignore my comment about its ui [emoji6] but I I'll try to test spirit2 for this issue and will report later.

Edit:

Ok, here is the update. Spirit2 seems to be working even after a call but I have different issues with this one. Doesn't work properly on Loudspeaker. Too much echo and garbled audio. Tried with both normal and digital.

_____________

Sent from my "GT-I9300/1+1" powered by Carbon Rom & Boeffla/ak Kernel

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] powwow12:
Thanks, it worked!

Another question: i tried to use a song recognition service while i listening to a station but it (the recognition service) said that the mic is in use so it cant process the request. Is this mic usage normal?

If you are still focusing your efforts on this Spirit project i think you should consider pushing it more in Europe. Over the air radio is still very much alive here. You can underline the recording option more, it is a feature that can't be found anywhere else (apart from a few samsungs that capture the audio in lowish quality). Maybe also offer alternative encode options and programmable recording
[Spirit FM] dandriop:
Here is the post i've found spirit_ul [http://xdaforums.com/showpost.php?p=60027886&postcount=1105].

Is there anything I can do, (provide infos, logs, test things, etc) to help you to support my phone? (ie I still don't understand why spirit1 plays and spirit2 doesn't).

Of course I'll pay/donate for your excellent app.

Thanks in advance.
[Spirit FM] van Krusten:
Hej,

When I start Spirit2 after a reboot I get

ERROR: Tuner API did not start or stop.

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

A workaround seems to be to start SpiritLight before. Then everything works fine. But I prefer to not start SpiritLight every time I wanna use Spirit2. Do you know how to solve this?

Thanks!

Version: Spirit2 2015_04_14

Phone: Galaxy S

Rom: SlimKat 4.4.4
[Spirit FM] mikereidis:
Good. :)

After the Lollipop re-design, Spirit2 does digital FM audio differently, because SELinux made the old methods unusable. This has pros and cons.

S2 Lol+ opens the microphone and reads from it and writes the audio data to standard audio output. Standard unrooted Android allows that, so there is no problem there.

THEN S2 Lol+ sneaks in "while Android isn't looking" and switches the microphone input to an FM input. This is needed because standard Android Audio HALs don't recognize FM, because Google hates FM.

So as far as Android knows, the microphone is being "recorded". Some people got concerned Spirit is "listening" to them...

Qualcomm devices may be able to change the Audio->Pseudo Source setting to one of the FM ones, and maybe song recognition MIGHT work.

You can record and play back...

My FM app business is dying and nothing I or almost anyone can do will change that.

AND, 4 years is a pretty long time for an app project. Source code for most of Spirit2 is out if anyone feels ambitious.

I'm working on an Android Auto Headunit app at this time, and think there are lots of fresh, ripe opportunities in the connected car area.
[Spirit FM] mikereidis:
Thank you, I've reported the post with my pirated app: http://xdaforums.com/showpost.php?p=60709034&postcount=1224

There is nothing I can do for S2+ at this time. If fewer people had pirated my apps, I would still be working on Spirit full time, but now my hours are limited.
[Spirit FM] mikereidis:
The other Spirit is likely loading the FM device driver and S2 is not. Some kernels may have an app that allows you to preload the FM driver.

Email me mikereidis@gmail.com
[Spirit FM] mervluk:
Thanks Mike

All I can say is thanks for all the work on Spirit down the years [Dr] Mike. At least for this user it's been worthwhile. The sound (with Viper) is the best I can get from a mobile on my Moto G, and louder and more vibrant (and most importantly reliable) than data. As I found when stuck in hospital for nearly a month (waiting for a transfer for a one day procedure so I felt fine, and it felt more like prison) FM works well around buildings where 4G and 3G don't, or poorly. Your medicine [app] was a life saver - well at least it kept me sane, together with my illicit excursions, accompanied by a pair of nicked hospital headphones from the nearly-useless bedside service! :D
[Spirit FM] rob_yx:
Hi Mike, any news on poor sound with qcom digital? On my g3 sounds like a low bitrate streaming
[Spirit FM] mikereidis:
Yes, for over a month now I think, assuming you have a recent version of Spirit2.

Do Menu>About>Debug>ACDB>Install .

After 20-30 seconds try restarting Spirit2, or better yet reboot the phone.
[Spirit FM] rob_yx:
I have the play store version 2015_04_14 and with acbd mod installed the sound in digital has a lower fidelty than analog (seems to be 22050hz sample rate and low bitrate, viper4android off). Without acbd the sound seems to be pre-amped, with distorsions, with acbd te volume is ok but in "lo-fi" mode. Another issue is that the stock rom notified me that spirit2 use a lot of battery when I use it.

I have another question, is possible to force the tuner in stereo mode? When stereo mode is selected it switch mono like "switch" mode. The one tuner that force stereo mode when "stereo" is selected is broadcom( i tried it in old phone with bcm); silicon labs is forced in blend mode and qualcomm in switch mode(however with more tolerable threshold than silabs).
[Spirit FM] idoit:
Mike, Galaxy Mega 6.3" has the same chipset and internals as S4 Mini. If it comes to work on S4 mini, it will be on Mega as well, right?
[Spirit FM] mikereidis:
Did you try the "analog mode" for better audio ?

Also try setting Menu>Set>Audio>Pseudo Source to the FM values 9, 10, 11 restarting Spirit each time or at least trying Pause/Play.

Digital audio modes will always take more power. My tests indicated that it wasn't TOO much more. Identifying power drains can be tricky. My best testing method was to run the batteries down and see how long they lasted, versus without playing FM the whole time.

The controls are the controls, and different chips have different drivers etc.
[Spirit FM] mikereidis:
Only way to find out is to test.
[Spirit FM] eng4r:
Well, after getting cm11 for galaxy s dous (gts-7562) could you please support our device i tried spirit 1 free and it gave some eror like please load a kenel with fm driver but we couldnt find it any where could you give us some tips [MENTION=3575078]mikereidis[/MENTION]
[Spirit FM] mikereidis:
I am no longer adding support for new devices.

Anyone with the skills and time and a phone to test with can take my open source Spirit2/Free and add support themselves.
[Spirit FM] Rinoceros:
Hi Mike, does this mean the HTC One M9 will receive no support for any Spirit FM?
[Spirit FM] modman2:
Does the Motorola atrix HD with Cm10.1 work with your app?? Looking to buy it, I just want to be 100% sure.
[Spirit FM] Rinoceros:
Try the free versions of them and if they are working, you can buy it.

Believe me; it is worth the money :D
[Spirit FM] mikereidis:
No.

Moto disables FM unfixably in hardware on all phones the last few years, except the budget oriented Moto G's and E's.

FM is dying (In North America especially) and Google/Apple/VZN/ATT and many others are working to speed that up.
[Spirit FM] mikereidis:
Do you know if it has a Qualcomm FM/combo chip, or is it Broadcom ?

If it's Qualcomm then Spirit2 should work on rooted M9's. I'll do my best to support this, but don't anticipate buying an M9 myself.

Same goes for any phone with Qualcomm.

If it's Broadcom (or anything else, which is extremely rare now) then I'd have to buy one to support it, and I will not be doing that.
[Spirit FM] Rinoceros:
Hi Mike,

Thank you for your answer. The M9 has a Qualcomm chipset. But I receive the message ERROR: Unknown device.

The M9 is the current flagship of HTC and extremely expensive. Don't buy it!

I am on the beta channel of Spirit2. If you want to give it a try ;) I am willing to help. Spirit 1 gave directly after installation sound on the "automatic" setting but refuses to do so afterwards [update: it worked this morning again - on analog :o]. I think the M9 has different audio processing and I have my doubts if it will work. Don't spend to much time on it. I am also using a M8 which is working flawless with Spirit 2 (so I do have my radio :D:good:)
[Spirit FM] Borfas:
works for galaxy s5/G900F ? Buy full version if it works.
[Spirit FM] eng4r:
Well, MR [MENTION=3575078]mikereidis[/MENTION] if you tell what files i do need and where to find ,we might be able to do it but i dont know. What files or drivers so if you please help me a little with tha:cowboy:t. Or if i provide you the files needed and you compile it for us .

Just tell us what to do

Thanks
[Spirit FM] Borfas:
thank ;)
[Spirit FM] mikereidis:
Many people tell me the "SOC" is Qualcomm, but the SOC/CPU doesn't matter, except that it usually needs to be ARM, which is over 99% of the market anyway.

What matters is the FM/combo chip.

But since you got it at least partly working with Spirit1, it is most likely Qualcomm.

With Spirit2 on a rooted phone, you should be able to bypass Unknown device by manually setting FM chip and Audio:

Set Menu>Set>Service>Audio Plugin to QCV.

Set Menu>Set>Service>Tuner Plugin to QCV.

Now restart Spirit2. or if that doesn't work reboot the phone.

If you get sound, but it sounds awful, there is an ACDB hack that can be done.

HTC did pretty well with the One M7 and M8. But the reactions from Android enthusiasts about M9 has been pretty bad; it's not much better than M8 and the camera finally has higher res but otherwise is not so good.

So even if I was still adding support for new devices, the chances I would get an M9 would be slim. HTC was one of the few brights spots for me in a market where FM is disappearing from flagships, and it's mostly flagship buyers who buy apps.
[Spirit FM] mikereidis:
Sorry, but it's not something I or anyone can give instructions for.

If it was that easy the market would be full of FM apps.