FORUMS
Remove All Ads from XDA

Spirit1, Spirit2 Real FM Radio General Thread

7,827 posts
Thanks Meter: 4,164
 
By mikereidis, Inactive Recognized Developer on 1st May 2011, 09:23 PM
Post Reply Email Thread
26th September 2012, 09:55 PM |#4481  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by xhejtman

Hi,

I have Spirit UL on my HTC Desire HD with Jellytime ROM. App works OK however, when I quit the app, phone still does 60mA of battery drain per 10 minutes. BBS shows nothing suspicious, CPU usage is low, maby some HW is not properly put into sleep? Is there any debug I could do?

Yes, I'm aware of this problem, the AIC3254 DSP is not shut down. The August 15 releases "solves" it, but this creates other problems. One way to avoid it is to set Debug-> Mute kill mediaserver to "Disable" but that will cause problems with audio notifications at least.

These two commands from adb shell or a terminal app with SU should fix it:

ioctl -l 1 -a 1 /dev/codec_aic3254 0x40047313 29
ioctl -l 1 -a 1 /dev/codec_aic3254 0x40047312 29


It's also possible this could be fixed by muting Spirit, selecting Menu-> Test-> Audio-> Restart media (at the end of the long list), then pressing the power button to close Spirit.

All of this is a problem because Android will call Spirit when audio focus is being taken, but by that time the audio library is already in the midst of switching to a new mode. Then Spirit and the audio library are fighting each other, not really knowing what the other is doing and when, and big problems happen. In this case, switching the DSP off will cause problems if you are answering a phone call, because the switch off comes too late to do.

All of this is why I'm now taking the long, proper approach of modifying audio libraries.
The Following User Says Thank You to mikereidis For This Useful Post: [ View ] Gift mikereidis Ad-Free
 
 
26th September 2012, 09:58 PM |#4482  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by aoprea

on september 24 version on HTC OneS from time to time (10 - 15 seconds) the sound go off for 1 seccond

and switch from headset to speaker not work

rom: cm 10 september 23

I've seen a similar problem on my OneXL and I think it required a reboot to fix. I think it's more likely to happen when the CPU is under load.

The only way to switch speaker/headset at this time is by plugging/un-plugging the headset.

I'll see what I can find.
26th September 2012, 11:54 PM |#4483  
xmguy's Avatar
Senior Member
Flag McMinnville, TN
Thanks Meter: 24
 
More
Mike do you think the Motorola Razr M or upcoming Razr Maxx HD will support Spirit FM? They run the new Snapdragon processor.
27th September 2012, 12:14 AM |#4484  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by xmguy

Mike do you think the Motorola Razr M or upcoming Razr Maxx HD will support Spirit FM? They run the new Snapdragon processor.

My guess is no, simply because of the recent track record of Motorola on higher end devices at least. But as you know a few models have no official support, despite being capable.

And you know my current thoughts on Motorola.

That said, HTC (/Verizon) is coming out with more "No FM" phones now, and even Samsung is starting to disappoint. I may have to find another app niche if this continues.
27th September 2012, 09:37 AM |#4485  
xmguy's Avatar
Senior Member
Flag McMinnville, TN
Thanks Meter: 24
 
More
Quote:
Originally Posted by mikereidis

My guess is no, simply because of the recent track record of Motorola on higher end devices at least. But as you know a few models have no official support, despite being capable.

And you know my current thoughts on Motorola.

That said, HTC (/Verizon) is coming out with more "No FM" phones now, and even Samsung is starting to disappoint. I may have to find another app niche if this continues.

For that reason alone. I will always hang onto my Bionic. Even if I get rid of the RAZR or the new ones don't have FM, the old ones do. Plus Mike MOST international/global GSM models by HTC and Motorola seem to HAVE FM on board due to the lack of a good signal for data.

Sent from my DROID BIONIC using XDA
27th September 2012, 09:18 PM |#4486  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by xmguy

For that reason alone. I will always hang onto my Bionic. Even if I get rid of the RAZR or the new ones don't have FM, the old ones do. Plus Mike MOST international/global GSM models by HTC and Motorola seem to HAVE FM on board due to the lack of a good signal for data.

Sent from my DROID BIONIC using XDA

Going forward I am concentrating on Samsung and HTC higher-end devices. I HAVE to specialise, in order to achieve quality and features, like FM record. With a "one man show" quality is only possible when I have supported, or very similar, phones in my hand to test.

And my market is mostly custom ROM users, most of whom are fed up with Motorola locked bootloaders and various LG issues, as well as the lack of popularity of Sony and most other OEMs among ROM devs.

And yesterday, Texas Instruments seemed to announce that OMAP is dead. I don't know about current Motorola's, but older ones are largely OMAP I think, and with TI FM chips. I appreciated TI's relative open-ness with source code, but they seem to be out of the mobile game, at least for the short-medium term.

This might actually explain why there's at least one recent Motorola device using a Broadcom FM/combo chip. TI chips are becoming harder to find lately; All I can think of among popular devices is the International HTC OneX, which actually isn't selling too well for being one of the 2nd most anticipated devices of 2012, the other half being the apparently more popular AT&T OneX(L) with Qualcomm SOC and combo chip.


I was hopeful that Google would shake up Motorola, but I don't see any evidence of any useful symbiosis between them.
27th September 2012, 10:11 PM |#4487  
Senior Member
Thanks Meter: 55
 
More
Mike, just an idea of adding a list of supported phones to FAQ. Not like all phones but maybe the newest phones. And specify only support i9300 for S3
27th September 2012, 11:36 PM |#4488  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by joederp

Mike, just an idea of adding a list of supported phones to FAQ. Not like all phones but maybe the newest phones. And specify only support i9300 for S3

Already there.

Will Spirit work on my device ? : http://forum.xda-developers.com/show...postcount=4463

Quote:

Post 2 of this thread contains an extensive compatibility list: http://forum.xda-developers.com/show...58&postcount=2
....

30th September 2012, 10:57 AM |#4489  
Junior Member
Thanks Meter: 0
 
More
Does anybody succesfully tried to run SpiritFM on rooted Galaxy Y?

In my device only 'Samsung SL' audio method allow to listenning silent noise, maybe you have custom audio method?

plz reply
30th September 2012, 03:01 PM |#4490  
Member
Thanks Meter: 13
 
More
Audio output seems to be preserved across app restarts. This could be useful. However, I would prefer to automathically detect presence of headphones and if they are present, switch audio to them even if the last output was speaker. Would it be possible to add this as an option?
30th September 2012, 07:08 PM |#4491  
Member
Thanks Meter: 13
 
More
Is there a way how to setup audio sharing between Spirit FM and any other system application on HTC DHD? Unfortunately, Spirit FM breaks runkeeper or music folder player..
Post Reply Subscribe to Thread

Tags
spirit fm radio receiver ota

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes