yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
Feb 26 Spirit1 Free: http://d-h.st/0PC

Also updated on Play.

- Free or paid, Galaxy S with speaker risk issue shows dialog encouraging and providing a button to enable digital mode, to cancel startup or use the old, risky analog mode.

- For some ROMs for GalaxyS2/Note/S3/Note2 the default for "Power Restart Media" was changed to "Disable". Manually setting "Enable" may restore full proper audio on some devices.

I've turned this off by default now because resetting the entire audio system is a drastic thing. It should only be used if needed and I'm hoping it's not needed anymore. Reports will tell.

- Several fixes and enhancements for digital audio modes and associated visualizations.

Speaker/headset switching is available with digital now, but likely still has some problems. Stick with headset only for best results. Or use the "pull the headset plug partly out" trick for speaker mode.

Unlocked shows record button in preset page down location when using a digital mode.

HTC OneXL LTE, One S & Evo 4G LTE digital (and analog) modes are now tested OK on stock derived ViperX 3.2.4 and latest CM 10.1 ROMs. I still can't set the sample rate higher than 22.05 KHz without dropouts and related problems. If other apps or the system gets too busy it's possible problems may be noted. Bluetooth not tested but may work on ViperX. Latest CM ROMs have a broken Bluetooth it seems.

- Hopefully audio will mute during AF switching when using low level APIs on custom/rooted ROMs. Can someone verify and test ? Even more important is the unmute.
[Spirit FM] scutworker:
Thanks for the update.

Sorry for being an ignoramus, but I'm not sure if I have digital FM on my phone or not. It's an ancient HTC Desire running a custom Jellybean rom.

Does this have digital FM and if it does, how do I enable it?

Thanks.
[Spirit FM] mikereidis:
No. Like most phones, and almost all older phones, the Desire doesn't have any feasible ability to digitize FM audio.

Spirit has FM digital audio support only for Galaxy S class devices and Qualcomm WCN3660/3680 based devices, like OneXL LTE.
[Spirit FM] 0kti:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

I must check this. Maybe Galaxy S+ also have digital audio

Edit.

Nope, not working on any settings

Sent from SGS+ CM10 with Tapatalk Blue
[Spirit FM] mikereidis:
And won't. It has the old Qualcomm qdsp5 audio.
[Spirit FM] srspinho:
Doubt about I9000B

Hello Mike !

I was waiting for this news about Galaxy S I9000B to change to ANdroid 4.2 and buy your FM app.

I vae 2 doubts :

Will it works only with roms based on CM10 ?

Should I buy the Unlocked version available on Google play in order to have all functions available ( Stereo Sound RDS etc ) ?

thank you very much !
[Spirit FM] 346L3:
Ability to unlock full spectrum?

I bought the fully unlocked version some months ago, thanks for the great work!

I have a question: Is it possible to unlock the full frequency spectrum of the tuning-IC in the app or add an option for it? I'm a radio amateur and highly interested in other bands, beside the normal music/voice broadcast spectrum in the set country. I think there should be no legal concerns in countries where this is questionable, if the user has to explicitly enable it. I enjoy experimenting with my radio scanner at home, but having this feature in the smartphone would be... astounding! ;)
[Spirit FM] mikereidis:
Hi. It should work on pretty much any ROM.

Absolutely. All new features now go into Unlocked, which will provide a free upgrade to Spirit2. I've been meaning to try and disable future sales of Light (requires setting a stupidly high price), but I've put it off for a few reasons.

Anyway, try as long as you like; you can cancel any order at any time.

I highly advise selecting the new Digital audio mode at first startup. There's an unfortunate long-standing issue with risk of speaker damage that I think this will hopefully finally resolve. Tons of info on this in post #3 and see post #1 if you want to try the free version.
[Spirit FM] mikereidis:
:).

I don't worry too much about regulations. IMO I have little legal risk and it's mostly on the user; same as if the user was building their own receivers and transmitters which is legal just about everywhere, for the most part. Note that Spirit can transmit on some Sony devices, and I've posted an HTC transmit app that works on one old phone. Compliance is the responsibility of the user in the legal domains they use in.

I've heard that virtually no MP3 player supports FM record because in the US the RIAA wants $8 or so for the privilege. I haven't verified that yet, but you'd think they could come after me for money too. But as long as my sales remain modest, in their big picture view, I feel safe against that.

Use the Japan band for 76-90 MHz. See the AF mode for a squelch setting. Some chips can go as low as 65 MHz (recent Broadcom BCM43xx ?) but I haven't added support for that yet. None can go higher than 108, despite my attempts and the wishes of many aircraft listeners.

With a LOT of work, the lowest level FM chip firmware on some chips could be cracked and probably the range could be extended. Somebody posted here over a year ago who was trying to figure out digital audio on a Broadcom chip by reading the code. He had some limited success.

I look forward to carrier deals with US broadcasters. It may result in some devices with FM HD chips later this year, and that will bring new capabilities.

A wideband SDR would be cool using one of those TV USB dongles. There are some obscure China devices with analog TV chips that I'd bet could be tuned very wide.

But these are fun ideas I don't have much time for now. For now I'm "stuck" doing LOTS of boring testing and fixing for various ROMs because that's what most of the people paying my "salary" need.

But I keep ideas in mind, and sometimes I take the time to do fun stuff like adding the FFT and waveform visualizations, and digital audio with bluetooth and recording I recently added.
[Spirit FM] 346L3:
I actually have one of those ;) Still missing an Android app, though. Under Linux and Windows there are some excellent pieces of software and my 10$-Device tunes with relatively good sensitivity (hey! It costs no more than 3 beer in a bar - so what should one expect! :P) from about 50 MHz to 1.8~1.9 GHz.

I'm looking forward to it. :victory: If the range below the Japan-Band and above 108MHz is a hardware limitation, there are not much "safe" options to circumvent this problem. Would be nice, if you have some free time between the more pressing demands, to add an option beside Japan, World etc for a continuous range. I already used to switch between Japan and World to find interesting signals, but that's not too handy.
[Spirit FM] mikereidis:
Spirit1 Free Feb 27: http://d-h.st/hA2

Also updated on Play.

- 1 small change that should eliminate crashing on several CM10.1 ROMs.

Again, I "blame" CM for putting a broken FM library that crashes when you call it on so many ROMs. ;)
[Spirit FM] mikereidis:
A "Japan Wide" 76-108 band was in Spirit long ago, but the most popular FM chip then was Broadcom BCM4325/4329 and it didn't support this in hardware.

So I removed it, rather than try to create an emulated wide band that works seamlessly when doing scans, AF, etc.

I'll likely do this in Spirit2, but if you have a Desire HD, it won't be supported by Spirit2, and it uses the 4329 chip anyway.
[Spirit FM] mikereidis:
Yes, in digital audio modes using Spirit Unlocked (or the last Spirit2 I think).

I've heard it with my own badly tuned ears. Enable bass boost, bass gets much bigger. Equalizer on/off or preset switch changes same thing. :)

It seems to work OK on stock ROMs, assuming Spirit has SU/root.

If you're an Unlocked customer, and it's not working, send me a debug log with Menu-> Test-> Email-> Logs.

I'll presume you see visualizations on screen, otherwise you aren't in digital audio mode with Unlocked.
[Spirit FM] mikereidis:
Suspending sales of the Light version:

- I was about to disable the many newly added devices in 2013 that I can't support on Play. This is manual & can easily take an hour to do, and almost double that for 2 apps. Combine that with my intention to suspend light from new sales and hopefully have a bit more time for development and...

As posted in the new description for Spirit Light:

I'm very sorry, but I'm "suspending" sales of Spirit FM Radio Light, at least for now. The only way that Google allows to do this, while still keeping the app available to existing customers, is to raise the price, so that's what I've done.

I will continue to provide updates and bug fixes for both Spirit Light and Unlocked.

Please see Spirit FM Radio Unlocked for a full featured, real over-the air FM radio app: http://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

I'm very busy working on Spirit2 (will be a free upgrade from Spirit Unlocked) and other tasks.

If Spirit Unlocked appears not compatible with your phone, it very likely is incompatible or at least unsupportable.

...

Please email me at mikereidis@gmail.com at any time to upgrade for the price difference, cancel, or for ANY problems or questions.

Satisfaction absolutely guaranteed or full refund. Don't worry about the 15 minute return race. :)

...
[Spirit FM] mikereidis:
Yes, just set Audio-> Method to "Digital Audio" and restart Spirit.

You can test drive Unlocked as long as you like. I cancel any order at any time on request.

The latest free Spirit2 alpha also demonstrates this, with no settings required; digital audio is the default on Spirit2.
[Spirit FM] Alpemare:
Problem with Samsung Galaxy S3 - PI-Code

