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
18th July 2014, 07:09 AM |#8101  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Official Sony Z series support coming:

Quote:
Originally Posted by mikereidis

Sony Xperia Z2 Tablet: Got it today...

But, for the 2nd time in the last 3 1/2 years (and 25 phones/tablets), I got an unexpected FM chip. (First was the International HTC OneX, with an end of line TI chip when I wanted/expected Qualcomm.)

I expected a Qualcomm FM/combo chip and it turns out to be Broadcom BCM4339. (I think.)

So, maybe Sony is finally moving away from Qualcomm FM/combo chips.

If so, then at least I'll have a Sony device with Broadcom, but I still want to get a Qualcomm based Sony.

Now I'll have to go deeper and figure out what Sony devices have which chips.


Xperia Z1 C6903 now purchased: http://www.ebay.com/itm/Sony-XPERIA-...-/200997148747

Must be "buying week", LOL. I presume "Factory Unlocked" pretty much guarantees an unlockable bootloader.

I went with Z1 because it's reasonably recent, and my sales stats show that Z1 and Z1 compact pretty much pay for the phone. Xperia Z is popular too, but I think/hope that Z1 testing will cover the original Z and it's variants.


AFAICT, pretty much every Sony phone (and 1 tablet) from Xperia T (September 2012) to Xperia Z1 compact (January 2014) uses Qualcomm FM/combo chip and Qualcomm audio.

I'm guessing that my Z2 Tablet, and the Z2 phone are the start of a series using Broadcom FM/combo chips with Qualcomm audio. Or maybe they'll go back to Qualcomm; hard to say.

I'm still looking forward to an official Z series Spirit FM Transmit app, but I'm pretty sure it won't be possible on the Z2 or other Broadcom FM/combo chip devices.
The Following 2 Users Say Thank You to mikereidis For This Useful Post: [ View ] Gift mikereidis Ad-Free
 
 
18th July 2014, 07:14 AM |#8102  
LenAsh's Avatar
Forum Moderator
Flag Midlands, UK
Thanks Meter: 4,768
 
More
Quote:
Originally Posted by mikereidis

Official Sony Z series support coming:




Xperia Z1 C6903 now purchased: http://www.ebay.com/itm/Sony-XPERIA-...-/200997148747

Must be "buying week", LOL. I presume "Factory Unlocked" pretty much guarantees an unlockable bootloader.

I went with Z1 because it's reasonably recent, and my sales stats show that Z1 and Z1 compact pretty much pay for the phone. Xperia Z is popular too, but I think/hope that Z1 testing will cover the original Z and it's variants.


AFAICT, pretty much every Sony phone (and 1 tablet) from Xperia T (September 2012) to Xperia Z1 compact (January 2014) uses Qualcomm FM/combo chip and Qualcomm audio.

I'm guessing that my Z2 Tablet, and the Z2 phone are the start of a series using Broadcom FM/combo chips with Qualcomm audio. Or maybe they'll go back to Qualcomm; hard to say.

I'm still looking forward to an official Z series Spirit FM Transmit app, but I'm pretty sure it won't be possible on the Z2 or other Broadcom FM/combo chip devices.

Pretty sure the Z2 Phone is Qualcomm FM... but the CM11 download has a BCM Wifi driver... eek

radio-iris-transport and init.qcom.fm.sh are present though
18th July 2014, 09:43 AM |#8103  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by LenAsh

Pretty sure the Z2 Phone is Qualcomm FM... but the CM11 download has a BCM Wifi driver... eek

radio-iris-transport and init.qcom.fm.sh are present though

Yeah, Same on my Z2 tablet.

I checked the Z2 phone info I could find and found enough evidence it's Broadcom FM/combo too.

Pretty much every phone with Qualcomm SOC has Qualcomm FM stuff included, whether the chip is there or not. That's part of the reason GPEs such as MotoG, Z Ultra and M8 (?) leave the FM driver there, to my benefit.

It's been common for 1-2 years now for OEMs to build "Universal ROMs" for all/many of their phones, and even more so Universal kernels. Makes the work much easier when there are many phones and variants to update.

This made the original FM and audio chip detection code in Spirit unreliable, requiring a lot of now half-broken ID tricks, LOL.

Vestigial Broadcom stuff is also common on Qualcomm FM chipped devices. On custom and AOSP ROMs as much as stock too. There are now huge numbers and phones that the most popular ROMs run on, such as CM, AOKP, and many others.


Right now there only seem to be 2 important OEMs of FM/combo chips (Besides Mediatek in the "developing world"): Qualcomm and Broadcom. TI is dead and Silicon Labs was for Samsung flagships that no longer have FM. Qualcomm has done well the last 2 years, but Broadcom started as the leader, and is making a resurgence.

On the plus side with Broadcom, I see a new libbt-fmrds.so library, that I'm hoping is a better solution than my UART and BT shim modes. Qualcomms purpose built V4L FM driver is a lot easier than trying to share FM with Bluetooth over the same comms channel.


Spec and review sites usually talk SOC only, and sometimes audio chip. It's very rare they mention the FM/combo chip, unless it's a teardown of the most popular/anticipated flagships. That's my excuse for buying a device without knowing the FM chip...
The Following User Says Thank You to mikereidis For This Useful Post: [ View ] Gift mikereidis Ad-Free
18th July 2014, 10:06 AM |#8104  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Both Spirit1 and Spirit2 are updated on Play. Spirit1 is a 10% rolling update, to try and ensure fewer problems. Spirit2 is 20%. Beta testers are 100%

Spirit1 July 18:
- LG G2 audio fixes.
- Plus previous test releases after last "production" April 8 update as briefly described here and in more detail in the quoted text below.
Jul 9:
- Restrict BT shim install to HTC One M7 and LG G2 (unless HCI Access=Shim).
- BT shim removal via Menu-> Test-> BC-> BT Shim Remove/
Jun 28:
- LG G2 audio.
- Bluedroid BT Shim addon.d recovery restore script for Broadcom (DHD/One/G2/etc).
- Audio-> Method renaming.
- Sony QC Transmit.

Spirit2 July 18:
- LG G2 audio fixes.
- GS3/Note2 & G2 speaker mode.
- Plus previous test releases after last "production" April 13 update as briefly described here and in more detail in the quoted text below.
Jul 9:
- Enforce unknown.
- Detect One, G2.
- Menu BT Shim install/remove.
Jun 28:
- LG G2 fixes.
- Sony = Internal Antenna pin.
- Re-enable RSSI.
- Code 46 = Remove BT shim.
- Speaker mode volume for some.
- HTC One Mini -> One.
Jun 21:
- GS3/Note2 stock 4.3-4.4 audio fix.
Jun 18:
- GS3/Note2 stock KitKat 4.4 audio fix.
- HTC One M7/LG G2 /system/addon.d/ script to maintain BT shim after ROM update.


Quote:
Originally Posted by mikereidis

Spirit1/2 Beta July 9

The primary change, since June 28 Beta's, is due to Bluetooth breakage problems on some devices, including Nexus 4 (which can't work of course, but people try).

This was due to Spirit1 and Spirit2 both automatically installing a Bluedroid/BT Shim without prompting the user.

The shim allows faster startup on Broadcom devices, and allows operation with Bluetooth on, on Android 4.3+.

I guess this shim is not compatible with Nexus 4, and probably some other devices.

The solution is to limit automatic shim installation to HTC One M7 and LG G2, unless Spirit1 Debug-> HCI Access is explicitly set to "Bluedroid Shim".

If the shim is installed, it can be removed in Spirit1 with Menu-> Test-> BC-> Remove BT Shim. In Spirit2 it can be removed via Menu-> RBTS (only if One or G2 detected), or enter 46 as a frequency, if possible.

In Spirit2, it can be manually installed, if not already, with Menu-> IBTS (only if One or G2 detected).

As part of these changes, HTC One M7 and LG G2 detection has been improved. This also results in restoration of the "Unknown Device" error when the device can't be supported, which is much better than trying to start, hanging, and confusing people trying to run it on unsupported devices.


Quote:
Originally Posted by mikereidis

June 28 Spirit1/2 betas:

Spirit1:
- LG G2 audio.
- Bluedroid BT Shim addon.d recovery restore script for Broadcom (DHD/One/G2/etc).
- Audio-> Method renaming.
- Sony QC Transmit ALSA commands added.

Spirit2:
- LG G2 fixes.
- Sony = Internal Antenna pin. Most 2013+ Sony's work now.
- Re-enable RSSI polling.
- Code 46 = Remove BT shim. Can fix BT on a few devices.
- Speaker mode volume for some. More speaker mode fixes coming.
- HTC One Mini -> One. One Mini reported working with One settings, so auto detect One Mini as One now.

The Following User Says Thank You to mikereidis For This Useful Post: [ View ] Gift mikereidis Ad-Free
18th July 2014, 11:32 AM |#8105  
LenAsh's Avatar
Forum Moderator
Flag Midlands, UK
Thanks Meter: 4,768
 
More
Hope you find a way of supporting Sony's latest stuff.

If you get stuck in to the Sony FM radio stuff, the stereo blend threshold needs improvement....! It does try to hold on to weak signals AND maintain extreme stereo seperation a little too desperately - gets very hissy.
18th July 2014, 12:56 PM |#8106  
a66fm's Avatar
Member
Flag elefsina
Thanks Meter: 7
 
More
Quote:
Originally Posted by mikereidis

Spirit1 should probably work.

I don't recall right now if digital audio/Spirit2 works.


I should probably get some kind of issue/bug tracker or similar that users can use to submit compatibility reports with various phones and ROMs.

For too long I've just maintained a now less used personal file with info and updated the list in the first few posts every once in a while.

it works..kind of...
1.you have to manually start bluetooth before starting spirit1, if you don't you receive power error SU:2 Fm:QVC Su:1 Bt:0 Ht:0 Mo:V4D
2.the app starts and you can start scaning the fm band but after a few seconds it frezes and you can not change the frequency

The Following User Says Thank You to a66fm For This Useful Post: [ View ] Gift a66fm Ad-Free
18th July 2014, 01:38 PM |#8107  
Senior Member
Thanks Meter: 51
 
More
I really can't do Spirit FM work. I installed the free apk on 1st post and it says No FM Accessible but I looked in settings and changed what I think it was to change but still not working but this time spirit find radio stations but audio dont work. I cant hear any sound...

I have HTC One S c2 with CM10.2
18th July 2014, 02:25 PM |#8108  
Senior Member
Thanks Meter: 80
 
More
Quote:
Originally Posted by LenAsh

Hope you find a way of supporting Sony's latest stuff.

If you get stuck in to the Sony FM radio stuff, the stereo blend threshold needs improvement....! It does try to hold on to weak signals AND maintain extreme stereo seperation a little too desperately - gets very hissy.

Just an ob, I haven't noticed this at all with Spirit 2 on the Z (6603). But of course I'm using the Sony stock kernel. I'd be interested to hear how it compares with the alternatives, for fm. Even the "old" problem of having to start up and close the stock fm after a reboot before being able to tune Spirit 2 has disappeared with the latest beta. I was laughing as you bought two Sony's just as I thought you had them sorted! Spirit 1 too seems still to go down as far as single digit reported signal strength without getting static, though I now use Spirit 2 in preference as it seems to work better with audio mods, the pernickety but powerful Viper4Android especially. Stock fm seems a bit more dull sound throughout the range though I've hardly needed to try it, except briefly.
18th July 2014, 04:05 PM |#8109  
somboons's Avatar
Senior Member
Flag Bangkok
Thanks Meter: 4,468
 
Donate to Me
More
Quote:
Originally Posted by mikereidis

Yeah, Same on my Z2 tablet.

I checked the Z2 phone info I could find and found enough evidence it's Broadcom FM/combo too.

Pretty much every phone with Qualcomm SOC has Qualcomm FM stuff included, whether the chip is there or not. That's part of the reason GPEs such as MotoG, Z Ultra and M8 (?) leave the FM driver there, to my benefit.

It's been common for 1-2 years now for OEMs to build "Universal ROMs" for all/many of their phones, and even more so Universal kernels. Makes the work much easier when there are many phones and variants to update.

This made the original FM and audio chip detection code in Spirit unreliable, requiring a lot of now half-broken ID tricks, LOL.

Vestigial Broadcom stuff is also common on Qualcomm FM chipped devices. On custom and AOSP ROMs as much as stock too. There are now huge numbers and phones that the most popular ROMs run on, such as CM, AOKP, and many others.


Right now there only seem to be 2 important OEMs of FM/combo chips (Besides Mediatek in the "developing world"): Qualcomm and Broadcom. TI is dead and Silicon Labs was for Samsung flagships that no longer have FM. Qualcomm has done well the last 2 years, but Broadcom started as the leader, and is making a resurgence.

On the plus side with Broadcom, I see a new libbt-fmrds.so library, that I'm hoping is a better solution than my UART and BT shim modes. Qualcomms purpose built V4L FM driver is a lot easier than trying to share FM with Bluetooth over the same comms channel.


Spec and review sites usually talk SOC only, and sometimes audio chip. It's very rare they mention the FM/combo chip, unless it's a teardown of the most popular/anticipated flagships. That's my excuse for buying a device without knowing the FM chip...


Mike,
Could I ask you? for LG G2 what's ASOP ROM can run or work very well of your FM?
I read your comment in this http://forum.xda-developers.com/show...postcount=8038
sorry I'm normal user I don't understand how to path kernel.I like Mahdi ROM and want to use your FM app.
18th July 2014, 08:49 PM |#8110  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by a66fm

it works..kind of...
1.you have to manually start bluetooth before starting spirit1, if you don't you receive power error SU:2 Fm:QVC Su:1 Bt:0 Ht:0 Mo:V4D
2.the app starts and you can start scaning the fm band but after a few seconds it frezes and you can not change the frequency

The good news is that I have a Z2 tablet now and I'm seeing pretty much the same issues.

It will be fixed, hopefully in the next few days.

Is your z2 6503 stock and unrooted ?
The Following User Says Thank You to mikereidis For This Useful Post: [ View ] Gift mikereidis Ad-Free
18th July 2014, 08:53 PM |#8111  
OP Inactive Recognized Developer
Flag Ottawa/Gatineau, Canada
Thanks Meter: 4,164
 
Donate to Me
More
Quote:
Originally Posted by marcioafoliveira

I really can't do Spirit FM work. I installed the free apk on 1st post and it says No FM Accessible but I looked in settings and changed what I think it was to change but still not working but this time spirit find radio stations but audio dont work. I cant hear any sound...

I have HTC One S c2 with CM10.2

The free version is old now, but it might help to set Menu-> Settings-> Audio-> Method to "HTC OneXL.S ALSA". Or try "Digital QCOM...". Digital is not supposed to work in the free version, but there was a bug for a while.

Email me [email protected] for a newer test version.
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