yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] :
The overview data sheets has this for it's specs:

Notice the Transmit output power. Qualcomm has pushed the chipset as a "all in one" chip that benefits from being all inclusive.

I just looked through the N900 forums, and the Transmit power for it's fm chip is rated at max 118dbuV, and that's enough to get it for in car use. (I was looking into an n900 before the nexus). The guy initially testing it could get about 20 feet from his car before the signal degraded.

It has been shown that the radio app on pauls' desire port can pick up stations, meaning the antenna is fucntioning on some level.

I'm searching for a teardown of the HTC Desire, and I haven't come across one. Does anyone know of one?
[Nexus One Android Development] SoleOfJohn:
Maybe Engadget?

For a teardown try looking at old Engadget archives... They do that kind of thing all the time for new devices, they just did it for the iPhail 4 the other day...
[Nexus One Android Development] :
I searched for a bit earlier. engadget only does teardowns for us destined hardware. The desire is a UK product.

I looked through an HTC Incredible teardown, and there doesn't seem to be any antenna specific hardware included.

I honestly believe the only left is to get some drivers written up to communicate with the chipset.

The transmit/receive antenna is shared for bluetooth/wifi/fm. The fm portion was never tested through FCC, so I can only assume they will never be supported by HTC/Google/Broadcomm because that would be an entirely new beast. The incredible has to re submit their certification for a minor update regarding updates to the antennas/radio.
[Nexus One Android Development] knightnz:
Engadget rarely do teardowns, they often repost teardowns from iFixit though.

Teardown for the N1: http://www.ifixit.com/Teardown/Nexus-One-Teardown/1654/1

They don't have one for the Desire though.
[Nexus One Android Development] :
I'm digging around the update for froyo and I see they patchs two library files for the bluez stack:

audio.so

input.so

Anyone that can look into them and maybe they've snuck in there what we need for this?(very doubtful lol)
[Nexus One Android Development] RogerPodacter:
did you try ifixit website for desire teardowns? i know they do just about every device out there, did the nexus one.

http://www.ifixit.com/Teardown/Nexus-One/1654/1

EDIT: nevermind, they dont have the desire i guess, i couldnt find it.
[Nexus One Android Development] bewA:
surely if Google have said they don't have time to do this but have said it would need to be a community driven feature then its possible on the nexus.

Why would they say the l33t devs here should do it if it wasn't possible :)

Although i spose a few helpful hints wouldn't go a miss from Google! :D
[Nexus One Android Development] :
they said that even if the community got the drivers it wouldnt work for sure....
[Nexus One Android Development] knightnz:
Someone should ask sanmehat, pretty sure he's a Google engineer, would imagine he'd be able to tell us if it's a waste of time or not. Maybe HTC themselves would be a better bet but I don't see us getting any answers out of them.
[Nexus One Android Development] chesh420:
HTC Desire Teardown: http://tjworld.net/blog/htc-desire-tear-down
[Nexus One Android Development] :
Awesome.

There's one note in the teardown that points to the "antennna disconnect":

http://tjworld.net/raw-attachment/blog/htc-desire-tear-down/DSC00150-small.jpg

if you look at the nexus teardown, the same "antenna" is wired up and present: (top right of the picture near the front bezel)

http://s1.guide-images.ifixit.net/igi/AbmdgbxvixKMDxrb.huge

That could be something for the gsm antenna at the bottom, but the innards and pcm layouts look identical, I don't see why they would waste time pulling the fm antenna connection.
[Nexus One Android Development] death_shadow:
I dont believe the antenna is the issue here because the FM receiver can find stations, it just cannot play back audio.
[Nexus One Android Development] SoleOfJohn:
GO Dev's GO! I'm here to be moral support. I have no clue where to even begin so I always look up to those that can figure this kinda stuff out!
[Nexus One Android Development] dogiedogie:
I think theres a lot of guys who snoop in and out, would be nice to have an updated progress log in the OP :)
[Nexus One Android Development] :
not much progress to be honest.

What we need is somone who can actually write a driver to have the chip start using the signal it's getting and sending it to the proper audio channels/antennna.
[Nexus One Android Development] bewA:
oo eck! I can't see anyone writing a new driver! Hope someone can though! sounds like a big job tho!

Didnt broadcom push an updated drive to android.kernel.org for the Nexus which had Wireless N and FM?

http://android.git.kernel.org/?p=pl...it;h=f427424c414886903e4ad654c143c8ce6ec10e3c

