yashsingh1/xdaforums huggingface dataset:
[Spirit FM] Kess78:
Hi Mike,

I just want to report a problem with the latest version of Spirit Transmit (Jan 28 Beta) on Xperia Z1 Compact with stock 4.4 build.

The transmission itself works with audio and RDS but the frequency is not displayed in Spirit T and when I press the button to change it nothing happens. In fact when i start the app, the transmission begins and the volume is raised to max but the app hangs on Spirit T Starting. When I press back I can press the On/Off button at the center of the wheel and it will turn blue immediatly without nothing else happening, and if I press it again the app stops normally.

Also after using Spirit Transmit only the right channel is working on Spirit 1 using analog or with the default radio app. I think this happens only since the version of Spirit Transmit based on Spirit 2.

Regards
[Spirit FM] Marek89:
hello, on my xperia Z is not avaible record. Whats a problem ? In my phone ??
[Spirit FM] mikereidis:
Yes, there are still some bugs to work out.
[Spirit FM] mikereidis:
Record is not available on the free versions of Spirit1 and Spirit2.

Which app and version/date do you have ?
[Spirit FM] mikereidis:
Spirit2 probably thinks your device is Qualcomm based. It only shows the shim options for Broadcom devices: HTC One M7, LG G2, Xperia Z2+.

I think Spirit1 should only use the HCI Access method specified, unless at the default of Automatic. So UART should force BT off before accessing UART, and Shim should force BT on, and install shim if not already installed.
[Spirit FM] mikereidis:
https://www.codeaurora.org/cgit/quic/la/platform/vendor/qcom-opensource/fm/
[Spirit FM] Marek89:
I have version spirit 1
[Spirit FM] -Jonny-:
I'm using Spirit1 on HTC Sensation. Headset volume is very loud. I've only got it on very first click (1%). How can I turn it down?
[Spirit FM] Satir0:
LG G3 D855p ROM Resurrection 5.3.2 + 777 Kernel R4 = Work Spirit 2 :D:D:D
[Spirit FM] sdeft:
So if I want to switch bluetooth on and off without breaking it, I need to leave bluetooth on before starting Spirit 1, am I correct ?

Or is there an alternative ?

(If bluetooth is "disturbed" it can only be fixed by rebooting phone.)
[Spirit FM] sdeft:
What happens if the /system/addon.d/ directory is not there ? In my case I have delete it.

Could you please verify the below regarding bluetooth shim installation for Spirit 1.

If you select it, it will push libbt-hci.so in the /system/lib/ and it will then force a reboot.

If you then wish to remove it you go to menu/test/remove shim and it will do the job.

Where does Spirit 1 backup the original libbt-hci.so ?
[Spirit FM] mustasusi:
Sony has Broadcom too! I wonder if is it a "radio-friendly" version of BCM and how much investment you put into Sony devices since it goes too well. Your program tends to think what I would like to think, no emulation for physic hardware unfortunately. On Spirit1 I see only option to remove shim but no re-install (automatic when Spirit is re-installed?). The problem is that it forces Bluetooth off forever, even when Spirit is off. I can manage not using Bluetooth while listening to the radio (a thing I can certainly do on stock "Hybridradio"). The occasion when I needed Bluetooth on along with radio is so rare to me anyway. But for Bluetooth back on do I need to re-flash ROM and then reset exposed, that means 2 more reboots...

As for now I freeze the 2 Bluetooth tasks with Titanium and launch Spirit. It gives an inaccessible error so I change HCI to "int HCItool", click the power button and it shows -128. I then change it back to UART and close Spirit. Relaunch and it's fine, till next time I turn on Bluetooth. I need to see how it's like in different Sammy based ROMs, as even 4.4.2 version can have various behaviors.
[Spirit FM] desalesouche:
hi sir. I would like to mention that free spirit has been working without any problem on my device (huawei u8860) since JB rom to KK rom without any single problem.

with android L apps stopped working... so my dev mate did some change about bluetooth permission , audio change, added fm analog path for speaker in kernel side :that part was missing when kernel has been upgraded from 3.0.101 to 3.4, and now free spirit fm still works on android L.

what a longevity! i am waiting that my friend push change on github. so i can enjoy fm again on my device with spirit fm.

i will put link of change to github once my friend pushed commits. may be it can help some old device like mine to still get fm.

may be it can help to get a spirit 1 made for Lollipop?...

another point i would like to report: i tested on my sony xperia z c6603 running 4.4.2 spirit 2fm. it is working nice.

