Spirit1, Spirit2 Real FM Radio General Thread - Spirit FM

Spirit1 and Spirit2 are real, tuned, over-the-air FM radio apps for Android. They do not require Internet access.
Android 6+ Marshmallow Speaker mode and HTC One M8/Qualcomm startup problems: http://forum.xda-developers.com/showpost.php?p=64465957&postcount=9434
Dec 2, 2015: I'm going to close this thread for now at least, because sadly, too many "non customers" are coming here asking for support for paid versions and I've become very tired of it. Customers please email me [email protected] for support. Thanks !
Dec 2, 2015: Spirit apps now available via Paypal through the new Alpha level Official XDA App: http://forum.xda-developers.com/showpost.php?p=64109123&postcount=9431
Spirit2 2015_03_25_lollipop & KitKat slow rollout: http://forum.xda-developers.com/showthread.php?p=59681989#post59681989
Mar 18/19, 2015: New Spirit2 release for Lollipop+: http://forum.xda-developers.com/showthread.php?t=1059296&page=904#post59544280
Feb 21, 2015: Spirit's 4th birthday, Spirit2 analog mode & other New features: http://forum.xda-developers.com/showthread.php?p=58992351#post58992351
GOOGLE BAN on the Spirit apps (SELinux, lifted). http://forum.xda-developers.com/showpost.php?p=59810554&postcount=9046
DAMMIT Google ! DAMMIT new EU VAT policies ! : http://forum.xda-developers.com/showpost.php?p=58184929&postcount=8824
LG G3 official support ?: http://forum.xda-developers.com/showpost.php?p=57367265&postcount=8710
Spirit2 Lollipop HTC One M7 & M8 GPE with root: http://forum.xda-developers.com/showthread.php?t=1059296&page=872#post57367616
Spirit2 Open/Free now on Play for "buy me a cheap beer" price, and free XDA download: http://forum.xda-developers.com/showpost.php?p=57261604&postcount=8694
Spirit1 Light resurrected on Play for "buy me a coffee" price, and free XDA download: http://forum.xda-developers.com/showpost.php?p=57261804&postcount=8695
Spirit2 Beta releases on Play for customers, updated sign up info: http://forum.xda-developers.com/showpost.php?p=57079402&postcount=795
Spirit2 11_24/11_25 pre-mature Lollipop re-design release bugs on some ROMs prompt re-org of Spirit2 variants: http://forum.xda-developers.com/showpost.php?p=57057763&postcount=8664
Spirit2 Free: Open Source Real FM Radio for AOSP & Root: http://forum.xda-developers.com/apps/spirit-fm/app-spirit2-free-source-real-fm-radio-t2951455
Spirit2 RC2 beta for Lollipop: November 24 / 141124: http://forum.xda-developers.com/showthread.php?p=57006262
Spirit2 November 21 (141121): Beta Re-architecture for Android Lollipop 5.0: http://forum.xda-developers.com/showpost.php?p=56930903&postcount=8631
Spirit2 November 12 (141112): Experimental Re-architecture for Android 5: http://forum.xda-developers.com/showthread.php?t=1059296&page=861
Spirit2 October 29 (141029): Experimental Re-architecture for Android 5: http://forum.xda-developers.com/showpost.php?p=56376931&postcount=8571
Nexus 6, 9, Player & Android 5.0: http://forum.xda-developers.com/showthread.php?t=1059296&page=854#post56094758
Spirit2 October 1 (141001): Extremely Experimental Re-architecture for Android L: http://forum.xda-developers.com/showpost.php?p=55771652&postcount=8499
Android L: Spirit1 and Spirit2: http://forum.xda-developers.com/showthread.php?p=55733853#post55733853
Spirit2 0920 HIGHLY EXPERIMENTAL Audio mods, in preparation for Android L: http://forum.xda-developers.com/showpost.php?p=55560963&postcount=8455 APK: http://d-h.st/0z9
Spirit Transmit v2 0915: ONLY works on ROOTED Sony Xperia T and Z class; NOT Z2: http://forum.xda-developers.com/showthread.php?t=1059296&page=845#post55456171
Download Experimental Spirit2 September 10-12: http://forum.xda-developers.com/showpost.php?p=55397310&postcount=8427
Official Sony Z series support coming: http://forum.xda-developers.com/showthread.php?p=54229607
LG G2 Mahdi & FM friendly kernels: http://forum.xda-developers.com/showpost.php?p=54067863&postcount=8037
LG G2 FM friendly kernel patches: http://forum.xda-developers.com/showpost.php?p=54068182&postcount=8038
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=52304938&postcount=7787
HTC One M8 Verizon ! http://forum.xda-developers.com/showthread.php?p=51904224
Spirit2 is officially released ! New thread for Spirit2: http://forum.xda-developers.com/showthread.php?t=2537861
The Death of access to stock, unrooted OEM proprietary FM APIs:http://forum.xda-developers.com/showthread.php?p=50954346
New 30 day refund policy: http://forum.xda-developers.com/showthread.php?p=50889714
Digital Radio, the "Euro Chip Initiative" and "The Universal Smartphone Radio Project":http://forum.xda-developers.com/showpost.php?p=50416866&postcount=7511
Permissions problems on recent ROMs: http://forum.xda-developers.com/showthread.php?p=48749760#post48749760
--------------------
Spirit name: http://forum.xda-developers.com/showpost.php?p=45326547&postcount=6771
New phones: Note 3 LTE, HTC One Mini, Xperia Z Ultra & Z1/Honami: http://forum.xda-developers.com/showthread.php?t=1059296&page=673
Broadcom OEM API for unrooted changes on Android 4.3 HTC One: http://forum.xda-developers.com/showthread.php?p=44953912#post44953912
Nexus 7 2013: http://forum.xda-developers.com/showthread.php?p=44800402#post44800402
Meh... Emmis NextRadio app is underwhelming: http://forum.xda-developers.com/showthread.php?p=44669987#post44669987
BT headsets: RDS PS & station info, pause/play, previous + next with AVRCP 1.3+: http://forum.xda-developers.com/showpost.php?p=44463541&postcount=6619
HTC One GPE Android 4.3 solution: Use Spirit August 5 or later version: http://forum.xda-developers.com/showpost.php?p=44298000&postcount=6585 apk: http://d-h.st/gWe
Android 4.3 may break FM on devices using Broadcom FM/combo chips: http://forum.xda-developers.com/showpost.php?p=44233922&postcount=6571
"Spying" on FM radio usage stats: http://forum.xda-developers.com/showpost.php?p=44018032&postcount=6522
Effem FM app in some CM ROMs ? : http://forum.xda-developers.com/showthread.php?p=43795132#post43795132
HTC One GPE + digital audio (Unlocked): http://forum.xda-developers.com/showpost.php?p=43071149&postcount=6332
HTC One first AOSP/Google support: http://forum.xda-developers.com/showthread.php?p=42922397#post42922397
HTC One Nexus Experience phone: http://forum.xda-developers.com/showpost.php?p=42060507&postcount=6156
Galaxy S4 MINI GT-I9190 FM: http://forum.xda-developers.com/showpost.php?p=42061724&postcount=6157
Galaxy S4 = No OTA FM: "In with a bang, and out with a whimper." http://forum.xda-developers.com/showpost.php?p=40952026&postcount=6001
Where has all the FM gone ? Gone to streaming, every one ? http://forum.xda-developers.com/showpost.php?p=40952008&postcount=6000
See Supported Device List in post #2 below.
Variants:
Spirit Free: Basic & Mono. Digital audio on Galaxy S. See post #3.
Spirit Two Free Alpha: Digital Audio & other Unlocked features.
Spirit Light: (supported but no longer sold.)
Spirit Unlocked: RDS, Media Buttons, Lockscreen & much more.
Spirit is the ONLY fully digital FM app:
Bluetooth A2DP headsets in CD quality stereo.
Recording in CD quality stereo.
External visualizers, equalizers and effects.
Internal Wave and FFT visual: 5x8 dB & log2 43 - 22,050 Hz.
Digital audio support:
Rooted HTC One, One XL, One S, Evo 4G LTE, Sony Xperia T.
Rooted International non-US Galaxy S, S2, S3, Note, Note2.
Most stock Sony 2012-2013 devices.
Record only support:
Stock International Galaxy S2 Jelly-Bean, S3, Note, Note2.
Download:
Spirit Unlocked: https://play.google.com/store/apps/details?id=com.mikersmicros.fm_unlock
Spirit UL Paypal: Email me.
Spirit Free September 18: http://forum.xda-developers.com/showthread.php?p=45682432#post45682432 apk: http://d-h.st/H4x
Info:
Warning ! Galaxy S speaker risk: http://forum.xda-developers.com/showpost.php?p=13380066&postcount=3
For phones with no FM audio support: http://forum.xda-developers.com/showpost.php?p=42510412&postcount=6215
Galaxy S digital chipmunks: http://forum.xda-developers.com/showpost.php?p=39383252&postcount=5696
FAQ: http://forum.xda-developers.com/showthread.php?t=1059296&page=447
Doc 2012: https://googledrive.com/host/0B7UP2cIqyQXGZVZYZHItaC1ZWk0/spirit_doc.html or download from: http://d-h.st/TxN
Prior post #1: http://forum.xda-developers.com/showthread.php?t=1059296&page=571
Dongle FM SDR: http://forum.xda-developers.com/showthread.php?t=2108053 my notes: http://forum.xda-developers.com/showpost.php?p=38887290&postcount=5603
News:
The Death of access to stock, unrooted OEM proprietary FM APIs:http://forum.xda-developers.com/showthread.php?p=50954346
New 30 day refund policy: http://forum.xda-developers.com/showthread.php?p=50889714
Broadcom OEM API for unrooted changes on Android 4.3 HTC One: http://forum.xda-developers.com/showthread.php?p=44953912#post44953912
Meh... Emmis NextRadio app is underwhelming: http://forum.xda-developers.com/showthread.php?p=44669987#post44669987
BT headsets: RDS PS & station info, pause/play, previous + next with AVRCP 1.3+: http://forum.xda-developers.com/showpost.php?p=44463541&postcount=6619
Galaxy S4 stock ROM FM strings explained by new GT-I9300 FM voice commands: http://forum.xda-developers.com/showpost.php?p=41651659&postcount=6078
Galaxy S4 = No OTA FM: "In with a bang, and out with a whimper." http://forum.xda-developers.com/showpost.php?p=40952026&postcount=6001
Where has all the FM gone ? Gone to streaming, every one ? http://forum.xda-developers.com/showpost.php?p=40952008&postcount=6000
Sprint Ransom for FM: $15 Million + 30%: http://forum.xda-developers.com/showthread.php?p=37641690
US carriers Ransom for FM: http://forum.xda-developers.com/showpost.php?p=36567961&postcount=5154
Spirit2: http://forum.xda-developers.com/showpost.php?p=34526627&postcount=4882
Spirit2 design: http://forum.xda-developers.com/showthread.php?p=35571087
Please purchase Spirit Unlocked for full features, excellent support, and help Android FM.
Thanks !
Mike.

