yashsingh1/xdaforums huggingface dataset:
[Spirit FM] SaurusX:
I've tried two different pairs of headphones (all I got) and there is a marked difference when they are plugged in versus when they're not. Plugged in I get a max signal of 10 and get station data, while without them the signal drops to zero or negative. I've flashed back to Motorola's official gingerbread update and the stock FM Radio app works beautifully there (with headphones, of course).

That thread at rootzwiki is the one. The DroidX is in the offical CM7 update tree and it gets nightlies built every day. I just think that cyanogenmod.com isn't updated very often. :)

No real difference when running those commands. Take into account that I know nothing how your app works, but it really does sound like the antenna/headphones are only being sparsely used. There are a few others reporting success with your app and the DroidX, but many others are experiencing the same non-reception issue as I am. I think the people getting it work are sitting in front of the broadcast tower. ;) Thanks for your time trying to help me out.
[Spirit FM] SaurusX:
One more thing for thought, all the stations I tune to are off -.6 from their true frequencies. For example, to get 94.7 I have to tune to 94.1 and this hold for all stations.

EDIT: This seems to vary with each instance of the app. I was just checking it out again and it was -.4 off. I don't know if this makes any difference in the slightest.
[Spirit FM] mikereidis:
In post 755 you said you weren't receiving any RDS data. http://xdaforums.com/showpost.php?p=15787244&postcount=755 So now you ARE getting RDS "station data" ?

On my TI based Legend I get RSSI "10" just from static and RDS doesn't start working until 30 or so. It's possible the chip in your phone, or the firmware running on it, is substantially different than mine.

That's possible....

That seems bizarre, but software bugs CAN seem bizarre.

I'm working on a new release that has better debug logs that can easily be sent to me via email from your phone. I hope it will be ready within 24 hours and you can try it.

Thanks...
[Spirit FM] nirajvashi:
Thank you very much for your kind response. I will be obliged and grateful if you kindly answer my following query:

Can you advise me on whether the Samsung Galaxy Note 2 - N7100 can work without plugging in the headset or anything else in the 3.5 MM Jack?

Thank you once again.
[Spirit FM] nicesoni_ash:
Hi mike,

This seems to be off-topic but I have a question regarding note 3 sprint version. I am from India and I am planning to order a snapdragon note 3 from us, however as I read in ur post that sprint note 3 support fm, will your app would work on it too? Also is this note 3 from sprint is samw as any other snapdragon version of Note 3?

_____________

Sent from my GT-I9300 powered by Temasek Rom & Kernel

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] kristalic:
Method to "msm7x30 Custom". not work at all through speaker\headset :(
[Spirit FM] mikereidis:
Did you also set the Debug values and restart Spirit ?

If you're a customer, please email mikereidis@gmail.com
[Spirit FM] mikereidis:
Yes, I have an N7100 and it works OK with no wired headset plugged in.

But the phone MUST be rooted, or much better yet, loaded with an AOSP ROM.
[Spirit FM] mikereidis:
I don't know if Spirit can work on Sprint Note3, nobody has ever reported yes or no.

It may work. But if there are problems, there's not too much I can do.

I don't know much about Note3, simply because over 99% of them have no usable FM, and I have to focus my time on the most popular devices among my customers.
[Spirit FM] nirajvashi:
Hello, I am from India as well and have thought about importing a Sprint Note 3. But, the important thing to note here is that Sprint is a CDMA Carrier so it may only work with Reliance or Tata Indicom. Another important point is for using it in India, it needs to be unlocked. I have come to know that the unlocking of Sprint Note 3 - N900P can be done only through Sprint which means we may not be able to get it unlocked in India. Also, one more thing we need to check is whether Sprint Note will support GSM and CDMA Bands in India. I think it will not. I would be thankful if you find some more information about the Sprint Note 3 and post it on this forum for the benefit of all India FM Radio Lovers on the Smartphones.

Thank you
[Spirit FM] mikereidis:
Sorry, no, I work 60-70 hour work weeks as is, and don't have time to research phones for you.

I have a Sprint LG G2, and there is a ROM for it that seems to effectively turn it into a GSM International phone, so I guess CDMA just becomes an un-needed add on.
[Spirit FM] kristalic:
Sorry I did not rebooted SpiritFM after configuration changes.

Everything works fine :good: , thanks for your help.

good luck! :)
[Spirit FM] rkdss:
Anyone having problems using Spirit Unlocked in recent versions Kit Kat nightly of CM 11 and AOKP ?

Somebody else with this problem?

Device: Xperia ZQ Brazil (ZL)﻿
[Spirit FM] mikereidis:
Power error can happen if the V4L FM driver in the kernel isn't "right".

I'm seeing cases where kernels are being changed to disable "modules" and the V4L driver for Qualcomm chips never works when it's not a module. For this reason I'm still running a 2 month old CM11 on my OneXL.

You can try alternative kernels, but I'm seeing that alternate kernels are usually aligned with the kernels in AOSP ROMs.

You can send me a debug log. Run Spirit, tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.

Sadly, it's not just some OEMs and carriers saying "We don't care about FM anymore".

In some cases it seems to be ROM and kernel devs, and Google AOSP may have a hand in this too. :(
[Spirit FM] rkdss:
OK. I'll be providing the error log for you soon.

Thanks Mike!

Enviado de meu C6503 usando Tapatalk
[Spirit FM] ubigred:
I have the Sprint Note 3 4.3 rooted..... Willing test out anything you want.

Sent from my SGNote 3
[Spirit FM] nirajvashi:
Hello ubigred,

Thank you very much for your kind gesture. I have the following requests for you:

1) Can you play the FM Radio via Spirit FM without inserting anything in the 3.5 MM Jack? SpiritFM has this facility which can disable the requirement of an antenna i.e the headset/

2) Can you kindly check which GSM Bands does Sprint Note 3 Support? I want to bring the Sprint Note 3 to India but in India only the following 2G and 3G Bands are supported:

- 2G Bands - GSM 900 and 1800

- 3G BAnd - 2100.

The Sprint Note 3 User Manual confirms that this phone supports international usage but which bands does it support is not mentioned.

I once again thank you for helping.

Niraj
[Spirit FM] LenAsh:
See here (only 1 page back)

http://xdaforums.com/showpost.php?p=50806322&postcount=7603

Also, why should the developer of an FM Radio app know what the GSM band coverage of a phone is? There are other resources for this, so use them.
[Spirit FM] mikereidis:
I am officially changing my Refund policy, after getting a surprising request. He said he missed the 15 minute refund window. 18 months ago. That's a bit too much.

Former employers generally don't ask for the salary they paid back over a year previous, and so shouldn't people claiming to have missed the window. I already paid the taxes on that income, and the rest went to phones and the necessities of life.

From January the Play store description said 90 days, I've changed that now to 30 days.

If a request goes beyond the 30 days, explain and I'll use my discretion. I'll be more amenable, for example to someone who purchased Unlocked up to 6 months ago, who wants to upgrade to Spirit2.

Thanks. :)
[Spirit FM] mikereidis:
Thanks ! I am a bit curious about it, since it's such an unusual and rare FM supporting GN3.

As I understand it there is no Samsung FM app, but there is a NextRadio app on Play you can load onto it ?

If you don't have the latest Spirit1 Unlocked, email me mikereidis@gmail.com . Once you have it please send a debug log.

Run Spirit, grant SU, and after it starts, or more likely fails to start:

Tap the frequency button, enter the number 7 and tap "OK". After 20 seconds or so, press Send from your email client.

I'd guess like the other GS4s and Note3's that it uses a Broadcom BT/combo chip. And I'd guess it uses the same chip or FM. Every previous Galaxy S and small Note class device used a Broadcom chip for BT and WiFi, but ignored the FM part and used a dedicated Silicon Labs FM chip for FM.

So, the FM tuner part may work, but I'll guess that audio may not work. But it might if it uses the same Samsung FM audio API as does the GS2/GS3/Note/Note2.

I believe Niraj was asking me about this ROM, which seems somewhat derived from a Note3 ROM, ported for the Note2 GT-N7100: http://xdaforums.com/showthread.php?t=2504016

It seems an interesting ROM so I've tried it out. Spirit1 works OK on it, with root at least. The OEM API doesn't work (likely "updated") and digital audio doesn't work, so Spirit2 doesn't work.

Anyway, there's a fine working Samsung FM app on it that is updated in the UI a bit from the last I saw for the GS3/Note. The existence of this app means that I'm not too interested in supporting the ROM properly, with all the usual Spirit1 and Spirit2 features. Roms been out 4+ months with 14,000+ posts and I haven't heard about it till now...
[Spirit FM] nirajvashi:
Mr. LenAsh,

If you kindly notice, I have addressed my message to a specific Member and not to you or the developer. The member offered that he has the Sprint Note 3 and can test things therefore I requested him to do so. I respectfully state that your comment was unnecessary. Thank you

---------- Post added at 04:09 PM ---------- Previous post was at 04:05 PM ----------