but when i swicth to stock radio i can observe that my earphones are not working correctly, the left ear is very low in volume. quite =0.

if i switch to spirit2 earphone is working normally. if you need more information...

regards
[Spirit FM] LenAsh:
I had the Dev put the FM Driver in the AOSP compatible kernel HERE for the LG G3 d855. Spirit 2 now works fine on CM12... except the sound is poor (distorted) - like it's clipping.
[Spirit FM] thankapan annan:
Can you please provide me with the link for samsung galaxy grand gt19082 and kindly say how to install this spirit fm.... :)
[Spirit FM] carabao72:
Please click one of the Quick Reply icons in the posts above to activate Quick Reply.

---------- Post added at 07:09 AM ---------- Previous post was at 06:56 AM ----------

hello,

I bought long ago the spirit fm1 then the spirit fm2 to encourage the developer. If spirit fm1 gave me complete satisfaction under kitkat and subordinate, I cannot say that the result is the same under lollipop (resurrection remix lollipop 5.3.2 with N7000) and spirit fm2.

I do not succeed in running her(it) suitably. Enter the application which freeze in the starting up, the problems of sound and blocking for the other applications)... The application for what concerns me is unusable as is. It's a pity because I had any blames for making of the spirit fm1.

I sent several reports(relationships) of error when the application allowed it me.

Thank You

Bonjour,

J'ai acheté il y a longtemps la spirit fm1 puis la spirit fm2 pour encourager le développeur. Si spirit fm1 m'a donné entière satisfaction sous kitkat et inférieure, je ne peux pas dire que le résultat soit le même sous lollipop (resurrection remix lollipop 5.3.2 avec un N7000) et spirit fm2.

Je ne parviens pas à la faire fonctionner convenablement. Entre l'application qui se bloque au démarrage, les problèmes de son (absence et blocage pour les autres applications),... L'application pour ce qui me concerne est inutilisable en l'état. Dommage car je n'avais aucun reproche à faire de la spirit fm1.

J'ai en voyé plusieurs rapports d'erreur lorsque l'application me le permettait.

Merci
[Spirit FM] mervluk:
Thanks Mike. Not sure what's happened with the 31st January beta, but Spirit 2 has suddenly started working fully as well on my 4g XT1039 Motorola G running kitkat as it always has on my spare XT1033 on L. Previously no audio, everything else worked. No changes at my end and both phones have the same apps and config.

Only minor issue is that whereas my other phones close the app with stop and back button, the XT1039 requires backspace AND then clear the app in the recently-opened list.
[Spirit FM] tokar215:
Hi Guys. Somebody have SpiritTransmit v2 for xperia Z? I trying to find it, but this thread is BIG like Bible. Thanks
[Spirit FM] mikereidis:
Settings - Audio - Volume Scale = 10 or 20 or whatever works.
[Spirit FM] mikereidis:
Size doesn't matter. :)

Look at bottom of my sig or just search "Transmit" in post #1 of this thread.

That is the old Spirit Transmit (SpiritT) based on the Qualcomm FM app code.

The Spirit2 based SpiritT is only on Google Play though.

But the Spirit2 Free/Open source, and latest Spirit2 itself, both have "hidden" transmit modes, with no RDS support.
[Spirit FM] mikereidis:
Working now ?

Great ! :)
[Spirit FM] mikereidis:
Bluetooth must NOT be changed, to on OR off, while Spirit is running.

What is the point of turning Bluetooth on (or off) while Spirit is running ? BT headset is not going to work with FM anyway.

But now we have other BT devices, like smart-watches, medical/fitness, and perhaps a desire to smart unlock ?

/system/addon.d/ is not on most/all custom AOSP ROMs and the effect is the same. When the ROM is updated, the Spirit shim will be over-written (if the ROM update provides that library, which they almost always do, but delta updates may not have).

So if the shim is over-written, Spirit needs to re-install it for BT ON operation.

Yes.

On latest Spirit1/Unlocked (for at least 4-6 months now), BT shim is ONLY installed if Debug - HCI Access is set to Shim, and I think BT must be on also, but don't recall if Spirit will turn it on itself. It may.

And you can remove shim with that menu function, or a special code or menu function in Spirit2.
[Spirit FM] mikereidis:
Do you have the latest December 16 Spirit1 ? It should not try to install the shim UNLESS you set it to use shim. If you can demonstrate this happening, end me a debug log from Spirit1. Tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.

Spirit still does not automatically update shim, mostly because it has changed so little and using an old version is OK. Only way is to remove, followed by re-install. But don't install or re-install for your case; you don't want or need it.

I bought a Z2 tablet presuming it would be Qualcomm, and be able to transmit like Z and Z1 era Sony's. I was disappointed.

But it means I have been able to support Z2 and Z3 era Sony's. Yet Samsung GS3 and GS2 sales stats are huge, while Sony remains a trickle. :( Too many Sony's can not be rooted or BL unlocked, so Android enthusiasts are less excited by Sony's and the need for Spirit on them is low.
[Spirit FM] tokar215:
No good. I try to find transmit v2 without radio.

V1 is not so bad, but sound in headset is little bit annoying.

I think its the best time to pay :D
[Spirit FM] mikereidis:
Good start. :)

This happens because Android turns on microphone processing, which wrecks good audio.

Can you run adb shell from a connected PC ?

If yes, try this:

adb shell
mkdir -p /sdcard/spirit/
cd /sdcard/spirit/
echo 5 > aud_src

Then press Pause/Play twice, or start/restart Spirit2.

You can also try these, restarting audio with Pause and Play after each:

9 or 10 are actually much better if they work (underneath, send a debug log to confirm), as it's a direct, proper and non-root (for audio) supportable method for getting FM audio data.
[Spirit FM] mikereidis:
:)

I am the Spirit developer, for 4 years now, and try to answer every question on this thread or emailed to mikereidis@gmail.com within a day or two.

Email me or join the G+ group for the latest beta test releases.

The first, very alpha releases of Spirit2 were 2 years ago, the beta's 1 - 1.5 years ago, and now "release" Spirit2 for the last 12+ months.

And still there are some major issues on some ROMs/phones that keep me working 60-70 hour weeks. I think I finally cleared up some bad phonecall audio issues in the latest beta/Lollipop releases. I Finally added ability to delete and rename presets.

I have spent the whole last week and a half (and countless hours before) trying to track down JNI resource leaks that seem to be in every AOSP Lollipop ROM (but not the "professional" OEM ROMs.)

It's not a Spirit bug, but I do what I can to minimize the effects. There aren't many apps that "spam" notification shade, lockscreen, remote AVRCP and widgets with a new RDS PS every second or two.

Lollipop re-design of Spirit2 took over 3 months due to new security. Chainfire said "Much root app breakage" and was right. See Xposed for Android 5 ?

And now I'm in an at least 3 month phase of making adjustments and related improvements. Spirit2 VERY re-designed requires lots of new stuff and fixing.

And ROMs are a moving target. I have to trouble-shoot the kernels people have on phones I don't have to figure out how the kernel/ROM devs can fix there problems.

EveryBody is complaining about Lollipop ROMs. EVEN on stock devices, MotoG (GPE and Brazil), One M8, Nexus.... Google Nexus devices still have big memory leaks.

No Xposed. No "official" CM ROMs yet. No many things still.

Spirit is a highly, root, highly low-level, highly system oriented app that must run on MANY ROM and phone combinations.

Stability and good device support takes time and lots of little code additions. Especially with the high speed moving targets of custom AOSP ROMs.
[Spirit FM] mikereidis:
Great !

It can take a lot of time, but sooner or later I find and fix the most important bugs. And I figure/hope people will report the positive... :)

Spirit2 code got pretty messy/fragile in the Lollipop re-design and I had to go back, clean the code and improve it bit by bit.

I hope I can get it working on most Kitkat ROMs, so that most Kitkat users can get a more recent version than the frozen November 28 Kitkat release.

Backspace ? You mean Back ?

You have to do this to turn FM off ?

Can you turn off with the square button in notification shade ? Or on homescreen widget ?
[Spirit FM] mikereidis:
Yes. :)

Anyone can email me at anytime to get a test release of any of my apps.
[Spirit FM] carabao72:
Hello,

One very thank you for your very complete answer.

Even, if I do not know am not sure, to have understood well all the nuances of your answer.

I do not question of course all your work on this program since for years.

If, I can help, to make tests or something else does not hesitate.

Thank You

bonjour,

Un très grand merci pour ta réponse très complète. Même , si je ne sais suis pas sûr, d'avoir bien compris toutes les nuances de ta réponse.

Je ne mets bien sûr pas en doute tout ton travail sur ce programme depuis depuis des années.

Si, je peux d'aider, à faire des tests ou autre chose .... n'hésite pas.

