yashsingh1/xdaforums huggingface dataset:
[Vibrant General] kriskovski:
Any move?

I read the captivate FM thread, cuz of my galaxy tab sharing the same combo chip ...
[Vibrant General] bahnburner:
That's good news. Not sure what we're missing though. I pushed /lib/libFMRadio_jni.so and ended up with nothing more than a boot loop.
[Vibrant General] angryPirate12:
i know a lot of phones require an antennae to work, which is typically through provided headphones

as to why you keep looping, it could be that its an option at the kernel level that needs to be switched on. Could explain why you loop, it recognizes everything, it wants to utilize it, but it just doesn't know how too; much like a fat kid trying to run, they know how to, they know where to go and what to do, but it just doesn't happen. So we may never be able to get FM to work until a custom rom is out and they figured everything out
[Vibrant General] shaneaus:
If one digs around in the KERNEL of the I9000 you will find the DRIVERS for the FM Radio.

As I understand it the current issue is that the drivers are loaded in the boot.img and are inside the kernels of our respective devices (or NOT, in the case of the FM Radio drivers).

Most likely the Captivate and Vibrant DON'T have the drivers in their kernels and don't have the other code to reference them.

Since no one has been able to crack open the Vibrant and Captivate kernels to add the drivers and tweak the code so that they will work.... We won't have an FM Radio.

The issue with opening the kernels right now is that they aren't un-compressing correctly (ie: they are corrupted). So, until someone can break up the boot.img AND un-compress the kernels for our devices so that they can be modded, re-compressed, packaged and flashed.... We won't have an FM Radio.

What I am hoping for is to hear that Koush or someone equally talented can make a kernel from scratch using the I9000 as a guide. Then we can all flash a vanilla style kernel with no carrier branding etc. The ROM would then install "on top" of the kernel.

The ROM isn't the issue - it's our HAVING to use the carrier's customized kernels to get our devices to work AND that no one can seem to open a non-corrupted kernel so it can be massaged properly.
[Vibrant General] zerosource:
Looks like a very big job there. btw, if you are on at&t, why wouldn't you get the i9000? I would if it work on t-mobile 3g, but it's not.
[Vibrant General] anomalous3:
If you look in the init.rc file, the following is commented out:

# load FM Radio module

#insmod /lib/modules/Si4709_driver.ko

It then follows that we need to do 2 things:

1. grab the Si4709_driver.ko module from the i9000 and

2. initialize it by getting the insmod command issued at startup somehow
[Vibrant General] engineer14:
you will probably be broadcasting to only your radio
[Vibrant General] blackeyedbrian:
EDIT:

We should be able to just run insmod from the shell once we get the driver. I've been looking for a compiled one, I'll keep looking.
[Vibrant General] bahnburner:
Si4709_driver.ko is already on the phone. It's in /lib/modules/

It looks like the Captivate guys are having just as much fun trying to enable the FM radio.

http://xdaforums.com/showthread.php?p=7410798#post7410798

I've uncommented the insmod command, but apparently can't remount the root directory as r/w so I can push the new init.rc, but I have a feeling that if we load the driver, have the libFMRadio_jin.so library and a deodexed version of FMRadio.apk installed we may get somewhere.
[Vibrant General] blackeyedbrian:
Oh hey, you're right. I didnt realize the driver was on the phone.

The module loads just fine too

# insmod Si4709_driver.ko

insmod Si4709_driver.ko

# lsmod

lsmod

Si4709_driver 15744 0 - Live 0xbf195000

vibrator 6744 2 - Live 0xbf191000

s3c_bc 2880 0 - Live 0xbf18b000

s3c_lcd 5060 0 - Live 0xbf184000

pvrsrvkm 205996 52 s3c_bc,s3c_lcd, Live 0xbf14c000

multipdp 30968 1 - Live 0xbf13f000

dpram 194152 10 multipdp, Live 0xbf10a000

param 10132 0 - Live 0xbf105000 (P)

j4fs 65548 1 - Live 0xbf0ef000 (P)

rfs_fat 235456 6 - Live 0xbf0b0000 (P)

rfs_glue 74328 1 rfs_fat, Live 0xbf098000 (P)

fsr_stl 248012 6 j4fs, Live 0xbf056000 (P)

fsr 328428 3 dpram,fsr_stl, Live 0xbf000000 (P)
[Vibrant General] bahnburner:
So I've uncommented the insmod command in init.rc so it will persist after a reboot (since we bootloop if we push libfmradio_jni.so, but apparently can't remount the root directory as r/w so I can push the new init.rc, but I have a feeling that if we load the driver, have the libfmradio_jin.so library and a deodexed version of FMRadio.apk installed we may get somewhere.