Hello!

I'm from Austria and I have just downloaded the App "Spirit FM Radio Unlocked" on my Samsung Galaxy S3.

For my work for the FMList it is important that I have a radio which can receive the PI-Code. So I thought that these app would be ideal to use it on my Samsung Galaxy S3 especially for trips to our neighbour-countries like Italy, Slovenia, Croatia.

I started the app and changed the country to Austria and several other settings but the PI-Code didn't appear, always PI: 0

Now I'm a little bit disapointed because the function with PI-Code is the most important feature I want to use.

Here a picture of the problem:

View attachment 1769248

Maybe someone can help me?

Greetings from Austria,

Felix
[Spirit FM] mikereidis:
Hi, Of course I'm here to help. :)

I'm guessing that your GS3 is stock and un-rooted. Unfortunately the Samsung proprietary FM API doesn't provide PI information.

If so, your only option to get PI, and some other features, is to "root" the phone. I would only recommend that to people who enjoy a "technical adventure". But Samsung's are pretty easy to root compared with other phones.

If your GS3 is rooted or custom ROM'd, please send me a debug log with Menu>Test>Email>Logs and press Send after 20 seconds.

I cancel any order at any time on request if you desire.

Thanks...
[Spirit FM] jwhood:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Hey mike got a little issue when turn on spirit radio it comes on but when i move volume rocker on my htc one x(at&t) i get a pause on my volume,like when i move up in volume it wont increase any help with this thanks bro!!!
[Spirit FM] mikereidis:
Works for me. :)

Need more info.

Send a debug log with Menu>Test>Email>Logs and press Send after 20 seconds.
[Spirit FM] mikereidis:
Yes, on the GS3 it's the only way. I DO recommend rooting for technical enthusiasts who understand what they're doing, and how it might technically cause some warranty issues (or not).

Rooting also gives additional features, like operation without a wired headset, or digital audio which provides an audio frequency spectrum display, bluetooth, recording and equalizers/effects.

So FMLIST here ? : http://www.fmlist.org/ Cool, I hope at some point to make use of online or internal PI databases to provide more station info.

There is a nice video guide for GS3 rooting here: http://xdaforums.com/showthread.php?t=1944196

And a lot more info here: http://xdaforums.com/showthread.php?t=1927113

All you need is the "rooted" state and the Superuser or SuperSU app loaded. You can & perhaps should (for simplicity) run the the phone stock, other than root. You don't need custom kernels or ROMs.
[Spirit FM] jwhood:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Ok doing now,just sent email so ill change the volume it wont change to where i moved it till i hit any button in settings menu then it will automaticaly bump up or down to where i changed volume previously its crazy!!!
[Spirit FM] Samga:
The visualisation is cool. But yes, it looked rather ugly after the update by default as I activated digital as recommended. After disabling some elements it's better.

But is there any possibility to have a smaller font size on the frequency button? It's truncated.

In fact I don't use the frequency button, only the auto-scan buttons.
[Spirit FM] mikereidis:
I'll try.

Above the visualization is RDS RadioText, which can be disabled in UI settings.

You can get a bit more space on buttons by reducing the display area above them. For this, set UI-> Display Weight to values between 1 and 2. You can use decimal values like 1.333 there too.
[Spirit FM] mikereidis:
You've set Audio-> Method to HTC OneS/X LTE ALSA. Set it to "Auto" and restart Spirit.

If auto doesn't work, on stock HTC devices it's usually best to use "HTC". But also "HTC OneX/X+ Int" is an alternative, but may not work on stock JellyBean.
[Spirit FM] jwhood:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

Ok ill try and get back too u i set it to that setting to try to fix it but didnt help ill try other settings you mentioned
[Spirit FM] Rick O:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

The microphone is still on when recording the radio. Is there anyway to stop this. Spirit UL latest version using digital record setting. Help
[Spirit FM] mikereidis:
Yes I've noticed this, but the volume is much lower than before. I notice it most if I cough or make a loud noise while FM audio is at a quiet point.

This is a GS3/Note2 specific problem.

EDIT: I found a solution.
[Spirit FM] tejadakenneth:
Re: [APP] Spirit FM: Broadcom,Texas Instruments,Samsung Silicon Labs & Qualcomm FM ch

theres no record toggle here. but when i first open it i saw record toggle but after i off then on spiritfm no more record toggle
[Spirit FM] mikereidis:
I guess that's a cosmetic bug.

Galaxy SL GT-I9003 isn't supported for recording in Spirit.
[Spirit FM] tejadakenneth:
i see. so you mean nothing you can do to it?
[Spirit FM] mikereidis:
Short answer is no.

Long answer is:

The hardware may be capable, but I'm not sure.

The GT-I9100G schematic and audio chip info seems to indicate that FM recording is possible. It's OMAP4430 + TWL6040.

The SL is OMAP3630 I guess. + SDP3430/TWL4030.

But I don't have this phone.

And I've "earned" about $20-40 on this phone, probably on the low end. LOL.

And I've probably spent at LEAST 20-40 hrs supporting this phone. That's less than a dollar an hour, about 10% of the legal minimum wage here. Double LOL. :)

But I've learned my lesson. Going forward I concentrate on high end phones that are globally popular.
[Spirit FM] tejadakenneth:
it's clear now. whether you do or dont want to support recording in sl (hopefully you do haha!) im very thankful that you put an effort in our device. please dont stop for other devices :)
[Spirit FM] mikereidis:
March 4 Free: http://d-h.st/0F7

Also updated on Play.

- Fixes for media button problems, especially on stock ROMs and versions other than Unlocked (where media button is now ignored instead of allowed to start music player etc.)

- GS3/Note2 recording or digital mode microphone in left channel hopefully fully fixed now, on all ROMs, stock or custom.

- Audio-> Method settings can now be fully switched on the fly, without having to restart Spirit. In particular, you can more easily switch between analog and digital modes.

- Better volume range on Galaxy S class devices using Si470x FM chip ; mostly GS, GS2, Note. GS3 and Note2 may only see a difference on non-CM ROMs.

- Default visualizer size reduced to reduce cut-off text. BTW, Sony Xperia Z may be the first OEM FM app with a visualizer, roughly tied with Spirit for being first. :)

EDIT: Virus Status: ANDR.Trojan.GingerBreak FOUND

EDIT2: Google searches show this is a wide-spread problem with many ROMs etc, but I haven't found out why yet.

Why the heck does dev host say "Virus Status: ANDR.Trojan.GingerBreak FOUND" ??

And recently trying to email Spirit attachments has also resulted in GMail claiming Spirit has a virus.

This happens even when sending a release from 1 year ago. So I'm doubting Chinese hackers have busted into my PC and virused my source code, but I guess extremely hypothetically every release was somehow virus-ized.

I've considered putting rooting tools in Spirit in the past, but never have because I would risk having Spirit and myself banned from Google Play. So there is no rooting code like Gingerbreak in Spirit.

So I'm presuming this is a false alarm. What's triggering this ? And it affect both GMail and the dev-host virus checker ? But they may share a database.

Maybe because Spirit is an SU app ? I'm not sure how any virus checker would know this though, unless it ran it like Google's bouncer system does.

I just tried a Gmail attachment of Rom Manager and it claims a virus also...

Anyone else seeing such issues or with any idea of what's going on ?
[Spirit FM] Kess78:
Hi Mike,

Could you make the visualizer available with Sony audio method in Spirit ? Visualizer app on Google Play works fine with the FM radio.

And i also see the virus message on dev-host :(

Thanks
[Spirit FM] mikereidis:
Enabling digital audio is a lot of work and very hardware dependent.

I can support it on the Xperia T or any other Qualcomm S4+ based devices, like the Zperia Z and other 2013 high end models.

I have an Xperia P myself, and I might eventually get around to seeing about digital on Sony CG2900 based devices. But I have so few customers with these that I have doubts about any official digital support. Making it "sort of, kind of work" is only a small part of the work required. There's TONs of work required after initial test support to make it work well in all situations.
[Spirit FM] Kess78:
Isn't the audio already digital if record and visualizer works ? Morever there is a latency between the phone and other radios.
[Spirit FM] Scrambled777:
Weird bugs with HTC One X

I did a quick scan of the forums and a google search and haven't found anything related to what I am experiencing. Basically, every time I turn on Spirit FM, it mutes every other sound on phone. I can listen to radio fine but my phone will not produce dial tone sound, notification sound or game sound. I can play music but that too will be muted (no sound coming out even though phone indicates it's currently playing). This sound mute persists even after I close Spirit and the sound only comes back after I reboot.

Also, Spirit will randomly close and turn on my music player in the background and I once had Google Voice randomly pop up as well.

