yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] numero53:
Unfortunately it's Silicon Labs Si4713 chipset... I think it's very different from the broadcom in the nexus one.

I can't instert external link... -.-' (delete the space before the dot)

natisbad .org/N900/n900-commented-hardware-specs.html
[Nexus One Android Development] :
Yea, it's very different, but maybe a pathway can be derived from looking at how it transmits

(conjecture on my part)
[Nexus One Android Development] Nativedude:
Definitely need another FM Radio app, HTC's looks nice but still is buggy

Important thing is though I was able to pick up stations and listen to them

AWESOME JOB I.R. :)

$20 is now yours
[Nexus One Android Development] bewA:
Nice one intersectRaven!

Glad I could help in some way :)

I'll try the Desire ROM later and if there are any probs I'll post logs :)

I assume I will have to use a none FroYo radio?
[Nexus One Android Development] intersectRaven:
Update posted addressing WiFi on Desire ROM v19 (MoDaCo)!

*refer to OP

Oooh...I didn't really consider that. Well, the only thing I know that is affected by the radio is the camera/video application. If you use that, you have to revert to non-FroYo I think for it to work. FM radio is unaffected I think. :)
[Nexus One Android Development] chrisvuong:
i've tried kernel with r19 modaco Rom, connect headset and FM radio just give a noitice "opening radio" then it escaped to home screen..moreover this room have long sms issue which is very annoyed..i haven't tried wifi working. Flashed back to current Rom..Still waiting for another solution
[Nexus One Android Development] intersectRaven:
Does the default kernel built into r19 "work" for you? As in it continued to scanning FM frequencies? If yes then this should also work for you. I don't know if there are any special requirements to get this to work or whether you're experiencing hardware issues so can't judge your problem. :confused:
[Nexus One Android Development] bewA:
does anyone have a link for the Desire ROM?

MoDaCo is down with a DB issue so I can't download it :(
[Nexus One Android Development] NielDK:
http://coblitz.codeen.org/www.romra...te-modacocustomrom-nexusone-desire-signed.zip
[Nexus One Android Development] thalib_atc:
Is there a safer way to downgrade the froyo radio to eclair to check whether it's a compatibily issue with the radio ???
[Nexus One Android Development] bewA:
do we know anyone who will be able to port the radio app to 2.2 (non desire)?
[Nexus One Android Development] thalib_atc:
This would be fantastic !!
[Nexus One Android Development] Nativedude:
Not really, because the FM Radio app from HTC requires HTC's Framwork

same with the other manufacturers apps

Might be possible but I think it would be better if someone developed a new app that only requires the esentials and not some OEM's code
[Nexus One Android Development] chrisvuong:
i can assure that there isnt hardware prob in my fone.before,ive runnin Froyo pecfectly,ive downgraded to 2.1 radio,using your kernel,r19 Modaco rom..what else have i missed?:(
[Nexus One Android Development] martin0285:
That is the key..... Plenty of devs (Not myself) that should be able to make a radio app that works with this now!! Someone PM @cyanogen!!!!!

IR, your the man.... Been watching the "think tank" and once I saw you working on it had total faith.... Once this works on a non-desire rom, my $25 donation is DEF coming to you my friend... Excellent work!!!!
[Nexus One Android Development] thalib_atc:
So how many of u got this working ??? I dont know what am i doing wrong in the process BUT for me using Alpha19 rom the application doesnt launches but after sometime says radio cannot open and it forcecloses.. any idea ???
[Nexus One Android Development] thalib_atc:
so after flashing the rom 3 times i got it working BUT now when i closed it after tuning then again i cant open it.. Seems like a software problem than hardware now.. paul have to look it it i guess... ???
[Nexus One Android Development] imfloflo:
Glad i can help a little bit with the log.

Really happy to see this working under certain constraint for the moment.

But now we have a POC i'm sure that some devs will find the solution to port this on stock froyo, maybe if @cyanogen see this thread he will look into it.
[Nexus One Android Development] MrNameless:
can you post log cat ?
[Nexus One Android Development] bewA:
Ok so i've just installed the Desire R21 baked this morning with AVS-X and it's not working but here's the logcat.

http://pastebin.com/KRqp7M4D

So this is with my headphones plugged in. It is able to detect when I have unplugged the headphones :)

I start the app which is fine and it then tries to do a scan but the progress bar never starts on the pop up.

If you try and quit out the app it will never close/exit until a reboot.

I did notice this in the log which might be relevant...

