[APP] FM Radio for the Droid 2!!

cybdroid

Member
Mar 27, 2011
5
0
0
I got all my files in /app, /bin, /lib exactly per Spitemare's settings, proper capilatization and permissions. Double verified in Droid Explorer. Net result, no joy, still "FM Radio is being launched, please wait..." forever.

Can anyone who has it actually working post up your ls -l for those 6 files? Thanks.


Also, I assume Fission and ApeX are not the roms that comes with the D2G right from Verizon? Does the Verzion rom have a nickname too?
 

ElectroGeek

Senior Member
Dec 12, 2010
68
9
0
I added the moto music app w/radio from fission rom manager. Everything seems to work except no sound... why would they put this add in frm if it doesn't work? Anyone have a link to documentation on this.

Sent from my D2G.
Rooted & running Fission ROM.
 

Darren VanBuren

New member
Feb 17, 2011
3
0
0
I'm also stuck at the loading notification, with the Droid 2 Global, stock Verizon ROM, GSM turned off in the settings (if that matters any). I have tried over and over, and even started fmradioserver in a shell, with no such luck.

However, I did find this in logcat:

Code:
04-09 23:47:04.322  7683  7683 D JAVA:FMRadioPlayerService: FMStateUNInit:powerOn(): Power on fmradio device
04-09 23:47:04.322  7675  7675 D FMRadioMain: enter updateListView()
04-09 23:47:04.322  7675  7675 D FMRadioMain: Enter getDataFromDB(), will update data in list_results
04-09 23:47:04.322  7675  7675 D FMDataProvider: set channel table: FM_Radio
04-09 23:47:04.330  7683  7683 D JAVA:FMRadioPlayerService: After fm radio power on
04-09 23:47:04.330  7683  7683 D JAVA:FMRadioPlayerService: fm radio power on fail
"fm radio power on fail" sounds very bad. I don't know why it would fail, I have all the libraries on my device, with the proper permissions, and the binary server is most definitely started.
 

pyro241

New member
Apr 17, 2011
2
0
0
Goose Creek, SC
I noticed this line in the logcat that may explain why it doesn't work in the D2G..
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: FMStateUNInit:powerOn(): Power on fmradio device
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: After fm radio power on
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: fm radio power on fail
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: onRebind() called
04-17 13:05:58.218 1267 2033 W ActivityManager: Unable to start service Intent { act=com.motorola.android.fmradio.FMRADIO_SERVICE }: not found

Now, if that service is discovered, we could possibly get a D2 user to copy the necessary files for us with D2G to enjoy FM radio...
 
Last edited:

darthmalak2

Member
Jan 2, 2011
18
1
0
hello to all

Why is giving me, "access denied" when i run he fm radio.bat ?

The debug mode is activated
And im using "massive storage" as usb connection, i dont have the option charge only/ pc mode

I have already rooted the phone with z4root, and i see the icon with the droid and a skull

here is me speaking in spanish asking for help in another forum too, maybe canoot understand me, but the options are in english, as well as the bat


PS: there is no access question to adb , maybe is for that?
 
Last edited:

DiRKiNg

Member
Apr 28, 2011
23
0
0
Plasencia
I noticed this line in the logcat that may explain why it doesn't work in the D2G..
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: FMStateUNInit:powerOn(): Power on fmradio device
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: After fm radio power on
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: fm radio power on fail
04-17 13:05:58.218 2164 2164 D JAVA:FMRadioPlayerService: onRebind() called
04-17 13:05:58.218 1267 2033 W ActivityManager: Unable to start service Intent { act=com.motorola.android.fmradio.FMRADIO_SERVICE }: not found

Now, if that service is discovered, we could possibly get a D2 user to copy the necessary files for us with D2G to enjoy FM radio...
Any news?

D2G owner
 

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,826
4,142
0
Ottawa/Gatineau, Canada
After a full year without a Droid * and scratching my head, I think I've finally cracked the Motorola FM secret.

I got a Droid X about a month ago and "unfortunately" it didn't have the problem. Only some do.

But recently I got a Verizon Droid 2 CDMA with the problem, and it's working now. I think it even improved reception on the Droid X.

The latest version of Spirit FM free is here: http://www.mediafire.com/?v369y5839c7dgoz

Give it SU or it will only be able to use the Motorola OEM API which may not exist or may not work well on many ROMs.

Menu->Settings->Audio->Method should get invisibly set to "Motorola" but you can try setting manually to that, or others, if you have no audio but see RSSI values over 10 at upper left.

Let me know. :)

Send me a debug log with Menu->Test->Email->Logs and after a few seconds. enter "Droid2" in the email text and press send.
 
  • Like
Reactions: jb789

jb789

Senior Member
Nov 6, 2009
393
87
0
Mmm... desiccant
That seems to be a dead link. :crying:
It is, but look at his signature...

Alternately, you could also try flashing the attached zip from recovery. It's essentially the Moto DX FM app made flashable & ported to the D2. It should work for recent CM7 D2 ROMs, say April 2012 or newer, but no guarantees. Will it work on older CM7, MIUI, other CM7 based ROMs, or similar devices (D2G, Milestone2)- maybe, try it & report back. Will it work on CM9- probably not, but I have no idea. You may also need to "force stop" it (or any D2 FM app) to avoid battery drain. As far as I'm aware, no D2 FM app provides speaker mode, or 2 channel audio. Spirit FM may conquer that someday, but don't count on it given the number of devices he supports. That said, if you want free & functional, try this. If you want guaranteed functionality, buy Spirit FM.

MD5- a7e0844cf43e2093d66bae5b4a78ebee
 

Attachments

Last edited:
  • Like
Reactions: mikereidis

mikereidis

Inactive Recognized Developer
Jan 28, 2011
7,826
4,142
0
Ottawa/Gatineau, Canada
It is, but look at his signature...

Alternately, you could also try flashing the attached zip from recovery. It's essentially the Moto DX FM app made flashable & ported to the D2. It should work for recent CM7 D2 ROMs, say April 2012 or newer, but no guarantees. Will it work on older CM7, MIUI, other CM7 based ROMs, or similar devices (D2G, Milestone2)- maybe, try it & report back. Will it work on CM9- probably not, but I have no idea. You may also need to "force stop" it (or any D2 FM app) to avoid battery drain. As far as I'm aware, no D2 FM app provides speaker mode, or 2 channel audio. Spirit FM may conquer that someday, but don't count on it given the number of devices he supports. That said, if you want free & functional, try this. If you want guaranteed functionality, buy Spirit FM.

MD5- a7e0844cf43e2093d66bae5b4a78ebee
Great summary, thanks ! :)

Yes, see the top of post 1 for the latest Free version links: http://forum.xda-developers.com/showthread.php?p=13379669


One funny thing is that the audio actually IS in stereo, from reports I've read. It's just that one channel is extremely low in volume. It might be fixable.

Motorola used the ancient OSS audio API it appears. I was getting close to tackling it, but "life and family time" are an issue and I'm pretty busy with the latest high end devices such as SGS3 and HTC OneX.

I even bought a Droid2 recently, but IMO when used Galaxy S's and Desire HDs can be bought for as low as $100 or so, then for many people it's become time to move on.

Not everyone can afford to move on of course. And there's that keyboard too...
 
  • Like
Reactions: jb789

supergear

Senior Member
Jul 23, 2009
539
83
58
Denver
Great summary, thanks ! :)

Yes, see the top of post 1 for the latest Free version links: http://forum.xda-developers.com/showthread.php?p=13379669


One funny thing is that the audio actually IS in stereo, from reports I've read. It's just that one channel is extremely low in volume. It might be fixable.

Motorola used the ancient OSS audio API it appears. I was getting close to tackling it, but "life and family time" are an issue and I'm pretty busy with the latest high end devices such as SGS3 and HTC OneX.

I even bought a Droid2 recently, but IMO when used Galaxy S's and Desire HDs can be bought for as low as $100 or so, then for many people it's become time to move on.

Not everyone can afford to move on of course. And there's that keyboard too...
If I could afford to move on I would. Also like a kb and a removable battery. Think I will get that g2 off of CL soon.
Droid 2 is dead and if you are stupid, like me, unrootable.

Sent from my DROID2 using xda premium
 

jb789

Senior Member
Nov 6, 2009
393
87
0
Mmm... desiccant
...One funny thing is that the audio actually IS in stereo, from reports I've read. It's just that one channel is extremely low in volume. It might be fixable...

Not everyone can afford to move on of course. And there's that keyboard too...
I always enjoy reading your technical sleuthing, even if it is usually over my head. I'll certainly buy Spirit FM if you figure out FM stereo on the D2. I know that's hardly motivational, but think of the priceless satisfaction you'll feel. ;)
If I could afford to move on I would. Also like a kb and a removable battery. Think I will get that g2 off of CL soon.
Droid 2 is dead and if you are stupid, like me, unrootable...
I can afford to move on, but the D2 is just about the perfect form factor for me. There's the keyboard & removable battery as mentioned, and FM, plenty of horsepower, good stable ROMs, and it does everything I want/need it to.

Thankfully, there's even an SBF for the currently unrootable .621 update, so at least nobody's stuck with a brick (but I suspect you know that). There are some devs working on rooting it, and one just got his hands on a D2, so I bet they'll have something by the end of summer.