Or have i got the chipset wrong! :S
[Nexus One Android Development] intersectRaven:
Interesting...but I think the current driver's FM is already working. It's just that the audio isn't being output. :(
[Nexus One Android Development] thalib_atc:
So lets start a bounty to appreciate their work and find who claims it. I can confirm u that i can donate U.S $25 for this good cause...
[Nexus One Android Development] ibegary:
Put me down for $20 on the bounty.
[Nexus One Android Development] SoleOfJohn:
While I'm a broke single father, put me down for $20 too!
[Nexus One Android Development] :
I spend more on booze per week.

I'm down for $20.
[Nexus One Android Development] martin0285:
I can see someone writing the driver for this....

Look when we got our phones we didn't have color trackball, we didn't have wireless-n and we didn't have 720p recording...... Now I know trackball colors was a driver written by chainsdd and I believe (correct me if i'm wrong on both of these please) wireless-n was also a driver written by the community (don't remember who sorry for no kudos!!).... So this means the community, or atleast a few out there ;) (not I) could get this with the proper time and effort.....

I really wouldn't be surprised if someone out there has countless hours, meaning like hundreds, involved in this..... It's a feature the community clearly wants.... I will continue waiting with a positive attitude that it will happen, eventually.....

Oh ya and when it does, def count me in for a good $20!!!

RUNNING TOTAL = $175 AS OF POST: #129
[Nexus One Android Development] ruineraz:
Put me down for $20 as well. Is someone keeping a running total?
[Nexus One Android Development] greyrc51:
The funny thing is you and I both know that someone has already done this .The dude is walking around right now with the worlds most hi-tech Nexus One but the sad part is he's not even a member of this site.
[Nexus One Android Development] WebghostDK:
Put me down for $25 :o)
[Nexus One Android Development] tjsimmons:
I'm in for $25.
[Nexus One Android Development] r45k:
Pretty expensive bumps going on here...

I still wonder why it wasn't enabled in the first place.
[Nexus One Android Development] :
Apparently phones that have FM radios have to go through a more intensive FCC process for approval.
[Nexus One Android Development] :
dont wanna be a downer but im pretty sure that the colored trackball and wireless n were in asop
[Nexus One Android Development] martin0285:
http://ip208-100-42-21.static.xda-developers.com/showpost.php?p=5692158&postcount=2

Not sure, from what I remember, chainsdd got it done about 2 weeks BEFORE it hit aosp......
[Nexus One Android Development] :
Correct chainsdd came up with the code and the aosp code turned out to be similar.

The n functionality for the wifi was provided via a driver update through broadcomm.
[Nexus One Android Development] :
ya he did lol but as soon as they got it in asop they switched to using that

http://xdaforums.com/showthread.php?t=636784
[Nexus One Android Development] ibegary:
If Wireless-N was provided through a driver update, I guess there is no material over at broadcom to enable the FM portion or how to interface with it?

Also I played with the FM app from the droid X and it requires the headset to be plugged in, even when on Speaker...Does this have to be done to make it mechanically work?

Just throwing ideas out there.
[Nexus One Android Development] :
Most phones require that to get better signal. You could techinally code it to disregard that step.

There most definately is info at broadcomm to get fm functionality(as can be seens with the droids that have fm), but unless you show up with a Purchase Order for 20K chipsets, they're no chance they're gonna deal with you directly.
[Nexus One Android Development] tjsimmons:
I'd love to get this thing working. I don't listen to a lot of radio anymore, but I definitely would if I had it. I'll read through this thread again and see if I can come up with my two cents on this. Don't have a lot of free time anymore to try and hack things up. ;)
[Nexus One Android Development] intersectRaven:
Does anyone know what libraries are needed in order to run the FM Radio apk from Desire on a non-Desire ROM? I'm currently working on the FM radio's kernel support but don't want to be on the Desire ROM. :confused:
[Nexus One Android Development] Daneshm90:
I dont remember, i think it was libfm or something ? Anyway i had modded the apk a few pages/posts back, it had gotten to the point where u cud browse the stations but it wudnt pick anything up :(
[Nexus One Android Development] intersectRaven:
Ok. So that was an FM radio that works with our N1 ROMs? I'll try using that if ever. Did you pack the FM radio with the needed libs or do I have to get them separately from the separate posts? :)
[Nexus One Android Development] Daneshm90:
Oops, nvm. Just remembered, that was from droidx. My bad :(
[Nexus One Android Development] intersectRaven:
That's ok. Btw, you mentioned that that FM radio app can scan stations right? Hmmm...if only I had a Desire I could test whether that can also scan AND output sound from the Desire. If so, I may be able to use that instead of the HTC FM Radio app. Maybe someone with a Desire can test? :confused:
[Nexus One Android Development] bewA:
I can probably get hold of one but it won't be rooted or anything.

Is there anything I can do with that?
[Nexus One Android Development] Daneshm90:
K once u have the desire, can u download this zip http://www.mediafire.com/?zgkyji5dt2v

Then install all the applications within it. And then try running the fm radio app and see if it picks up stations / plays them.
[Nexus One Android Development] DJFliX:
Just installed your zip file, the MOTO fm app doesn't start. Instead I get a toast about the headset not being connected. I also tried while running the HTC radio app. I am willing to be your guinea pig for fm testing. I have a Nexus One @ Froyo, and a Desire @ mcr 3.1. My kernel is ocuv v14.

Edit: obviously I didn't bother to test on the Nexus. And my desire is rooted.
[Nexus One Android Development] bewA:
I take it you get that message even with the headset connected?
[Nexus One Android Development] Vovan888:
Desire uses Broadcom bluetooth stack, not Bluez, which has something for FM support. So I think you should run everything BT related - /system/bin/btld, bluetoothd, htc framework...

What exactly should be changed in kernel for FM support?
[Nexus One Android Development] Kali-:
HTCFMRadio apk like all htc stuff didnt work without htc framework and this is the bigger problem

HTCFMRadio control /dev/ttyHS0 through btld (broadcom bt stack)

probably the serial high speed (msm_serial_hs) driver
[Nexus One Android Development] Daneshm90:
Did you try connecting the headphones?
[Nexus One Android Development] DJFliX:
Do I really look like I'm mentally handicapped?

Of course I tried it with and without headphones plugged in. Also: I mentioned that I tried to run the moto app WHILE running the HTC app.
[Nexus One Android Development] bewA:
That's classic! :D
[Nexus One Android Development] intersectRaven:
Can someone send me a text file of the output of the ff. files from a DESIRE?

1. adb logcat(from FIRST OPENING of FM app upto finished scanning)

2. adb shell cat /proc/kmsg (from bootup to scan finish)

I've already ported the easy drivers like the hook to qdsp6 and hs uart but need more info for the others.
[Nexus One Android Development] bewA:
omg! i'm getting a little excited!
[Nexus One Android Development] Daneshm90:
Lol, kk. So it doesnt work on desire :( On nexus the toast comes as well, but when u plugin headphones, it goes away and the app works (works in the sense it shows the stations, no sound though :()
[Nexus One Android Development] intersectRaven:
No-one still? :(
[Nexus One Android Development] bewA:
meh someone help this guy!

May be able to do it at lunch time (12PM BST) if no one comes back then!
[Nexus One Android Development] thalib_atc:
Are these need to be taken from stock rom or what ???
[Nexus One Android Development] intersectRaven:
It would be best if they're taken from stock Desire ROM. As long as FM radio works it should be fine. :)
[Nexus One Android Development] gatsu_1981:
Problem is that usually peoples root for wiping off Sense :D

We are searching for people in italian forum, I hope that someone will be able to report back.
[Nexus One Android Development] imfloflo:
I find two people but they don't have root so they can't launch the seconde commande cat /proc/kmsg :(

Is there any other commande w/o root needed to have this ?

they don't want to root their phone too :s
[Nexus One Android Development] intersectRaven:
How about adb dmesg? :)
[Nexus One Android Development] 1991stonecold:
I'm not sure if this has already been mentioned, but I think audio from FM receiver is rooted to baseband through the bluetooth stack in the BCM4329. I not 100% sure but I think CSR have a similar chip which does this. I also think this is why FM in desire is support by some changes in the bluetooth software.

Brief info of BCM4329.

http://pdf.eccn.com/pdfs/Datasheets/Broadcom/BCM4329.pdf

If someone has the full datasheet of BCM4329 I will take a closer look.

Great job, guys.
[Nexus One Android Development] Jack_R1:
Yes, right on the 1st page of the thread, by me.

I also mentioned that I can help (up to some point) with QSD - means I can name (at least) some of the registers that need to be reconfigured for HS UART to set it to specific frequency. I just don't know the frequency that is used by the BCM chip, but I guess it can be assumed no less than 48kHz * 16bit = 768kbps (single bit), I believe the audio stream won't come in less than 44kHz-16bit form. It's not a default UART throughput (default is up to 115.2kbps), so look for UART_MREG, UART_NREG changes in the Desire stack to see, where it's adjusted for audio reception.
[Nexus One Android Development] bewA:
ok I can definately get an unrooted HTC desire for tomorrow. It's completely stock so hopefully any of the stuff you require I'll be able to grab :)
[Nexus One Android Development] bewA:
ugh having to install htc sync! :(
[Nexus One Android Development] imfloflo:
@Lint_ : @imfloflo http://pastebin.com/SWJ1Fx1X et http://pastebin.com/zvaCy1nn

Here are 2 log from the commande adb logcat + adb dmesg hope you can find something in it
[Nexus One Android Development] bewA:
I managed to get a logcat as well but the dmesg and kmsg I couldn't get working on the stock, unrooted phone :(

Let me know if you need it to compare :)

sod it, here you go :)

http://pastebin.com/gpr3BVjV
[Nexus One Android Development] intersectRaven:
Interesting...due to the kmsg posted, I have verified that one of the drivers I ported is working correctly... :)
[Nexus One Android Development] ibegary:
Looks like the bounty may be coming due soon :D
[Nexus One Android Development] www1:
I can't wait.

I think You have to ask information also in Desire section of forum. :)
[Nexus One Android Development] WebghostDK:
Woho nice! Keep up the good work bro :-)
[Nexus One Android Development] intersectRaven:
We still don't know definitely if everything's wired up though so don't get your hopes too high. :p
[Nexus One Android Development] tjsimmons:
I really wish I knew more about drivers, etc, because I'm completely willing to help with this. Heck, I already have $25 in this, so. ;)