Merci
[Spirit FM] mervluk:
Sorted, I think. FM audio is turned off using either the pause/play or stop (square) button at the bottom of the Spirit2 UI. To close the app I find it easiest to just use the back "button". That wasn't working on the XT1039, and neither was the close square button on the notification shade or lockscreen widget. I could close it though by clearing the recent apps (but not a fc through the apps list, strangely). I suspect Viper4Android was to blame, first run it seems to take up to an hours playing before the drivers recognise a new audio source; thereafter they come in after 30 secs or less from the start of playing. Once they do - I can hear the difference and the sound is louder, my main point of having them - then it seems that closing the app works as on the XT1033.

I suspect the controls on the lockscreen/notification shade work too, unfortunately, as I keep the phone in my pocket whilst listening on headphones, and it seems I have the habit of "hitting" the phone whilst moving around which if the screen is showing for some reason causes Spirit to jump frequency. You can deal with the software problems, but not the bugg*rs that use it!
[Spirit FM] tokar215:
Thats be great, if I can test v2 before i gonna buy full
[Spirit FM] sdeft:
I was not talking about turning bluetooth on while Spirit was running but while Spirit was off. Bluetooth just doesn't come on unless you reboot the phone (All settings to Auto). Anyway I found a way by using shim.

Where does Spirit 1 backup the original libbt-hci.so ?
[Spirit FM] mikereidis:
The free version of Spirit2 does not "connect" with the EQ/effects system. You could try it and see if the problem stops.

Qualcomm devices have a hack in Spirit2 that "kickstarts" the FM chip when audio becomes silent. There is at least one bug in this hack that is fixed for next release.

Very strange bug I haven't tracked down yet. I only know that sending almost any command (like set frequency) to the chip wakes up the audio again. Maybe some power saving feature that doesn't realize that FM is running.
[Spirit FM] mikereidis:
Good. :)

libbt-hci.so gets copied to same directory with an "o" at the end of the name, before extension: libbt-hcio.so

"o" is for "old" or "original".
[Spirit FM] panamera2011:
Hi [MENTION=3575078]mikereidis[/MENTION] I tested Spirit FM in my Honor 6 with CM11 4.4.4

The app recognizes the FM radio and find all frequencies with RDS but the audio does not work, the chipset HISI Hi6401 is not recognized.

Do you think in the future you can solve? Your app is really nice :)

Thanks
[Spirit FM] DoctorStrange96:
Does Spirit work with the Moto G GPE? I'm asking this because I have a standard dual-SIM model (XT1033) that I want to convert to GPE (which is single-SIM, XT1032) and I know that the GPE firmware did away with the FM radio. And sometimes I listen to radio, so I'm thinking of using this app as an alternative.
[Spirit FM] mikereidis:
:)

No, I only officially support devices I own, and I will likely never own a Huawei anytime soon.

There is a Free/Open Source variant of Spirit2 now. I will try to make it as easy as I can for ROM builders and devs to add support for new phones. So maybe at some point.
[Spirit FM] mikereidis:
Yes, Spirit works on MotoG GPE, as long as it's rooted.

Worked fine on mine...
[Spirit FM] mustasusi:
I'm afraid it's not possible. I'm using the version YOU sent me 2 weeks ago.View attachment 3152655

If HCI is set to "Bluedroid shim" it would install shim and entirely disable Bluetooth - whether Spirit is off, as if it "forgot" to grant permission for Bluetooth back on when done with Spirit. To bring Bluetooth back, it's enough to remove shim and reboot phone. Then Bluetooth can be toggled on\off again. I don't know why but for some reason in this particular ROM it tends to struggle with Bluetooth unnecessarily compared to previous one, using the very same (custom) kernel - never worked on stock. I have faced the same behavior with a ported Note4 ROM I have tried, where the device is identified as N910P. Apparently there is something with this series of ported ROMs by [MENTION=2744265]sac23[/MENTION], where a stock radio can be found but on top of it - they're no Note 3 native. On Note 3 based ROMs it just works out of the root as a standalone. Including official releases with custom kernels. Maybe it's a good lesson for how it's going to work (or maybe not) on those devices, as long as they don't ship with Lollipop version out of the box, what means I'm short in time. I believe the LG G4 will be already out by then and maintain a radio-friendlier approach. Currently I have to freeze the Bluetooth task with Titanium and Spirit should work, I can then defrost BT but without turning it on. Stock one won't operate until Bluetooth is back on (and can stay on along with it).
[Spirit FM] mervluk:
I suspect I may have tracked it to a Bluetooth issue, possibly with the Qualcomm chip in Moto G 2013 phones, at least. It seems random but may not happen when Bluetooth is off, and with each phone has slightly different impacts:

