[TUTORIAL][JB] How to make FM Radio working without headset

Search This thread

DaRk-L0rD

Senior Member
Sep 29, 2012
2,139
5,462
Isla Muerta


Hello everyone :)

In this tutorial i will show you how to make the FM Radio working without the headset.

First of all, a huge thanks goes to peetr_for teaching me!

Here you can find the FM Radio from various JB editions already edited from peetr_, the one who had the idea. :)



2wnz6tk.jpg


So, let's start:

Requirements:

  • You must know how to decompile and compile an apk.
  • Notepad++
  • Radio3.apk

How to:

1) Decompile the Radio3.apk

2) Navigate to smali/com/sonyericsson/fmradio/service/

3) Open the PhfHandler.smali and open it with Notepad++
.

sfgvua.jpg

4) Now search for the following line:

.method public isPhfConnected


3502tld.jpg


5) Delete the following line:



6) So it will appear like this:

qoakbc.jpg


7) Now save the file.

8) Compile the Radio3.apk

9) Copy it on your phone.

10) Move it so system/apps and set permission to rw-r-r.

11) Done!

12) Enjoy
 
Last edited:

bern4d1

Senior Member
Dec 21, 2010
862
131
Jakarta
would somebody succeed share their Radio3.apk? coz I have problem with decompile/recompile thing.
Thanks for sharing.
 

Kocane

Senior Member
Apr 29, 2012
1,680
309
Whalesplaho's radio3 didnt work for me, so I did it myself.

4.3 "Existenz"
 

Attachments

  • Radio3.apk
    1.6 MB · Views: 3,178
  • Like
Reactions: Treatcon

akisg

Senior Member
Dec 26, 2013
417
114
Xiaomi Poco F3
Sorry if my question sounds too much noobish..but i tried to use fm radio after replacing my radio3.apk with the right permissions and i found out that somehow i had my fm radio 4.0.apk deleted (no FM Radio icon). Although i had a titanium backup for this app, i didn't make it to restore as it stucks to restoring forever (maybe because backup was from .569 and i am on .101 now? ). So my question is, is there any way to install the fm player for my sony XZ ? I couldn't find anything..

EDIT: Nvm...my FM Radio decided to reappear itself after a reboot..
 
Last edited:

yihongyuelan

Member
Apr 20, 2012
28
3
Hello everyone :)

In this tutorial i will show you how to make the FM Radio working without the headset.

First of all, a huge thanks goes to peetr_


2wnz6tk.jpg


So, let's start:

Requirements:

  • You must know how to decompile and compile an apk.
  • Notepad++
  • Radio3.apk

How to:

1) Decompile the Radio3.apk

2) Navigate to smali/com/sonyericsson/fmradio/service/

3) Open the PhfHandler.smali and open it with Notepad++
.

sfgvua.jpg

4) Now search for the following line:




3502tld.jpg


5) Delete the following line:




6) So it will appear like this:

qoakbc.jpg


7) Now save the file.

8) Compile the Radio3.apk

9) Copy it on your phone.

10) Move it so system/apps and set permission to rw-r-r.

11) Done!

12) Enjoy

Thanks for your sharing. I'll try
 
  • Like
Reactions: srikanth777

m0han

Senior Member
Whalesplaho's radio3 didnt work for me, so I did it myself.
i pushed the apk files attached in 2 posts on the thread to /system/app and set the correct permissions. the fm radio icon disappeared from apps drawer and did not return even after reboots.

i've no knowledge about decompiling/(re-)compiling apk files. can someone do this for me please? in my case, the file is Radio.apk and it is 7,010,202 bytes in size. https://www.dropbox.com/s/izb58vn6xn07d46/Radio.apk

my rom: Xperia C Based | Latest Official Firmware. my device: Micromax A116 Canvas HD. pls. help, listing additional steps to get it working, if any. thanks.
 

teddy0209

Senior Member
Feb 5, 2011
2,331
692
App works without the headset now, but no working stations....
Still have to stick a piece of metal on the headset port... Or is there other alternative?
Thanks!
 
App works without the headset now, but no working stations....
Still have to stick a piece of metal on the headset port... Or is there other alternative?
Thanks!


the mod works, thanks. had no problems with de-/compiling

but my friend, you are right. the headphones are like an antenna, so without them, you will have a bad signal.
i have now radio without headphones, but no radiostations available, if i put in headphone...bäm nice signal.

not sure if we can do anything about that with editing some apks. if someone has an idea, i can try with my apktool. but i guess its due to hardware
 
Last edited:

thermatk

Senior Member
=)

Made an xposed module out of this modification, should be now easy to apply to any rom without decompiling :)
Will publish soon.

---------- Post added at 03:17 PM ---------- Previous post was at 02:59 PM ----------

Xposed repo is not logging me in atm so can't publish it right there
Here you have the source:
https://github.com/thermatk/XperiaFMwoHS
And the binary:
https://github.com/thermatk/XperiaFMwoHS/releases

Good luck to us all :laugh:
 

dark_phoenix

Senior Member
Feb 6, 2013
300
42
Request...

Made an xposed module out of this modification, should be now easy to apply to any rom without decompiling :)
Will publish soon.

---------- Post added at 03:17 PM ---------- Previous post was at 02:59 PM ----------

Xposed repo is not logging me in atm so can't publish it right there
Here you have the source:
https://github.com/thermatk/XperiaFMwoHS
And the binary:
https://github.com/thermatk/XperiaFMwoHS/releases

Good luck to us all :laugh:

bro, can you make this Xposed mod to work on 4.0.4. or the shoul i go for decompiling ???? I am on ICS 4.0.4 Karbonn A15.
thnx
 

moolokow

Senior Member
Apr 5, 2013
61
11
nice work :) i hope it will come to the kitkat roms, i badly needed it to listen my favorite radio program :D thanks daveloper :)
 

m0han

Senior Member

Top Liked Posts