Hello Mike,

Would be grateful if you can make SpritFM work without headphones using the 'Ditto Note 3 ROM'. Kindly revert. Thank you
[Spirit FM] LenAsh:
Irrespective of your intentions, this thread is related solely to the FM radio app and should NOT be hijacked by your off topic questions. If you wanted to discuss something unrelated to this, then you should contact that member via PM. Respect others. Respect the topic.
[Spirit FM] nirajvashi:
Mr. LenAsh,

I beg to differ on your comment. There are lot of SpiritFM Lovers who also love the Galaxy Note 3. As you may be aware, Sprint Note 3 is the only version of the device which supports FM. SpiritFM Lovers world over if are informed that importing the Sprint Note 3 and unlocking it for local use if bands are supported will serve their purpose will bring more customers for SpiritFM and its developer. The Sprint Version of the Note 3 is specifically discussed here as it is unique for its FM capability. Therefore, I disagree that this is an off topic. Anyway, I leave it to the Developer and the Moderators of the Forum to decide on this dispute.

Thank you
[Spirit FM] rkdss:
Mike, I am unable to generate the error log as requested. Follow the screenshot.

Thanks

Enviado de meu C6503 usando Tapatalk
[Spirit FM] ubigred:
I surely will.

The Nextradio app is not too bad. However, a problem is the use with headphones feature. I would love to bluetooth stream with Nextradio but it's not possible.

I am hoping Spiritfm can meet my needs.

Sent from my SGNote 3

---------- Post added at 11:36 AM ---------- Previous post was at 11:28 AM ----------

The information you are looking for can be found online.

I have Sprint, a cdma provider, not GSM. My testing is only for SpiritFm, not personal requests.

That being said, I hope you find what you're looking for.

Sent from my SGNote 3

---------- Post added at 11:41 AM ---------- Previous post was at 11:36 AM ----------

Furthermore, I used the September 18 2013 Free Version and it worked for a little bit. I think I screwed up the settings

Sent from my SGNote 3
[Spirit FM] mikereidis:
That looks like Spirit can't create a file on the "SDcard", presumably emulated. Spirit uses the official getExternalStorageDirectory() API for that, so it's supposed to work.

Or could be some trouble with logging and newer Android security for that.
[Spirit FM] mikereidis:
Xperia Z1:

Could a Bell Canada LS6906BR Xperia Z1 variant be converted to International ? And might that enable FM radio, which doesn't seem to be a Bell advertised feature ?

My favorite cheap vendor has several and I can likely get one inexpensively.

If it's cheap enough I can just try anyway.
[Spirit FM] nirajvashi:
Hello Mike,

You said that the Spirit 1 works on the Ditto Note 3 ROM used on the Note 2. Please tell me where can I purchase the Spirit 1 App ? Also, kindly clarify whether Spirit 1 supports playing FM without Headphones? Thank you
[Spirit FM] mikereidis:
Spirit1 Unlocked is here: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

Yes, it works without headset plugged in. Running for me that way right now.
[Spirit FM] ubigred:
Update: works but buggy.

Can only play one station

Only works with headset

Sent from my SGNote 3
[Spirit FM] rkdss:
[MENTION=3575078]mikereidis[/MENTION]

I did a test with new Pac Rom and radio is working. http://xdaforums.com/showthread.php?p=50942865

I think my problem must be related to the changes the kernel. I'll test the latest nightly CM to see if the error remains.

Where can I change SDCard 0 to External SDCard 1, to save log the bug?
[Spirit FM] mikereidis:
Good... :)

I think the easiest answer is to grab the file here: /data/data/com.mikersmicros.fm_unlock/cache/sprt_debug.txt
[Spirit FM] mikereidis:
Have you sent me a debug log ?

I had to make a change to Spirit to get ALSA and digital modes working on my Note2 running the Ditto Note3 ROM. Maybe that will help with audio issues.
[Spirit FM] ubigred:
Yes I did. Twice actually

Sent from my SGNote 3
[Spirit FM] mikereidis:
next page
[Spirit FM] mikereidis:
I try to start important posts on a page boundary.
[Spirit FM] mikereidis:
The Death of access to stock, unrooted OEM proprietary FM APIs.
[Spirit FM] mikereidis:
The Death of access to stock, unrooted OEM proprietary FM APIs. (By the few/two 3rd party FM apps.)

It appears that Samsung is joining HTC in killing 3rd party FM app access to the FM API.

EDIT: Further Knox issues/evidence: http://xdaforums.com/showthread.php?p=51007492