on the XT1039 4G LTE (4.4.4), Spirit 2 stays on both on correct frequency and the data/frequency display on the UI stays active, but the audio "jumps" to the initial set up frequency at the start of the FM range as it was before the initial tuning, and has to be manually set back to the relevant preset;

on the XT1033 dual sim (5.0.2) both the audio and UI data clears, with no audio. Sometimes I can just reset to the preset, and sometimes have to restart.

Nothing at least to do with manhandling the phone! Sadly I don't now have the stock FM App in the debloated roms, so I can't check whether it has the same problem. I think on the XT1033 last time I tried it had no audio (at least with Bluetooth on). EDIT: oops, just realised it's not Bluetooth per se, one connected piece of apparatus (a tracker) had been reset to update continuously, when set back to update manually only the problem disappears. Sorry.
[Spirit FM] gazzacbr:
Hi,

I have a HTC M8 (dual sim, not sure if that makes any difference).

I bought Spirit version 1 a long long time ago (for HTC HD2) and it still works fine on my new HTC M8 :)

I bought Spirit2 but does not seem to work properly.

EDIT: ok, uninstalled and d/l latest from playstore. It starts and having turned the vol right up there is a faint tinny sound.

Where are the settings like Spirit1? I remember I changed the sound mode somewhere a long time back.

Does this only work on Lollipop?

I am on Maximus rom 4.4.4, not sure how much different that is to stock though.

thanks for great app anyway...
[Spirit FM] dk147in:
Hi

I have just install the CM 12 Lollipop ROM on my Note 2 n7100 and tried to run sprit1 FM app but that done not started and same error message appread on launch.

So I purchased spirit2 FM app (costly but bought) but it is still not giving sound and message of starting app takes too long while launching the app...

please help

Thanks
[Spirit FM] dk147in:
Hi [MENTION=3575078]mikereidis[/MENTION]

I have just install the CM 12 Lollipop ROM on my Note 2 n7100 and tried to run sprit1 FM app but that done not started and same error message appread on launch.

So I purchased spirit2 FM app (costly but bought) but it is still not giving sound and message of starting app takes too long while launching the app...

please help

Thanks
[Spirit FM] mikefnz:
Spirit2 working fine on my N7100 running CM12.

A clean install (app and/or ROM) can often fix problems.
[Spirit FM] noob to android:
Hi there,

I was just going through your app for my galaxy s advance on cm11 kitkat 4.4.4 rom by Novafusion.

I just read a particular post wherein there were some speaker related issues with another phone ( I9300).

Are the issues only limited to the I 9300 or it affects the s advance??

Is it compatible with s advance on CM11 Kitkat rom by Novafusion?

and if so which version Sprint fm 1 or 2??
[Spirit FM] naikaniket.23:
Help Please

Guys recently the Samsung S7562 (S duos) was provided with unofficial CM11 but the radio isn't available in it. I am new to all this, so please can any one help to configure the Spirit1/ Spirit2 for the same? The phone has hardware inbuilt as ICS had working radio .

Sorry if I sound idiot but I don't have any knowledge about rom & app configuration.
[Spirit FM] decegeman:
i have lg g3 d855 + temasek´s rom + kernel777 R6 and for me the spiritfm doesn't work :confused:
[Spirit FM] Cookie Ninja:
[MENTION=3575078]mikereidis[/MENTION],

Noticed a spirit app version released on the f-droid repository. Have you released an opwn-source version or has someone else reverse engineered an open source version? If you've done this , good work!

Dead Cookies leave no trails...
[Spirit FM] mikereidis:
Sorry for my absence and delays everyone. I started a re-coding "marathon" on the weekend and it stretched for a week. ;)

It was nice to ignore the world for a week, but I have close to 100 emails to get through now...

There was a 20151208 test release of Spirit2 posted for the Play beta group on Sunday, and there is a new 20150212 beta posted today.

These test releases have a very experimental analog mode that currently works on GS3/GS2/GS1/Note2/Note1.

Analog mode (like Spirit1 default) has several positives and negatives. One positive is a way around digital audio issues on some devices, like the LG G3 at present, and the Xperia Z2/Z3+ running Lollipop ROMs.

Also the last vestiges of the long dead Sony/ST-Ericsson Android FM API have been replaced with pure Spirit2 code, with every line of code written by me.

Bugs are to be expected, but there are many improvements that are long overdue.
[Spirit FM] mikereidis:
There was a bug in the Spirit2 "kickstart" hack code that could change frequency to an unwanted one.

I have made major changes to the Spirit2 low level code this past week, but I still see the problem. I'll try to tackle it.