UPDATE: Oddly enough, even though we have Si4709_driver.ko and vibrator.ko, it seems we're missing the third driver from init.rc, melfas_touchkey.ko. I'll have to check my i9000 dump.
[Vibrant General] zerosource:
Something more interesting is coming here :p

I wish I could help but not enough skills. :o
[Vibrant General] bahnburner:
Seriously. Someone with a bit more knowledge then me, could possibly have this running tonight.
[Vibrant General] cashless:
Some information on the Si4708 radio chip. it's not much but eh...
[Vibrant General] bullale:
If you missed it in the other threads, here are some things that might help.

Someone has come up with a way to run init scripts.

http://xdaforums.com/showthread.php?t=739647

Samsung has released the kernel (I haven't downloaded).

http://opensource.samsung.com

I know iPhone development but I don't know Android (apps or otherwise) at all (yet), so I am sorry but I can't contribute other than pointing people to information.
[Vibrant General] blackeyedbrian:
melfas_touchkey.ko is most likely a closed source driver. It's not in the open source releases and searching google shows other people complaining about it not being open. Looks to be a touch screen driver though so im not sure if its even needed?
[Vibrant General] eweo911:
Does anyone think this will be able to handle "HD Radio"?

I understand that people are still trying to get it to work and maybe this is something not answerable right now. I just don't know anything about it and maybe someone that reads the specs on the chip would know.
[Vibrant General] bahnburner:
If what I'm thinking is right, the userinit.sh isn't going to help us much, because it would be ran after init.rc, which doesn't seem like a big deal, but for some reason if libfmradio_jni.so is loaded before Si4709_driver.ko, we get stuck in a bootloop, so enabling Si4709_driver.ko in userinit.sh wouldn't work.

From what I've seen from other FM Radios on android phones, there's no chance of HD radio, but we will have RDS, meaning it will display channel name, current song, etc.
[Vibrant General] eweo911:
Cool! Still cooler than stock FM radio. :)
[Vibrant General] zerosource:
Anyone suspect any chip yet?
[Vibrant General] ratbert90:
Any update at all on this? I am hoping now that the kernel source is out somebody with the skills can make the radio work.
[Vibrant General] bahnburner:
I'm working on something right now that I think might work. I'm just having an issue finding a i9000 system dump that will extract properly. The 7z version I have keeps giving me upsupported compression method errors.

If anyone has one that works, and can zip up libfmradio_jni.so from /system/lib and fmradio.apk and fmradio.odex /system/app and post them here, I'd really appreciate it. I think I may just about have this thing working.

EDIT: Nevermind, I found a working dump. Gimme 5-10 minutes and we'll see if this works.
[Vibrant General] kronos82:
God Speed :D
[Vibrant General] bahnburner:
I have the drivers loaded. Everything appears good. I just need a de-odexed version of FMRadio.apk, and I have a birthday party on it's way to my house (not mine, a close friends) so I may have to take a break from working on this for a bit.
[Vibrant General] danr238:
If you get this working I will be amazed. I was reading earlier today on an HD2 forum they were trying to enable their FM radio function but someone was told by BroadCom that it wouldn't be possible because additional pieces of hardware were necessary (not just an external antenna). I'm not sure if it is the same chip used here as in the HD2 but hopefully all necessary hardware is in place for us. On a side note bahnbunner are you from New England? The reason I ask is because the expression bahn burner is something I only thought folks up there used.
[Vibrant General] bahnburner:
Actually I'm Irish, raised in Miami, and now live in TN. Bahn Burner is a term of german origin used to describe a large sedan with a high horsepower motor such as a BMW M5, M-B E63AMG, or my personal car, a 350hp 2004 VW Jetta GLI.

As for the FM Radio, since the i9000 supports it, and we have the correct chip, kernal, drivers (Yeah, seriously, the driver was still on the phone, it was just commented out in init.rc) we should be able to get it. After reading my logs in DDMS with the libraries added and the init.rc insmod command uncommented, everything looks happy.

08-01 18:49:19.271: DEBUG/dalvikvm(2264): Trying to load lib /system/lib/libfmradio_jni.so 0x0