For what it's worth, I'm running Cyanogenmod 10.1 beta 10 on HTC One X International. Version of Spirit is Spirit Light.
[Spirit FM] mikereidis:
Any customer having problems should send me a debug log immediately after seeing the problem. Use Menu-> Test-> Email-> Logs and press Send after 20 seconds.

I keep my OneX International reasonably up-to-date. Currently running cm-10.1-20130223-JB-B6-endeavoru.zip . I'll try the latest CM with the latest Spirit too.

EDIT as emailed:

The best solution is to set Menu-> Settings-> Audio-> Method to "HTC OneX/X+ Int". Then reboot the phone. The ALSA variant (below the plain one) is the default and associated with the problem. If the CM dev removes the proprietary audio blobs someday though, we'll need to use the ALSA variant.

If this solution doesn't work, enable Debug-> Power Restart Media. It resets the entire audio system at FM power off and it a "last resort" hack.
[Spirit FM] mikereidis:
Which phone(s) do you have now ?

Yes, the visualizer working means the audio is digital. There are some devices supporting record though, that aren't full digital. For example stock Sony CG2900 devices record, but don't at this time support Bluetooth, equalizers or visualizers, which requires "full digital". (Might be some future exceptions though.)

Latency, yes, there is a digital audio buffer that needs to be filled and sent out, which ends up going through system code that manipulates the audio. All of these add delay, and Android still has issues here too.

If I make the buffers too small though, there will be audio dropouts, same as with streaming when buffers are too small (but different reasons). On devices with a maxed out CPU (which sometimes happens due to bugs and you may not even realize) the buffers need to be even bigger.

The buffers can be tune-able. Actually, if you aren't using AF, the "AF Period" setting can be used to change the buffer size. This was a quick test hack I added. But any value other than 320 will mess up audio on Qualcomm devices like OneXL and Xperia T or Z. On other devices, the default value is 4096.
[Spirit FM] mikereidis:
March 5: http://d-h.st/LlV

Also updated on Play.

- Improves audio interruption handling.

- Improves speaker/headset switching in digital audio modes.

- HTC OneX International audio fix for most AOSP JB ROMs. Default Audio-> Method returns to "HTC OneX/X+ Int" and not the ALSA variant.

There were problems on recent ROMs with both audio methods, but I found a better solution for the better non-ALSA variant. At least one ROM still had problems, for which Debug-> Power Restart Media is a bandaid solution. I think I might call that ROM broken, since the others are OK.

-------

I found that the bogus virus warnings go away if I remove all binary executables from the app package file. I can't find anyone anywhere who has much clue about this widespread false positive problem, other than it's "clamav".

If it persists, I can probably just encrypt the files simply, LOL.
[Spirit FM] Kess78:
I have a Xperia Sola. It is a CG2900 and on stock rom with the stock app and Spirit FM, visualizer (via the app on the Play store), FM over bluetooth and record works. So I thought that it would be nice to have this directly in Spirit.
[Spirit FM] mikereidis:
Thanks !

LOL, I didn't realize the normal stock Sony CG2900 FM audio was digital ! I thought maybe you had a new phone... :)

So FM over Bluetooth works, even on the stock FM app. I'm noticing occasional drop-outs though, using a Sony MW1 BT A2DP headset within a foot of my Xperia P.

This may help explain why my attempts at enabling audio for the transmit mode didn't work.
[Spirit FM] anasmunir:
Hey buddy Dev-host is saying there's a Virus in the file.. :confused:

Can you please upload the clean one?

Thanks. :good:
[Spirit FM] mikereidis:
It's clean as always.

It's a widespread false positive problem affecting many ROMs. Look back a page or 2 for more info.
[Spirit FM] mikereidis:
I sent you an early version of the March 6 Unlocked test release that enables the record button and the equalizer and visualizer support. It is likely to work on any recent Sony device using the new FM API.

MUCH less work for me when the manufacturer writes the low level code. And all the digital features are there and it works on stock un-rooted phones.

I'm liking Sony more and more every day. :)

Too bad their loaner program has an Xperia S at best. And I don't think I can justify buying a Z, ZL or Tablet Z at this point anyway.
[Spirit FM] mikereidis:
March 6: http://d-h.st/9Ck

Not on Play.

- Forgot to mention March 5 also improves speaker/headset switching in digital audio modes.

- Trivial obfuscation of internal binaries avoids the bogus virus warnings.

- Unlocked on Sony devices using the new FM API enables record button, equalizer and visualizer support.