Thus, Spirit will become even more focused on AOSP ROMs.

The leaked KitKat ROM for GT-N7100 (and the Ditto Note3 ROM) contains a new FM app, HybridRadio.apk, that also appears on the GS4 mini. It has some RadioDNS/RadioVIS stuff and who knows what else; I'm sure it send listener stats, and permissions indicate it can even initiate phone calls (to radio station or advertiser ?)

Spirit1 can still use the low level API when rooted, but trying to use the OEM API results in these error logs:

I'm not 100% sure this is strictly a security issue, but at minimum there is stuff that is hardcoded and only allows the stock FM app to work. Regardless, I won't be surprised to see this become a security problem that can't be bypassed without root.

I've also seen that the Ditto Note3 ROM for GT-N7100 also requires the ALSA commands for audio be done with root, despite open permissions on the device nodes. This is one of MANY signs I've seen of Android security being tightened, and each tightening seems to create problems for Spirit/FM and thus for me.

What does this mean ?

Samsung and HTC together are about 80% of Spirit sales. Fortunately, most Spirit customers are on rooted AOSP ROMs and this will not directly affect Spirit support for AOSP.

It means that going forward, I don't/can't care anymore about proprietary OEM FM APIs for stock, unrooted devices. I'm not going to remove or disable any existing OEM API support for Spirit1. But if some change in the APIs is incompatible with the current Spirit code I will likely not waste my time fixing it. Even in the last few months I made major changes to accommodate newer Broadcom and Qualcomm APIs, and I would likely have not done that if I had known about this new 3rd party app exclusion.

Even for Spirit2 I've had tentative plans to support the Samsung OEM API. Code for that is "roughed in" but de-activated on public releases. But I will abandon this. It's useless to try and support something the OEM is actively working to break.

All this is "just as well", given that most Spirit customers are on AOSP ROMs. Supporting OEM APIs has become a distraction, even before these most recent events.

From December 1, 2013:
[Spirit FM] nirajvashi:
Hello Mike, Does your above comment mean that Spirit 1 will not work " Out of the Box " on the Ditto Note 3 ROM contrary to your statement earlier and will require changes? Also, I will be grateful if you can let us know which version of the Ditto Note 3 ROM are you using as there are quite a few of them on the thread. Thank you
[Spirit FM] ubigred:
Will you still work on the Sprint Note 3?

It has potential.

It works, but I can only listen to one station and I have to have a headset in.... I rather bluetooth stream

Sent from my SGNote 3
[Spirit FM] mikereidis:
I was pretty sure I said it works, when rooted only. That hasn't changed.

I even figured out how to get digital audio mode working on Spirit1 and Spirit2, so the latest beta should support that. I used DN3_4.0_KITKAT_BETA.zip.

Please, why don't you try running Spirit instead of asking so many questions, and it seems repeatedly.
[Spirit FM] mikereidis:
I was never that seriously interested in officially supporting the Sprint Note 3. Just some technical curiosity, and it's good to learn about FM on different phones.

If it works, that's fine. If it needs a few adjustments, that's fine. I can't justify spending much time on it, nor buying one.

I'll guess Spirit does not support it's unrooted OEM API, and based on my findings, it may not be possible. But regardless, I won't put effort into it, it's a lost cause.

I'll further guess that Spirit can access the Broadcom FM/combo chip and work with it. Audio is likelier the bigger problem, and with Broadcom FM chips, it's all different on different phones.

To summarize, it's possible Spirit MIGHT work, when configured, on the Sprint Note3. Maybe more likely on stock than AOSP. But even if it DOES work now, sooner or later it will break or various problems will arise, and that's where I say "Sorry, I can't support that phone".
[Spirit FM] ubigred:
Hmmm interesting... Well I'm rooted and willing to make the necessary adjustments

Sent from my SGNote 3
[Spirit FM] mikereidis:
A March 10 beta of Spirit1 Unlocked has been on Play for beta people for 18 hours now.

The main change is to improve LG G2 support on some ROMs, especially stock ROMs or other ROMs/kernels that would reboot the phone when using digital audio.

I found that stock kernels have a bug in the audio driver that causes a crash & reboot when the ALSA controls (over 500 !) are queried from first to last. So, on stock ROMs I resorted to using numeric values for the controls. This might vary between kernels and could be a problem.

Further, digital audio was still rather unstable on the stock ROMs I tested.

I looked deeper into the LG G2 FM problems on AOSP ROMs/kernels. CM11 and the Mahdi ROM work fine, pretty much all the others don't work.

The problem ROMs include Paranoid Android, Slim and Nameless and they all have no /system/etc/snd_soc_msm directory. This directory is supposed to contain at least one file with much audio configuration information. This is very strange to me. Every other device I've seen using Qualcomm audio chips have this directory and the file(s).

Regardless, the kernel driver itself does not have the needed controls for FM. It would be great if some kernel or ROM devs could help me/us out on this.

LG G2 seems to be turning out to be a "bust" in some respects. First, only about 25% of G2's are capable of FM. Next, supporting stock ROMs is tricky, and there's a stock FM app anyway. Lastly, only 2 AOSP ROMs seem to be usable.

At least part of the trouble is the unusual FM/audio architecture LG used. It reminds me of the only other LG I've had, the ancient Optimus One/P500. At first, it was a great phone for the price. Soon after, it became apparent LG had made IMO too many bad tradeoffs to shave dollars off the price.

The LG G2 has a weird switch that sends the Bluetooth/FM chip audio data to one of 2 places, BOTH of them on the Qualcomm SOC or audio chip (I forget which). One position is for FM, the other for BT. One result is that FM over BT is impossible (except maybe inside the BT/FM chip). The stock FM app refuses to run when BT headset is connected. BT can be on, but the headset can't be connected.

One reason this is really strange, is that software could perform the same function. It's as if they made a hardware hack to avoid a software hack. Regardless, the result is not so good, IMO.
[Spirit FM] nirajvashi:
Mike, I am extremely sorry for bothering you. The reason I am not able to try Spirit on the Note 2 Running Ditto ROM is that I do not own a Note 2. I had written in one of my emails to you is that FM Radio is a very important feature on a Phone for me. Undoubtedly, the Note 3 is the best phone money can buy today and I want to buy it too as well. Unfortunately, it does not have FM. Now, I can get Note 3 Features on Note 2 using Ditto Note 3 ROM. But, before buying the Note 2 and compromising on its hardware capabilities compared to the Note 3 just for the sake of FM, I needed to know whether your App will work on the Note 2 running Ditto ROM. As if i buy Note 2, load Ditto and Spirit does not work, my money will be wasted.

Thank you very much for your help and sorry once again.

---------- Post added at 11:33 AM ---------- Previous post was at 11:28 AM ----------

Ubigred, I request you to post your findings about the Sprint Note 3' s FM playing on SpiritFM App. If there is a possibility that SpiritFM works on Sprint Note 3 without plugging the headset, I will try importing the Sprint Note 3 to India.
[Spirit FM] mase76:
Hi!

I am using Spirit FM unlocked with CM11 on Honami. However the volume is somewhat low.

There is also no output over A2DP. Other media applications work over A2DP.
[Spirit FM] mikereidis:
FM is usually different than "Other media applications".

For this, use digital audio. Set Audio-> Method to "Digital Auto" or "Digital QCOM...".
[Spirit FM] mikereidis:
Further issues/evidence via email:

What seems weird is that Audio Method "Galaxy S3/Note/S2_ICS" should work without root/SU. I really haven't looked at Samsung's Knox yet, but this indicates Spirit won't work on Knox'd devices. :(

Try these Audio-> Method settings:

Galaxy S3/Note/S2_ICS

Sony/QC Intent

HTC OneS/X LTE ALSA

Digital QCOM OneXL/S/Sony/MoG

Was Knox preventing Spirit from working ? Or is this root/SU related ?

It appears that Samsung is now preventing 3rd party FM apps like Spirit from working on stock devices. :(
[Spirit FM] albertusac:
Anyone know how to strengthen the FM signal?
[Spirit FM] mikereidis:
Get outside.

Get somewhere where you could potentially see the transmitter antenna (line of sight).

Try different headsets.

Arrange the headset/antenna wire for best audio quality/signal.

Get a phone with a better FM chip.

There are not too many more reasonable options than these, beyond getting closer to the transmitter.

There is no such thing as a "improve reception" option, just like there's no such thing as "enhancing" a low resolution image into higher resolution.
[Spirit FM] albertusac:
Sorry, I'm just not in purpose to compare with stock FM App, but when I use my phone on Stock ROM and light up the Radio, on the same freq (103.1MHz) the voice can easily heard and stable. But when I try Spirit Unlocked, just 'shhh...' voice I heard. Low signal I get. But when I try another earphone, CX-500 by Sennheiser, the sound become worse :(

For make sure about your statement to make clear voice:

I've been in outside, in my garden.

I haven't tried this.

Done.

I don't have an idea about this solution

I just have this thing and Xperia Z.. No more..