08-01 18:49:19.281: DEBUG/dalvikvm(2264): Added shared lib /system/lib/libfmradio_jni.so 0x0
[Vibrant General] zerosource:
what else is missing?
[Vibrant General] danr238:
Cool man. I knew we had all that but just was trying not to get my hopes up. The bahn burner thing to me is slang for barn burner (us new englanders have a hard time with annunciating our "r"s). It when a basketball game is a great competition until the final seconds. But honestly I will be so stoked if you get this working. I use am FM transmitter daily with an arsenal of 50+ gigs of mp3s in my car. With the transmitter being built in it will save a hassle when in other vehicles. Really excited
[Vibrant General] ratbert90:
Heck yay I am really looking forward to this! Thank you!
[Vibrant General] zerosource:
Let us donate to bahnburner or whoever making this fm radio work.
[Vibrant General] bahnburner:
It's just a receiver. You'll be able to listen to radio stations on your phone. We'll probably never see the transmitter because it's never been implemented before so we don't have any drivers.

A de-odexed version of FMRadio.apk
[Vibrant General] scrizz:
Hopefully someone can come up with the de-odexed FM apk soon!
[Vibrant General] rhcp011235:
I dont even understand why this thread is open.

The vibrant nor the captivate have a FM tuner built it. And, there is no front camera.

So, what in the world are you guys trying to do here? EVEN IF, you get it run, IT WONT WORK!!!!! Test the 2.2 rom with the radio. IT WONT WORK. Its even on the video. if you look.

Sorry i had to chime in. because this is going now for days.
[Vibrant General] Shammyh:
How exactly do you know the hardware is not there?
[Vibrant General] junkdruggler:
What we know for now its that its the same chip as the international versions.. Fm radio might still be possible...
[Vibrant General] rhcp011235:
To all you guys,

Please go flash the UN-BRICKABLE 2.2. That eugene posted. It has the FM radio which *works* (doesnt FC or reboot) and you will hear static.

There is NO FM RADIO IN THE PHONE. THERE IS NO FRONT CAMERA IN THE PHONE.

DONE DONE

sorry for the caps. But, its just ridiculous.
[Vibrant General] scrizz:
what does the FM radio have to do with the ffc......
[Vibrant General] blackeyedbrian:
So that rom is now 100% working enough for you to make that conclusion?

Why would the driver be on the phone, and included in the source tree if there was no use for it? -- Serious question...
[Vibrant General] junkdruggler:
It was probably removed by the carriers so you would stream radio on their data
[Vibrant General] rhcp011235:
If you do not believe me.

Go open your phone. and look!

there is no fm tuner and no front cam. simple. google even!
[Vibrant General] zerosource:
What is -1?
[Vibrant General] metalman3797:
IT HAS FM

ACTUALLY IT DOES HAVE AN FM RADIO

Just google "Full specifications of Samsung Vibrant T959"

IT HAS AN FM RADIO WITH RDS gg
[Vibrant General] :
Wait... static? How exactly to you receive static without a tuner? It would seem to me that the hardware HAS to be there to receive static it just isn't being tuned properly.
[Vibrant General] Disconn3ct:
That is a good sign he is making **** up. The other good sign was "doesn't have a receiver chip" .. except it is built into the core SOC (System-on-Chip: cpu+some storage+gpu+cellular cpu+..etc)
[Vibrant General] rhcp011235:
Have fun.

as i said. flash the EU 2.2 which wont brick your phone. run the FM tuner. it runs fine.

and see for yourself.
[Vibrant General] engineer14:
well technically static is still kinda a signal, just means it has nothing decipherable on it (could be the phone or there is nothing being transmitted). unless the radio apk has a command on it that say: if no signal, run the file (static.exe). if not, it is getting OTA static.

It may be a good idea to look at the rom, maybe there is soemthing useable there
[Vibrant General] reuthermonkey:
In particular:

http://pdadb.net/index.php?m=specs&id=2439&c=samsung_galaxy_s_vibrant

Multimedia_Telecommunication

Analog-Radio-Receiver:	FM radio (87.5-108MHz) with RDS

Digital-Media+Broadcast_Tuner:	Not supported
[Vibrant General] rhcp011235:
Very good. src is out. Go compile a kernel + rom that allows the FM to be used.

it may even be hardware locked.
[Vibrant General] renegadedj:
this is effing exciting. always wanted an fm tuner. what about am? or is that asking too much? :D

either way hats off to who gets this working. love this forum for stuff like this.
[Vibrant General] bahnburner:
The Eugene's 2.2 Rom won't brick your phone because it doesn't contain the EU Kernel, so technically, it tests nothing.
[Vibrant General] eugene373:
It Contains the new Kernel.. The Kernel is not what's bricking Phone's.

it Does not contain the SBL / Boot.bin & param.lfs which are designed for the EU phone's.
[Vibrant General] MacGuy2006:
You're kind of a negative type, eh? I've noticed you on Eugene's thread....

There is little reason for removing the hardware tuner found in the international version - it will probably cost Samsung more to remove it, than comment it out.

If you have some hard evidence, please show it. If not, move on.
[Vibrant General] wizern23:
so after reading the entire thread i believe that the fm radio wont work no matter what until a kernel is compiled that supports it; this is similar to the droid radio efforts from a while back over at alldroid. it was never finished because the dev gave up though.
[Vibrant General] rsfaze:
while that is nice.. I would go with data from companys website before another source..I looked over this and seen no info about the FM tuner being included in the t959 aka Vibrant.

http://www.samsung.com/us/consumer/...ZKATMB/index.idx?pagetype=prd_detail&tab=spec
[Vibrant General] chaoscentral:
The Vibrant has the Broadcom BCM4329 chip, so read em and weep.

http://www.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM4329

It contains an FM Transmitter and Receiver.
[Vibrant General] zerosource:
That's sad to hear.
[Vibrant General] Arr MiHardies:
I notice that listing mentions bluetooth 2.1. I thought the vibrant had bluetooth 3.0...
[Vibrant General] chaoscentral:
it does, but the drivers for the BCM4329 is there in the vibrant source, it uses it for wifi, and another chip for bluetooth. fact of the matter is though that the hardware is there.

but the bluetooth portion of the BCM4329 is disabled
[Vibrant General] chaoscentral:
oops double post... lol ignore this one
[Vibrant General] zerosource:
ugh, seems like nothing can be trusted.
[Vibrant General] reuthermonkey:
Ah. So if it was omitted, then it doesn't exist in the device?

The manufacturer websites frequently leave details off of their websites due to them not being activated. 720p video was left off of HTC's website for its superphones because they didn't originally support the function. However it was a purely software limitation and now both the Nexus One and EVO support 720p video.

SonyEricsson also frequently leaves out features that its phones actually do offer out of the box.

And Samsung happened to omit that their phone supports the AWS band, or really any band at all on their "specs" page that you linked to. Applying the same logic that you use with regards to the radio, the t959 doesn't actually support cellular voice or data service at all.
[Vibrant General] engineer14:
OH CRAP!!! my phone is due tomorrow, and i cant make calls!!!! lol
[Vibrant General] xplanowestx:
This made me giggle. :rolleyes:
[Vibrant General] junkdruggler:
the nexus spec page doesnt show their fm tuner either... but its there
[Vibrant General] fearmonkey:
<7>[ 3539.176357] i2c-adapter i2c-8: NAK from device addr 0x10 msg #0

I'm not a huge kernel/gpio developer, but a NAK doesn't sound like a good thing during an initialization.

Sure, the chip could be there, but Samsung could have easily clipped a very important trace and lowered the price by a few cents. Of course, the fact that the phone reboots during a 'si4709_test -p up' isn't a good sign either..
[Vibrant General] RayRay73:
maybe a differnt place to look?

From what I can gather looking around the web is that the Galaxy phones have the Broadcom BCM20751 chip in them. when I looked at the following press release broadcom.com/press/release.php?id=s443755[/url], it mentions "'Maestro™ software platform" so I am wondering if there is another layer or different area to turn on the radio and tune it? just a thought
[Vibrant General] JackalMan:
As I can directly, it seems that the front Camera hardware is with T-mobile Vibrant just on the left side the earphone on the top of the screen. Anybody know am I right?
[Vibrant General] bahnburner:
The two sensors on the left are for the proximity sensor and light sensor.
[Vibrant General] cparekh:
But what is a camera, but a light sensor? :D
[Vibrant General] bahnburner:
Ok fine, you win. It's a secret 1 pixel black and white camera. :p
[Vibrant General] JackalMan:
forget it. You guys are right about the camera...
[Vibrant General] junkdruggler:
The camera on the international version is on the right side
[Vibrant General] bahnburner:
The proximity sensor is an IR emitter, and an IR receiver. There is no damn camera. Even if their was, this is the wrong thread. This thread is about the FM radio chip. Take your ignorance elsewhere, preferably to one of the dozen other threads posted where people have thought they magically found a front facing cam, and were immediately debunked.
[Vibrant General] scrizz:
anyways the camera would be on the right side; just look at the i9000(Galaxy S)
[Vibrant General] zerosource:
How did we went from fm radio to camera?
[Vibrant General] dex1701:
Differences in the Vibrant's hardware and the I9000 hardware I guess. The T-Mobile Touch Pro 2 doesn't have an FM radio listed in its specs, but it didn't take much to enable it. It looks like it'll be more involved to enable it on the Vibrant, but until someone can authoritatively say that the hardware is disabled I'll remain hopeful.
[Vibrant General] Arr MiHardies:
True that, but a light sensor can be something as simple as a photovoltaic cell, and not necessarily a full camera