E/BTLD ( 780): # WARNING : BTU HCI(id=0) command timeout. opcode=0xfc0a
[Nexus One Android Development] imfloflo:
Already posted here : http://xdaforums.com/showthread.php?p=7106975&highlight=pastebin#post7106975

http://pastebin.com/SWJ1Fx1X & http://pastebin.com/zvaCy1nn

Log are from http://twitter.com/Lint_ who follow my instruction to make log on his device. Thanks.
[Nexus One Android Development] thalib_atc:
Doesnt work later versions.. Dont know what's the problem si.. BUt it DEFINITELY works on alpha 19.. Although it works once after evry restart.. if we close it for some reason the radio wont start simply .. dont know what the problem is.. i tried to close all tasks but no success...:confused:
[Nexus One Android Development] intersectRaven:
Yes it doesn't work on later versions. By the way, to test whether it works, you just flash the Desire ROM as is WITHOUT flashing MY kernel and try to start the radio. If it starts successfully and doesn't crash, force close, or reboot your N1, my kernel should fix everything else. If not, it's something with the existing software. :)

*Btw, if you get radio to work, DON'T SWITCH FREQUENCIES TOO QUICKY (like sliding the frequency bar). Use the list instead. I find that switching frequencies quickly sometimes causes the audio path to unsync with the signal so you'll have to restart to get audio back. :)
[Nexus One Android Development] ibegary:
Has anyone tried the Droid X FM application with the raven's Kernel with any success?
[Nexus One Android Development] imfloflo:
@intersectRaven And with this one, this time we can flash it on Nexus One, can it help ? [RADIO] New N1 Radio 32.41.00.32U_5.08.00.04
[Nexus One Android Development] thalib_atc:
i dont think this is at all a problem with the radio.. I think its a compatibility issue with nexus of the desire fm radio application... If not why it's crashing after the first boot ??? We don't know the issue earlier as it doesnt produce audio and we havent used it.. so when we get the audio and starts using it we find bugs ... just my thought ...:)
[Nexus One Android Development] matrix2004:
Anyway to try this on Droid? It also has the FM receiver.
[Nexus One Android Development] intersectRaven:
If you're referring to whether it can be ported to Droid also, I have no idea. For one, I don't know what FM chip it has. Second, we don't know if it's wired properly. With the N1 we know it is since it can scan frequencies when using the Desire ROM's radio (r19). :confused:
[Nexus One Android Development] :
edit: I don't think that's right, my bad.
[Nexus One Android Development] christiankk:
Are you sure this is the right thread. :confused:

This is a thread for a kernel, not a rom.:rolleyes:

Not sent from my Nexus One using XDA App
[Nexus One Android Development] intersectRaven:
Sorry everyone. While cleaning the source, I found that the later versions I released have a bug in them which is causing the erratic problems. Essentially, I forgot to uncomment a line which configures the communication between the bcm chip and the bus which is causing the odd problems. I'll release a new one soon with the fix. I'll also be releasing the source soon on my GitHub since it's almost nice and clean. :o
[Nexus One Android Development] rohandhruva:
Could this inadvertent bug be the cause of my problem here -- http://xdaforums.com/showpost.php?p=7158437&postcount=50 ? I can't wait to try out the new release :D
[Nexus One Android Development] intersectRaven:
I think so. I've also been experiencing the same problems when I switched from my test fm to my "official" fm kernel. :(
[Nexus One Android Development] rohandhruva:
The new release which includes the bugfix (20100713_1658), will work with what type of wifi? Desire r19, or Froyo?
[Nexus One Android Development] intersectRaven:
Desire. :)
[Nexus One Android Development] bewA:
So if you're happy will this be integrated into your main HAVS kernel releases?
[Nexus One Android Development] imfloflo:
FYI:

Good news for next steps:

I pm @PaulOBrien to ask him what have change between r19 and >r19 and if he can help us to have this FM working on all rom.

The result is (spoiler inside):

So we are going to make this work, Paul will help us when it has free time.

By cons just wait for him to come here, do not pm him for this please.

I think we can already trimming all the necessary work.

Which are the next steps in the kernel?
[Nexus One Android Development] rohandhruva:
Thank you. Could you please release a version including bugfix which works with the Froyo N1 wifi? Daneshm90 has been working on porting the FM app to nexus one, and this would certainly help.
[Nexus One Android Development] intersectRaven:
Yes. :)

The next step would be solving the HCI timeout which occurs after closing the FM app or when it closes it for instances like scanning frequencies. I think the community can help with this once I release the sources. :)

In time. Right now, I'm cleaning the code for release which would let a lot more devs get to fixing things. :)
[Nexus One Android Development] bewA:
excellent news so far :)

Looking forward to seeing the apps come! :)
[Nexus One Android Development] imfloflo:
Another spoiler for the record more to come :
[Nexus One Android Development] rohandhruva:
After this new kernel, FM works more or less fine for me. Thanks a lot!
[Nexus One Android Development] ~semsem~:
Which Program to use FM

Gr8 Work!!:) sorry if thats a noob, i flashed latest FM Kernel, now how can i scan for stations or which program shall i use, running CM6-RC1, Thanks in advance
[Nexus One Android Development] imfloflo:
@~semsem~

yeah n00b question, wait until it 'll be release, that is not for you right now.

Search in the forum and read the topics you will find answer.
[Nexus One Android Development] rodigezstyle:
@intersectRaven

any chance to get the 720p values from the Desire in our Nexus kernel ?
[Nexus One Android Development] intersectRaven:
Uhm...I don't know about that. I believe charansingh is the one working on this. (I'm not into the multimedia thing... :p) :)
[Nexus One Android Development] martin0285:
HAHA This is great news!! Between Paul and IR this will be rockin!!! Only problem for me, still sense!!! Just waaaaaiting to see Cyan tweet about this!! I've asked in the IRC and everyone seemed to ignore me (prob thought I wanted ETA on when we'd get it in cm6).... This is really amazing news, I've been dreaming about the FM radio since release day!!
[Nexus One Android Development] rohandhruva:
Surprisingly, the "fixed" kernel -- 20100713_1658 -- works on stock nexus rom, with wifi! We can use this kernel to try and port the fm app from desire, I think (effort going on here -- http://xdaforums.com/showthread.php?t=707404&page=29)
[Nexus One Android Development] intersectRaven:
They might be concentrating on the CM6 release. I believe they've already implemented a feature freeze so you'll have to wait for the next CM for FM to be included. :)

Really? Hmmm...that line seems to be really important...well, considering that it's a GPIO setup call, I'm not surprised. :p
[Nexus One Android Development] rodigezstyle:
Thanks for the fast reply.. do you know a good tut to learn something about Kernel modding ? or is the CM Wiki tut the only one ?
[Nexus One Android Development] intersectRaven:
All I can say is learn C and read the linux code tree. Learn how it's compiled, how they come together and just have fun with it. The CM wiki only teaches you how to compile the kernel and not how to mod it. Also, try using the linux kernel mailing list and all the other resources online. :)
[Nexus One Android Development] thalib_atc:
does anyone experience problems mounting usb after adding this FM kernel.. I haven't tested the latest release.. i found that it's very difficult to mount but previously wasn't like it.. Will post findings once i install the latest update..:confused:
[Nexus One Android Development] nicandris:
ok, so it's currently only working on Sence roms cause the radio application uses HTC Framework. So we need a new app from a non-sense device?

no Android phone uses FM Radio?
[Nexus One Android Development] intersectRaven:
Yeah. The USB mass storage drivers are currently for FroYo only. I'm thinking of releasing a .34 with FM to fix this but I'm currently tied. :p

Yes we need either a new app which uses the same kernel interfaces as the Desire radio OR port the Desire radio to non-Desire ROMs. There are other Android phones that use FM radio but they use either a different chipset or don't use the same kernel interfaces. :)
[Nexus One Android Development] nicandris:
hmmmmmmmm according to this a lot of android devices using snapdragon qsd8250 are coming up. so maybe one of these will have a native radio app?
[Nexus One Android Development] thalib_atc:
It;s still the same experience with the new kernel too on alpha 19 rom.. only one time the the FM application can be run after that it doesnt start :(..
[Nexus One Android Development] imfloflo:
make sure to test it with a full clean new install maybe.

Wipe all is needed, if we want to be sure we make it right
[Nexus One Android Development] thalib_atc:
i did a clean intall after wiping everything.. but still the same .. FM applicaion strart and wrorks perfectly BUT for only one time.. if we close it then it wont open unless reboot.. there is no problem about the fm audio when it works .. so it's a bug or what ever of the fm applications loading once we close it//
[Nexus One Android Development] imfloflo:
So its a bug when the application stops, maybe something still open ? connection ? socket ? port ?
[Nexus One Android Development] tim.embeddedfreelancer:
F

are u using the latest IR's kernel that fixes some issues?
[Nexus One Android Development] thalib_atc:
It's not a problem with the kernel.. I just installed the alpha19 rom and checked how FM behave and it just did the same way as before.. Only once can be opened and closed cannot run without booting .. So i think it's not a problem with the kernel it seems BUT there might be a fix thru the kernel ??? Any idea ???
[Nexus One Android Development] intersectRaven:
I already have a faint idea as to what's happening there but it may have to be resolved through the ROM or app. I'll look into this further. :)
[Nexus One Android Development] thalib_atc:
Yeh this happens with or without kernel.. So cannot guess any problems.. Are u testing on emulator or directly on phone ??? If u are testing on phone don't u have this problem ?? :(
[Nexus One Android Development] tjsimmons:
Haha, you made Engadget with this kernel: http://www.engadget.com/2010/07/13/nexus-one-now-a-step-closer-to-fm-radio-support-thanks-to-modif/