Compatibility
Edit August 18, 2015: I haven't updated this list since June 29, 2013 largely because FM has been dying on Android devices. Samsung hasn't supported FM on flagships since the International GS3 GT-I9300 and Note2 GT-N7100 and never supported FM on US flagships except for some rare Sprint devices.
If there is no stock working FM app on your device, chances are close to zero these days, especially on Samsungs.
The only additions I have made in over 2 years are: Sony Xperia Z2/Z3 or compatible, rooted LG G2 International or Sprint, and rooted devices with Qualcomm FM/combo and audio chips, such as the HTC One M8, Xperia Z1 and similar, and some lesser known devices.
November 12, 2012 compatibility list with more info on older devices: http://forum.xda-developers.com/showthread.php?t=1059296&page=480
No FM:
These devices, and many more, are not physically capable of FM, except as noted:
Samsung Galaxy S4/S5/S6/Note3/Note4/Note5 & most US/LTE models of Galaxy S, S2, S3, Note, Note2.
All Google Nexus's except Nexus One w/ custom kernel.
Motorola Verizon Razr HD & M / Maxx. (Australia variant has FM.)
Motorola Verizon Razr I XT890 (JB update disables FM. May 8 worked w/ root, but no audio.)
HTC Verizon Droid Incredible 4G LTE.
Manufacturers:
Samsung: 70 %
HTC: 23 %
Motorola: 4 %
Sony: 1.3 %
Huawei: 1.0 %
LG: 0.8 %
Devices:
As of April 7, 2013: 69 devices supported, except as noted.
Other devices may work, but I can't support them.
By 2013 popularity: most to least. I own the most popular and can support them much better.
Samsung (14):
Galaxy S2 GT-I9100 / M / T
Galaxy S3 GT-I9300
Galaxy S GT-I9000 / M / B / 9010
Galaxy Note GT-N7000
Galaxy S Plus
Galaxy Note2 3G GT-N7100
Galaxy W / Wonder / GT-I8150 / B
Galaxy Cooper GT-S5830 / L / D / B
Galaxy S2 GT-I9100G
Galaxy Gio GT-S5660 / M
Galaxy 5 / Europa / 550 / i5500 / i5503
Galaxy SL GT-I9003
Galaxy Mini / Dart SGH-T499 / Tass GT-S5570
Galaxy Player / S WI-FI
HTC (30):
One Stock, Google Play Edition & AOSP
One X LTE (AT&T) / XL / Evo 4G LTE / One S
One X International S720e
Sensation 4G / XE Z715e
Desire HD / Inspire 4G
Desire
Nexus One (need root & non-stock kernel)
One V (Virgin Mobile variant needs root)
Desire Z / G2 / Evo Shift 4G (G2 needs root)
Desire S
Wildfire S A510e / PG762
One X+ LTE (AT&T) (Not on custom ROMs)
Droid Incredible 2 / S S710E
HD2 / Leo / T8585 / T9193
Explorer a310e / a310b (No RDS unless rooted)
Velocity 4G
Evo 4G / Supersonic (2010)
Evo Design 4G / Kingdom / Acquire / HeroS
Aria / Liberty / Intruder A6366
Glacier / T-Mobile myTouch 4G
myTouch 4G Slide
One X+ 3G (Not on custom ROMs ; disabled pending confirmation)
ThunderBolt / Scorpion ADR6400L
Wildfire
Droid Incredible ADR6300
Amaze 4G / Ruby
Legend
Sensation XL X315e
Chacha / Status
Desire X (1 confirmation stock un-rooted)
Motorola (12):
Defy A8210 / MB525
Droid 4 (need root)
Droid Bionic (JB update need root: http://forum.xda-developers.com/showthread.php?t=2256439)
Photon 4G MB855
Droid X2
Droid 3
Droid X
Milestone 3 XT860 / ME863
Pro Plus ME632 / MB632
Droid2 A955 CDMA (need root & mono)
Atrix 2 MB865
Bravo MB520
Sony (11) (Most only work stock for now):
Xperia S / SL LT22i / ii
Xperia Acro S LT26w
Xperia Ion LT28h / at / i
Xperia P LT22i
Xperia Sola MT27i
Xperia Go ST27a / i
Xperia U ST25i
Xperia T LT30a / at / p
Xperia V LT25i
Xperia TX LT29i
Xperia Z C6603 / C6602 (no speaker ?). ZL & Tablet Z may work with Audio-> Method = "Qualcomm Intent".
Huawei (1):
Ascend G300 u8815
LG (2):
Optimus One P500
Optimus 2X P990 re-enabled on Play & semi-official for AOSP ROMs as of June 29

Galaxy S GT-I9000 speaker damage risk:
EDIT Feb 12, 2014: I still get occasional reports of speaker damage, about 1 every 3-4 months. Nothing can be done I'm afraid...
EDIT May 20, 2013: One person has reported damage with digital audio mode. Virtually everything is different in this mode, so I can't imagine why it would happen. The only audio commonality is the analog outputs feeding into the inputs of the audio chip.
March 23, 2013: See end of post for a potential digital audio solution. Digital audio is normally an Unlocked exclusive feature, but on Galaxy S it is available for Free users.
Click to expand...
Click to collapse
There is a risk of speaker damage on Galaxy S GT-i9000 when running custom ICS or JB ROMs.
If you've been running Spirit for at least 10-40 hours with no problem, your risk is minimal. I think this is hardware related and about 1-5 % are susceptible. I get about 1 report every 3 weeks now.
Avoiding use of the speaker or keeping volume low does not help. Risk may increase when using USB cables to PCs or chargers or external amplifiers.
If you are worried about Galaxy S speaker damage, then DO NOT use Spirit, unless on CM7 or a stock derived ROM. Use GB ROMs with proven safe FM, get a new phone, or just live without FM.
Unless you are familar with ALSA programming, Ioctls and low level Linux/Android kernel stuff, as well as DC servos in amplifiers, please do not think you have useful technical advice to give about what I should study. I've spent at least 400 hours on this problem, with no analog solution.
Have Damage ?:
If you've had GalaxyS speaker damage, and are a BRAVE do it yourselfer, here are some Ebay links for speakers and instructions on replacing them: http://forum.xda-developers.com/showpost.php?p=23014977&postcount=2355 All responsibility for any problems doing this is yours.
Ringer/Buzzer Speakers are available on Ebay new for $6 shipped, or $8 refurbished shipped from the US to the US.
I'm very sorry for any problems. I had no idea this problem would happen or go on this long. It's rare that software causes hardware damage.
If you're angry, or think my dev skills are sub-par, please refer me to the secret documents for FM audio via Galaxy S ALSA controls. There is none. I've read the code for various audio libraries, and the ALSA drivers, many times, and though the March 4th, 2012 attempt seemed a virtual duplicate of the CM7 audio lib, the problem continued.
If you've been affected, please email me at [email protected] to report.
Thanks, and sorry for any troubles.
Hopeful Digital Audio Solution:
Using digital audio mode likely reduces or eliminates the risk. As of March 23, 2013, it's too early to tell.
EDIT May 20: One person has reported damage with digital audio mode. Virtually everything is different in this mode, so I can't imagine why it would happen. The only audio commonality is the analog outputs feeding into the inputs of the audio chip.
On first Spirit startup, or after clearing app data, you are presented with a choice of "Digital" or "Danger". Choose "Digital". If running Unlocked, restart Spirit to enable Visualizations and a record button.
You can also set Menu-> Settings-> Audio-> Method to "Digital Auto" or "Digital GS1", both near the end of the list.
If you hear interrupted high frequency "chipmunk" sounds, rebooting may help, at least until the microphone is used (but phone calls OK ?).
If a reboot doesn't help, you can disable Digital-> Stereo and do Pause / Play. Audio is now mono of course, so you might as well set Audio-> Output Mode (or Channels next release) to "Mono Force".
More chipmunk info: http://forum.xda-developers.com/showpost.php?p=39383252&postcount=5696
Battery consumption may be a bit higher using digital. Unlocked uses substantially more CPU & battery when visualization is on screen, and when equalizers, effects and Bluetooth are in use.

It launches fine on my Inspire 4G running CM7, but I can't pick up many channels where I am. My location isn't your fault though.

Why every custom radio app turns on BT? HTC FM radio doesn't do that? I know that there is some explanation about BT and FM sharing the same chip, but it's weird to me that HTC radio doesn't turn BT on...
Btw, I have tried this on HTC Desire, but I was unable to scan via "scan" button - I get "FM operation failed. If problem persists, please turn off FM and turn it back on." One more thing - I did a quick comparison with MIUI FM (which is the default radio in Oxygen ROM), and it seems it's not that good with picking up FM signal.
I like that signal strength indicator, btw.

pilgrim011 said:
Why every custom radio app turns on BT? HTC FM radio doesn't do that? I know that there is some explanation about BT and FM sharing the same chip, but it's weird to me that HTC radio doesn't turn BT on...
Btw, I have tried this on HTC Desire, but I was unable to scan via "scan" button - I get "FM operation failed. If problem persists, please turn off FM and turn it back on." One more thing - I did a quick comparison with MIUI FM (which is the default radio in Oxygen ROM), and it seems it's not that good with picking up FM signal.
I like that signal strength indicator, btw.
Click to expand...
Click to collapse
Thanks for your report ! BT is needed to control FM. Most FM "chips" are combination devices with WiFi and Bluetooth, and in some cases GPS. In theory, the manufacturers could enable a separate FM access mechanism, but in most known cases, FM control rides piggyback on Bluetooth HCI commands. Also in theory, if Bluetooth wasn't needed, control could likely be obtained directly from the serial port interface. But that doesn't make sense from a software architecture point of view.
I think the HTC app may be hiding the fact that it's using BT. Eg. if you run "bttest enable" from command line, Linux and hcitool and my app can use BT, but Android doesn't recognize BT is on, because the higher level Android stuff hasn't been started.
The HTC app takes about 6 seconds to start if BT is off. If BT is on I think it's much faster. It's no co-incidence that BT startup takes that time also.
On TI FM chips, it IS possible to turn BT back off when no FM control or data access is needed, just so long as WiFi or something else using that chip is still on. (Otherwise the Android power manager turns it off.) I will look into that further if needed, but I've seen my phones running 8-12+ hours with BT on and FM playing on a single charge.
Yes, the "Scan" function is not functional at this time. Long pressing the arrows for "Seek" should work though, albeit not well on Broadcom devices such as the Desire.

djeaton said:
It launches fine on my Inspire 4G running CM7, but I can't pick up many channels where I am. My location isn't your fault though.
Click to expand...
Click to collapse
Wonderful ! Thanks for your report.
Standing on a roof with the antenna/headset cable extended the right way may help. Probably not safe enough to recommend though, unless you accept all risk.
Longer wires don't help at FM frequencies in my experience, but something directional like a VHF TV antenna might be good.
Switching to "Mono" mode can help clear up the audio with weak signals, with the resultant loss of one channel of course.

I've published the app to the Google Marketplace: https://market.android.com/details?id=com.mikersmicros.fm&feature=search_result
I would prefer that installations be done from the Market now. You can select Automatic updates among other things.
I bumped the version number to 2.0.3 to reflect the disabling by default of the SuperUser ("su") request. If anyone had an older CM ROM that needed this workaround, it can be re-enabled by creating a file named fm_su on the SD Card.
# Eg.: "adb shell touch /sdcard/fm_su"
This command could be tried if you are not getting audio.
# To remove: "adb shell rm /sdcard/fm_su"

Would this work with the Nexus S?
Sent from my Nexus S using XDA App

Greek translation
I translated Spirit FM Radio to greek.
Here is the archive with the translation files, please add them to the app.
Thanks

its work on my Nexus one using CM7
thanks

Very nice app! Works well on HD2 (hyperdroid gingerbread). Installed from market.
I'm interested in your updates for turning bluetooth off - but it's not a big deal.
As in the OP the fm recording doesn't crash the app, but it either doesn't record anything or seems to record from the phone mic? I don't really need the recording, just tried it out.

It's a great reciever for HTC Leo CM based android ! Works fine for my HD2 and more better than CM7 MIUI tuner.

dancer_69 said:
I translated Spirit FM Radio to greek.
Here is the archive with the translation files, please add them to the app.
Thanks
Click to expand...
Click to collapse
Wonderful ! Thank you. I will be pushing an update later today that fixes some annoying problems and I'll try to integrate this at the same time.
The annoying problems include:
- The app re-configuring itself and messing up the audio when re-oriented or sometimes when brought to foreground or sent to background.
- The volume control fighting between the app and CyanogenMod.
For anyone not aware, you will likely have to un-install the downloaded app before installing the Market app. The downloaded app uses a debug signature and the Market app a normal publisher signature.

jorgeefflores said:
Would this work with the Nexus S?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I don't think so but please feel free to try it and see what happens.
My guess is that the app will go into Broadcom mode but that no audio will be heard. You could verify Broadcom mode by running the following from a connected PC with the Android dev utilities:
adb shell "logcat | grep mode"
When powering up this would result in a line like: "D/fm_hrdw ( 336): BC HCI mode", and likely a line ending with "api_mode: 2".
My understanding of the Nexus S is that it is more or less a Samsung Galaxy S. There is an app on the Market for the Galaxy S called "Fm TwoO", but I've been told it doesn't work on the Nexus S.
The FM TwoO app includes a library and published API for FM and RDS that I'd like to integrate into my app. I think it MIGHT be usable on the Nexus S, if I can figure out how to replicate it and/or otherwise modify it. Perhaps the only problem is that audio routing is different on the HTC phone.
My understanding of the Nexus S / Galaxy S is that they contain a BCM4329 chip for WiFi and BT, but that they also contain a relatively rare chip for FM. This is why it might be misidentified as a Broadcom based device; because it DOES have a Broadcom FM chip, albeit unused and perhaps unusable.
I'll consider your post a request for Nexus S support. If anyone else wants support for this phone (or any other) please post or PM me, and I'll add it to my "vote list".

It's a pity, a tuner eats a battery even it's being used and off. I noticed it for a few times. After phone restarted everything is ok.

aled99 said:
Very nice app! Works well on HD2 (hyperdroid gingerbread). Installed from market.
I'm interested in your updates for turning bluetooth off - but it's not a big deal.
As in the OP the fm recording doesn't crash the app, but it either doesn't record anything or seems to record from the phone mic? I don't really need the recording, just tried it out.
Click to expand...
Click to collapse
Great ! Thanks for your report...
The first 2 times you start a recording, it will likely record from the microphone. The 3rd, or perhaps even fourth time, it's possible the FM audio MIGHT be recorded.
For testing, the code increments the input source value each time a new recording is started. On the 3rd time the value gets to 8, the first value Google didn't define. The code was from Qualcomm and I think they created a device that allows FM recording with input value 8. In the next release, I've changed it so that the first time the value is 8 (which will likely throw an error and prevent the stop recording button from being enabled.)
I could not make recording work on my HTC Legend, and attempting to do so would mess up the FM audio output. I just tried now on my Desire HD; FM audio was muted while recording from the mic the first two times. On the 3rd and subsequent attempt, recording would not start. At least the Desire returned to normal FM audio after trying this.
I will disable this function if it can't be made to work on any phone, but for now I'm hoping there might be some phone and ROM combination on which this would work.
It requires the right hardware connections, and some driver and ROM/framework support, and I'm now doubting the CM ROMs are capable of this, but it's possible some phone's stock ROM might. But that would only make sense I think if the phone manufacturer supported FM recording, or at least planned to. OTOH, being able to record would mean the FM could be digitized and then sent to Bluetooth headphones, or any other digital audio output.
I believe the HTC phones support an external microphone for a car kit hooked up to USB. I would guess that it would be possible to create a cable from headphone output to USB mike input and direct analog recording could be done that way. But I don't think many people would want such a weird cable hanging on their phones.
Alternatively, if I can get the FM audio out of the FM chip in digital format it could solve some audio routing issues AND make recording or Tivo type pause functionality possible.
Anyway, please feel free to "vote" on what features you would find most useful.

skatt127 said:
It's a pity, a tuner eats a battery even it's being used and off. I noticed it for a few times. After phone restarted everything is ok.
Click to expand...
Click to collapse
Sorry, it sounds like you hit some bug and restarting cleared that up. Please let me know if it continues and if you find a way to reproduce it.
I have not yet optimized the battery life in many ways, but generally I've been able to run my Legend for 8+ hours and my Desire HD for about 6.8 hours.
For example, the RDS and RSSI data continue to be collected even when the screen is off. I'll try to fix this ASAP.

Well, actually I've tried it a few times. When I start the tuner it works perfectly, no problems at all. Then I turn it off (press a screen button and it becomes yellow)
Then I turned off the screen ( phone is in stand by mode) for a minute or two.
Then I turn the phone again and a battery monitor shows 47 mA. Usually it shows only 4-5 mA. I restart the phone and do not use a tuner at all - after stand by mode my phone shows 4-5 mA as usually. That's it.
I've checked this many times already.
P.S. I've just checked the situation with MIUI FM and found the same thing after a tuner is off. The only difference is if I kill MIUI tuner as a task, a current goes to 4-5 mA. And if I kill Spirit FM in a such way the current doesn't change - it's 47mA all the way until I restart a phone.
Thank you for an answer.

mikereidis said:
Great ! Thanks for your report...
The first 2 times you start a recording, it will likely record from the microphone. The 3rd, or perhaps even fourth time, it's possible the FM audio MIGHT be recorded.
Click to expand...
Click to collapse
Thanks for your reply.
I can't seem to be able to get the recording to start after the first attempt, but I will keep trying as you suggested.
The main thing, which makes this app much better than other FM apps I've tried on my HD2, is the mono audio option works... this makes weaker signals sound sooo much better. Thank you!!

Related

Hidden features in nexus one?

I got my nexus one exactly 1 week ago, and this device is amazing! I unlocked it and installed the cyanogen mod the day after i got it, and Iam really impressed of the results all you developers out there making theese custom roms happen.
I'have read on the internet that nexus one hardware has a fm recciver and transmitter + N wireless capable chip.
And its not even mentioned in the phone's spec list(i've hard it was at lauch, but was removed short time after), is this because there is currently no software support that they wont advertise the features?
Or is this just hardware which is on the phones chip because its just how they make them, and the features arent nesseseary availble to the phone.
Any ideas? or status on this?
Sorry my english is not very good + Iam a newbie =)
Al3k said:
I'have read on the internet that nexus one hardware has a fm recciver and transmitter + N wireless capable chip.
Click to expand...
Click to collapse
802.11n works with the stock ROM, but it's only at 2.4 GHz (the phone doesn't appear to include the necessary antenna and RF components to work with the 5 GHz band). It's also only single-stream N, so you won't get link speeds higher than 65 Mbit. Maybe they didn't advertise it because it's only marginally faster than 802.11g, and generally the phone can't even saturate a G connection. In theory, you may get slightly better range with N and perhaps slightly worse battery life. I don't really know why they removed it from the specs shortly after launch.
Al3k said:
Or is this just hardware which is on the phones chip because its just how they make them, and the features arent nesseseary availble to the phone.
Any ideas? or status on this?
Click to expand...
Click to collapse
Probably both. Some minimal extra hardware or connections may or may not be necessary to fully use the FM radio functions. But a Google employee (Swetland) stated that the main reason it wasn't included was because they didn't have time to do the software integration, and it wasn't a priority.
Thanx I would love to have a inbuild fm transmitter, that is just sick, I dont think any other cell phone have this working. We just need be patient and hope for best I guess
Al3k said:
Thanx I would love to have a inbuild fm transmitter, that is just sick, I dont think any other cell phone have this working. We just need be patient and hope for best I guess
Click to expand...
Click to collapse
there are many many cell phones that have FM receiver and transmitter. the nokia n97 has both an FM radio, and also you can turn on the FM transmitter to play your music thru your car's stereo by tuning into a frequency, and your phone will broadcast to that frequency. actually the nexus one is missing this function when a lot of other phones have it! mainly high end nokia phones.
Don't count on the Nexus ever getting FM transmission capability. It does not have the FTC's stamp of approval for such a feature. FM receiving may be possible some day, but that's up to Google to write the necessary drivers and programs for it.
Or if it is possible maybe Macodo can port it from the desire rom like he did the camera. I'm just saying maybe..
-Charlie
The FTC denying the FM Trans was a joke..... The feds are so paranoid with cell phones and cars I find it hard to believe they will be approving many more FM Trans in cell phones..... Receiver....well, I search this forum everyday waiting to see the post with the "Flashable .zip to enable FM Radio!"
/me is willing to say we'll have FM Radio *SOON*
FM radio is great, i guess it use less battery power than internet radio over 3g.
I do have a FM transmitter in my car but the quality is kind of ****ty, the car i use at work dosent have any input or aux plug to the stereo.
Since we're on it, what do you guys think the future will bring the nexus one? or wish list?
Al3k said:
FM radio is great, i guess it use less battery power than internet radio over 3g.
I do have a FM transmitter in my car but the quality is kind of ****ty, the car i use at work dosent have any input or aux plug to the stereo.
Since we're on it, what do you guys think the future will bring the nexus one? or wish list?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=668003
GldRush98 said:
Don't count on the Nexus ever getting FM transmission capability. It does not have the FTC's stamp of approval for such a feature. FM receiving may be possible some day, but that's up to Google to write the necessary drivers and programs for it.
Click to expand...
Click to collapse
It may never come "officialy" for the nexus, but if they're working the aosp code future phones, then it's just a matter of devs flipping a switch instead of having to write code from the bottom up.
Nah, you don't, they say that to get the best reception, but you can do with out. Look up N900's fm capabilities to transmit/receive, you can do it without a plugged in antenna/headphones.
Just as aside for people wanting FM transmission with the Nexus One - a FM transmitter with a 3.5mm jack only costs around $5 (Australian Dollars) from ebay, and you can pick them up in stores for about the same price. Obviously not as convenient as having it built in and not having to take an extra accessory around - but I would assume you wouldn't want to use it in too many places anyway. Say the car, maybe a stereo at home and thats mainly it?
i don't need a transmitter as much as a receiver.

Potential for pro audio software (multitracks, sequencers) on Android handsets

Hello,
With handsets like the Galaxy S series (i9000, Captivate, Vibrant, etc.) and others, it looks like we're at the point where we have the horsepower - processor, RAM, and graphics cards - needed for pro audio software to come out for Android. As it stands though, there is nothing that can match up to multitrack for iOS (a 16-track 44.1/16bit recorder) let alone fourtrack, which is only a four track audio sequencer and which I run on my iPhone 2G.
The market is there, and now the high-powered hardware is there, but the selection of audio apps is meagre at best. Does anyone know of any plans for pro audio software for Android? For that matter, video editing software like iOS 4's iMovie would be great, but we're not seeing that either.
I'm aware that there are programs that have packages of preset loops, as well as an audio multitrack and a video editor that rely on server-side rendering. I'm talking about a native solution for audio editing, sequencing, and/or tracking. I am not a programmer, and I know there are differences between X11 and Android's setup, but with programs like Ardour and Rosegarden for Linux, why can't someone adapt the relevant parts to Android? Even Audacity...
----
www.mountvalley.net
I've been waiting on an app like this forever. I would definitely but an it if one ever comes out.
Just saw this the other day: http://nomadicwhales.com/wordpress/2010/11/fourtracks-pro-released/
The four track app is a step in the right direction but it's still kinda buggy on my phone when trying to record a second track, etc. I'm assuming that could also very well be due to the fact that i'm still using a 1st gen phone (Sprint Hero)
Sent from my HERO200 using XDA App

How to get Google to take note of the USB DAC problem in ICS

Hi everyone,
Thought I would post about an Android issue that is bugging me - the fact that despite USB Host functionality being present in ICS, USB DACs (digital audio converters, external sound cards if you will) do not work with our devices .
If they did work then we could use relatively cheap USB DACs with our Android phones and enjoy great music sound quality, no matter which cheap DAC/DSP the manufacturer has seen fit to include. Ever since I sold my Galaxy S, which has an excellent Wolfson DAC and can produce awesome sound quality with Voodoo Sound, the sound quality of my subsequent devices has rankled. Now with ICS this is a simple software fix, which makes it all the more irritating (someone has managed to add support for these in a Nook Colour kernel that works with CM9). To be honest I'm seriously considering buying an iPhone for the first time ever because they have this functionality out of the box.
Fortunately there is something we can do about this besides making ineffectual unhappy noises and waiting for customs ROMs etc to fix this - vote the issue up here: http://code.google.com/p/android/is...rs&colspec=ID Type Status Owner Summary Stars
To vote just star the issue.
This issue needs ~1150 votes to enter the top ten, which doesn't seem a big ask given the hundreds of millions of Android users out there... (it's got 66 votes so far today and risen 16 places up the issues ladder).
Please star this and share this out to your social networks - help save me from having to continue think about getting an iPhone!
I also posted about this issue at my blog, if you were planning to share it out over your social networks that might be a better thing to link to:
http://www.androidnz.net/2012/02/android-usb-host-for-audio-devices-fail.html
code.google link does not work.
+1!
I would also really like to see this implemented. Shouldn't be too difficult for them, methinks? The nook already seems to be able to do 24/96 with a USB DAC using a standard USB audio module. Apparently, with the correct ALSA driver we could also do 24/192, even!
ps. Correct url to vote (sans http prefix) is here:
code.google.com/p/android/issues/detail?id=24614
^ I are n00b so can't link, sorry.
Add star near the comment box at the bottom of the thread.
Voted for it since the first week. Hoping i can finally ditch my ipod once and for all.
Working link?
Sent from my GT-I9100 using Tapatalk
guttsy said:
I would also really like to see this implemented. Shouldn't be too difficult for them, methinks? The nook already seems to be able to do 24/96 with a USB DAC using a standard USB audio module. Apparently, with the correct ALSA driver we could also do 24/192, even!
ps. Correct url to vote (sans http prefix) is here:
code.google.com/p/android/issues/detail?id=24614
^ I are n00b so can't link, sorry.
Add star near the comment box at the bottom of the thread.
Click to expand...
Click to collapse
No, it's a major ***** for them to implement - ALSA is evil.
Getting audio routing to work properly on a device with fixed hardware is enough of a pain as it is.
Handling audio routing that changes for 3280348230 different peripherals would be an utter nightmare for Samsung.
While I agree it would be a cool feature, it's definately something hard. Just look at how hard it was for us to make audio working properly on Ice Cream Sandwich. While some Alsa could work, all devices have their own controls and way of working, so it's really tough to make it work for all at once (which is probably why Google doesn't support it).
First post updated with working link!
In relation to this being difficult, doesn't seem that difficult since it's been done already (the Nook fix was not specific to the E7). Surely doesn't need peripheral-specific support, only needs to be able to send audio out via USB on the host device? The iPhone doesn't specifically support any particular peripherals either...
Anyways, thanks to those who have voted, over 100 extra votes now and climbed 24 places.
Apparently there's a test-build kernel around that would support USB DAC for GB (yes I know we are talking about ICS here)
For those interested go check out the post by pongster
http://forum.xda-developers.com/showpost.php?p=22265282&postcount=9844
Starred.. i really wish to see iRig sorta of hardware being supported
Sent from my GT-I9100 using XDA App
Elythor said:
Apparently there's a test-build kernel around that would support USB DAC for GB (yes I know we are talking about ICS here)
For those interested go check out the post by pongster
http://forum.xda-developers.com/showpost.php?p=22265282&postcount=9844
Click to expand...
Click to collapse
Interesting! Just been reading there... I would imagine custom ROMs and kernels will support this long before Google
Still, important to try and raise the issue with Google, would rather not wait for x-feature to be ported b ydevs with every new Android device.
Entropy512 said:
No, it's a major ***** for them to implement - ALSA is evil.
Getting audio routing to work properly on a device with fixed hardware is enough of a pain as it is.
Handling audio routing that changes for 3280348230 different peripherals would be an utter nightmare for Samsung.
Click to expand...
Click to collapse
I was thinking... some devs could get this thing to work in their custom ROMs on some devices, like Nook color for example. Why should be so hard for Google to implement this? I have a tablet, and could make ALSA recognize my DAC with appropriate libraries, but route audio to the DAC is imposible, tried to mess asound.state, alsa.conf, etc...
Seems to be something hard, but there are devs who could get it working.
If the problem is that each DAC has its own protocol and settings, and that accommodating every powered DAC would be too difficult, then wouldn't the next step be to ask a few specific companies to design and build Android DACs around a fixed set of values, commands and so forth, and to introduce them on a very small scale at first -- so that, while not every DAC worked with Android, a few specific ones did? That's what a certain fruit company did with the Wadia 170i and the Cipher Labs AlgoRhythm Solo.
Reignogleph MMXI said:
If the difficulty is that each DAC has its own protocol and settings, and that accommodating the massive variables inherent in including every powered DAC would be too difficult, then wouldn't the next step be to ask a few specific companies to design and build Android DACs around a fixed set of values, commands and so forth, and to introduce them a scale that small at first -- so that not every DAC works with Android, but a few specific ones do? That's what a certain fruit company did with the Wadia 170i and the Cipher Labs AlgoRhythm Solo.
Click to expand...
Click to collapse
I think the guys from Wadia/BA went to the Android SD requesting Google to help them (for the Droid & Captivate ) but they got a naked bird instead..remember that Google only recently have launched the music store...
I think audio hardware is one of those non standard things across android platforms and getting the audio -usb dac protocol to work across all devices would prove difficult if not impossible for stock android.
But yes, it's a feature id definitely want to see implemented. But I think the devs might have to take on this one.
Sent from my samsung galaxy s2 using tapatalk
This has already been accomplished on the Nook. It's not difficult.
01010001 said:
This has already been accomplished on the Nook. It's not difficult.
Click to expand...
Click to collapse
If it's not hard, please do us all a favor and implement it yourself.
Sent from my GT-I9100 using XDA
So out of curiosity, if we did indeed have ALSA working with a USB DAC, would that bring the audio latency down to near realtime speeds?
If there's one are that iOS is superior to Android it's with low latency audio performance, and that's why you don't really see any softsynths or guitar processing apps for Android, sadly.
Lord Tim said:
So out of curiosity, if we did indeed have ALSA working with a USB DAC, would that bring the audio latency down to near realtime speeds?
If there's one are that iOS is superior to Android it's with low latency audio performance, and that's why you don't really see any softsynths or guitar processing apps for Android, sadly.
Click to expand...
Click to collapse
Good question.
Would be another benefit. Even if I care only for external DAC's with superior sound quality, I'm sure that there are people waiting for this
Sent from my GT-I9100 using XDA
You galaxy sII people are lucky, cyanogenmod supports audio out via usb. Still no real love for the galaxy nexus

Bluetooth 4.0

Hi!
Quick question.
Is there any way you can check whether N7 has got the latest bluetooth? Meaning, the latest N7s have bluetooth 4.0 (Low energy, Smart, whatever they call it)
I was thinking maybe you can look up S/N in store and be sure you got it before purchase.
I really need BT4.0 for my sport equipment.
Cheers!
You're in luck Mr. Damon! You'll soon be working on that impeccable physique with this gem of a tablet strapped to your torso!
Its wifi also takes up a ridiculously low amount of power btw (same chip).
If you mean Bluetooth Smart (aka Bluetooth Low Energy), the Nexus 7 does *NOT* have built-in support for it.
If you want to see support for it, go here, log in w/ your google account and click on the Star at the upper left to make it more important:
http://code.google.com/p/android/issues/detail?id=33371
iOS and WP8 both have OS support for it (the GATT BT API). Android Jelly Bean does not
Hush man, you're scaring away Matt Damon! Geez... It's not like he would've noticed anyway. Now next time we'll see him on tv holding some iCrap -.-
Besides, the N7 hardware more than supports BTLE, it's only a matter of time before an update enables it.
LOL. The real Matt Damon is from Boston
Yep, I know the N7 hardware supports BTLE, but as of now, there's no support for it
Even the popular Samsung S3 has no software support for it
And HTC devices don't (same issue as S3...even w/ the 3rd party broadcom-le library, a shared library that has to be provided by the manufacturer is missing).
AFAIK, only a subset of Motorola devices do (mostly their RAZR ones).
I've been digging for a while tonight...got a bluetooth LE heart rate monitor today and went digging for why it couldn't be seen by my S3 and ended up checking my N7 too

Missing out with just bluetooth 4.x?

One of the few things holding me back is the Nubia having older BT4 tech compared to Oneplus 5 having BT5.
On top of that the Nubia Z17S upgrade due in Oct still only has BT4.
Is this is a big fail or is BT5 overhyped?
The phone is capable of bt5 (it's a feature of the SoC). It might be enabled in a future upgrade (it's what happened with the HTC U11). The advantages of 5 are double the potential speed and range. Range is only an issue with speakers in my opinion and speed doesn't come into play for me. Whenever I need speed I use a with connection (normally ftp, sometimes WiFi direct). I'd be more concerned with the lack of aptX.

Categories

Resources