Sent from my Vibrant using the XDA app.

Typos, incorrect words, gibberish, and other nonsense brought to you courtesy of Swype.
[Vibrant General] junkdruggler:
Amh I love your signature... You put into words how I feel when I read my xda posts...
[Vibrant General] Arr MiHardies:
Thanks! :-)

Sent from my Vibrant using the XDA app.

Typos, incorrect words, gibberish, and other nonsense brought to you courtesy of Swype.
[Vibrant General] fearmonkey:
Maestro doesn't seem to have any real relation to the FM chip:
[Vibrant General] zerosource:
Yep, I don't see any mention about fm radio too. Sounds like out of luck.
[Vibrant General] engineer14:
well looks like all break throughs have come to a halt, sigh, disappointed no FM, but not disappointed to return
[Vibrant General] zerosource:
Are you going to return? If so, what will you get afterward?
[Vibrant General] xplanowestx:
I'm sure we will have someone figure it out sooner or later...
[Vibrant General] Bjd223:
The 2.2 ROM getting static without any errors has a very good chance of it working. You need special headphones with an antenna built in before it will pick up any stations. The headphones that come with the captivate/vibrant do not have this antenna.

People were getting errors about not being able to turn on the Radio / access the radio, others got errors about no headphones being connected. There is something they are overlooking to getting the radio to work. But no one ever got static / white noise.

Also some believe that they moved the hardware address for the FM radio so it will not work even if we run an International ROM and software. IDK only time will tell.

Not sure how much weight to give his comment about getting white noise without any errors though. If it is true then it could be working.
[Vibrant General] bahnburner:
ANY headphones will work. I've used several different sets in my Cliq XT and my brothers Nexus without an issue. It's not a matter of headphones needing an antenna built in.
[Vibrant General] Bjd223:
Are you sure? I had an few MP3 players that required that you use the correct headphones with them. I never had a phone that had FM radio so I do not know how it works.

Either way no one could get past the unable to activate radio error. perhaps this can help IDK.
[Vibrant General] bahnburner:
Yeah, my Cliq worked with iPod headphones, Sony studio headphones from the radio station a friend of mine works with, and even a 3.5mm headphone patch cable. I'm fairly positive none of them had an antenna built in.
[Vibrant General] rhcp011235:
lol someone finally flashes the 2.2
[Vibrant General] zerosource:
What are you stuck on right now?
[Vibrant General] bahnburner:
The fact that I've made sure all necessary libs and drivers are there, added to init.rc and that everything is loading properly, and yet it's still not working. I've given up. I don't posses the knowledge to build my own driver, so I've pretty muched reached the end of what I can do. It's either a hardware address issue, a kernel issue, or the chip is just not there. I don't know where to go from here.
[Vibrant General] scrizz:
I think this needs time
[Vibrant General] engineer14:
im NOT returning, still a great phone without fm, just woulda been nice to listen to radio whenever i feel like? (esp on EDGE)
[Vibrant General] shaneaus:
I've been out of the loop for awhile... But, I really believe that this issue hasn't been cracked or won't be cracked until Samsung either releases the source code of the boot.img without sections being in binary.

It will be hard for any of the devs to delve into all the driver issues and such until they are released in a format that can be viewed and altered.

Currently, unless things have changed in the last week or two - we were still flashing the Captivate/Vibrant kernals on top of the the I9000's - which could very well be overwriting or adding code that prevents the radio from working.

Once the full Captivate/Vibrant kernal's source code is completely released than we'll have a better chance at fixing many of the issues - including this radio!
[Vibrant General] apryshn:
Captivate Newbie

Since this appears to be the most active thread on this issue, I thought I would post this link to the AT&T Developers Program site. As a new account cannot post links so... http-developer.att.com-developer-device_detail.jsp?id=6.3_v1_10400082#

For what its worth, (I know this is not answering the ultimate question of does the hardware exist), the i897 is shown as NOT having FM Radio :(
[Vibrant General] fearmonkey:
Of course, we all know "they" are saying FM radio is not supported, because it is not. But they do not say there is no FM chip. Like someone else said, I'm holding out hope until I either take my phone apart to see or somebody else does to prove whether it is there or not. I'm not gonna yell at anyone if it's not there, it just would make it a better phone ever so slightly imo.
[Vibrant General] g1ftmfw:
I read it as follows...

I bet the front facing camera is there but the front glass just doesn't have a cut out for it.... lol :-)