Also, stellar work. Been using your kernels for a while now and haven't had a single issue with them. Already sent the $25 bounty I had on the other thread for this your way. ;)
[Nexus One Android Development] Chopes:
That's how I found this thread. Subbed for further reading once I have time later today :D looks interesting.
[Nexus One Android Development] norazi:
sorry if this has been answered but does this open up the possibility for an FM transmitter feature or is that just not gonna happen since the desire doenst have it either?
[Nexus One Android Development] arjay88:
this work on the latest CM6?
[Nexus One Android Development] knightnz:
Correct.

Kernel is compatible, radio app is not (yet?). If you read the thread you'll see it requires a SenseUI ROM.
[Nexus One Android Development] DebauchedSloth:
Love these kernels! Great work!

Had intermitent bluetooth disconnects with the latest. Backed off to a pre-radio 2.6.35-rc5 and all was fixed.
[Nexus One Android Development] bugmenever:
blah Sense sucks :(
[Nexus One Android Development] otto888:
Just a thought, has anyone tried the cliq xt/whatever lg phone had radio apk? Can't read through while thread on 1g, so excuse me if its already been asked. When I get home I'll try removing sense dependency on the htc radio apk(may be like HTCMusic.apk)...
[Nexus One Android Development] halla29:
Someone should develope a radio app. Built around the nexus ones framework. Now that i'd pay for. For the radio kernal.
[Nexus One Android Development] knightnz:
Moa's are an extinct species of bird. What're you talking about? Also, "how long is a piece of string"?

That's why people are trying to port a suitable app.
[Nexus One Android Development] ardito81:
sorry for my bad english, i'd like to know if kernel working on a acer liquid with eclair 2.1 !!! thanks a lot

Alessandro
[Nexus One Android Development] ralle.gade:
Have u pushed the code to Github? Can't find it anywhere

I would like to have a look at the code as it maybe could be helpful for the 2.1 port for tattoo where the radio isn't working

In advance thanks for the great development! :)
[Nexus One Android Development] christiankk:
No. Goodbye.
[Nexus One Android Development] luca_v3r:
Congratulations to all.

I wanted to know if someone is working to do the same for Droid/Milestone.

thank you very much.
[Nexus One Android Development] bewA:
I would ask in the droid forum :)
[Nexus One Android Development] kfir:
does it work with stock rom froyo frf 85 / frf 91??
[Nexus One Android Development] :
i'm having issue where music player will hang in the middle of playing mp3.. even restarts doesn't solve it.. 2.1 radio -> clean instal -> kernel..
[Nexus One Android Development] bewA:
The kernel will but there is no FM Radio App yet.
[Nexus One Android Development] intersectRaven:
Not yet. We've just had power restored here in the Philippines so I've only managed to power-up my devices now. (although my N1 was up thanks to my 4 D-cell battery + USB extender setup) :)

Yes it does. The problem is there is no app that works on those yet...I think...did someone manage to port or create one while I was offline? :p
[Nexus One Android Development] bewA:
As far as i know iR needs to do some clean up on the code and integrate into his main kernel stream.

