[APP] FM Radio for the Droid 2!!

Search This thread

Renegade8100

Senior Member
Aug 14, 2010
57
1
Jersey Shore NJ
Hi all.

I just wrote a quick script to install the fmradio app on your phone...

DOFMRadio. Hahahahaha. Couldn't get it to work for Fission, but maybe someone can try this out with their stock Droid 2.

http://www.kimete.com/fmradio.html

Your script doesnt work for me, it places the apks in the sd card but doesnt install them. Also why does one the apks need ALL permissions? Dont think the radio needs to make calls.
 

exsulem

New member
Nov 30, 2010
1
0
The same problem - just can't start ((( and droid 2 global again. Can we just check all libs from poor us and gl version?
 

darkonion

Senior Member
Aug 27, 2010
509
30
Fremont, CA
Your script doesnt work for me, it places the apks in the sd card but doesnt install them. Also why does one the apks need ALL permissions? Dont think the radio needs to make calls.

You can't just place files onto the phone, or rather where it needs to go. You need to mount the system then copy the file from one part of the phone to the /system folder. That's why the install method needs root. Can you send me your output and tell me where it went wrong.

(Telling me it doesn't work doesn't really help me fix the problem.)

-Kevin
 

jscodner

New member
Oct 12, 2010
4
0
I hear FM in Mono/no Speaker out, yet it works w/Permission tweak!

I used Root Explorer to mount/copy/set perms, after trying above script and Droid Explorer/Console to little avaail. I type "little", as script did cp files to root of SDcard. Both APK Perms need to be set with at least U R-W-X. The X(Execute) perm was the key. Still, Mono is all one gets. I messed around with Sound and Effect settings with no change, either.
This started to sound of Froyo/Call Recording issues. i.e. the inability to record both Mic and Speaker at the same time. I am using a screenreader, or 2, at the same time as FMRadio. It kept reminding me of Bluetooth audio issues and TTS, when a notification sounded. TTS and FM were silent, as alert occurs. When Speaker is on no FM, yet TTS still sounds. When hedphones are re-enabled it goes back to original Mono FM/Stereo TTS. As soon as headphones are pulled the radio closes.
I get the headphones as being antenna connection. What took me a few to ponder was that I can only get 1 channel well, even though i am in an incredible reception zone. I used a TRS set of phones, so far. I am going to try a TRRS Mic/Phones set, as that extra wire may just be the key to a whole range of Froyo, probably to be repeated in Gingerbread, audio shortcomings! There have been some major tradeoffs and losses of prior functionality, as we sample these OS desserts in search of a Main Course.
Hmmmmmmmmmmmmmmmmmmmmmmm&m!
 

JohnnyLiu

New member
Dec 6, 2010
1
0
Hi all,
I am user milestone 2 (A953), and follow the step, but fm radio can not work, always showing "FM radio is loading, please wati."
I am sure the permission is correct.
I found some problem in logcat output:
...
12-07 10:01:07.346 2130 2130 D JAVA:FMRadioPlayerService: FMStateUNInit:powerO
n(): Power on fmradio device
12-07 10:01:07.346 2130 2130 D JAVA:FMRadioPlayerService: After fm radio power on
12-07 10:01:07.346 2130 2130 D JAVA:FMRadioPlayerService: fm radio power on fail
12-07 10:01:07.346 1879 1879 D FMRadioMain: enter updateListView()
12-07 10:01:07.346 1322 1445 W ActivityManager: Unable to start service Intent
{ act=com.motorola.android.fmradio.FMRADIO_SERVICE }: not found
12-07 10:01:07.354 2130 2130 D JAVA:FMRadioPlayerService: onRebind() called
12-07 10:01:07.354 1879 1879 D FMRadioMain: Enter getDataFromDB(), will update
data in list_results
12-07 10:01:07.354 1879 1879 D FMDataProvider: set channel table: FM_Radio
12-07 10:01:07.370 2130 2130 D JAVA:FMRadioPlayerService: register airplane on
/off broadcasts
12-07 10:01:07.370 2130 2130 D JAVA:FMRadioPlayerService: register headset plu
g in/out broadcasts
12-07 10:01:07.385 2130 2130 D JAVA:FMRadioPlayerService: register the audio p
ath change message
12-07 10:01:07.409 1879 1879 D FMRadioMain: Leave getDataFromDB()
12-07 10:01:07.409 2130 2130 D JAVA:FMRadioPlayerService: register fmradio com
mand
12-07 10:01:07.409 1879 1879 D FMRadioMain: leave updateListView()
12-07 10:01:07.416 2130 2130 D JAVA:FMRadioPlayerService: Received intent: and
roid.intent.action.HEADSET_PLUG
12-07 10:01:07.416 2130 2130 D JAVA:FMRadioPlayerService: HEADSET is pluged in
/out.
12-07 10:01:07.416 1879 1879 D FMRadioMain: enter updateDisplayPanel()
12-07 10:01:07.416 2130 2130 V JAVA:FMRadioPlayerService: handleMessage headse
t plug begin
12-07 10:01:07.416 1879 1879 D FMRadioMain: progress is 7800
12-07 10:01:07.416 2130 2130 V JAVA:FMRadioPlayerService: mHeadset = 1
12-07 10:01:07.416 2130 2130 V JAVA:FMRadioPlayerService: mIsHeadsetPlugged =
true
12-07 10:01:07.416 1879 1879 D FMRadioMain: Current Frequency is 94800
12-07 10:01:07.416 1879 1879 D FMRadioMain: progress fromTouchfalse
12-07 10:01:07.416 2130 2130 W JAVA:FMRadioPlayerService: Headset is pluged in
!
12-07 10:01:07.416 1879 1879 D FMRadioMain: FMRadio updateDisplay: currentFreq
94800 a1 0 a2 9 a3 4 a4 8
12-07 10:01:07.416 1879 1879 D FMRadioMain: leave updateDisplayPanel()
12-07 10:01:07.416 1879 1879 D FMRadioMain: enter updateListView()
12-07 10:01:07.416 1879 1879 D FMRadioMain: Enter getDataFromDB(), will update
data in list_results
12-07 10:01:07.416 1879 1879 D FMDataProvider: set channel table: FM_Radio
12-07 10:01:07.432 1879 1879 D FMRadioMain: Leave getDataFromDB()
12-07 10:01:07.440 1879 1879 D FMRadioMain: leave updateListView()
12-07 10:01:07.440 1879 1879 D FMRadioMain: onStart() called
12-07 10:01:07.448 1879 1879 W FMRadioMain: onServiceConnected::fmradio java s
ervice started
12-07 10:01:07.448 2130 2164 W JAVA:FMRadioPlayerService: IFMRadioPlayerServic
e.Stub : isPowerOn
12-07 10:01:07.448 2130 2164 D JAVA:FMRadioPlayerService: FMStateUNInit:isPowe
rOn(), return misPowerOn value to UI
12-07 10:01:07.549 1879 1879 W FMRadioMain: servie is ready popup a wait dialo
g
12-07 10:01:07.549 1879 1879 D FMDataProvider: set channel table: FM_Radio
12-07 10:01:07.557 2130 2130 D JAVA:FMRadioPlayerService: Received intent: com
.motorola.fmradio.bindservice.succeed
12-07 10:01:07.557 2130 2130 D JAVA:FMRadioPlayerService: bind service succeed

12-07 10:01:07.557 2130 2130 W JAVA:FMRadioPlayerService: Notice home to show
update current preset name on the notice bar.
....

why power on fm radio failed, and can not find fmradio service???

Anyone can help me, I need fm radio.....
 

640k

Senior Member
Apr 18, 2008
1,366
289
So I'm getting teh loading, please wait... message too. on fission 2.3. must be missing some framework or something. if you hit back while in the app, it lets you kind of use the app, but it seems broken. nothing responds to touch, except the dial. arrow keys will move the dial to the left, but not to the right and you can use the arrow keys to scroll the list of presets, but not select any.

bummer, would be fun to have/mess with.
 

zeroktal

Senior Member
Nov 8, 2006
284
42
Any chance of Libs Breakdown?

Any chance someone could post all the Libs this accesses? I have a Droid2 Global and would really like to get this working.
 

mattmartin77

Senior Member
Oct 15, 2010
244
17
Massachusetts
sorry for the necro post but i need to know if itll work on the droid x because the rom im running removes ALL blur apps including the tuner, which i use a lot, but i love the rom too much to go back to stock. soo can i use this?
 

xzillerationer

Senior Member
Mar 14, 2010
115
3
*edit* I got the ADB working, and did the instructions to install it via ADB. It doesn't work, I'm running Fission 2.5.7, and when I try, it says the "Loading FMRadio" message, but nothing happens. Is it a problem with Fission? I'm not gonna change because of it, but it'd certainly be a nice bragging right.
 
Last edited:

PhoenixTank

Senior Member
Dec 21, 2010
127
119
On a rock with a laptop
I'm very curious if someone get this work. It should have the same hardware as Droid 2. Maybe more chance with Droid 2 Global.

Lovely phone, but I'd really like to have FM.

For those interested, I've followed the steps provided to the best of my ability and it isn't working on my MS2, either.
Holds at "FM radio is loading, please wait"

I'd second the hope that someone can get this working, but I imagine there are more interesting pursuits out there.
Logcat:
Code:
02-04 22:17:05.866: INFO/ActivityManager(1328): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.motorola.fmradio/.FMRadioMain }
02-04 22:17:05.913: WARN/ResourceType(1328): Skipping entry 0x7f040007 in package table 0 because it is not complex!
02-04 22:17:05.913: WARN/ResourceType(1328): Skipping entry 0x7f040008 in package table 0 because it is not complex!
02-04 22:17:05.928: DEBUG/FMRadioMain(2243): **************FMRadioMain Activity onCreate() called!****************
02-04 22:17:05.960: DEBUG/FMRadioMain(2243): **************FMRadioMain Activity onCreateInternal() called!****************
02-04 22:17:06.061: DEBUG/FMDataProvider(2243): set save table: FM_Radio_saved_state
02-04 22:17:06.092: DEBUG/FMRadioMain(2243): enter initResourceRefs()
02-04 22:17:06.131: DEBUG/FMRadioMain(2243): Enter getDataFromDB(), will update data in list_results
02-04 22:17:06.131: DEBUG/FMDataProvider(2243): set channel table: FM_Radio
02-04 22:17:06.155: DEBUG/FMRadioMain(2243): Leave getDataFromDB()
02-04 22:17:06.163: DEBUG/FMRadioMain(2243): Enter bindListViewToAdapter()
02-04 22:17:06.202: DEBUG/FMRadioMain(2243): leave initResourceRefs()
02-04 22:17:06.202: DEBUG/FMRadioMain(2243): Start to bind to FMRadio service
02-04 22:17:06.233: DEBUG/FMDataProvider(2243): set channel table: FM_Radio
02-04 22:17:06.241: ERROR/JAVA:FMRadioPlayerService(2250): onCreate() called
02-04 22:17:06.241: DEBUG/JAVA:FMRadioPlayerService(2250): onStart() called
02-04 22:17:06.241: DEBUG/JAVA:FMRadioPlayerService(2250): mServiceState.curServiceState() = -1
02-04 22:17:06.249: DEBUG/JAVA:FMRadioPlayerService(2250): Before fm radio power on
02-04 22:17:06.256: DEBUG/FMDataProvider(2243): set save table: FM_Radio_saved_state
02-04 22:17:06.256: DEBUG/FMRadioMain(2243): enter updateListView()
02-04 22:17:06.256: DEBUG/FMRadioMain(2243): Enter getDataFromDB(), will update data in list_results
02-04 22:17:06.256: DEBUG/FMDataProvider(2243): set channel table: FM_Radio
02-04 22:17:06.264: DEBUG/JAVA:FMRadioPlayerService(2250): FMStateUNInit:powerOn(): Power on fmradio device
02-04 22:17:06.272: DEBUG/JAVA:FMRadioPlayerService(2250): After fm radio power on
02-04 22:17:06.272: DEBUG/JAVA:FMRadioPlayerService(2250): fm radio power on fail
02-04 22:17:06.272: DEBUG/FMRadioMain(2243): Leave getDataFromDB()
02-04 22:17:06.272: WARN/ActivityManager(1328): Unable to start service Intent { act=com.motorola.android.fmradio.FMRADIO_SERVICE }: not found
02-04 22:17:06.280: DEBUG/JAVA:FMRadioPlayerService(2250): onBind() called
02-04 22:17:06.303: DEBUG/JAVA:FMRadioPlayerService(2250): register airplane on/off broadcasts
02-04 22:17:06.303: DEBUG/JAVA:FMRadioPlayerService(2250): register headset plug in/out broadcasts
02-04 22:17:06.303: DEBUG/JAVA:FMRadioPlayerService(2250): register the audio path change message
02-04 22:17:06.311: DEBUG/FMRadioMain(2243): leave updateListView()
02-04 22:17:06.311: DEBUG/FMRadioMain(2243): enter updateDisplayPanel()
02-04 22:17:06.311: DEBUG/JAVA:FMRadioPlayerService(2250): register fmradio command
02-04 22:17:06.311: DEBUG/FMRadioMain(2243): progress is 17700
02-04 22:17:06.311: DEBUG/FMRadioMain(2243): Current Frequency is 104700
02-04 22:17:06.311: DEBUG/FMRadioMain(2243): progress fromTouchfalse
02-04 22:17:06.311: DEBUG/FMRadioMain(2243): FMRadio updateDisplay: currentFreq 104700 a1 1 a2 0 a3 4 a4 7
02-04 22:17:06.319: DEBUG/FMRadioMain(2243): leave updateDisplayPanel()
02-04 22:17:06.319: DEBUG/JAVA:FMRadioPlayerService(2250): Received intent: android.intent.action.HEADSET_PLUG
02-04 22:17:06.319: DEBUG/FMRadioMain(2243): enter updateListView()
02-04 22:17:06.319: DEBUG/FMRadioMain(2243): Enter getDataFromDB(), will update data in list_results
02-04 22:17:06.319: DEBUG/FMDataProvider(2243): set channel table: FM_Radio
02-04 22:17:06.319: DEBUG/JAVA:FMRadioPlayerService(2250): HEADSET is pluged in/out.
02-04 22:17:06.319: VERBOSE/JAVA:FMRadioPlayerService(2250): handleMessage headset plug begin
02-04 22:17:06.319: VERBOSE/JAVA:FMRadioPlayerService(2250): mHeadset = 1
02-04 22:17:06.319: VERBOSE/JAVA:FMRadioPlayerService(2250): mIsHeadsetPlugged = true
02-04 22:17:06.319: WARN/JAVA:FMRadioPlayerService(2250): Headset is pluged in!
02-04 22:17:06.327: DEBUG/FMRadioMain(2243): Leave getDataFromDB()
02-04 22:17:06.335: DEBUG/FMRadioMain(2243): leave updateListView()
02-04 22:17:06.335: DEBUG/FMRadioMain(2243): onStart() called
02-04 22:17:06.342: WARN/FMRadioMain(2243): onServiceConnected::fmradio java service started
02-04 22:17:06.342: WARN/JAVA:FMRadioPlayerService(2250): IFMRadioPlayerService.Stub : isPowerOn
02-04 22:17:06.342: DEBUG/JAVA:FMRadioPlayerService(2250): FMStateUNInit:isPowerOn(), return misPowerOn value to UI
02-04 22:17:06.374: WARN/FMRadioMain(2243): servie is ready popup a wait dialog
02-04 22:17:06.374: DEBUG/FMDataProvider(2243): set channel table: FM_Radio
02-04 22:17:06.389: DEBUG/JAVA:FMRadioPlayerService(2250): Received intent: com.motorola.fmradio.bindservice.succeed
02-04 22:17:06.389: DEBUG/JAVA:FMRadioPlayerService(2250): bind service succeed
02-04 22:17:06.389: WARN/JAVA:FMRadioPlayerService(2250): Notice home to show update current preset name on the notice bar. 
02-04 22:17:06.413: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =0
02-04 22:17:06.413: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.421: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =1
02-04 22:17:06.421: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.421: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =2
02-04 22:17:06.421: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.428: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =3
02-04 22:17:06.428: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.428: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =4
02-04 22:17:06.428: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.428: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =5
02-04 22:17:06.428: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.436: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =6
02-04 22:17:06.436: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.436: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =7
02-04 22:17:06.436: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.444: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =8
02-04 22:17:06.444: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.444: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =9
02-04 22:17:06.444: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.444: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =10
02-04 22:17:06.444: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.444: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =11
02-04 22:17:06.452: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.452: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =0
02-04 22:17:06.452: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.452: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =1
02-04 22:17:06.452: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.460: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =2
02-04 22:17:06.460: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.467: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =3
02-04 22:17:06.467: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.467: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =4
02-04 22:17:06.467: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.467: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =5
02-04 22:17:06.467: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.475: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =6
02-04 22:17:06.475: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.491: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =0
02-04 22:17:06.499: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.506: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =1
02-04 22:17:06.506: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.514: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =2
02-04 22:17:06.514: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.522: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =3
02-04 22:17:06.530: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.538: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =4
02-04 22:17:06.546: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.553: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =5
02-04 22:17:06.561: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.585: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =0
02-04 22:17:06.592: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.600: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =1
02-04 22:17:06.600: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.600: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =2
02-04 22:17:06.600: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.600: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =3
02-04 22:17:06.600: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.608: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =4
02-04 22:17:06.608: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.608: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =5
02-04 22:17:06.608: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.608: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =6
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =7
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =8
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =9
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =10
02-04 22:17:06.616: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =11
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =0
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =1
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =2
02-04 22:17:06.624: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.631: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =3
02-04 22:17:06.631: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.631: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =4
02-04 22:17:06.631: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.631: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =5
02-04 22:17:06.631: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.631: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter, getView(), position =6
02-04 22:17:06.639: DEBUG/FMRadioMain(2243): FMRadio ChannelListAdapter getview, set gone
02-04 22:17:06.702: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:06.733: INFO/ActivityManager(1328): Displayed activity com.motorola.fmradio/.FMRadioMain: 830 ms (total 830 ms)
02-04 22:17:07.686: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.710: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.717: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.733: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.749: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.772: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.788: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.803: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.819: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.853: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:07.874: DEBUG/FMRadioMain ChannelListView(2243): call onDraw
02-04 22:17:11.850: DEBUG/dalvikvm(1499): GC_EXPLICIT freed 535 objects / 30448 bytes in 103ms
02-04 22:17:36.705: VERBOSE/DeviceStorageMonitorService(1328): freeMemory=6522179584
02-04 22:17:36.705: VERBOSE/DeviceStorageMonitorService(1328): Threshold Percentage=10
02-04 22:17:36.705: VERBOSE/DeviceStorageMonitorService(1328): mTotalMemory = 70141296
02-04 22:17:36.705: INFO/DeviceStorageMonitorService(1328): Posting Message again
02-04 22:18:00.007: DEBUG/KeyguardUpdateMonitor(1328): received broadcast android.intent.action.TIME_TICK
02-04 22:18:00.014: DEBUG/KeyguardUpdateMonitor(1328): handleTimeUpdate
02-04 22:18:20.757: DEBUG/BatteryTempPolicy(1328): updateBatteryTemp temperature = 280, Threshhold = 3
02-04 22:18:20.780: DEBUG/KeyguardUpdateMonitor(1328): received broadcast android.intent.action.BATTERY_CHANGED
02-04 22:18:20.780: DEBUG/KeyguardUpdateMonitor(1328): new BatteryArgs: 2,40,2
02-04 22:18:20.780: DEBUG/KeyguardUpdateMonitor(1328): handleBatteryUpdate
02-04 22:18:20.780: ERROR/GlobalUnplugService(1687): plugged = true,mBatteryPlugged=true
02-04 22:18:20.796: DEBUG/StatusBarPolicy(1328): handleBatteryUpdate
02-04 22:18:20.881: DEBUG/JuicePlotter.CollectService(1816): battery:40, plugged:2, screen:30, wifi:false,apn:false,bluetooth:false
02-04 22:18:36.707: VERBOSE/DeviceStorageMonitorService(1328): freeMemory=6522179584
02-04 22:18:36.707: VERBOSE/DeviceStorageMonitorService(1328): Threshold Percentage=10
02-04 22:18:36.707: VERBOSE/DeviceStorageMonitorService(1328): mTotalMemory = 70141296
02-04 22:18:36.707: INFO/DeviceStorageMonitorService(1328): Posting Message again
02-04 22:18:53.202: DEBUG/PMUpdateService(1440): Boot complete received should we start monitor?false
02-04 22:19:00.014: DEBUG/KeyguardUpdateMonitor(1328): received broadcast android.intent.action.TIME_TICK
02-04 22:19:00.014: DEBUG/KeyguardUpdateMonitor(1328): handleTimeUpdate
02-04 22:19:05.960: INFO/power(1328): *** set_screen_state 0
02-04 22:19:05.968: DEBUG/SurfaceFlinger(1328): About to give-up screen, flinger = 0x122f98
02-04 22:19:05.983: DEBUG/PhoneWindow(2243): couldn't save which view has focus because the focused view com.motorola.fmradio.FMRadioMain$ChannelListView@45b59ca8 has no id.
02-04 22:19:05.983: DEBUG/FMRadioMain(2243): onPause() called
02-04 22:19:06.046: WARN/SSM(1156): no ack
02-04 22:19:06.217: DEBUG/JuicePlotter.CollectService(1816): battery:40, plugged:2, screen:0, wifi:false,apn:false,bluetooth:false
02-04 22:19:10.983: DEBUG/KeyguardViewManager(1328): show(); mKeyguardView==null
02-04 22:19:10.983: DEBUG/KeyguardViewManager(1328): keyguard view is null, creating it...
02-04 22:19:11.288: DEBUG/StatusBar(1328): DISABLE_EXPAND: yes
02-04 22:19:11.296: INFO/InputManagerService(1328): received close system dialog event
02-04 22:19:11.741: DEBUG/dalvikvm(1328): GC_EXTERNAL_ALLOC freed 18493 objects / 981448 bytes in 280ms
02-04 22:19:16.288: VERBOSE/BlurEmailEngine(1420): Work Queue Table Delete - Selection=((status <= 2) AND (control <= 2))SelectionArgs=null
02-04 22:19:16.295: VERBOSE/BlurEmailEngine(1420): Work Queue Table Delete - Selection=((command IN (1,3,4,8,11,12,13)) AND (status==3) AND (control <= 2))SelectionArgs=null
02-04 22:19:16.303: VERBOSE/BlurEmailEngine(1420): Work Queue Table Delete - Selection=((status==3) AND (control <= 2) AND (error >= 20000))SelectionArgs=null
02-04 22:19:16.319: VERBOSE/BlurEmailEngine(1420): Work Queue Cleaner removed: 0 completed, 0 error, 0 permanent error.
02-04 22:19:16.397: DEBUG/dalvikvm(1816): GC_EXPLICIT freed 407 objects / 18960 bytes in 90ms
02-04 22:19:21.421: DEBUG/dalvikvm(1617): GC_EXPLICIT freed 35 objects / 1304 bytes in 113ms
02-04 22:19:26.397: DEBUG/dalvikvm(1773): GC_EXPLICIT freed 125 objects / 6184 bytes in 92ms
02-04 22:19:30.100: DEBUG/KeyguardViewMediator(1328): wakeWhenReadyLocked(26)
02-04 22:19:30.100: DEBUG/KeyguardViewMediator(1328): handleWakeWhenReady(26)
02-04 22:19:30.100: DEBUG/KeyguardViewManager(1328): wakeWhenReady(26)
02-04 22:19:30.100: DEBUG/KeyguardViewMediator(1328): pokeWakelock(10000)
02-04 22:19:30.100: INFO/power(1328): *** set_screen_state 1
02-04 22:19:30.100: DEBUG/Sensors(1328): using sensors (name=sensors)
02-04 22:19:30.100: DEBUG/SensorService(1328): android_open numFds = 1
02-04 22:19:30.100: DEBUG/SensorService(1328): android_open fd = 0x49d46b64 pfd = 0x49d46b60
02-04 22:19:30.116: DEBUG/KeyguardViewManager(1328): onScreenTurnedOn()
02-04 22:19:30.131: DEBUG/KeyguardUpdateMonitor(1328): shouldWeShowTheKeyguard: mSecurityPinSetupStatus=0 mSecurityLockSettingStatus=1 mScreenLockSettingStatus=true mScreenLockBypassEnabled=false
02-04 22:19:30.452: DEBUG/WifiService(1328): ACTION_SCREEN_ON -- Checked by Moto
02-04 22:19:30.514: WARN/SSM(1156): no ack
02-04 22:19:30.796: DEBUG/JuicePlotter.CollectService(1816): battery:40, plugged:2, screen:30, wifi:false,apn:false,bluetooth:false
02-04 22:19:30.959: DEBUG/SurfaceFlinger(1328): Screen about to return, flinger = 0x122f98
02-04 22:19:31.616: DEBUG/dalvikvm(1328): GC_EXTERNAL_ALLOC freed 3835 objects / 178368 bytes in 110ms
02-04 22:19:31.772: DEBUG/dalvikvm(1328): GC_EXTERNAL_ALLOC freed 879 objects / 42232 bytes in 101ms
02-04 22:19:31.788: DEBUG/KeyguardViewMediator(1328): pokeWakelock(10000)
02-04 22:19:31.788: DEBUG/KeyguardUpdateMonitor(1328): isLockTimerExpired is called
02-04 22:19:31.874: DEBUG/MotorolaSettingsProvider(1328): property: sys.mot_settings_secure_version=4
02-04 22:19:31.882: DEBUG/MotorolaSettingsProvider(1328): insert notifying for content://com.motorola.android.providers.settings/settings/lock_pin_current_failed_attempts
02-04 22:19:31.921: DEBUG/KeyguardViewManager(1328): hide()
02-04 22:19:31.928: DEBUG/UsbService(1486): onReceive(), received intent:android.intent.action.USER_PRESENT
02-04 22:19:31.928: VERBOSE/AudioPolicyManager(1145): getDeviceForStrategy() from cache strategy 0, device 4
02-04 22:19:31.975: DEBUG/AudioHardwareMot(1145): AudioStreamOut::wake: disabling SRC
02-04 22:19:31.983: DEBUG/AudioHardwareMot(1145): doRouting called
02-04 22:19:31.983: DEBUG/AudioHardwareMot(1145): Stereo output exists; using 0x4
02-04 22:19:31.983: DEBUG/AudioHardwareMot(1145): Routing to a headset with mic
02-04 22:19:31.983: DEBUG/AudioPostProcessor(1145): slider opened, coeffs device for handset =0
02-04 22:19:31.983: DEBUG/AudioHardwareMot(1145): Output 0x12480 exiting standby
02-04 22:19:32.100: DEBUG/dalvikvm(1328): GC_EXTERNAL_ALLOC freed 215 objects / 9464 bytes in 122ms
02-04 22:19:32.142: DEBUG/AudioHardwareMot(1145): AudioStreamOutMot::setParameters() fm_attenuate=0;fm_mute=0
02-04 22:19:34.608: WARN/KeyCharacterMap(2243): Can't open keycharmap file
02-04 22:19:34.608: WARN/KeyCharacterMap(2243): Error loading keycharmap file '/system/usr/keychars/qtouch-touchscreen.kcm.bin'. hw.keyboards.65538.devname='qtouch-touchscreen'
02-04 22:19:34.608: WARN/KeyCharacterMap(2243): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
02-04 22:19:34.733: WARN/InputManagerService(1328): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@45d8d878 (uid=10111 pid=1499)
02-04 22:19:34.983: DEBUG/AudioHardwareMot(1145): AudioStreamOutMot::standby called
02-04 22:19:34.983: DEBUG/AudioHardwareMot(1145): Output 0x12480 entering standby
02-04 22:19:34.983: DEBUG/AudioHardwareMot(1145): Closing Output device
02-04 22:19:35.710: WARN/JAVA:FMRadioPlayerService(2250): IFMRadioPlayerService.Stub : getAudioRouting
02-04 22:19:35.710: WARN/JAVA:FMRadioPlayerService(2250): FMServiceStateBase:getAudioRouting()
02-04 22:19:36.522: DEBUG/FMRadioMain(2243): User click Exit Menu to exit FM
02-04 22:19:36.592: DEBUG/FMRadioMain(2243): onPause() called
02-04 22:19:36.678: WARN/InputManagerService(1328): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@45d80450 (uid=10127 pid=2243)
02-04 22:19:36.702: VERBOSE/DeviceStorageMonitorService(1328): freeMemory=6522179584
02-04 22:19:36.702: VERBOSE/DeviceStorageMonitorService(1328): Threshold Percentage=10
02-04 22:19:36.710: VERBOSE/DeviceStorageMonitorService(1328): mTotalMemory = 70141296
02-04 22:19:36.710: INFO/DeviceStorageMonitorService(1328): Posting Message again
02-04 22:19:36.741: WARN/ResourceType(1328): Skipping entry 0x7f040006 in package table 0 because it is not complex!
02-04 22:19:36.749: WARN/ResourceType(1328): Skipping entry 0x7f040005 in package table 0 because it is not complex!
02-04 22:19:37.061: DEBUG/FMRadioMain(2243): onStop() called
02-04 22:19:37.061: DEBUG/FMRadioMain(2243): onDestroy() called
02-04 22:19:37.085: DEBUG/JAVA:FMRadioPlayerService(2250): onUnbind() called
02-04 22:19:37.108: DEBUG/JAVA:FMRadioPlayerService(2250):  unregister Receiver.
02-04 22:19:37.163: DEBUG/JAVA:FMRadioPlayerService(2250): Received intent: com.motorola.fmradio.service.stop
02-04 22:19:37.163: WARN/JAVA:FMRadioPlayerService(2250): onDestroy() called, curState = -1
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Instuctions to get FM Radio on Droid2

    1. Droid2 must be rooted. Remount the /system to RW

    2. Unzip the archive, and use abd push to put the files in the appropriate folders.
    cd system

    a. adb push app/FMRadio.apk /system/app
    b. adb push app/FMRadioService.apk /system/app
    c. adb push bin/fmradioserver /system/bin
    d. adb push lib/libFMRadio.so /system/lib
    e. adb push lib/libfmradio_jni.so /system/lib
    f. adb push lib/libfmradioplayer.so /system/lib

    3. Remount /system to ro
    4. Plug in headphones.
    5. Run FMradio
    6 ???
    7. Profit!

    For me, I live in a crappy radio area, so I was only able to pick up 2 stations. YMMV.

    As always I will not be responsible for any damage, pregnancies, or missing items from your home.

    Thanks!

    Slayher
    1
    Forgot the Link

    Forgot the link..
    LINKS! URL -> android.antbox.org/slayher/FMRadio_droid2.zip
    1
    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?
    1
    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
    1
    To help clear up and consolidate information:

    Permissions
    Permission in *nix, which included Android, work like so. Every file recognizes three boundaries: user, group, others. When doing a long listing of a file (ls -l) the first set of information displays permission. For example
    Code:
    -rwxr-xr-x
    The line above should be read in four parts.
    • The first dash indicates whether a file is a directory or no. If it's a 'd' then the file is a directory; a dash (-) means it's just a file.
    • The next three spots (2, 3, 4) indicate the permissions for the user, i.e. the owner of the file.
    • The next three spots (5, 6, 7) indicate the permissions for the group; each file has a group and each user can be part of multiple groups.
    • The last three spots (8, 9, 10) indicate the permissions for everyone else; if you're not the file's owner or part of its group these are the permissions you get.
    r means you can read the file. w means you can write to the file. x means you can execute the file or move into that directory.

    So what's up with the numbers like 644 in the commands listed in other posts? The chmod command changes the permissions of a file; it takes the intended permissions as a group of three octals. Each digit is an octal number that corresponds to a certain mixture of permissions. To decode a chmod argument like 644 let's break it down:

    • Each number in 644 corresponds to one of the same three groups above: user, group, others.
    • The order is the same as in the long listing: 6 = user, 4 = group, 4 = others.
    • To figure out how a single number translates into the three permissions (read, write, execute) you have to look at each permission in binary. This is a little complex so bear with me:
      1. Start with 0.
      2. If execute is on add 1.
      3. If write is on add 2.
      4. If read is on add 4.
      5. Using these rules you will result in some number between 0 and 7 (hence the octal part). A value of 6 can only be created by turning on write and read. A value of 5 would be read and execute.
    • If you do this for each digit in the argument you can determine just what permissions the file should have. 644 means the user has read and write, group has read, and others have read. 755 means the user has read, write, and execute; user has read and execute; and others have read and execute.

    For FM Radio specifically only bin/fmradioserver should have execute permissions. Write permissions on each file should be given solely to user. Read permissions should be granted to user, group, and others.

    It breaks down as thus:
    app/FMRadio.apk -rw-r--r-- (chmod 644)
    app/FMRadioService.apk -rw-r--r-- (chmod 644)
    bin/fmradioserver -rwx-r-x-r-x (chmod 755)
    lib/libfmradio_jni.so -rw-r--r-- (chmod 644)
    lib/libfmradioplayer.so -rw-r--r-- (chmod 644)
    lib/libFMRadio.so -rw-r--r-- (chmod 644)

    Capitalization is important. *nix systems are case sensitive when it comes to file names.

    Fission ROM
    This just won't work on Fission. There's probably some library Fission isn't including that the service expects. Fission does delete a lot of stuff when you install it so I assume something in there is needed.