yashsingh1/xdaforums huggingface dataset:
[Spirit FM] mikereidis:
"Spirit2" is looking pretty decent* now and maybe I will release a new alpha soon, the first since Feb 21.

*- It's a bit bare with no config options, and the UI is little changed from Spirit so far, but it's a well designed base providing an API for others to make UIs, apps, widgets, FM chip plugins, etc.

It still only supports stock Sony Xperia P/U/Sola/Go as well as rooted Galaxy S class and Qualcomm FM based devices like HTC OneX LTE.

I still think I will only support digital audio mode on AOSP ROMs, meaning that the only major device support addition in the near term will be HTC One.

Though I do have plans for stock unrooted devices: Galaxy S Class and some Broadcom based devices like HTC One. I might make a distinct app for AOSP and another for stock, unrooted. This way I'll be better able to gauge demand for stock devices; I've long felt that 90+ % of my customers are on AOSP ROMs where there are no alternative FM apps.

Every time I look at my sales stats. about 65% are Galaxy S class devices, and even the mighty HTC Ome only adds about 3-5%. So it's clear to me that I should concentrate on Galaxy S/Note class devices.

Technology/features must come before naming of course, but names are important too, and I may drop the "Spirit" name. It's still a bit difficult to find my Spirit FM in Google or on Google Play, just because there are religious broadcasters that call themselves "Spirit FM".

My current top name prospect has become "1st FM", which seems like it would be good on Google Play searches. Most of my devices seem to order apps alphabetically, AND with numbers first. It's been a pain for me to find my widget for example, so being near top of list would be nice. "FM 1" wouldn't be too bad, but others are using a name like this.

I've also thought about "Freq Mod" for an AOSP ROM specific version, but I'm liking "1st..." better right now.

For stock device users (mostly average normal non-technical people) I've considered names similar to "my FM" or "Free my FM".

Comments and ideas are welcome. :)
[Spirit FM] mikereidis:
No.

And yes.

Depends on device.

And root.
[Spirit FM] Lagkage:
It depends mostly on the phone you are using, thereafter ROM.

You can try the free version of Spirit linked in the first post.
[Spirit FM] xhitm3n:
Does it work on all roms?
[Spirit FM] mikereidis:
FM on coming Intel based tablets ?

Email:

My app is real, tuned 88-108 MHz FM radio.

If your tablets can support real FM radio, I am interested.

Regards,

Mike.

Interesting. :)

I've had interest expressed from many people about real FM radio on tablets.

So far, the only notable/readily available 1st world tablet over 6 inches that supports FM is the Sony Xperia Tablet Z or similar, and it's quite expensive.

My app: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock

Supports the leading FM APIs at both levels:

- Dalvik/Android Java FM Proprietary APIs for stock, unrooted devices based on Broadcom, Samsung Silicon Labs, Qualcomm, TI, Motorola and Sony APIs.

- NDK low level APIs for rooted or custom ROM'd devices with Broadcom, Samsung Silicon Labs, Qualcomm and TI chips using various APIs and access methods.

For a while, Spirit supported Intel NDK libraries, for experimental support for the Motorola Razr I. But Motorola/Verizon disabled FM access on stock Razr I's and I could not justify buying one, so I removed the Intel NDK libraries.

I'm currently working on a successor app, so far named "Spirit2".

Regards,

Mike.

... ? :)
[Spirit FM] mikereidis:
Phoneblocks... And maybe, if we wish hard enough, eventually FM radio possibilities on Motorola/Google phones ?

[Holy ****] Motorola Announces Project Ara, An Open, Modular Smartphone Hardware Platform

http://www.androidpolice.com/2013/1...an-open-modular-smartphone-hardware-platform/

Motorola is inviting people across the globe to become Ara Scouts. Over the next 6 - 12 months, we'll be doing research to shape the direction of Project Ara. You can help by collaborating with us on special missions.

http://www.dscout.com/ara