However it depends on what ROM you are using...
[Nexus One Android Development] intersectRaven:
I think the cleanup's done. I'll try and push the source to my GitHub tomorrow before/after work. Just need to test a theory which *should* stabilize the FM radio. (can't do it now since I only have 2 hours to sleep before I get up to prepare for work ;p...) :)
[Nexus One Android Development] jacka$$1:
UY Pare! Ang galing mo! Matagal ko nang hinahanap ang radyo app na ganito para sa Nexus One ko! Ayos!

But seriously, great job! Props to Pinoy developers. Will I be able to use this while connected to a bluetooth A2DP stereo headset? Not sure if the bt stack will be able to do double-duty as an FM receiver and A2DP transmitter. Would be nice to use FM with a wireless headset.

O sige! Matulog ka na! :)
[Nexus One Android Development] bewA:
If you can do it with a desire i'm sure its possible with the nexus one :)
[Nexus One Android Development] opusheks:
Great job!
[Nexus One Android Development] :
err.. i'm using r19 :)
[Nexus One Android Development] intersectRaven:
I think I solved the intermittent problem with my latest theory which came to me while I was pondering how to rig the car battery to my laptop to go online. Anyways, I'll upload the zip file in a few minutes for others to try first. The only problem I'm seeing now is that the radio app of r23 isn't displaying the proper frequency every now and then. I don't know if this occurs in r19 so please test it there as I don't want to wipe again. Btw, I lost the patch for the old WiFi so the next release won't have WiFi enabled for r19 again. :o
[Nexus One Android Development] intersectRaven:
Updated! Please look at the OP. :)
[Nexus One Android Development] Daddyroot:
deleted. not worth bothering about.
[Nexus One Android Development] intersectRaven:
Hehehe...ok ba? Tagal ko narin hinahanap kung may gagawa eh. Ayan nainis ako kaya ako na mismo gumawa! :p

Translation: Hehehe...nice right? I've also been waiting for someone to do this for quite sometime. I got so frustrated I did it myself! :p
[Nexus One Android Development] joshualimjs:
O.O Did i just saw r23? or.. is IR's typo? :D
[Nexus One Android Development] Nativedude:
Yes it does show the wrong frequency on R19

Anytime I switch from the radio app to any other app it shows like it jumped to the next frequency in the save list
[Nexus One Android Development] intersectRaven:
Do you still experience the problem though where the radio stops functioning?

*It seems the "fix" just made it not occur as frequently BUT it also makes random frequency jumps. :p I'll just release the code and let you guys have a crack at it. :)
[Nexus One Android Development] intersectRaven:
FM radio source modification posted to my GitHub for .35! Please take a look and try and solve the bugs. :D
[Nexus One Android Development] G1-evolve:
I am debating or not if I should apply this to CM6-RC. How does it differ from CM6 kernal?
[Nexus One Android Development] intersectRaven:
Minor update to improve FM output stability. The frequency displayed will still change BUT the output should be the correct one.
[Nexus One Android Development] intersectRaven:
This is .35 and also I haven't integrated some of the important commits from cm-kernel like AUFS and the lowmemorykiller commits. :)
[Nexus One Android Development] sonym4n:
Reporting bluetooth bug. Cannot turn on discoverable can't scan new devices. Resolved after flash wildmonk's ir mod kernel.
[Nexus One Android Development] Zoide_:
What radio app are you guys using to test the kernel? I looked at MoDaCo R19 (http://android.modaco.com/content/google-nexus-one-nexusone-modaco-com/309718/02-jul-r21-modaco-custom-rom-for-nexus-one-with-online-kitchen-froyo-frf91/) and found no reference to an FM radio app.
[Nexus One Android Development] Zoide_:
Oh! Nevermind, R23 seems to have Sense... :D

http://android.modaco.com/content/google-nexus-one-nexusone-modaco-com/313594/15-jul-r23-dev-wip-modaco-custom-rom-for-nexus-one-online-kitchen-froyo-with-sense/
[Nexus One Android Development] martin0285:
Still for Pauls sense rom only..... Need to wait for proper FM Radio app for vanilla android AOSP....
[Nexus One Android Development] Chopes:
So pretty much have to wait for manufacturers to give it to us is what your saying?
[Nexus One Android Development] martin0285:
Nah, this is XDA for a reason man... There's a thread about porting the FMRadio.apk from desire.... I also just happened to see in a tweet from @cyanogen mentioning "It needs frameworks support to, not just a kernel patch. Probably will look into it soon." (which we all already know) in reply to questions about it.....

This will get done in due time, everyone needs to just be patient!! :D
[Nexus One Android Development] Chopes:
:) Sounds good. Just did a nandroid, gunna give Modaco's ROM a shot and give this a try, never tried his rom before, so might be a good experience :) Subbed to this thread for further reading though. I enjoy stuff like this :D
[Nexus One Android Development] ganjamu:
Would it work on the Desire DeFrost which is a stock Froyo port for the Desire?
[Nexus One Android Development] bri3d:
At this point your Desire is almost like an N1, so no - the issue is that FMRadio.apk depends on SenseUI.
[Nexus One Android Development] chrs2021:
I just noticed on intersects github that he reverted his fm radio modifications, I don't know why he would remove it.:confused::confused: