[APP] FM Radio for the Droid 2!!

3278

Member
May 11, 2010
10
1
0
Whats the probability of this work in nexus one?
This one probably wouldn't work, but intersectRaven from this board already released a modified kernel for the Nexus One which enables the FM receiver, so you won't want this one, anyway. ;)

I'm going to do some more digging about the Droid 1; if it uses the same Broadcom chip as the others - the HTC Desire has been FM-radioed, too - it's not at all impossible. But there doesn't seem to be a consensus yet regarding which chip it has.
 

3278

Member
May 11, 2010
10
1
0
I'm going to do some more digging about the Droid 1; if it uses the same Broadcom chip as the others - the HTC Desire has been FM-radioed, too - it's not at all impossible. But there doesn't seem to be a consensus yet regarding which chip it has.
A little research shows that although the Droid 1 has the necessary wireless chip, there is no physical connection to the headphone port, so it can't generate sound and doesn't have an antenna, making it, you know, not that useful. So for the Droid 1, possibly a lost cause, unless my sources are incorrect, which I really hope they are! ;)

These chips apparently can transmit FM, as well. Seriously, why don't these phones include these features? These seem like pretty killer features; are they really not worth the extra work to enable, connect, and code for?
 
  • Like
Reactions: tonyreimer

rgorgacz

Member
Sep 30, 2010
7
0
0
problems problems problems

Being an individual that enjoys learning, I am miss at the fact that my new droid 2 is not able to use the fm radio that is provided [] checked permissions, where the files loaded to and such [] when starting the program, it goes to what appears to be a main "radio" screen and flashes directly back to the home screen . My question is this: What the @#@# did I miss ?????:confused:
 

aaronfitz

New member
Sep 28, 2010
4
0
0
A little research shows that although the Droid 1 has the necessary wireless chip, there is no physical connection to the headphone port, so it can't generate sound and doesn't have an antenna, making it, you know, not that useful. So for the Droid 1, possibly a lost cause, unless my sources are incorrect, which I really hope they are! ;)

These chips apparently can transmit FM, as well. Seriously, why don't these phones include these features? These seem like pretty killer features; are they really not worth the extra work to enable, connect, and code for?
If it's just missing a couple traces, I'd think it would be a very simple hardware mod to connect the appropriate pins from the wireless chip to the headphone port as it is on other phones. I can't imagine there's much to the connection between the two besides a trace. Maybe someone familiar with this kind of hardware can chime in.

Does anyone have information on Speeddymon's old kernel changes and software he had tuning with the FM radio chip? That seems to be the place we should start if we're serious about trying to get FM on the Droid 1.
 

(Jason)

Member
Aug 23, 2010
42
7
0
Phoenix
Someone should start a new thread for the D1. This topic has somehow transgressed to the D1 and needs to be organized a such.

Sent from my DROID2 using XDA App
 

TDianna

Senior Member
Sep 12, 2008
689
2
0
59
Toms River, NJ
Being an individual that enjoys learning, I am miss at the fact that my new droid 2 is not able to use the fm radio that is provided [] checked permissions, where the files loaded to and such [] when starting the program, it goes to what appears to be a main "radio" screen and flashes directly back to the home screen . My question is this: What the @#@# did I miss ?????:confused:
Good afternoon all, I am new to the Droid 2. I installed the app and I am having some issues mentioned and I would like to uninstall the FM Radio...can someone assist me?

Thanks
 

karnovaran

Senior Member
Jul 27, 2009
598
71
0
PDX
Good afternoon all, I am new to the Droid 2. I installed the app and I am having some issues mentioned and I would like to uninstall the FM Radio...can someone assist me?

Thanks
Being an individual that enjoys learning, I am miss at the fact that my new droid 2 is not able to use the fm radio that is provided [] checked permissions, where the files loaded to and such [] when starting the program, it goes to what appears to be a main "radio" screen and flashes directly back to the home screen . My question is this: What the @#@# did I miss ?????:confused:
The original post skips some steps. See this post earlier in the thread: http://forum.xda-developers.com/showpost.php?p=7933667&postcount=13
 

GeorgeHahn

Member
Sep 15, 2010
49
4
0
If it's just missing a couple traces, I'd think it would be a very simple hardware mod to connect the appropriate pins from the wireless chip to the headphone port as it is on other phones. I can't imagine there's much to the connection between the two besides a trace. Maybe someone familiar with this kind of hardware can chime in.
Ever tried soldering 0402 parts (that's a surface mount component size, if you want to look it up)? The FM chip is highlighted in the image below (aqua colored rectangle). It's a TI WL1271. The package is probably QFN or BGA (see wiki). There's a good chance the traces to the chip don't exist (requires audio to the chip [pins 53, 55]) and unless you want to keep a pair of headphones plugged in, you would need an internal antenna [pin 59] which, frankly, won't fit.

Assuming there are traces to the chip (big deal) and you don't mind keeping headphones plugged into the device (not a big deal), it's possible - perhaps even without a hardware mod. Still though, we would likely need a custom kernel and some hardcore code to get everything working.

If the traces aren't there, you're basically sunk. End of story.

Bigger: http://guide-images.ifixit.net/igi/WeMNURXYl4v6ZVeJ.huge


Closest available to a datasheet for the chip (Ti keeps the datasheets to many of their newer products locked down):
http://focus.ti.com/lit/an/sprab95/sprab95.pdf
http://www.lsr.com/downloads/tiwi/datasheet/TIWI_Datasheet.pdf

Wikipedia link for all things surface mount:
http://en.wikipedia.org/wiki/Surface-mount_technology

Images from ifixit
http://www.ifixit.com/Teardown/Motorola-Droid-2-Teardown/3502/1
 
Last edited:

numbskill

Member
Aug 10, 2010
20
0
0
I thought it was a Broadcom BCM20751, not TI...

Anyway, If there are traces to the Transmitter Pins, it would be great to be able to transmit right to a car stereo without an AUX In available.

That would be amazing,
 

mrkite38

Retired Forum Moderator
Mar 30, 2009
1,545
366
0
California
Ever tried soldering 0402 parts (that's a surface mount component size, if you want to look it up)? The FM chip is highlighted in the image below (aqua colored rectangle). It's a TI WL1271. The package is probably QFN (see wiki). There's a good chance the traces to the chip don't exist (requires audio to the chip [pins 53, 55]) and unless you want to keep a pair of headphones plugged in, you would need an internal antenna [pin 59] which, frankly, won't fit.

Assuming there are traces to the chip (big deal) and you don't mind keeping headphones plugged into the device (not a big deal), it's possible - perhaps even without a hardware mod. Still though, we would likely need a custom kernel and some hardcore code to get everything working.

If the traces aren't there, you're basically sunk. End of story.

Bigger: http://guide-images.ifixit.net/igi/WeMNURXYl4v6ZVeJ.huge


Closest available to a datasheet for the chip (Ti keeps the datasheets to many of their newer products locked down):
http://focus.ti.com/lit/an/sprab95/sprab95.pdf
http://www.lsr.com/downloads/tiwi/datasheet/TIWI_Datasheet.pdf

Wikipedia link for all things surface mount:
http://en.wikipedia.org/wiki/Surface-mount_technology

Images from ifixit
http://www.ifixit.com/Teardown/Motorola-Droid-2-Teardown/3502/1
Respect for that post - but you guys need to take it to a thread in the d1 forums.
 

DavidinCT

Senior Member
Jun 2, 2006
1,604
156
0
Someplace in CT
So Verizon gets away with disabling the FM radio on another phone. I am thinking about calling up a few lawyers and looking into a clas action lawsuit against them.

Wish this could work on a TP2's Android Mod...different chipset as I understand.
 

facelessuser

Senior Member
Jan 31, 2009
417
1
0
So Verizon gets away with disabling the FM radio on another phone. I am thinking about calling up a few lawyers and looking into a class action lawsuit against them.

I have not been able to get mine working. Any suggestions?
If it isn't working you either didn't push all the files to the right places, or you didn't set the permissions.

Also, don't forget, you must have the headphones plugged in for it to work.
 

rgorgacz

Member
Sep 30, 2010
7
0
0
Billy Mays' special : Jupiter Jack !!!!!! you can skip the headphones and use it to transmit to your cars radio. cheesy, but quite clear for a couple buck fix
 
Last edited:

mrhousto

Senior Member
Sep 30, 2009
110
1
0
This side of over there...
Permissions Permissions. These are very important in Linux based systems.

Code:
adb shell
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
chmod 0644 /system/lib/libFMRadio.so
chmod 0644 /system/lib/libfmradio_jni.so
chmod 0644 /system/lib/libfmradioplayer.so
chmod 0755 /system/bin/fmradioserver
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
You can also change the permissions in a root file explorer if you have one and are familiar with how to do it in the explorer.
What should the permissions be set on? I followed all of the adb commands and still only get the "FM Radio is being launched, please wait..."
 

relativityboy

New member
Mar 29, 2010
2
0
0
Just checked with a friend @ Google.. The D1 has an FMTuner on the wifi chip but it's not physically wired up. D1 owners (like myself) can all cry..

While I was waiting for him to get back to me I created an update.zip file. I can't post the line (I'm a new user)

go to google code and search for 'orange-j' then download the file update.zip.
It will install via the normal 'pre boot' menu.
 

kd7uxg

Member
Oct 12, 2010
14
2
0
Puyallup
Here's another way w/out SDK, and full instructions

Install/setup FM Radio on Droid2 (most info from orignal post by Slayher, 08/31/10)

I did this on a Droid 2, FRG22d (new VZW stock phone, which I rooted)
I added step by step instructions for those not as familiar with Linux systems and the mount and filesysetm permission commands.
I did this almost completely on my droid 2 via the built-in terminal emulator after copying the necessary files to the sdcard, this is how my instructions are setup, but you could also use the SDK and push the files manually as long as you have root access to the SDK shell program on your droid. The root access is required because you need to manually change permissions on several files. Do this at your own risk, the only way I figure you could mess up is if you miss-type the mounting commands, or have some sort of power failure in the middle of it.

First go here >> android.antbox.org/slayher/FMRadio_droid2.zip
Grab the file and unzip it on your computer. Your Droid 2 has the built-in radio hardware, I have no idea why they don’t send it with the software to run it (probably just a selling point for other models). When you unzip the file you should have 3 directories: /app, /bin, and /lib.
Then put the files on your SD card, I did this in USB card-reader mode and put all three folders in a directory I called “fmradio”. These instructions assume you have the same directory on your sdcard.
Open the terminal emulator program on your droid 2 and type these commands carefully, you will first see the prompt $. There are faster ways to do this, but these commands are safer and harder to mess up.


su (this will bring up the # prompt with root access)
cd /sdcard/fmradio/app
cp fmradioservice.apk /system/app (copy files to the android sysetm directory)
cp fmradio.apk /system/app
cd /sdcard/fmradio/bin
cp fmradioserver /system/bin
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system (mount rw for permissions)
chmod 0755 fmradioserver
cd /sdcard/fmradio/lib
cp libfmradio.so /system/lib
cp libfmradio_jni.so /system /lib (that is a j in the filename after libfmradio_)
cp libfmradioplayer.so /system/lib
cd /system/lib
chmod 0644 libfmradio.so
chmod 0644 libfmradio_jni.so
chmod 0644 libfmradioplayer.so
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system (remount back to ro)
exit
exit

Has a nice interface, and will scan and store stations, also reads the text ID for the stations. Works great in the Seattle area.

Michael
 
  • Like
Reactions: rmancl