[Q] Support for Huawei ascend mate 2 - Spirit FM

I was wondering if there were anyway to get spirit light working with my Huawei ascend mate 2. When I launch the app it seems to be able to tune the stations but there is no audio output. Is there some settings I need to changes? I'd really like to be able to listen to radio over my bluetooth headphones.
Thanks for the help.

I'm unable to support most Huawei phones, and know little about them.
Do you see letters like "QC" etc. in the display when it starts ? What do they say ?
If it's rooted Spirit2 may work if it uses a Qualcomm FM/combo chip. Qualcomm SOC is needed, but doesn'g guarantee Qualcomm FM.
Just FYI, posting in my general thread will often get quicker answers than a new thread: http://forum.xda-developers.com/showthread.php?t=1059296&page=924

I don't see any letters when I launch spirit1. Spirit2 gives me an error about no tuner api so I'm assuming spirit2 won't have any chance of working for me. I am rooted but my phone is an Asian version of the mate2 which uses a HiSilicon Kirin910 CPU whereas the NA version uses a qualcomm. When I scan channels in spirit1, the signal meter changes from channel to channel and is stopping on my local stations so it must recognize the tuner, no?

Related

FM Radio?

Has anyone been able to find out if the PRO has a radio in it like the X and D2?
http://androidcommunity.com/activate-the-droid-2’s-fm-radio-yes-it-has-one-20100927/
Common sites say Yes for FM Radio, but after I checked pdadb.net and motorola's developer site for Droid Pro specs - both the sites do NOT indicated FM Radio.
Now it all remains on someone who's bought the device and can let us know.
I own a Moto Pro
How can I check? (Without opening it or voiding my warrany)
willdogs said:
I own a Moto Pro
How can I check? (Without opening it or voiding my warrany)
Click to expand...
Click to collapse
Just plug in your headset and look for the FM Radio app in Menu. If it exists then Yes there is a FM Radio if NOT we have the answers.
FM Radio within TI wlan/bluetooth chipset
Hi Droid Pro Users!
There is a light in the dark for FM Radio fans.
I just found this info from TI about the on board chipset TI 1271
----------------
There are four solutions in the WiLink 6.0 product
offering. The WL1271 supports 802.11b/g/n in
the 2.4-GHz band, while the WL1273 supports
802.11a/b/g/n with 2.4-GHz and 5-GHz band
support. Both single-chip solutions support
Bluetooth 2.1 Release, ANT and FM transmit and
receive. The WL1271/3L support in addition to
the above, Bluetooth Low Energy Specification
4.0 + EDR.
---------
You will find all info here:
focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12762&contentId=29993&DCMP=WTBU&HQS=ProductBulletin+OT+wilink_6
That means the Droid Pro hardware is able to receive FM Radio and maybe also to send, but receiving would be good enough for me.
Now... who is able to build the necessary drivers?
I would love to do it but I have no idea how ;-)
Maik
Very interesting indeed!
When/if built the software and drivers would be brilliant. Maybe moto can do it if requested by many of us?
In the meantime I use tunein radio app from market, which works well using my data connection, network or wifi.
Sent from my DROID PRO using XDA App
I could bet that Motorla don't care about it.
As far as my experience with Moto is...
- they know that the chip is able to do it.
- they thought they can make it work
Result...
- maybe reception is too bad because of design flaws (chip or antenna position) -> they decided not to offer it
- maybe the marketing gang thought a FM radio is nothing for a business phone...
Anyway... I would take it even with a bad reception, but I'm sure they will not offer it.
An internet radio is not allways a good solution. You need an unlimited data plan and also a good reception. I made bad experiences during train travel and also in areas with lower reception. It sucks...
I want a real radio, please
If the transistor which taks care for FM radio is phisicaly connected, so that can use headphones as the anttena, then it is possible to have FM radio on your phone. Here is some new stuff that XDA user mikereidis have discovered about TI WL 127x chip. Maybe some developer is interested.

[Q] radio FM ?

Where is the FM radio in the X5? . In the description of the phone it is listed. Unfortunately I can not find anywhere this application.
Hardware supports fm radio, but there is no software to use it... Its a disinfomation...
porting FM?
I tried to upload an FM radio with HTC and Motorola, but unfortunately when I start the program is stopped. Maybe there is someone who will try to match any of the available online programs to support FM radio?
i hope someone can do it for us.after all the hardware support it.
the unlucky news is that huawei said they will not do it,so we must rely on the other people,like some people here.
FM files
The system files, I found the files to the FM radio, it seems that only lacks a program that would be handled.
Are someone working on getting the FM radio to work? I would really appreciate if someone made it possible!
Registering ALOT of interest in a FM radio
Tried few fm radio apps on cm6.1 alpha4, few from miui rom and one called spirit fm radio. Neither does work. Spirit fm puts out errors on logcat. Miui one dont put out so many errors, but it says that audio is routed to hdmi and mute is on.
But maybe there is hope
fm
I installed it FMRadio. Although radio is not working but the program is not interrupted (FC). When you receive the "FM working ...." select button "back". the menu works. Radio comes with ROM DroidX. This is the only program FMRadio that I managed to install. It is worth to work on it.
http://www.mediafire.com/?bnmwkeknol967ca
My dreams are coming true, i hope the community gets behind this!
I have not had proper FM for years.
I've installed the FMRadio.apk but when I launch it, it sits on "FM Radio is being launched, please wait..."
If i go 'Back' i can access the menu, select a frequency and even set a preset, but it doesn't play.
According to Huawei Norway the x5 does not have the hardware to support fm radio.
The phone seems to have FM radio (the kernel initializes the chip and sets audio routes for fm), but those apps from Moto/HTC etc phones are designed for either for TI or Broadcom chips so won't work. There's also the possibility that the chip antenna isn't connected to the headphone jack so even if everything else is there you won't be able to get reception.
I did a bit of searching and there is a Qualcomm FM radio app.. might be an idea for someone to build this and see what it can do (probably it won't work, but you never know).
https://www.codeaurora.org/gitweb/quic/la/?p=platform/packages/apps/FM.git;a=tree
chould some work it out? i wilk wait!
Is anyone still still looking into this?
This is the one feature that the x5 is missing that would make it a killer phone for the price point.
No news with Radio?
take a look to
http://forum.xda-developers.com/showthread.php?t=1151928&page=3
Radio Fm
My x5 have radio and is ok
I have instal de "Free spirit FM.apk" and is ok
Moved To Q&A​
Please post all questions in the Q&A section​

FM radio?

Hi guys,
How do we know fm radio chip is not connected? Is there any document confirming that or did any one opened the phone to check that? I have seen a thread where people were talking about enabling disabled fm radio in different phone.
Regards,
ncc74656
Well, there's a binary (in /system/bin/ but I can't remember its name) that communicates with the FM radio driver. And when I was playing around with it, there are some options like changing band or checking info, info was null (or no signal)...
So I guess we really can't make FM radio work just with software.
Maybe that binary came from an early Defy ported Rom, along with the driver, I don't know...
Please link the other thread you saw.
Sent from my Milestone 2 XDA App
as i read on development forum: "milestone 2 has the hw to play fm radio, its 'just' not wired. so unless you're crazy enough to open your phone and wire it yourself, no fm radio for milestone and that's it"
I don't know how is it about hw side - except the information already mentioned in the post above.
I only tried fm tuner binary, application and library pack from driod 2 (http://forum.xda-developers.com/showthread.php?t=769894), but without success - the radio application didn't even correctly started - I thought it will work, but only without signal - 'cause it is not wired to antenna...
I agree with post #2 - unfortunatelly it is shame, but it is - i think - impossible to get it work only with sw way... But I'm also still interested in some prove or source about fm tuner hardware situation in Milestone 2..
Download and install Tunein Radio. It's the best choice...trust me (at least here in Brazil).

ANT+ Radio

Hello,
does our device suppor ANT radio? maybe in some kind of custom rom/application?
thnx
You have any link or info on what "ANT Radio" is?
yes, this is a good site for additional info : http://runningdigital.com/2010/10/30/bluetooth-and-ant-sensor-tech-for-mobile-phones-today/
seems some processors are able with ANT radio , but must be opened with firmware/apps
from previous link :
Android Let me start off by stating that no current Android supports USB dongle-type adapters, like those available to iPhones. While this isn’t great news, I’m more keen on native support solutions anyway than to have something else plugged into my phone before every run. That said, to have native ANT+ support we need the right hardware and firmware specs. Texas Instruments is one of the first, or only, to supply chip sets for mobile phones that supports ANT+ connectivity. I say “supports” because the phone’s firmware has to be written to activate the ANT+ radio, and I have not been able to find an example of this yet. The Motorola Droid X contains the Texas Instruments ANT+ capable WiLink 6.0 chip, however it lacks the out-of-the-box firmware to make ANT+ connectivity possible. Even if you were to enable ANT+ by hack, there still isn’t an app in the Android Market that’s ANT+ ready. Bottom line, widespread Android/ANT+ solutions are going to take some time to be available. *EDIT Sony Ericsson is now the first Android handset maker with ANT+ connectivity solutions. On February 1, 2011, SE began rolling out firmware updates activating ANT+ hardware on their X8 and X10 family. No word found yet on compatible applications. ENDEDIT*
As new as it sounds, especially with something like the Erickson being the first to have it in Android, I kind of Doubt that the Desire-Z/G2 is going to have it.
Though if I knew what to look for in the DMESG output I could tell ya.
i have read om some other website that seems also some HTC desire series are able to have ANT radio, but seems HTC disabled it in the rom...
but cant find the link anymore
NoFatePPC said:
i have read om some other website that seems also some HTC desire series are able to have ANT radio, but seems HTC disabled it in the rom...
but cant find the link anymore
Click to expand...
Click to collapse
If the ANT+ Demo app is any indication I would say no. https://play.google.com/store/apps/details?id=com.dsi.ant.antplusdemo&hl=en
T-Mobile HTC HTC Vision
This item is not compatible with your device.
Click to expand...
Click to collapse
Course that's assuming that it's based on the latest Stock Rom provided by HTC/T-Mobile.
Only the HTC Rhyme seems to have it for the Endomondo app.
ok, thnx for the feedback

[APP][4.1+] Spirit2: Real FM Radio for AOSP & root

Spirit2 is the successor to Spirit1 Unlocked and is the "Best Darn FM app"* in existence !
I'm closing this thread again in favor of the general Spirit1/Spirit2 thread: http://forum.xda-developers.com/showthread.php?t=1059296&page=868#post57106533
It's too confusing trying to figure out where to post what.
I will update first 10 posts of this thread as documentation when I can.
Spirit2 Beta releases on Play for customers, updated sign up info: http://forum.xda-developers.com/showpost.php?p=57079402&postcount=795
Android ONE = Google FM Radio ?? !! http://forum.xda-developers.com/showpost.php?p=53677209&postcount=781
Spirit2: Hi Mike, I am still enjoying Spirit 1, is there any reason to pay again for Spirit 2? : http://forum.xda-developers.com/showpost.php?p=52304934&postcount=647
HTC One M8 Verizon ! http://forum.xda-developers.com/showthread.php?p=51904184
Spirit2 is a real, tuned, over-the-air FM radio app for Android. It does not require Internet access.
Requires AOSP !: If you don't know what AOSP means, Spirit2 is not for you. Spirit1 Unlocked works on numerous stock phones: http://forum.xda-developers.com/showthread.php?t=1059296
*"Best darn FM app": Yes, it has some bugs, and some device support issues, and may lack some of the "polish" of many stock FM apps, but it's the most functional and even the current RC1 has more settings than stock apps.
The ONLY FM app supporting ALL this: Equalizer, Effects, Recording, BT A2DP and Visualizer.
Spirit2 also supports multiple "remote" displays and controls: Home and lock-screen widget, lock-screen, notification shade, BT AVRCP and future Android remotes. AVRCP puts RDS and station info on the display of compatible BT headsets, and controls Pause/Play and preset selection. Was pretty cool the first time I saw that working.
Install Spirit2 RC2, March 26 Google Play: https://play.google.com/store/apps/details?id=fm.a2d.s2
Spirit2 Beta group. Latest releases for Play customers: https://play.google.com/apps/testing/fm.a2d.s2
March 25 New Info:
Main XDA thread: http://forum.xda-developers.com/showthread.php?t=2537861
Officially Supported Devices, ROMs: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=2
Usage: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=3
About Digital Audio: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=4
Troubleshooting: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=5
Device Specific Issues: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=6
Business Issues: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=7
Features: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=8
Reporting Problems: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=9
Future of Android Radio: http://forum.xda-developers.com/showpost.php?p=47722466&postcount=10
"Upgrades" from Spirit1:
If you've been happily using Spirit1 Unlocked for at least 3-6 months, please consider Spirit2 as a second purchase, for a next generation FM app. Help me give Spirit2 the 3+ year lifespan that Spirit1 has had so far. My income is still at the lowest end of "tolerable". Support me and I can support you.
The price is a bit higher than Spirit1 Unlocked. It will be dropped a bit on the 1st day of each month.
At Release Candidate #1 all known major bugs have been addressed. Please understand: software always has bugs, new ROMs can require new code and improvements are ongoing.
Thanks !
Mike.
Spirit2 "Official Support"*: ONLY these phones running "Compatible AOSP"** ROMs:
Samsung GS3 GT-I9300
Samsung GS2 GT-I9100
Samsung GS1 GT-I9000
Samsung Note2 GT-N7100
Samsung Note1 GT-N7000
HTC One (GPE requires BT off)
HTC OneXL LTE, OneS, Evo 4G LTE (2013 CM11 only. 2014 kernels broke FM)
LG G2 D802 International and Sprint LS980 only. (Some stock, CM11 and Mahdi ROMs only as of March, 2014)
Motorola Moto G
*"Official Support" means I own the phone and I can properly support it.
**"Compatible AOSP" ROMs includes as many AOSP ROMs as I can reasonably support, that have the FM and audio kernel drivers needed to enable FM. CM11 is the most popular and best supported, except for the incompatible 2014 kernels for HTC OneXL LTE, OneS, and Evo 4G LTE. LG G2 is only supportable on CM11 and Mahdi ROMs as of March, 2014.
Unofficial Support:
The only other devices with a chance of working fully are those with Qualcomm WCN3660 or newer compatible FM/BT/WiFi chips as well as Qualcomm WDC9310 or newer compatible audio chips. This includes most late 2012+ Sony devices starting with Xperia T. These may or may not work well, and are not officially supported. With sufficient demand I will consider buying a "Z" device and officially supporting some Sony's.
Stock ROMs:
Spirit2 also works reasonably well on many stock or stock derived ROMs when rooted. But there are often problems, such as FM over BT issues on Samsung stock ROMs. Most of my customers are on AOSP/CM ROMs.
Stock FM apps are available on stock ROMs, and few stock ROM users support Spirit financially, so I focus on AOSP. The Death of access to stock, unrooted OEM proprietary FM APIs has sharpened that focus: http://forum.xda-developers.com/showthread.php?p=50954346
Support for New Devices:
Support for new devices will be considered IF all of these are true:
FM is possible. GS4, Note3 (except Sprint) and GS5 are not possible for anyone to ever support. See GS5: http://forum.xda-developers.com/showpost.php?p=50600906&postcount=7541
Digital FM Audio is possible, the Spirit way. Most higher end 2013+ phones are capable, as well as some lower end, such as Moto G.
Popular among AOSP ROM users. Galaxy S and 5 inch Note class flagships are the vast majority of Spirit2 and current Spirit1 Unlocked sales.
Higher end ; Inexpensive phones are great, but most apps are sold on high end devices.
I need to be convinced that the costs of purchasing this phone, PLUS the much greater costs of supporting it will result in at least a liveable wage. Just learning how to and flashing various ROMs can add up to hundreds of hours. Add fixing soft-bricks, learning the HW & SW, investigating, reverse-engineering, coding, and doing ongoing updates, fixes, workarounds and support and you get a glimpse of why Spirit2 support is limited to a handful of the most popular devices.
Ideally, the non-International North American variants support FM, at least in hardware. LG G2 and all Samsungs are a great disappointment here.
Every day I get MANY Spirit1 Unlocked debug logs in my email from pirates. Most of them come from less expensive devices, especially Mediatek devices from Huawei, ZTE, and much lesser known companies.
I have little interest in supporting phones that might earn me $100 if I got lucky, and would drown my email with even more pirate debug logs.
Usage:
Power control:
Status: Center of shiny frequency dial power icon is blue if on or grey if off.
Toggle: Tap center of shiny frequency dial where blue (if on) or grey (if off) power icon is.
On: Tap Play button at lower right or in widget.
Off: Tap square Stop button at lower left, in widget or in notification shade.
Auto on: Start app to automatically turn on FM.
Auto off: Start another music app and FM will automatically turn off.
Tuning:
Dial: Big shiny frequency dial displays and can be used to set frequency.
Blue Digital: Tap numbers to manually enter frequency.
Seek: Previous and Next buttons to left and right of Blue Digital display seek down or up to next strong station. Same for widget, notification shade, lock-screen and other remote controls, but ONLY when there are less than 2 presets programmed.
-/+: Left and right buttons below seek buttons tune down or up to next valid channel, depending on Band setting.
Presets: There are 16 presets at bottom. Press or long press a "+" to set or reset the current frequency as a preset. RDS names are now supported.
Preset -/+: When 2 or more presets are programmed, they can be navigated with the Previous and Next buttons for the widget, notification shade, lock-screen and other remote controls. With 0-1 presets, these are seek controls.
Mute/Unmute:
Status: Pause/Play button at lower right, in widget or in notification shade shows expected result of tapping it. Eg shows Pause if currently playing.
Toggle: Tap Pause/Play button to pause or play audio.
Volume:
Status/Change: Tap speaker button at top right or use hardware or headset media buttons to display and change Music stream volume.
Record:
Status: Red button at top left is brighter when recording.
Toggle: Tap red button to change recording state. Files at /sdcard/Music/fm.
Equalizer:
AOSP compatible equalizers, such as CM DSP Manager, can be accessed in ROM Audio settings, or with the Spirit2 on app "Menu" key (not the old style phone Menu keys). This key has 3 horizontal lines and is at low center between Stop and Pause/Play.
Settings:
Some settings are accessible by swiping from right to left to access a window to the right of the main window.
UI Visual: To replace the frequency dial with a waveform and spectrum analysis visualizer.
Band: Use "USA" in North America or "EU+" everywhere else.
Tuner Stereo: Stereo 2 channel when checked or Mono when unchecked.
Tuner AF: Alternate Frequency switching enabled when checked.
Audio Stereo: Distinct from Tuner Stereo and can lower CPU load and recording size.
Audio Speaker: Experimental Speaker mode works on some phones but may have volume control issues.
Notes:
Other settings: none at this time.
Debug log sending is experimental.
Remote display and controls: for lock-screen, notification shade, widget, wired headset media buttons and remote controls and info display via BT AVRCP.
Speaker output experimental. Workaround: remove wired headset plug enough to switch to speaker, but still inserted enough for a good antenna connection.
About "Digital Audio":
History:
Before 2013, most FM radio audio on Android phones was "mostly analog"*. FM audio bypassed the digital audio chain and was injected in the final stages, after the final D->A conversions.
FM audio was a special path that did not follow the same rules as every other source of audio on Android. Hundreds if times I've heard "... but it works fine with music players etc." and I explained how FM is different. Fm audio usually can not be equalized or modified with effects. It usually can not be recorded, visualized, or routed to BT headsets.
AOSP Difficulties:
Besides lacking these digital audio features, "non-digital"** FM audio is difficult to do on AOSP ROMs. AOSP usually does not use the stock audio libraries that contain support for FM. This has been a never ending source of grief and work for me; I spend at least 50% of my development time on audio issues as a result.
Basically, Spirit will use SU/root low level functions to set up the audio hardware for FM, via kernel device driver commands for ALSA or earlier APIs. But the ROM audio library has no idea that FM is running. This can often result in conflicts that break audio, especially during audio notifications. On some popular older devices, such as HTC Desire HD, I had to create a hack that resets the entire audio system when FM is turned off. And users just have to live with the fact that audio notifications break audio, at least until FM is turned off or the device is rebooted.
There were many other problems, including a need to continuously loop a silent audio file, to convince the audio libraries that music was playing. Otherwise, volume control was lost, among other things.
This was rarely a problem on CM7 ROMs that included a CM FM app, because the audio libraries supported FM. But most CM9 ICS and later ROMs dropped support for FM. I considered making code contributions to CM and other ROMs to fix this problem the proper way, in the audio libraries. But I concluded this would take all of my time, may create personal conflicts and might never cover the majority of ROMs anyway.
*"Mostly" analog: Surprisingly, just about every FM chip does internal signal processing digitally, after the initial A->D conversions, Frustratingly, virtually every 2012- phone did not use digital outputs, where they existed, but converted the Digital left and right audio back to analog.
"Non-digital"**: I do not use this term to strictly mean "Analog". I use it to mean a method to enable FM audio that stock OEM FM apps use, and that Spirit1 uses, when not using one of the "Digital..." Audio-> Method settings. At the chip level, the audio may be digital, as is the case when using Qualcomm FM/combo chips with Qualcomm WCD9310 or compatible audio chips.
Spirit's Digital Audio Solution:
A digital solution to most of these problems was envisioned in late 2012, and resulted in the 1st prototype alpha releases of Spirit2 in early 2013. Spirit2 was digital only and this proved to be a much easier way to do FM audio, with few problems. When it became clear how much more work was needed to complete Spirit2, and given that Spirit1 continued to sell well enough to live, digital audio was "back ported" to Spirit1.
Here's how it works: Instead of just sending a few commands to the audio drivers, Digital audio mode sends different commands to enable digital, then continuously reads the ALSA PCM channel. All audio data read is then written to the Android Audiotrack API, the same as most streaming apps do. A streaming app reads from the network; but Spirit reads from the FM/audio chip.
The main disadvantage of this digital audio method is higher CPU and battery consumption. OTOH, "non-digital" audio on most AOSP ROMs required a constantly looping silent audio file anyway, so the difference is minimized.
Another digital disadvantage is that some devices can experience brief audio drop-outs. This does not affect Samsung devices. Full and partial workarounds include modifying CPU frequency or kernel scheduler. Tuning and investigative work is ongoing.
There are also challenges for speaker mode. The current support is experimental and does not work on all devices. But the current code is much cleaner and much more robust than Spirit1 non-digital audio, which can have issues during phone call interruptions. Volume control can also be unusual over speaker. The reason for these problems is that Android is designed to switch to speaker only when the wired headset is unplugged. But FM is unique: the wired headset is used for the antenna. A workaround for motion-less devices: remove the wired headset plug just enough to switch to speaker, but not enough to lose the antenna affect.
But the advantages of this form of digital audio are HUGE, IMO. They have allowed me to provide all the audio features people had been asking for: recording, equalization, effects, A2DP BT headset and visualizers.
AND it allowed me to minimize the MANY FM specific audio problems with much smaller, better designed and better written code, with a minimum of special cases. The Spirit1 audio (and other) code is a huge mess and can never be re-written IMO.
Audio dropouts on non-Samsung devices made me consider non-digital audio methods in Spirit2, despite the work and complications that would create. But a variety of fixes and re-tuning has improved audio, workarounds have been identified and work is ongoing.
The advantages of digital only are too great IMO to "pollute" Spirit2 code with non-digital audio. I've even removed previous non-official support for stock Sony devices in order to concentrate on digital audio that is as flawless as possible.
Drop-out Workarounds:
Samsung devices only rarely have audio drop-outs. I've only seen this on the oldest, now "vintage" original Galaxy S GT-I9000, and only when recording, at the same time that the equalizer, effects and the visualizer are all running. The old single core CPU gets close enough to it's processing limit that very occasional ticks may be heard, but the recording is usually fine.
LG G2 and Moto G are working pretty well now. The worst affected are the HTC One and the HTC OneXL/S/Evo 4G LTE, or other Qualcomm FM+audio devices. Further tuning and investigation is ongoing, but these things can minimize the problem:
Don't record.
Turn screen off.
Disable visualizers or any other app or service that might be using CPU resources.
Disable equalizer or other audio effects. Bass-boost and EQ alone don't seem too bad.
Raise CPU minimum and/or maximum frequency (Only if you understand the risks of CPU burnout.)
Change CPU scheduler: Performance risks CPU failure; Interactive or Pegasusq may be better.
Troubleshooting:
Does not start:
SU/root missing is the most common problem. Ensure Spirit has permission enabled in the SuperUser or SuperSU app, or with the ROM Super* settings.
Omni & many other ROMs require manually flashing SuperSU. After flashing, run SuperSU and respond Yes when prompted to allow SU reflash after ROM updates.
If your device is not officially supported, it will likely not work. Except for devices with both recent Qualcomm FM and Qualcomm audio, phone architectures for FM are very different from each other.
Stops playing or hangs:
Workaround: Force stop or reboot. Fixes are ongoing.
Audio Stops at Homescreen:
Disable Google Now Launcher: Homescreen Long Press-> Settings-> Voice-> "OK Google" hotword detection-> Off.
Audio Dropouts:
See "Audio Dropout Workarounds" at bottom of "About Digital Audio": http://forum.xda-developers.com/showpost.php?p=47722488&postcount=4
Odd frequencies only:
Set Band to "EU+" after swiping from right to left to reveal right side settings. Default is "EU+" unless ROM identifies location as North America.
Where are recordings ?:
See /sdcard/Music/fm for WAV files named with parseable start time. Compression to MP3 files will be considered in future. Maximum of 4 GB results in 5-10 hour maximum time, depending on sample rate (22-48 K depending on phone).
Speaker does not work:
Experimental at present. Workaround: remove wired headset plug enough to switch to speaker, but still inserted enough for a good antenna connection.
Speaker volume control broken:
Experimental at present. Turn Screen off or use on app volume.
Phone call problems:
Avoid speaker mode
Avoid removing or inserting wired headset while FM or phone call is active.
Other:
See "Device Specific Issues" for your phone: http://forum.xda-developers.com/showpost.php?p=47722507&postcount=6
See "Reporting Problems": http://forum.xda-developers.com/showpost.php?p=47722466&postcount=9
Device Specific Issues:
GS3/Note2:
Stock issues with FM over BT; requires wired headset unplug.
Note2 requires (widely available) kernel codec_reg to equalize channel volumes.
GS2/Note1:
Stock issues with FM over BT; requires wired headset unplug.
GS1/Player:
Spirit2 slows device considerably. Vintage single core CPU struggles with digital audio.
Audio levels a bit low. Experiments to raise analog gain unacceptably increased distortion.
HTC One:
See "Broadcom One & G2".
GPE and stock require root/SU and BT off.
Stock ROM audio may change when Spirit goes on or off-screen.
See "Audio Drop-out Workarounds".
LG G2:
See "Broadcom One & G2".
FM over Bluetooth WAS THOUGHT TO BE impossible due to LG hardware design. (Switch shared by BT and FM). But it works now in CM11, and even unpaired BT on speeds up startup.
Broadcom One & G2:
HTC One and LG G2 both use a Broadcom BCM433x FM/BT/WiFi combo chip.
GPE and stock ROMs use proprietary-ish BT stack, so BT must be off for "UART mode" (or use Spirit1 on stock LG). This may be fixable.
UART mode can take 10-15 seconds to start. Be patient.
For FM over BT or faster startups, AOSP (but not GPE) ROMs use a "Bluedroid shim" method to access FM.
For Bluedroid shim, install with BT off, run Spirit2 once, reboot, start BT and start Spirit2. ROM upgrades require repeating this step every upgrade.
Don't change BT power state while Spirit is running. This should be more graceful in future.
HTC OneXL/S/Evo 4G LTE:
Qualcomm WCN3660 compatible FM/BT/WiFi & Qualcomm WDC9310 compatible audio. See "Qualcomm OneXL, MotoG & Unofficial".
2013 kernels and CM11 only, or cm-11-20140104-SNAPSHOT-M2-evita.zip ! Unfortunately, 2014 kernels broke FM by removing modules support.
Moto G:
Qualcomm WCN3660 compatible FM/BT/WiFi & Qualcomm WDC9310 compatible audio. See "Qualcomm OneXL, MotoG & Unofficial".
CM11 for Moto G includes an FM app and there can be interference if you run both at once.
Qualcomm OneXL, MotoG & Unofficial:
Qualcomm WCN3660 compatible FM/BT/WiFi & Qualcomm WDC9310 compatible audio.
Some kernels do not support the Qualcomm Iris FM driver.
See "Audio Drop-out Workarounds".
Unofficial includes most Sony late 2012+ devices starting with Xperia T. With sufficient demand I will consider buying a "Z" device and officially supporting some Sony's.
Business Issues:
Why a commercial app ? :
Because donation models just don't work in the long run. CM went commercial to better thrive and the same for Spirit. Spirit would have folded after 1 year, instead of the 3+ years it's been going, without app sales at a decent price.
Why so expensive ? :
Latest post about pricing: http://forum.xda-developers.com/showpost.php?p=51269130&postcount=574
Refunds & Upgrades:
New 30 day refund policy: http://forum.xda-developers.com/showthread.php?p=50889714
Both Spirit1 Unlocked AND Spirit2 ? :
I NEED your financial support, so if you can afford it, I appreciate those who purchase both. See post below for a list of differences.
But if you are a paid customer for one of these apps, I can send you test copies of the other here and there. This might be for trouble-shooting, or to gain features or avoid certain bugs.
Open Source ? :
Nothing yet, other than a few example snippets and an App Inventor app that nobody seems interested in.
At some point, everything will be released, as I've done with other projects. X years after I pass away, or at some time I find appropriate.
I may release portions, to allow 3rd party FM or audio chip plugins, 3rd party apps or whatever. Convince me that it's in my (and Spirit's) interest.
Redistribution:
Any version I release as Free, as described in this thread, can be re-distributed in a ROM, as long as there is no misrepresentation, or fee charged for the ROM, or combo of phone and ROM or whatever I deem.
Any versions which I do not identify as Free must not be distributed, sold, or otherwise "spread".
Free versions will be the exception, rather than the rule, at least at this time. I owe it to Spirit, myself and all of you to keep Spirit alive as well and as long as I can. Please support as best you can; I still get occasional Paypal donations, to [email protected] and I appreciate all of them.
Features:
Features may be added as demand and time available indicate. As of March 2014, Spirit1 Unlocked still has features that Spirit2 does not.
But Spirit2 will likely not get EVERY feature that Spirit1 Unlocked has. It seems better to me to focus on the most commonly requested features. Time available for adding features is always in short supply, with the constant flow of new ROMs creating a constant flow of new problems to solve. Spirit2 is focused more on quality than feature quantity.
As of March, 2014, Spirit1 Unlocked has pretty much every feature that Spirit2 does. Exceptions include an OFF button in the widget and notification shade, which is exclusive to Spirit2.
So I'll list features that are exclusive to Spirit1 Unlocked:
Spirit1 Unlocked exclusive features:
Stock, unrooted device support. Spirit2 will likely never add this feature, due to the low level of interest and the "Death of access to 3rd party FM APIs" as posted.
Settings, especially Debug. Spirit2 attempts to automatically set as much as possible, visibly or not. Spirit2 WILL get more settings, as time available and demand indicate.
Speaker mode. Still experimental on Spirit2, with issues.
Preset rename and delete. Spirit2 will add.
Preset lists as groups for presets. No demand ?
Screen rotation. No demand ?
Sleep function. Little demand ?
Antenna/headset unplug action. Little demand ?
Recording options. Will add some.
Reporting problems:
I prefer that Spirit2 problems be reported publicly on this XDA thread. I almost always reply to thread posts before dealing with my email.
If you are using a Free version, I generally prefer that you not email me.
I've disabled XDA PMs; I got tired of "private requests for support" from non-customers. If it's important, email [email protected] .
If you're a customer and you post, let me know if I don't know you. I may be more likely to help and flash your ROM to test or whatever. These things take time and time is short.
If you're a customer and you email, and we haven't exchanged email before, please give me the email of purchase, or better yet the order ID. Some people DO pretend to be customers, and are not. Google used to make it easier to search customer records, but in the name of privacy, it's now hard to search.
Always include your phone model and variant (eg ATT version), and the ROM you're running. For Spirit2 I'll presume you are rooted at least.
Thanks !
Future of OTA Radio on Android:
I say "OTA Radio", but it boils down to analog FM. Nobody has ever supported AM radio in an Android phone.
Digital HD or DAB+ etc radio is non-existent on smartphones. See: The "Euro Chip Initiative" and "The Universal Smartphone Radio Project": http://forum.xda-developers.com/showpost.php?p=50419281&postcount=451
I have no crystal ball, but the trend seems downward.
Attempts to standardize on an FM API for Android have all failed.
Future of Spirit:
From the perspective of Spirit, financial support has been strongest from owners of high end Samsungs, since I added support for GS1 in 2011 and GS2/Note in 2012.
We've now seen 3 flagship phones from Samsung on which FM is impossible to enable (very purposely): GS4, Note3 (except the very rare Sprint variant) and now GS5. Thus my primary sources of financial support are drying up.
The only 2013 devices that are officially supported by Spirit2 are LG G2 and Moto G, and sales on these devices is sadly tiny. And I'm not seeing any 2014 devices so far that I would be able to officially support, though I will keep an eye on the Sony Xperia Z2.
It does not help that all Nexuses (except the now ancient Nexus One) also have FM permanently disabled in hardware (very purposely).
I am further troubled that both HTC and Samsung have disabled 3rd party access to their FM APIs. It's impossible now for Spirit1 to work on the latest stock Note3 and HTC One ROMs. I experimented with Samsung stock API support in Spirit2, but have now removed the code; it's useless to fight the trend.
Add the fact that Google is adding security features to Android that are IMO welcome, but are making things more and more difficult for root apps. At least AOSP ROMs like CM11 tend to be more welcoming.
How long can I keep Spirit going ? :
I currently make income that's around the low end of liveable. My long hours make it about the minimum legal wage here. Employers pay 5 times as much in my field, plus benefits and vacations.
My income was "decent" in the spring of 2012 when I stopped posting a free version on Play, added GS2 support and raised the price of Spirit1 Unlocked to about $10. Since the spring of 2012, my income has dropped, pretty much every month, to a bit more than half it's peak. See my pricing posts if you think I can "make it up with volume" by lowering the price.
Introducing Spirit2 has induced a small bump. Please help me bump it higher... I hope I can keep Spirit going full time until at least the end of 2014, after that things get fuzzier.
My niche (OTA FM radio) within a niche (AOSP ROMs) is narrow enough that I have pretty much ZERO paid app competition. Worse, it's getting narrower as time marches on. Nobody else has been "crazy" enough (and/or capable enough) to try this. But it's narrow enough, and narrowing fast enough, that I have to acknowledge it.
So, as a responsible, home owning adult, parent and husband, I have to start investigating other app opportunities. If/when my income drops sufficiently I may have to devote more time to other projects. Perhaps in the areas of audio, Bluetooth, AOSP and even wearables.
I understand that many pirates can't afford, or would never support Spirit. That's life, that's economics; it must be accepted.
If the piracy rate was 90%, then converting just 10% of the pirates into customers could double my income, and keep Spirit2 going for at least the 3 year life that Spirit1 has so far.
Thanks for listening.
Mike.
Here we go.
Please let me know if you prefer the app name "a2d.fm" or "Spirit2".
I will likely go with whatever is most popular.
I intended to go with "a2d.fm" but it doesn't seem to roll off the tongue as easily as "Spirit2".
Spirit2
For me Spirit2 sounds much better! Thanks for your effort!!
Somehow I seem to be reading the name as a2d2. I guess I really need my glasses to read what was written as opposed to what I think is written. a2d.fm for me since this will sort first and will be one of my most used apps.
Bought for my SGS3 running android 4.4 and I'm not sure how to tune a station.
Sent from my SGP311 using xda app-developers app
Awesome! Thanks Mike! And happy holiday to you too.
mikereidis said:
Here we go.
Please let me know if you prefer the app name "a2d.fm" or "Spirit2".
I will likely go with whatever is most popular.
I intended to go with "a2d.fm" but it doesn't seem to roll off the tongue as easily as "Spirit2".
Click to expand...
Click to collapse
Definetely Spirit2 (or Spirit FM 2, or Spirit2 FM): it recalls immediately previous app, thus its quality
Works fine on my device thanks !!
One display bug when the RSSI goes above 100 it displays 1.. .
For the name maybe just a2dFM without the . ?
Kess78 said:
Works fine on my device thanks !!
One display bug when the RSSI goes above 100 it displays 1.. .
For the name maybe just a2dFM without the . ?
Click to expand...
Click to collapse
What device do you have it on, and what rom?
Ta!
Sent from my SGP311 using xda app-developers app
mikereidis said:
Here we go.
Please let me know if you prefer the app name "a2d.fm" or "Spirit2".
I will likely go with whatever is most popular.
I intended to go with "a2d.fm" but it doesn't seem to roll off the tongue as easily as "Spirit2".
Click to expand...
Click to collapse
Spirit2 for me too
I have now purchased Spirit2. It's a little expensive, but as much you do for FM on Android it's only reasonable.
How can i close the app because it keeps running in the background. Awesome app by the way
Sent from my GT-I9100 using Tapatalk 4

Categories

Resources