With that in mind, where's a good place to start learning this stuff, so I can help out?

Edit: I AM able to build Android from source, so I'm not completely incompetent. ;) Just don't have a whole lot of experience with drivers and the like.
[Nexus One Android Development] SiL3nTKiLL:
same man lol, im willing to donate to get this rolling!
[Nexus One Android Development] www1:
I find a friend with desire.

If U want I can ask to it everything you need for complete work :)
[Nexus One Android Development] Jack_R1:
It is, otherwise your Bluetooth wouldn't work.
[Nexus One Android Development] Vovan888:
I am 99% sure that everything is wired up:

1. There was confirmation that FM radio app from Desire actually finds some stations on N1

2. According to the "BCM4329 Block Diagram" FM radio uses the same audio path (I2S interface) that is used in Bluetooth for BT audio. Thats why implementing FM radio on Desire required changing of the BT stack.
[Nexus One Android Development] nwadams:
this is amazing work guys. I am also interested in helping. Let me know what I can do. I have a nexus one running FRF91
[Nexus One Android Development] ibegary:
Dont forget there is a bounty, I believe its up to $170. If you can donate, then please add to the pot.

The more $$$, the more likely it will happen.
[Nexus One Q&A, Help & Troubleshooting] l1k3m1k3:
Is there a mode like "power saver" Windows in N1?

I'm guessing it is = plane mode on + silent mode

or = locking your N1 (by tapping the power button)

Is it true like that?
[Nexus One Q&A, Help & Troubleshooting] obstacles can kill:
Press and hold your power button and then select "Power Off".

Reason why I say that is because if you are putting your phone in airplane mode, disabling sounds, and locking the phone, at that point you might as well just turn the thing off.
[Nexus One Q&A, Help & Troubleshooting] l1k3m1k3:
Except you need to wait a while when you want to use it. :P
[Nexus One Q&A, Help & Troubleshooting] Hummeroid:
Don't know about you, but running froyo my boot times are so fast that the animation doesn't finish its first cycle... maybe that's your solution! Turn it off and accept a stupidly fast boot up :-)

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

Sent via the XDA Tapatalk App
[Nexus One Q&A, Help & Troubleshooting] obstacles can kill:
Well, I figured that by the time that the phone's battery is so low that you would need to put it in such an extreme power saving mode, you would only be planning on using it for emergencies. ;)
[Touch Diamond, MDA Compact IV General] RobertKararic:
I have an cooked ROM since over three months and there where

never any problems with it, but the fast emptiness of the batt, but I have an allways full charged replacement batt and two dockingstations with extra batt loader.

But my device is getting hot the last two days... but not the batt, I think its the CPU inside.

I first uninstalled everthing unnecessery, then made a soft reset and now a hard reset, without installing anything new, but again its getting hot.

What could be the Problem?

Attached the screenshots of the device and ROM Informations.

The Rom I use allways worked fine, till before two days it began to heat the device.

I like my Touch Diamond, I got used to it, it would be a pity buying a nother one, also because I dont have the money for.

