Jump to content

Working Japanese Froyo FM Radio app


Recommended Posts

Posted (edited)

I have modified original FM radio app found in Japanese Froyo ROM to include workaround for sound cut-off which happens after a few seconds.

Workaround used is same as in this app http://andorko.hu/android/.

I have attached apk so you can download and test it right now :(

FMRadio.rar

Edited by MDCFan
Posted
I have modified original FM radio app found in Japanese Froyo ROM to include workaround for sound cut-off which happens after a few seconds.

Workaround used is same as in this app http://andorko.hu/android/.

I have attached apk so you can download and test it right now :(

Can you tell us the trick?

Guest chicarito
Posted

thanks works fine, sound better than the original radio on 2.1!

Posted (edited)
Can you tell us the trick?

Ok, so the trick is to play some sound in background.

It uses ToneGenerator class to generate a tone with volume set to zero.

Isnt this the same as someone else posted earlier:

http://android.modaco.com/content/zte-blad...froyo-released/

The one you are referring to is 3rd party radio app. This one is modified original one.

Edited by MDCFan
Guest rapidone
Posted (edited)

How to install it? I deleted the original one with Titanium Backup.

Then I get an error message "app not installed" when install it with "root explorer"

I have the Jellyfish Froyo RL1 installed.

Edited by rapidone
Guest NightSt@lk3r
Posted

i get the not installed error aswell on Jellyfish RLS2

Guest rayraven
Posted
How to install it? I deleted the original one with Titanium Backup.

Then I get an error message "app not installed" when install it with "root explorer"

I have the Jellyfish Froyo RL1 installed.

Copy it into /system/app using root explorer or some other file manager

Guest chicarito
Posted

wrong radio app, I'm trying to install this one and its says application not installed, what am i doing wrong?

Guest chicarito
Posted

I've tried copying it through rootexplorer but the same problem. Using Pauls Alpha3 at the moment

Posted
wrong radio app, I'm trying to install this one and its says application not installed, what am i doing wrong?

Don't install it, replace the original one in /system/app/ folder or in the ROM .zip file and then flash the ROM.

Guest rapidone
Posted
Copy it into /system/app using root explorer or some other file manager

I mounted /system/app as r/w and copied the file in. But It it not shown in the app list. I use Launcher pro.

So what else to do?

Guest rayraven
Posted

^Make sure the permissions for the app are rw-r-r & you also need to reboot.

Guest rapidone
Posted
^Make sure the permissions for the app are rw-r-r & you also need to reboot.

The permissions were wrong. I changed them, rebooted and now it's working! Thanks a lot for your help.

@MDCFan

Please change the file permissions of the app within the RAR-file to help other to install it via "Root Explorer" and reboot.

And GREAT JOB! Your modded FM-app is working perfectly.

Guest rayraven
Posted

I dont know if that'll help, they tend to get changed when you copy them onto the sd card.

Guest NightSt@lk3r
Posted
^Make sure the permissions for the app are rw-r-r & you also need to reboot.

It works after this awesome, shame out here in the sticks i cant pickup any radio stations lol

Posted

Seems to be working fine on Seb's r0.1, just pushed to system/app, no permission changes required, cheers.

Guest andorko
Posted
I have modified original FM radio app found in Japanese Froyo ROM to include workaround for sound cut-off which happens after a few seconds.

Workaround used is same as in this app http://andorko.hu/android/.

I have attached apk so you can download and test it right now :(

Do you have the source code of the original FMRadio?

Posted (edited)
Do you have the source code of the original FMRadio?

I don't have it, but you can decompile it using android-apktool to smali code.

Edited by MDCFan
Guest andorko
Posted
I don't have it, but you can decompile it using android-apktool to smali code.

Great! I didn't found it. I was working with dexdump. Thx

Posted (edited)
Great! I didn't found it. I was working with dexdump. Thx

You can also try dex2jar to "convert" dex to Java jar and then decompile class files found in jar using any java decompiler (for example jad).

But those decompilers usually don't produce 100% compilable code, so you need to fix it. But it should be a great way to get mostly perfect, readable code.

I usualy, read dex2jar'ed + jad'ed code for understanding the app and then modify smali code.

Edited by MDCFan
Guest kallt_kaffe
Posted
I have modified original FM radio app found in Japanese Froyo ROM to include workaround for sound cut-off which happens after a few seconds.

Workaround used is same as in this app http://andorko.hu/android/.

I have attached apk so you can download and test it right now :(

Could you perhaps have another look at Phone.apk? Someone reported that while it now works without unlocking, thanks to your efforts, it still halts with an USIM error if you try to use a Blade without a SIM card inserted. Perhaps that check could also be bypassed in a similar way?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.