After the trip, we asked ourselves, how do we bring the benefits of an open hardware ecosystem to 6 billion people? Meet Ara. - See more at:

http://motorola-blog.blogspot.ca/2013/10/goodbye-sticky-hello-ara.html

Besides being a damn cool concept that may actually come to light, one of my first thoughts is that maybe FM friendly FM/BT/WiFi combo boards could be swapped for evil boards with FM antenna grounded.

My post at http://www.androidpolice.com/2013/1...ip-and-offers-another-glimpse-of-project-ara/
[Spirit FM] cajunflavoredbob:
I'll keep it in my address book from now on. There are very few devs left out there who give the same quality of service you do. I hope you know that I, as well as many others, appreciate that. Even though it's been a while since I've been able to really use Spirit, I've always kept up with it. My HD2 was the last device I owned and used full time that made use of Spirit. After that, I've used it on my Defy XT (cheap work phone) once in a while. I'm happy to have a Z1 now with real FM support. I've really missed having this option available to me.

Anyway, the support you provide here is worth more than the $10 I spent on this app years ago. Time to renew my license or whatever you want to call it. lol It's not a hundred bucks, but it is my way of saying thanks for the hard work you've put in here.

Confirmation# 1L160176DD784374L
[Spirit FM] Tfranc:
Radio_fm_receiver_service

Hi MikeReids, can you give me a hand?

I´m having a problem with RADIO_FM_RECEIVER_SERVICE, my content.java doesnt have that service, do you know were can i found it?

Best Regards
[Spirit FM] xmguy:
S4 shows it SHOULD have had FM. This was pulled from a Feature.xml file when trying to update to 4.3

"<!-- MMApp -->

<CscFeature_FMRadioRTPlus>true</CscFeature_FMRadioRTPlus>

<CscFeature_FMRadioSEASetting>false</CscFeature_FMRadioSEASetting>"
[Spirit FM] Tfranc:
Problem solved, now i´ve another. the app runs, he search the radio stations but it sais unable to start media player

Any idea?

Best Regards
[Spirit FM] Kess78:
This is because the way to activate audio is different on the Xperia tablet Z than on the previous devices. I don't know how to enable audio on this one.
[Spirit FM] Tfranc:
But i´m using the library stericsson.hardware... i thought it worked with that !

Best regards
[Spirit FM] Kess78:
Not for the audio part I think
[Spirit FM] -Jonny-:
Sensation XE

I see from post 3105 that it's running on Sensation XE. I'm not on ICS anymore, as now have upgraded to JB. Will this still work on that ROM (it comes from HTC One S)? I have tried 'free v 2103_09_18' but it comes up with Error: No FM accessible 'SU: 2 Fm:BC2 Su:1 Bt:1 Ht:0 Mo:BCU Mo:BCU' sometimes, and other times plays FM but there is no RDS information.

[RDS was one of the reasons I got a SensationXE, and I can't believe how badly it is being supported. Well done mikereidis for all your hard work.]
[Spirit FM] mikereidis:
There are big Bluetooth changes between Android versions w/ AOSP based ROMs.

For Broadcom FM/combo chips, on ICS Bluetooth usually must be on.

For JB 4.1 and most 4.2's Bluetooth must usually be off.

JB 4.3 is the same, but the Bluetooth architecture is VERY different.

Spirit's solution for 4.3 and likely 4.4 and up is the new Debug-> HCI Access setting. I think it says Bluedroid Shim. This is the only method I think that Spirit2 will support (which will at least support HTC One, possibly no older).

I advise a bit of caution since this is still experimental and since it may modify your ROM system library stuff for BT,

Once it's set, reboot the phone. After any ROM update, start Spirit, then reboot the phone again.

Hopefully I will get ROM devs to include my shim, and Spirit2 FM app, soon.
[Spirit FM] mikereidis:
Lots of interesting news regarding Android 4.4 Kitkat.

Time to take the kids out for Halo'ween "tricks and treats"... :)
[Spirit FM] mikereidis:
Yeah, I saw that when the first ROM leak came out, before the phone.

That led to my pronouncement that I thought the S4 International WOULD have FM, like the other S class Galaxy's before.

I was wrong, but I still maintain that they had originally planned for FM, and changed their mind late in the product cycle. It was surprising news when it came out about no FM, and their PR people made excuses about nobody wanting FM anymore.

If they changed mind late, they must have been planning to use the Broadcom chip for FM (otherwise there'd be a conspicuous empty spot on PCB), unlike previous generations which always used a dedicated Silicon Labs chip.

In theory they may have had technical issues.

Unknown business reasons may have played a role, but that's never stopped FM on International versions.

And no, the Nexus 5 will NOT have FM. If by some miracle of electrical nature it did, I'd be all over it ASAP.

Was reading about a Google PVR for Google Fiber locations and thought maybe there was at least ONE bit of Goog hardware somewhere that receives from traditional public broadcast frequencies. But then I realized, oh yeah, the Fiber is just high speed Internet so the delivery is via IP, not airwaves.

LOL. :)
[Spirit FM] mikereidis:
Sprint Galaxy Note 3 apparently has FM radio, via Emmis's NextRadio and w/ no Samsung app.

What a surprise. No other GN3 or GS4 has FM.

News has been out almost a month and I didn't notice and nobody mentioned it, LOL.

Must be because almost nobody is on Sprint, and with a GN3, AND interested in real FM...
[Spirit FM] Tfranc:
This is beeing hard to adapt this code to my code.... let´s see if i can!

This code:

setForceUse (FOR_MEDIA, FORCE_NONE);

What is for_media, and for_none?

And logd??

Best regards
[Spirit FM] akosirenzo23:
I hope there will be an update. regional band doesnt have philippines, sad to say im from philippines. =)
[Spirit FM] mikereidis:
It's low NDK level Android stuff:

logd is just my code to log messages. Comment out or change it to use Log.d etc.
[Spirit FM] mikereidis:
Outside of Japan, Korea and North America, use one of the World selections.

"World 100 KHz" is best if your stations are like: 88.1, 88.2, 88.3, etc.
[Spirit FM] dbdworld:
know something about the FM radio support (G2 LG D802) international

The original room comes with official support

It would be adapted for use with cyanogenmod?

thanks
[Spirit FM] JUMPhil:
I tried option 2, I get a RSSI of 0. Without Bluedroid Shim (but Automatic) I get -16. I can try out option 1 if you give me more clear instructions. And I can send you some logs if you want.
[Spirit FM] mikereidis:
It's a Broadcom FM/combo chip, with I don't know what kind of audio chip connection.

I looked at the stock FM app, and added a new Audio->Method setting in an experimental, unreleased build of Spirit. The person I sent it to had FM tuner control, but no audio.

For AOSP based ROMs, the tuner might work too, but not the audio. Unless the phone is REALLY popular and I buy one (doubtful), or someone can give me the secret to enabling FM audio, it will be un-supportable.

If by some unexpected miracle, the Nexus 5 is found capable of FM, it may be similar enough to transfer the info. Just about any Nexus that is FM capable will likely be supported, but the only one ever was the HTC Desire based Nexus 1 from 3+ years ago.
[Spirit FM] mikereidis:
From this post: http://xdaforums.com/showpost.php?p=45274769&postcount=14

First, change Debug-> HCI Access to "UART".

Then from a connected PC with adb, with Bluetooth off and freshly rebooted, do this:

If you don't have killall, some back-ticks and kill should work:

:
[Spirit FM] Tfranc:
Hi again mike,

Sorry again,and what is mAM ?

And about state, is only to say if its true or false?

By the way, the intent qualcomm makes my app stop... :S

Best regards
[Spirit FM] Rem451:
Mike,

if that help, LG is offering to developpers to borrow an LG G2 for 30days via "LG Device Loaner Program" :