Please if you have any suggesttions, help me.

Yours cincerly,

Robert
[Touch Diamond, MDA Compact IV General] siddharthsai:
Try changing your radio.

Good Luck!
[Touch Diamond, MDA Compact IV General] Huckleberry88:
Could it be your GPS and/or WiFi is on, and the Diamond is constantly looking for a signal/connection?
[Touch Diamond, MDA Compact IV General] RobertKararic:
Radio / Wifi / BT

Hi,

tanhks for reply!

Everthing off (Wifi / Bluetooth).

Only Phone is on and it conects to 3G when starting Browser.

But also with "EVERTGING" OFF" it heats the device.

Could you please post me how to change radio and to which one,

or a link to a thread ehre this is explaned?

Thank you,

Robert
[Touch Diamond, MDA Compact IV General] siddharthsai:
http://xdaforums.com/showthread.php?t=416211
[Touch Diamond, MDA Compact IV General] RobertKararic:
Radio

Hi,

thnaks for the link!

I installed the new radio with the "geting hot" fix...

Now looking what hapens.

I turned on to charge over USB when connected,

but it seems to discharge in case of beeing connectedto USB..

Funny what??? :-)

What could this be?

Yours

Robert
[Touch Diamond, MDA Compact IV General] RobertKararic:
Does not solve the heat problem

I did install the new radio as suggessted,

made a hard reset also,

but device is also getting hot.

Any iDeas what else i could be?

Yours Robert
[Touch Diamond, MDA Compact IV General] siddharthsai:
Which is the part that's heating too much ( Eg. Lower back !! )
[Touch Diamond, MDA Compact IV General] RobertKararic:
Which oart heats...

Backwards down under the battery, where the IM Card is insertet.

Seems to be a defect. On charging the dvice discharges... It seems to to like this.

Yours,

Robert
[Touch Diamond, MDA Compact IV General] RobertKararic:
Addition:

If no SIM is insertet and no USB Cable is connected it doens not heat
[Touch Diamond, MDA Compact IV General] siddharthsai:
Strange:

Usually heating is because of the following reasons -

1. Your GPS/Wifi is on

2. You're running Android

3. You're running too many applications

Check all this first.

If negative then it will be something with the radio.

Keep trying different radios ( although be careful not to flash a 2G radio onto a 3G one )

If this too fails , its something with the chip.

FYI , heating is kinda normal for all the diamonds , mine does heat sometimes but i dont take it as a big issue.
[Touch Diamond, MDA Compact IV General] siddharthsai:
Try different radios . if that doesnt work then its a chip problem. My diamond too heats like crazy but im used to it now.

TRY TRY TRY
[Touch Diamond, MDA Compact IV General] RobertKararic:
Not runnig android nor Wifi nor Bluetooth

Removed SimCard to use in a nother Handy to be able to talk to people without shutting down the Smartphone.

The other user which I phone to cannot understand me anymore, seems like the mic is going dead.

Applications is only the HTC Sense running, nothing else....

3G works, I set it to only go to 3G when requested by for eyample a browser.

But also without sim and without USB connection it heats....

The ROM is the original one from XDA....

I tried to download the Orange ROM from HTC Homepage but it does not accept my serialnumber of the Touch Diamond, I tried a million times.

Its courious....

I will sell it and get a Toshiba T01 with 1GHz and WM6.5 I am used to,

Do you have any better suggesstions for an smartphone with 3G (HSDPA), WLAN, Bluetooth, 640x800 resolution and WM 6.x?? I need it to connect to internet with the Intenet connection shing wizard on the HTC Diamond...

Bought my mummy a netbook with integrated SIM-Card Adapter and my old Internet SIM (512 MB free thzen slows down speed). I have now Orange wikth 1 GB free and paying for more, but I dont need it so very much that I come over 300 MB monthly....

Youts,

Robert

I will try some other radios.

What have I to do after a new Radio flash, a complete hardreset?

Whiuch german WM6.5 with HTC Sense can you recommend me, without very much programs. I need Google Maps, opera, ICS and long battery life, thats all..

Yours and thank you,

Robert
[Desire General] cryraxz:
I have had my desire for about 2 months now and i allways use it as a mp3 player i have the HTC sense music widget on my home screen and i normally play the music through that and then lock the screen and put it in my pocket but when i tried doing that today music stopped playing and no matter what i do nothing seems to keep the music playing when locked, this has only ever been a problem for me today, does anyone have a clue what to do to fix it?
[Desire General] kekkle:
Installed anything new recently?