yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] minooch:
Sorry mike, I've been tied down with some other things. I'll try tomorrow and see if we can make some progress.
[Samsung Galaxy Nexus] oignarf:
I'm just testing your app on a Galaxy Nexus. It starts OK with BT on but signal is always -14. I tried connecting a BT headset and selecting Settings->Debug->BCM BT Headset but nothing changes.

I also tried to start your app and run from adb shell the commands you posted:

root@android:/ # su -c "/data/data/com.mikersmicros.fm/files/ssd 4 3 67 7"

and then

root@android:/ # su -c "/data/data/com.mikersmicros.fm/files/ssd 4 3 77 2"

Spirit FM Radio audio utility version Dec 14

Copyright (c) 2011-2012 Michael A. Reid. All rights reserved.

Mode: "4" (4)

Function: "3" (3)

Opening device /dev/snd/controlC0

snd_fd: 3

Integer 2

SNDRV_CTL_IOCTL_ELEM_WRITE ioctl OK

m4_do ioctl success func_num: 3

root@android:/ # su -c "/data/data/com.mikersmicros.fm/files/ssd 4 3 78 2"

su -c "/data/data/com.mikersmicros.fm/files/ssd 4 3 78 2"

Spirit FM Radio audio utility version Dec 14

Copyright (c) 2011-2012 Michael A. Reid. All rights reserved.

Mode: "4" (4)

Function: "3" (3)

Opening device /dev/snd/controlC0

snd_fd: 3

Integer 2

SNDRV_CTL_IOCTL_ELEM_WRITE ioctl OK

m4_do ioctl success func_num: 3

Looking the results with Audalyzer I see that first command (77 2) does nothing, the second (78 2) changes the input volume from -45db (silence from the mic on the wired headset) to -69db (no sound from FM I think). When I switch back to the radio app it comes back to the default input.

If you need other info just ask, I would like to help you if I can.
[Samsung Galaxy Nexus] mikereidis:
Not too important, but I wonder if RSSI is -144 and the last 4 is hidden. -144 indicates the register contains 0, while -14 indicates in hex 0x82, or -126 interpreted as a signed byte.

-69db... My belief is that the Aux/FM inputs to the audio system are grounded (or just left open?) and would normally run to the Silicon Labs FM chip on the Galaxy S2 and related models. Might be interesting to know if there is a empty spot on the PCB for the Silicon Labs Si47xx FM chip.

I was reading about a new Windows phone by AT&T or T-Mobile (can't recall) which supports FM. It's supposedly almost identical to the Galaxy S2 variant they sell (without an FM chip), so it got me wondering if there are special PCBs with no place for the Si47xx chip, or if the same PCBs are used, just without the chip installed.

Thanks for your efforts, but I still think FM is a lost cause on this Nexus, unless someone can micro-solder etc. to create an FM antenna connection. Since we aren't seeing the "Bouncing RSSI" problem, it's possible that antenna is the only RF related connection needed, although the BCM 4330 IS part of a new generation of chips that do act somewhat differently.

AFAIK, nobody ever tried antenna soldering on the previous Nexus developer phone: the Nexus S. On at least one Chinese tablet someone soldered to a well market FM ANT point, and RSSI showed it was successful.

Is a technical reference or Service Manual for the Galaxy Nexus available ? Just about every Samsung phone has an associated Service Manual that includes schematics, and somehow or other, these manuals get out.
[Samsung Galaxy Nexus] oignarf:
I can't find any service manual on the web, I just found the PCB high resolution images: www(dot)ifixit(dot)com/Teardown/Samsung-Galaxy-Nexus-Teardown/7182/1

Click on the image on step 12 and choose Image metadata, then you'll find the original huge image. Read the notes at the end of the article too.

You can send me a modified apk to check the Rssi value with 3 digits if you want. I live in a big city with a lot of FM stations, IMHO it should show some rssi bouncing without an antenna connection too, am I wrong?
[Samsung Galaxy Nexus] oignarf:
Here you can download the service manual:

from www(dot)samsung-firmware(dot)de/service-manuals_44640177.html

File 08-GT-I9250-TSHOO-7.pdf contains interesting informations, look at page 23.

On the top of the chip the pin 14 (ANT_FM_RX) is shown as open, maybe because it's not important in this context (wifi and BT) or because it's really open.

On the right of the chip there are other FM pins:

23: FM_I2S_DI

24: FM_I2S_DO

25: FM_I2S_CLK

26: FM_I2S_WS

12: FM_AOUT1

11: FM_AOUT2

It seems to me that is completely unconnected and an antenna connection is not enough :(
[Samsung Galaxy Nexus] mikereidis:
Thanks !

Notice on page 22, the heading is "8-3-9. BT/WIFI". The 9 is in a different font, as if it said "FM/BT/WIFI" and somebody deleted letters and messed up the number somehow. LOL. :)

These are just trouble-shooting schematics, and it's possible that they are less accurate then engineering schematics.

We should compare it to similar Galaxy S2 "family" schematics, but keep in mind they only support FM through the Silicon Labs chip, and not through the BCM 4330.

If there is one antenna pin, and it's definitely open, and not grounded, it might be possible to pick up strong signals. Maybe even getting a wire close might help, especially if it's under an RF shield.

The FM_I2S pins are for digital audio (maybe alternative control?) and the FM_AOUTx for analog of course.

I can definitely get FM audio out of the BCM4325 FM chip in my LG P500 straight through the Bluetooth headset, without needing any audio connections. It's very low quality, but better quality might be possible, especially on this new BCM4330 chip. Could be straight to BT, or via the normal BT PCM or even HCI is possible; hard to say when Broadcom keeps the detailed specs and docs secret.

So FM might still be possible, although it likely won't be easy...

It possible, it may also be possible on the rest of the Galaxy S2/S3 "family", such as the US models with no FM and even the models with FM (as a 2nd FM receiver !). So at least there will be other phone owners who may be able to contribute to the quest for FM.
[Samsung Galaxy Nexus] john014:
sorry to bump the thread, but im planning on getting a GNEX in the next week when my upgrade is due, and i currently use the FM Radio a lot(commuting to work listening to Chris Moyles!!) Has there been any progress on this??

Thanks in advance

John
[Samsung Galaxy Nexus] TiltedAz:
It's a bummer, doesn't sound hopeful. I wonder if Samsung ran out of development and test time and just mothballed FM.
[Samsung Galaxy Nexus] mikereidis:
No IMO it isn't hopeful. At best somebody might create a one off "curiousity" by poking an antenna wire in there somewhere.

IMO Samsung FM on Galaxy S/S2 class devices is about the best Android FM there is.

Google purposely commissioned a product that had FM removed, just like US carriers did with the S2 variants.

Want FM in a similar (IMO better) product ? Galaxy S2/S3 (possibly International version) or better yet, a 5.3" Galaxy Note that even records FM.
[Samsung Galaxy Nexus] Simmo3D:
download TuneIn. Its the best radio app on the market
[Samsung Galaxy Nexus] john014:
Yes tune in is good, but an FM radio doesn't use data......some of us (not Me) don't have unlimited data. In a short 1 hour stream of tune in radio, it used ~40mb of data. Not ideal
[Samsung Galaxy Nexus] edgarzin:
so, doesnt it have FM RADIO? i cant believe.. just bought SGN... maybe i should consider stay with my SGS2
[Samsung Galaxy Nexus] TiltedAz:
I'd love to have FM at the gym so I can listen to the boob tube while doing cardio.
[Samsung Galaxy Nexus] wilsonlam97:
Bump. I'm sure its possible. We need more devs. (and ones with a GN:p)
[Samsung Galaxy Nexus] RogerPodacter:
I'm not sure this proves anuthing. But have you guys looked at line 204 of the kernel source code for this driver?

https://github.com/coolbho3k/androi...tuna-3.0-mr0/arch/arm/mach-omap2/board-tuna.c

It has comment mentioning fm chip.

}

/* wl127x BT, FM, GPS connectivity chip */

static int wl1271_gpios[] = {46, -1, -1};

static struct platform_device wl1271_device = {

};
[Samsung Galaxy Nexus] oignarf:
I carefully analyzed the images from iFixit and the schematics in the Service Manual and I can say that pins 11, 12 and 14 are left open.

In the attachment you can find an extract of the high res image from the step 12 of the iFixit teardown and two snapshot from the schematics. FM pins are in the bottom part of the chip and they seems to be surrounded by a dark blue line on the PCB that should be an insulator part. Pins 13, 15 and 16, as shown in the schema, are grounded and connected to the lighter blue zone.

So, in my opinion, FM antenna is just not connected (but not grounded) and the radio could work only opening the mobile and connecting a wire to the pin 14 (warning: connecting a wire directly may cause damages, I don't know if it requires some capacitors, resistors or diodes in the middle, I'm not an electronics or telecommunications engineer)
[Samsung Galaxy Nexus] mikereidis:
Please elaborate exactly why you feel it's possible.
[Samsung Galaxy Nexus] mikereidis:
Means nothing. No TI WL127x or WL128x etc chips in this device.
[Samsung Galaxy Nexus] mikereidis:
Nice ! I haven't seen this level of detail for an FM chip in an Android device yet.

I think if you can get an insulated wire to sit right next to pin 14, there could be decent signal. The insulation should prevent a short, but at close range act like a capacitor that can pass RF.

Is the chip under a "can" or RF Shield ? If so, a gap would be required.

Anyone brave enough to open a phone and poke an insulated wire around ? :D

Of course anything you do is at your risk... ;)
[Samsung Galaxy Nexus] MoreYummy:
So probably there is fm radio chip, but not connected?
[Samsung Galaxy Nexus] mikereidis:
Yes.

It's a Broadcom BCM4330 combination chip that also has Bluetooth and WiFi.

BT and WiFi work.

FM antenna and audio pins are not connected.

What a waste and a shame. It's not that hard to connect the pins in the design phase. Caveat emptor. Feel free to tell Google what you think of that.

But OTOH, many many people just don't care about FM or aren't bothering to ask before they buy. Lack of OTA FM doesn't seem to be hurting iPhone sales much.
[Samsung Galaxy Nexus] RoryHa:
I just bought a GN and I miss my radio! Not having unlimited data rules out any streaming, might see if I can find a "unlimited" plan.
[Samsung Galaxy Nexus] mikereidis:
See, they've got you "where they want you"...

It's no accident that many high end phones have no usable free OTA FM now, especially in the US market.

It's a calculated move. And Google is happy to oblige the carriers.

The only Nexus device with OTA FM was an "accident" and requires a non AOSP kernel at least, as well as an app to make it work.
[Samsung Galaxy Nexus] leepcharge:
so much for "do no evil" :rolleyes:
[Samsung Galaxy Nexus] wingnut76:
Otoh, a few people get told yes and get disappointed and then come to xda asking if there is an app for that.
[Samsung Galaxy Nexus] mikereidis:
Well.... Not to defend Google too much, but that slogan was aimed at Microsoft and their "Win at all costs" policies.

MS was happy to wipe out any competition it could. It would make alliances, then stab the partners in the back. It would force OEMs to preload Windows and pay a license for every PC sold, despite if the buyers wanted Linux or whatever.

As much as I am growing "weary and wary" of Google, they have not yet stooped to the low blows of Microsoft IMO.

=================

As for FM on Android ICS, I'm very interested to see the ST Ericsson proposed FM API in the AOSP ICS source.

OTOH, it's the same old source from almost a year ago, and there are no particular signs that any chip or device OEM will ever support it.

As for the Galaxy Nexus, forget FM. I raised my bounty to $300 for anyone who can figure out how to OTA FM enable the GN in a usable way, without hardware modifications, or external components, except for a normal earphone cable plugged in as an antenna.

But I'm pretty darn sure nobody could ever qualify for that bounty, or I'd be continuing my investigation.
[Samsung Galaxy Nexus] wilsonlam97:
The chip is there but apparently the design can't support it. Oh well. Have a nice day sir.
[Samsung Galaxy Nexus] nachiket_xda:
also this BCM4330 chip has Integrated Bluetooth 4.0 then how GN has bluetooth 3.0?

www(dot)broadcom(dot)com/products/Wireless-LAN/802.11-Wireless-LAN-Solutions/BCM4330

if we consider that google has removed fm support to pamper carrier companies, i dont understand the policy behind bluetooth
[Samsung Galaxy Nexus] mikereidis:
There are MANY devices with chips cable of XYZ. But the supplied software only supports ABC.

Developers and companies get LOTS of pressure to release software and products ASAP. And software can take a LONG time to make work properly. So many theoretical hardware capabilities are never software supported.

And in some cases, the hardware is buggy, on early versions at least, so proper support is not possible.
[Samsung Galaxy Nexus] nachiket_xda:
.

So do u think that Bluetooth 4.0 is possible on galaxy nexus? Via official fw upgrade? It will be great as I will buy bt 4.0 headset which I don't have to charge for weeks:cool:
[Samsung Galaxy Nexus] mikereidis:
I dunno. Theoretically possible is one thing. Reality is another.

I've seen lots of hardware capabilities in devices that will never be supported in software because nobody has the time and/or incentive to do it.
[Samsung Galaxy Nexus] ToyTank:
AFAIK The difference between 3.0 and 4.0 won't be much on high bit rate streaming devices(headset) unless you are not using the headset. You may not have to charge it for weeks but only if your not listening to it.

4.0 geared toward low bit rate streaming like mice, keyboards, and heart rate monitors or devices that sit in standby for long periods of time.
[Samsung Galaxy Nexus] mikereidis:
Since the thread has been bumped, I thought I'd quote this post (look down to the 2nd quoted text) from 10th November 2011.

Regarding the Galaxy Nexus and most Galaxy devices: OTA FM is still not possible due to hardware IMO.

But as far as the "seemingly almost dead" "ST-Ericsson proposed standard Android FM API" goes:

Google DID eventually get the servers back up, after taking an IMO ridiculous amount of time for a major world class corporation.

Here are the only comments on the main patch for 2012:

So maybe, just maybe, someday there MIGHT be a standard Android FM API. But given the 1.5-2 years (or 3+ ?) it's gone almost nowhere, the odds don't seem that good to me.

I don't know enough about AOSP to say if there are any FM related changes in Jellybean.

Some of the Sony 2012 phones use ST-Ericsson FM chips now, and they appear to support a variant of the proposed API. The Spirit FM app now supports 10 different APIs, including 5 higher level Java based APIs such as this.

But Sony market-share seems small enough that I am not planning to support it anytime soon, despite it being half documented and related to this potential standard API.

And now the original quote by blunden, with links to the proposed API code, if anyone is interested:
[Samsung Galaxy Nexus] xytkhi:
FM redio..?

so... after all this above ... it will be possible to have a FM radio on the nexus 4 ?

its so important to me.

tnx.
[Samsung Galaxy Nexus] Dragn4rce:
No. Google has no need to do it and they want it to remain cheap. So again no.

--------------------------------------------------

If I have helped you.... hit that sexy thanks button. ^_^
[Samsung Galaxy Nexus] mikereidis:
This thread is in Galaxy Nexus section, so Nexus 4 is off topic I think.

Post in a Nexus 4 section and send me the URL if you want. (The Nexus 4 might have "hidden" FM if the Optimus G has FM, just like the Nexus One did.)

But IMO the Galaxy Nexus is well established to NOT have FM. I think it's similar to GT-i9100G, but the G has a Silicon Labs FM chip while the Galaxy Nexus does not.
[Samsung Galaxy Nexus] eduncan911:
I will have to admit, the FM Radio was the sole reason I jumped off of the Android bandwagon and onto Windows Phone 7 (Microsoft made it a requirement that all WP7 devices have FM Radio). Almost all of them use the Headset/headphone jack as the antenna, FYI.

I was so pissed off at over a year with no Bluetooth SPP support (Serial Port Profile) on WP& with their execs saying, "There is no need and we won't be supporting it." Aka, the protocol ANY type of external device uses from medical devices to GPS units, biking equiptment, heartrate monitors, and even EVGA's graphics card android app. Yes, now after over TWO years of 10,000+ people screaming, "What the f@&#?" they are just now getting around to implementing a few of the SPP protocols (but not all!). F#*@ WP7.

So, I gave up my trusty FM Radio Windows Phone device and went with the Galaxy Nexus a year ago. Absolutely love it.

But, now this thread about the possibility of enabling FM Radio has me pissing my pants.

Yes, I'll take my device apart and solder the wires on to the headset GND (got a chipped screen, so if I frack it up I'll just buy another one). I need more details though, pics of the chip, the pins, etc.

I also run CM10.1, not AOKP as AOKP is not for me. Does this require some kernel-enabled driver in AOKP? The currently nightly, as of March 3rd 2013 of CM10.1, doesn't have anything that looks like a FM Radio that I see.
[Samsung Galaxy Nexus] mikereidis:
It's not feasible.

If you have to ask for details, then IMO you are not capable to break new ground on something nobody else has.

It's easier to build your own phone.
[Samsung Galaxy Nexus] 063_XOBX:
If by "easier" you mean just as impossible.
[Samsung Galaxy Nexus] kurtforaday:
Hey

I don't think that FM radio is included on the Nexus, although if you did want FM, then you always could just install iHeartRadio.
[Samsung Galaxy Nexus] mikereidis:
Well smack me upside the head. :)

Gee, we never thought of that.
[Samsung Galaxy Nexus] eduncan911:
That would assume I have an internet connection 10 miles deep on the trails in the mountains while hiking (I don't BTW).

Besides, TuneIn > iHeartAds
[Samsung Galaxy Nexus] thedudejdog:
Just buy a freaking walkman for $2 at a garage sale....

Or am I missing something? They don't have garages where you live? Shortage of AA batteries?
[Samsung Galaxy Nexus] mikereidis:
Seriously ?

Are you here to argue with people about what they do or don't need ? You think you know better what is best for others ?

Yes, I guess you ARE missing the reasons why one solution works better for some people than for others.
[Samsung Galaxy Nexus] misbah711:
Nokia n900 didnt had radio just like Gnexus, but someone developed an app which used the bluetooth hardware to run local fm channels, so your bluetooth should be ON, but n900 had fm transmitter app builtin...so my point here is that can we use bluetooth hardware to get fm signals on Gnexus. Thanks
[Samsung Galaxy Nexus] bpyazel:
What?
[Samsung Galaxy Nexus] mikereidis:
Only if you have thousands of dollars worth of micro-soldering equipment, and know how to use them to rework the FM antenna pin connections on the PCB.

N900 had the advantage of being designed and built for FM, whether or not an app was included. (Wonderful phone, BTW, too bad they effectively killed it.)

GNexus, OTOH, has FM antenna pin(s) purposely grounded to prevent it from working.

The only FM solutions for GNexus remain BT headsets w/ FM, such as Sony MW-1 or MW-600, or a USB dongle solution such as this: http://xdaforums.com/showpost.php?p=38887290&postcount=5603
[AT&T Samsung Galaxy S II SGH-I777] Pmac25:
Ok so I bike everyday and I like to keep a journal of my rides, when I take a new route and just plain training. I am looking for a app that I can use to do this on.

I have tried Map My Ride and do not really care for it. I also use Cardio-Trainer for most of my rides but it does not really have journaling in it.

Does anyone know of a app that in a nutshell takes Map My Ride, Cardio-trainer and a journal and rolls them into one?

I am talking pedal bike here.
[AT&T Samsung Galaxy S II SGH-I777] veuro:
try endomondo.com

they have a great app, you'll like it
[AT&T Samsung Galaxy S II SGH-I777] Pmac25:
Thanks I will look into it.
[AT&T Samsung Galaxy S II SGH-I777] selfassembled:
I tried endomondo and found the move bike calculator to be much more simple and efficient. I doubt you need the extra 'social' features. It tracks most GPS stats and saves your routes.
[AT&T Samsung Galaxy S II SGH-I777] Pmac25:
I took a look at Endomondo today it that is not really what I a looking for either. I pretty much get everything that it gives me from Cardio Trainer.

What I am looking for I guess is more of a journal that also does the tracking.
[AT&T Samsung Galaxy S II SGH-I777] karth500:
Try My Tracks from Google. I like the app. Might be what you are looking for. I use it mostly for hiking, but it can be used for any GPS tracking. Sports Tracker is another app that a lot of people seem to like.
[AT&T Samsung Galaxy S II SGH-I777] Gotheat:
how about "imapmyride"
[AT&T Samsung Galaxy S II SGH-I777] harlenm:
You might be better off with a dedicated GPS computer for your bike.

Something like this.

https://buy.garmin.com/shop/shop.do?cID=160&pID=36728
[Android Q&A, Help & Troubleshooting] riahc3:
Hey

As many of your know, HTC on Sense has a feature that makes the phone ring louder if it is in a pocket or a gym bag.

Is that avaliable for nonHTC or nonSense phones thru a app?
[Droid 2 General] T3viin:
Hello. Well to start off I had recently rooted my Droid2 which was running the OTA GB. So I started looking for roms like I use to with froyo and the leaked GB. Was looking for something to change the battery life frame poor to great. Anyway I came upon Cyanogenmod's Rom for Droid 2 For the ota gb. I made a nandroid back up, downloaded it and was ready to flash. Seconds away in boot recovery and while i was looking for the file before I think I hit "apply update" instead of "search for zip file on scdard(or what ever sentence it says) and i got it but it started loading an update. I was like wtf o.O kinda freaked out and I did a battery pull :(. Now my phone stays at the M boot logo and i have no way to go back. I heard the SBF for GB ota isnt her yet :(. if anyone can help I would be grateful. Plz Help

Things I've tried/

1.Battery Pull.

2.Hold power button + hold X(doesnt work like froyo Poo)

3.Tried going back with rsdlite 5.3.1 with moto drivers(it won't show my device ;'( )

4.Left this message on xdadev :)/ please help :(
[Droid 2 General] T3viin:
SOLVEd

{[SOLVED]}

Used bootloader way in by holding power button and up. rsd that way and got it to work.. Guess this is to who ever made my mistake :). heres the solution
[Droid 2 General] dmeadows013:
I just tried this on my friend's D2 (I am very experienced with the inc), and I seem to be having the same problem. I have tried Sbfing, but RSDlite will not recognize the phone. I have booted to recovery, nothing (Stock recovery), and the bootloader (Says too little charge)

What can I do?
[Droid 2 General] lizard1:
Charge your battery in another phone like yours. Borrow someones spare battery. Take battery to verizon store and see if they can charge it somehow. There is a thread on here somewhere on how to do a hack job on your cable and hook the wires directly to your battery and charge it independent of the phone. I can't post a link so I hope you can find it by searching.
[Droid 2 General] Jesushaxyou:
I've had this problem 4 times in the last week. I used a terminal based OS to SBF using ADB.

And in the same step I re rooted my phone. Whole thing takes about 15-20 minutes.

The steps are on the CMWiki.
[Windows Phone 7 Q&A, Help & Troubleshooting] Damionix:
I just upgraded the SD Card in my Venue Pro to 32GB, and was wondering if I Could format my 16GB Sandisk that was in it before Mango upgrade.

I followed each step but was unable to proceed. Please any help would be appreciated. Or please point me to a Thread I can follow.

Thanks