https://www.viennachannels.com/loginpage.php?P=lg1
[Spirit FM] mikereidis:
Instance of AudioManager service.

Some of the commented code uses similar myAM.

You might need to have audio focus.

I've about reached my limit for assisting you; S/W dev is hard work and you just "have to do it".
[Spirit FM] mikereidis:
And then how do I help the few G2 users after I send the phone back ?

Going forward I only support phones I buy permanently, or very similar.

That company does the Sony loaner program too. I was happy with the Xperia Z I got to work with for a month. And I made just over $200 the last 6 months from Xperia Z sales, the most for any phone from Sony in 2013.

But $200 is "nothing" compared with the most popular phones, the Samsung Galaxy S/small Note series and I have no reason to believe the G2 will be much more popular than the Xperia Z.
[Spirit FM] cajunflavoredbob:
You should grab a Z1. Not even for working on FM stuff, but just because it's a stunning device. I'm in love with mine. Audio is a dream with it.
[Spirit FM] mikereidis:
I've got 20 phones and tablets, LOL.

The power bars and USB chargers were a fireman's nightmare last time I did a comprehensive set of app tests.

I don't need or want stunning, other than in my app the best I can.

Tablet Z is nice, and still pretty unique as a major brand FM tablet. But too darn expensive.

Next phone/tablet I buy will likely be something that I expect to sell a large number, like a new S5 with FM.

But I'm also keeping my eyes open for a device with a digital radio chip for DAB+/HD Radio, sold outside of South Korea and likely in Europe at least. I think we'll see this sooner or later.
[Spirit FM] itsmemario:
The leaked manuals of the Nexus 5 mention FM capabilities...does this raise the chance for the Optimus 3D to get a working spirit ? Or did I heavily missread ? :S
[Spirit FM] mikereidis:
a2d.fm is the new, and official name for "Spirit2" ! :) I've purchased that domain name, as well as a2dfm.com .

Slogan: Bridging the gap from analog to digital...

Explanation: "A2D" or "ADC" = Analog to Digital converter. This is what converts microphone, or radio signals, into digital form.

So far we have almost zero digital over the air broadcast chips in Mobile devices. Hopefully this will change soon. "A2D.fm" will attempt to follow this transition, and ease the transition with digital audio features, and various forms of Internet data retrieval and sharing.

I'm hoping for a first test release of A2D.fm within 1 week or so, supporting rooted GS2/GS3/Note/Note2.

Some screen shots here: http://xdaforums.com/album.php?albumid=10281

The UI at start. I've used a UI similar to Samsung's. At bottom is a horizontal scroller for presets:

Flick to the left a bit to see what's left of the old UI, for visualizer and technical & RDS info:

Flick completely to left for what's left of the old UI.

This is just a start, but hopefully the ugliest parts of the UI are gone in the main start-up screen. If you have any thoughts about design or colors, please feel free to share...

For further UI stuff, I've purchased a test copy of this: http://graphicriver.net/theme_previ...l_name=tabletphone-ui-professional-set-bundle

I like #4 the best, but selecting #1 at top shows some nice stuff too.
[Spirit FM] mikereidis:
Optimus 3d is a 2011 phone.

Maybe you mean Optimus G2 ?

For any phone similar to the Nexus 5, this is only a possibility IF the Nexus 5 CAN be coaxed into playing FM. But I very seriously doubt this.

And only in "Spirit2". I expect no further phone supports for Spirit1.
[Spirit FM] JUMPhil:
With killall no process gets killed:

And with kill I seem to do something wrong:
[Spirit FM] mikereidis:
I'm trying a KitKat ROM on my HTC One now and these old processes are gone, replaced it seems by just com.android.bluetooth.

If I boot the phone with Bluetooth off, Spirit works fine using the UART mode of HCI access.

If the N5 works the same, and you see zero or negative RSSI, then the N5 has likely disconnected the FM antenna pin as expected, and nothing can be done.
[Spirit FM] spunker88:
It mentions FM because the Nexus 5 has a Broadcom chip with FM capabilities. But in the leaked service manual PDF there is a wiring diagram for the Broadcom chip and the pins for FM_RFIN, FM_DAC_VOUT1/FM_AOUT1, and FM_DAC_VOUT2/FM_AOUT2 are floating (not hooked to anything). I'm guessing these are the pins for antenna input and left/right audio output. There are a few other pins that mention FM which are tied to ground. So based on the wiring its probably disabled.
[Spirit FM] JamBuh:
Good day to all, Im wondering if this app will work with my HTC desire, it's rooted and all that with a 4.2.2 jb custom Rom. All I want it for is a radio for work that hooks up to my portable speaker via 3.5mm Jack. Or will I have to revert back to the stock Rom? Thanks in advance.
[Spirit FM] saumar:
Ehi dude,are you high or what?:sly:

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Spirit FM] nicesoni_ash:
A2d looks cool.. Will wait for its release. :)

_____________

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

Fueled by 7000mAh ZeroLemon Battery
[Spirit FM] zaclimon:
Looks nice!! :) Do you think the old dinausaur galaxy s I9000 (and it's derivatives) will be taken into account for a2d.fm? (it begins from GS2)
[Spirit FM] mikereidis:
No, I've decided against GT-I9000 support.

It pains me to do that because it's still about 8% of my sales, last month.

It's working for me.

But digital audio mode on GT-I9000 has always used around 50% of the CPU, and when the phone gets busy, audio dropouts occur, among other things. Having 2 cores on the GS2 REALLY helps with high CPU usage stuff.

AND, some people have had strange problems that result in mono audio or chipmunk sounds.

And the strange way that Spirit enables digital audio is a major hack that relies on Voodoo sound and won't work on stock ROMs. This itself may cause some problems. GT-I9000 was not designed even to record FM, the GS2 at least was, and this was enabled in later stock ROMs.

And I'm still getting occasional reports of speaker damage, even in digital mode. I REALLY want to put the speaker damage issue to rest. Let nobody say that Spirit2/a2d.fm kills speakers.

And just testing on GT-I9000 takes way too long. I can send a new test release of my app to other phones in 2-3 seconds. The Galaxy S takes 10+ seconds. It adds up (like today, when I pushed hundreds of test releases just to get the dial working half decently), and that's not even including all the lag from UI/Android stuff I do.

The GT-I9000 was GREAT for it's time, and still works much better IMO than many of it's contemporaries. But it's now joined the many other older phones I have in a drawer, to be tested on only very rarely. It's VERY slow now on CM10 compared to GS2+.

And, most people who buy apps have moved on to GT-I9100 at least. I presume they are relatively inexpensive now on Ebay etc.

++ Final nail in the coffin is the small screen, compared with 2012+ devices. I'm doing UI improvements and it's a LOT of work to find good compromises that work on small to large screens, both in DPI and inches. Spirit1 is already cramped, with bad text or graphic overhangs and with a tiny visualizer in digital audio mode.

There will be many phones that Spirit1 supported that Spirit2/a2d.fm will never support. GT-I9000 is just one more "casualty" of the cut, among perhaps a hundred or so.

Spirit1 will "live on" I guess, but now that I've got my head wrapped around Spirit2, I never want to go back to that mess of code, relatively speaking, except to grab some needed features and incorporate them into the new framework.
[Spirit FM] mikereidis:
Should work fine, still.

Just download a free version from post #1 and try it.
[Spirit FM] xecutorfifty:
hello Mike. i downloaded and installed Spirit from the link you posted but i get power error.

Im using SAMSUNG S2 (4.1.2)

Im in Jamaica.

What settings must i use to get this to work. i dont wanna buy the unlocked version and it cant work. if you can assure me that it will work in my country then i will gladly pay for it.

Thanks in advance.
[Spirit FM] mikereidis:
It works in every country, on the GT-I9100 International model. (Not the US variants.)

Most common problem on AOSP ROMs is lack of root. The SuperUser/SuperSU apps are a bit finicky lately.
[Spirit FM] xecutorfifty:
yes it is the international version. GT-19100 bought off amazon unlocked. it is rooted. i did it yesterday and update to 4.1.2
[Spirit FM] mikeioannina:
Hello [MENTION=3575078]mikereidis[/MENTION]

I'm developing CyanogenMod for the xperia 2011 line and I'm having problems getting FM working. I haven't found any solution in the past 6 months and you are the only one who has such knowledge in FM

In android 4.1 fm was working fine with BlueZ but from 4.2 onwards we're using bluedroid.

The 2011 xperias use TI wl1271 chipset.

I updated the kernel & the reference FM app from TI and FM seems to be working, except audio. Scanning, rds, etc are all working fine but I simply get no audio. Any possible hints you can give me?

I will appreciate any possible help, thanks in advance,

Mike
[Spirit FM] bigbop:
Mike, the new Motorola G was announced today and it has an FM receiver !

http://techcrunch.com/2013/11/13/mo...l-a-premium-phone-at-a-price-more-can-afford/
[Spirit FM] zaclimon:
Oh well I guess it's time to move on. I should say thanks for your help you've made by bringing OTA radio into AOSP devices of ours, I don't think I'll plan on buying a gs2 because I have a feeling it will soon have the same sort as it's older brother. I'll continue to rock my galaxy player as my go-to media device. If EVER a2d finds a way to work on it, I would be more than happy.

Also concerning that 50% cpu usage, I never got more than 100-200 mhz usage using digital on my device (but I only listen to radio so...)

Anyway good luck with a2d.fm!! :p (NB just want to confirm that spirit works with 4.4 no problem)
[Spirit FM] mikereidis:
When I said "lack of root" I meant that the SuperUser or SuperSU app are not configured to allow SU for Spirit. Go in the SU app and see if Spirit is listed there with green to indicate SU allowed.

Superuser has been tricky lately, in the latest Android versions.
[Spirit FM] mikereidis:
Hi, good.... I presume the new reference app uses /dev/tifm, which is the new way I first saw on the International HTC OneX.

Audio on 2011 and earlier Sony devices is a problem I was never able to solve, except for one X10 mini (?) model, despite trying many times remotely, without a Sony device in my hands.

Sometime in the last year or 2, Sony released their FM app source code for TI based devices, which uses the older TI API. But I think the audio stuff depends on the Sony audio libraries, which are closed source.

AFAIK, the only way to figure this out is by reverse engineering, unless you can find somebody at Sony to release info, which I think is unlikely.

Good luck... :)
[Spirit FM] mikereidis:
:)

Yeah, I tried Spirit1 & 2 on my HTC One w/ AOSP 4.4 and it worked fine.

I also saw them "work" (as much as they can with no FM access) on my Nexus 7 2013 w/ official Google 4.4.

The only problems I saw were after I switched to ART; It worked OK, but turning FM off caused a crash. There seemed to be some JNI issue that may be a Google issue.
[Spirit FM] mikereidis:
Thanks for the heads up.

I thought this was pretty interesting, until I saw that it's a $179 phone, unlocked and unsubsidized.

Even evil Verizon has FM in Android phones, but only in the low-mid range offerings. Verizon and Motorola both don't offer anything high end with FM, unless you consider the $400 unsubsidized rugged Commando 4G to be high-end, which I don't.

I can't get too excited about a low cost phone. People who buy them don't usually buy apps. And I tend to be among those thrifty people, LOL. Only reason I have high end phones is because that's where my app sales are.
[Spirit FM] anavi011:
Hello friends

I have Alcatel 995, and aokp4.2.2 tweaked rom. because i cant have radio, i install Spirit_FM_Unlocked_APK_2013_09_18_Premium_Apps_Android

but dont work. Please , someone give me instruction for settings

Thank you very vey much