[THINKTANK] FM Radio from I9000

Search This thread

bahnburner

Senior Member
Feb 10, 2009
639
66
Memphis
memphisracingscene.com
I'm working on something right now that I think might work. I'm just having an issue finding a i9000 system dump that will extract properly. The 7z version I have keeps giving me upsupported compression method errors.

If anyone has one that works, and can zip up libfmradio_jni.so from /system/lib and fmradio.apk and fmradio.odex /system/app and post them here, I'd really appreciate it. I think I may just about have this thing working.

EDIT: Nevermind, I found a working dump. Gimme 5-10 minutes and we'll see if this works.
 

kronos82

Member
Mar 8, 2008
46
0
Chicago
I'm working on something right now that I think might work. I'm just having an issue finding a i9000 system dump that will extract properly. The 7z version I have keeps giving me upsupported compression method errors.

If anyone has one that works, and can zip up libfmradio_jni.so from /system/lib and fmradio.apk and fmradio.odex /system/app and post them here, I'd really appreciate it. I think I may just about have this thing working.

EDIT: Nevermind, I found a working dump. Gimme 5-10 minutes and we'll see if this works.

God Speed :D
 

bahnburner

Senior Member
Feb 10, 2009
639
66
Memphis
memphisracingscene.com
I have the drivers loaded. Everything appears good. I just need a de-odexed version of FMRadio.apk, and I have a birthday party on it's way to my house (not mine, a close friends) so I may have to take a break from working on this for a bit.
 
If you get this working I will be amazed. I was reading earlier today on an HD2 forum they were trying to enable their FM radio function but someone was told by BroadCom that it wouldn't be possible because additional pieces of hardware were necessary (not just an external antenna). I'm not sure if it is the same chip used here as in the HD2 but hopefully all necessary hardware is in place for us. On a side note bahnbunner are you from New England? The reason I ask is because the expression bahn burner is something I only thought folks up there used.

Sent from my SGH-T959 using XDA App
 

bahnburner

Senior Member
Feb 10, 2009
639
66
Memphis
memphisracingscene.com
Actually I'm Irish, raised in Miami, and now live in TN. Bahn Burner is a term of german origin used to describe a large sedan with a high horsepower motor such as a BMW M5, M-B E63AMG, or my personal car, a 350hp 2004 VW Jetta GLI.

As for the FM Radio, since the i9000 supports it, and we have the correct chip, kernal, drivers (Yeah, seriously, the driver was still on the phone, it was just commented out in init.rc) we should be able to get it. After reading my logs in DDMS with the libraries added and the init.rc insmod command uncommented, everything looks happy.


08-01 18:49:19.271: DEBUG/dalvikvm(2264): Trying to load lib /system/lib/libfmradio_jni.so 0x0
08-01 18:49:19.281: DEBUG/dalvikvm(2264): Added shared lib /system/lib/libfmradio_jni.so 0x0
 

zerosource

Senior Member
Jul 29, 2010
266
22
Actually I'm Irish, raised in Miami, and now live in TN. Bahn Burner is a term of german origin used to describe a large sedan with a high horsepower motor such as a BMW M5, M-B E63AMG, or my personal car, a 350hp 2004 VW Jetta GLI.

As for the FM Radio, since the i9000 supports it, and we have the correct chip, kernal, drivers (Yeah, seriously, the driver was still on the phone, it was just commented out in init.rc) we should be able to get it. After reading my logs in DDMS with the libraries added and the init.rc insmod command uncommented, everything looks happy.


08-01 18:49:19.271: DEBUG/dalvikvm(2264): Trying to load lib /system/lib/libfmradio_jni.so 0x0
08-01 18:49:19.281: DEBUG/dalvikvm(2264): Added shared lib /system/lib/libfmradio_jni.so 0x0

what else is missing?
 
Cool man. I knew we had all that but just was trying not to get my hopes up. The bahn burner thing to me is slang for barn burner (us new englanders have a hard time with annunciating our "r"s). It when a basketball game is a great competition until the final seconds. But honestly I will be so stoked if you get this working. I use am FM transmitter daily with an arsenal of 50+ gigs of mp3s in my car. With the transmitter being built in it will save a hassle when in other vehicles. Really excited

Sent from my SGH-T959 using XDA App
 

bahnburner

Senior Member
Feb 10, 2009
639
66
Memphis
memphisracingscene.com
Cool man. I knew we had all that but just was trying not to get my hopes up. The bahn burner thing to me is slang for barn burner (us new englanders have a hard time with annunciating our "r"s). It when a basketball game is a great competition until the final seconds. But honestly I will be so stoked if you get this working. I use am FM transmitter daily with an arsenal of 50+ gigs of mp3s in my car. With the transmitter being built in it will save a hassle when in other vehicles. Really excited

Sent from my SGH-T959 using XDA App

It's just a receiver. You'll be able to listen to radio stations on your phone. We'll probably never see the transmitter because it's never been implemented before so we don't have any drivers.

Sent from my SGH-T959 using Tapatalk


what else is missing?
A de-odexed version of FMRadio.apk
 
Last edited:
Hopefully someone can come up with the de-odexed FM apk soon!

I dont even understand why this thread is open.

The vibrant nor the captivate have a FM tuner built it. And, there is no front camera.

So, what in the world are you guys trying to do here? EVEN IF, you get it run, IT WONT WORK!!!!! Test the 2.2 rom with the radio. IT WONT WORK. Its even on the video. if you look.

Sorry i had to chime in. because this is going now for days.
 

junkdruggler

Senior Member
Jun 27, 2009
1,073
10
Georgia
What we know for now its that its the same chip as the international versions.. Fm radio might still be possible...

Sent from my SGH-T959 using XDA App
 
To all you guys,

Please go flash the UN-BRICKABLE 2.2. That eugene posted. It has the FM radio which *works* (doesnt FC or reboot) and you will hear static.

There is NO FM RADIO IN THE PHONE. THERE IS NO FRONT CAMERA IN THE PHONE.

DONE DONE

sorry for the caps. But, its just ridiculous.
 

blackeyedbrian

Senior Member
Apr 4, 2009
63
0
To all you guys,

Please go flash the UN-BRICKABLE 2.2. That eugene posted. It has the FM radio which *works* (doesnt FC or reboot) and you will hear static.

There is NO FM RADIO IN THE PHONE. THERE IS NO FRONT CAMERA IN THE PHONE.

DONE DONE

sorry for the caps. But, its just ridiculous.


So that rom is now 100% working enough for you to make that conclusion?
Why would the driver be on the phone, and included in the source tree if there was no use for it? -- Serious question...
 

bahnburner

Senior Member
Feb 10, 2009
639
66
Memphis
memphisracingscene.com
So from what I can tell, my method won't work. It starts up but keeps failing to turn the FM Radio on. I'm posting a logcat of what's going on when I open the radio app and try selecting a channel. I don't know where to go from here. I'm stuck.

What I did to get to this point:
Uncommented the insmod /lib/modules/Si4709_driver.ko line from init.rc
Added libfmradio_jni.so to /lib/
Pushed SamSet1.6's FMRadio.apk to /system/app/

Code:
08-02 00:23:12.066: VERBOSE/InputDevice(2264): ID[0]=0 Dn (0=>1)
08-02 00:23:12.071: INFO/PowerManagerService(2264): ULight 3->7 f0
08-02 00:23:12.076: VERBOSE/WindowManager(2264): Dsptch 0 x243.0 y478.0 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:12.269: VERBOSE/InputDevice(2264): ID[0]=0 Up (1=>0)
08-02 00:23:12.269: VERBOSE/WindowManager(2264): Dsptch 1 x243.0 y470.00003 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:12.276: DEBUG/FMApp(2899): [onClick - Control Play/pause]
08-02 00:23:12.276: INFO/FMRadioService(2264): Battery level :87 = Warning level :15 = isPowered :true
08-02 00:23:12.276: INFO/FMRadioService(2264): Battery is ok
08-02 00:23:12.281: INFO/FMRadioService(2264): Battery level :87 = Warning level :15 = isPowered :true
08-02 00:23:12.281: INFO/FMRadioService(2264): Battery is ok
08-02 00:23:12.281: INFO/FmRadioController(2264): Jni player_On
08-02 00:23:12.281: INFO/FmRadioController(2264): FmRadioRDSParser::FmRadioRDSParser
08-02 00:23:12.281: INFO/FmRadioController(2264): FmRadioRDSParser::ResetData
08-02 00:23:12.281: INFO/FmRadioController(2264): FmRadioController::FmRadioController build timestamp : Jun  5 2010 : 03:15:20 
08-02 00:23:12.281: INFO/FmRadioController(2264):  FmRadioController_powerOn
08-02 00:23:12.281: INFO/FmRadioController(2264): FmRadioController Initialise fd_fmradio[-1] fd_cancel[-1]  fd_search[-1]
08-02 00:23:12.281: INFO/FmRadioController(2264):  FmRadioController_powerOn  failed
08-02 00:23:12.281: INFO/NotificationService(2264): enqueueToast pkg=com.sec.android.app.fm callback=android.app.ITransientNotification$Stub$Proxy@47e42438 duration=0
08-02 00:23:12.281: WARN/System.err(2899): com.samsung.media.fmradio.FMPlayerException: Unable to turn on FM Radio
08-02 00:23:12.281: WARN/System.err(2899):     at com.sec.android.app.fm.MainActivity.on(MainActivity.java:2896)
08-02 00:23:12.281: WARN/System.err(2899):     at com.sec.android.app.fm.MainActivity$MyHandler.handleMessage(MainActivity.java:3335)
08-02 00:23:12.286: WARN/System.err(2899):     at android.os.Handler.dispatchMessage(Handler.java:99)
08-02 00:23:12.286: WARN/System.err(2899):     at android.os.Looper.loop(Looper.java:123)
08-02 00:23:12.286: WARN/System.err(2899):     at android.app.ActivityThread.main(ActivityThread.java:4363)
08-02 00:23:12.286: WARN/System.err(2899):     at java.lang.reflect.Method.invokeNative(Native Method)
08-02 00:23:12.286: WARN/System.err(2899):     at java.lang.reflect.Method.invoke(Method.java:521)
08-02 00:23:12.286: WARN/System.err(2899):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
08-02 00:23:12.286: WARN/System.err(2899):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
08-02 00:23:12.286: WARN/System.err(2899):     at dalvik.system.NativeStart.main(Native Method)
08-02 00:23:12.291: VERBOSE/AudioHardwareALSA(2210): ------------------------>>>>>> ALSA OPEN mode 0,device 4 
08-02 00:23:12.311: INFO/AudioHardwareALSA(2210): Initialized ALSA PLAYBACK device AndroidPlayback_Headset_normal
08-02 00:23:12.311: DEBUG/AudioHardwareALSA(2210): Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
08-02 00:23:12.311: DEBUG/AudioHardwareALSA(2210): Using 2 channels for PLAYBACK.
08-02 00:23:12.311: DEBUG/AudioHardwareALSA(2210): Set PLAYBACK sample rate to 44100 HZ
08-02 00:23:12.311: DEBUG/AudioHardwareALSA(2210): Buffer size: 4096
08-02 00:23:12.311: DEBUG/AudioHardwareALSA(2210): Latency: 92879
08-02 00:23:14.202: VERBOSE/InputDevice(2264): ID[0]=0 Dn (0=>1)
08-02 00:23:14.211: VERBOSE/WindowManager(2264): Dsptch 0 x333.0 y477.0 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:14.401: VERBOSE/InputDevice(2264): ID[0]=0 Up (1=>0)
08-02 00:23:14.406: VERBOSE/WindowManager(2264): Dsptch 1 x333.0 y477.0 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:14.411: DEBUG/FMApp(2899): [onClick - Control Plus]
08-02 00:23:14.411: DEBUG/FMApp(2899): [MainActivity] setFreq :92.899994
08-02 00:23:14.411: DEBUG/FMApp(2899): scrolling..92.9
08-02 00:23:15.416: DEBUG/FMApp(2899): current freq :-1.0 :92.9
08-02 00:23:16.246: VERBOSE/InputDevice(2264): ID[0]=0 Dn (0=>1)
08-02 00:23:16.251: VERBOSE/WindowManager(2264): Dsptch 0 x330.0 y487.00003 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:16.448: VERBOSE/InputDevice(2264): ID[0]=0 Up (1=>0)
08-02 00:23:16.448: VERBOSE/WindowManager(2264): Dsptch 1 x330.0 y487.00003 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:16.451: DEBUG/FMApp(2899): [onClick - Control Plus]
08-02 00:23:16.451: DEBUG/FMApp(2899): [MainActivity] setFreq :93.1
08-02 00:23:16.451: DEBUG/FMApp(2899): scrolling..93.1
08-02 00:23:17.456: DEBUG/FMApp(2899): current freq :-1.0 :93.1
08-02 00:23:17.501: VERBOSE/InputDevice(2264): ID[0]=0 Dn (0=>1)
08-02 00:23:17.511: VERBOSE/WindowManager(2264): Dsptch 0 x322.0 y478.0 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:17.677: VERBOSE/InputDevice(2264): ID[0]=0 Up (1=>0)
08-02 00:23:17.677: VERBOSE/WindowManager(2264): Dsptch 1 x322.0 y478.0 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:17.681: DEBUG/FMApp(2899): [onClick - Control Plus]
08-02 00:23:17.681: DEBUG/FMApp(2899): [MainActivity] setFreq :93.299995
08-02 00:23:17.681: DEBUG/FMApp(2899): scrolling..93.3
08-02 00:23:18.686: DEBUG/FMApp(2899): current freq :-1.0 :93.3
08-02 00:23:19.651: VERBOSE/InputDevice(2264): ID[0]=0 Dn (0=>1)
08-02 00:23:19.656: VERBOSE/WindowManager(2264): Dsptch 0 x307.0 y491.0 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:19.897: VERBOSE/InputDevice(2264): ID[0]=0 Up (1=>0)
08-02 00:23:19.897: VERBOSE/WindowManager(2264): Dsptch 1 x312.0 y486.0 > Window{47d7c030 com.sec.android.app.fm/com.sec.android.app.fm.MainActivity paused=false}
08-02 00:23:19.901: DEBUG/FMApp(2899): [onClick - Control Plus]
08-02 00:23:19.901: DEBUG/FMApp(2899): [MainActivity] setFreq :93.5
08-02 00:23:19.901: DEBUG/FMApp(2899): scrolling..93.5
08-02 00:23:20.906: DEBUG/FMApp(2899): current freq :-1.0 :93.5
08-02 00:23:22.881: DEBUG/WifiService(2264): ACTION_BATTERY_CHANGED pluggedType: 2
08-02 00:23:22.896: INFO/WifiService(2264): handleMessage: MESSAGE_ENABLE_WIFI
08-02 00:23:22.896: WARN/PowerManagerService(2264): Timer 0x7->0x3|0x0
08-02 00:23:22.896: INFO/PowerManagerService(2264): ULight 7->3 f0
08-02 00:23:22.901: INFO/WifiService(2264): handleMessage: MESSAGE_START_WIFI
08-02 00:23:22.901: INFO/StatusBarPolicy(2264): BAT. status:2 health:2
08-02 00:23:22.981: WARN/Settings(2468): Setting location_providers_allowed has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
08-02 00:23:23.143: INFO/AudioHardwareALSA(2210): Output standby called!!. Turn off PCM device.

fmradio.png
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    lol, seriously
    I love how they both have that authoritative tone.
    LOL