Posted on Feb 21 2014 - 3:21pm by Anurag Kumar

To enable FR radio in a smartphone you need to plugin the earphones in your device as they work as antenna for receiving signals. It is kind of odd thing but a necessity to make FM radio work. XDA developer DaRk-L0rD has come up with a mod which allows you to enable FM Radio without headset in Xperia smartphones. Your handset must be rooted for this mod to work on.

A full tutorial is given by the developer on how to enable FM Radio without headset in Xperia smartphone so you can easily do it by yourself but if you are a noob and don’t know about compiling and decompiling stuffs then you can directly install the modded Radio3.apk file to enable FM Radio without headset.

Enable FM Radio without headset – Working tutorial

You need to have the original FM Radio apk of your Xperia Smartphone. If you don’t have it, we have attched at last the FM Radio apk from our Xperia Z1.

#1 Follow below tutorial if you have knowledge of Compiling and Decompliling android apks, If not follow step #2.

  • Take out your FM Radio apk file.
  • Decompiling the above apk file. To decompile an apk, use this Decompiler tool. Download the source.zip file and extract it in a folder.
  • You fill see following files in the folder.

Decompile Xperia Z1 FM Radio apk

  • Navigate to folder smali > com > sonyericsson > fmradio >  service.

Xperia Z1 FM Radio App decompiling

  • Open the “PhfHandler.smali” file with Notepad.

Decompiling Xperia Z1 Radio app

  • Find “.if-eqz v0, :cond_0” code inside “PhfHandler.smali” file.

It will be like :-

.method public isPhfConnected ()z
.locals 1
.prologue
.line 118
iget v0, p0, Lcom/sonyericsson/fmradio/service/PhFHandler;->mState:I
if-eqz v0, :cond_0

const/4 v0, 0x1
:goto_0
return v0

  • Delete “if-eqz v0, :cond_0″ from above file / line of codes.
  • Save the file.
  • Now compile this Modded Radio3.apk file. If you don’t how to do that, check this thread for more info.
  • Move this Modded Radio3.apk file to system/app. Set correct permissions rw-r-r. Do back up your current Radio3.apk file before replacing modded one.
  • Reboot, done 🙂

enable FM Radio without headset in Xperia

#2 If above tutorial is too complicated for you then directly download the below Modded Radio3.apk file and use it.

Download Modded FM Radio3.apk file to enable FM Radio without headset.

Download ModdedRadio3.apk

Push above app to system/app and set permissions rw-r-r, reboot.

Download Original Radio3.apk from Xperia Z1 in case you want to revert back to original file.

Do let us know if the above mod worked for you or not. Try it on your Xperia smartphone, drop your comments below. All credits goes to XDA developer DaRk-L0rD for his wonderful work 🙂






About the Author

Blogging as a hobby. Sales & Marketing Professional. MBA (IB) from IIFT Delhi (2015-17). Founder & Editor-in-Chief of GizmoBolt.com ( formerly XperiaGuide.com ). Follow at Facebook I Twitter I Google Plus | LinkedIn | Instagram. Contact at [email protected] for feedback and sending tips. Donate Us.

4 Comments so far. Feel free to join this conversation.

  1. Rishi February 21, 2014 at 3:38 pm - Reply

    worked for me but signals are a bit weak 🙁

  2. Mirdul February 21, 2014 at 3:39 pm - Reply

    can we decompile any android FM radio apk via this method and use it on other devices also
    ?

  3. Mirko February 22, 2014 at 2:51 am - Reply

    Can you make one for xperia l

  4. Ansgar October 19, 2014 at 8:58 pm - Reply

    Hello,
    I tried way #2, downloaded the ModdedRadio3.apk, and replaced the original one. Therefore I copied the originial one to a folder on my sd-card, deleted it from the system/app-folder, copied the modded one there and set the correct permissions. Then I rebooted. But now the modded radio app is not accessible through the user interface. It is shown nowhere, not in preferences/application nor in the Android “desktop”. But it is still in the system/app-foder.
    Can you help me?

    Regards

    Ansgar

Leave A Response

*