Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP DaRk-L0rD

8th February 2014, 02:24 AM   |  #1  
DaRk-L0rD's Avatar
OP Recognized Contributor / Themer
Isla de Muerte
Thanks Meter: 5,276
 
2,082 posts
Join Date:Joined: Sep 2012
Donate to Me
More

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.





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++
.


4) Now search for the following line:

Quote:

.method public isPhfConnected




5) Delete the following line:

Quote:

if-eqz v0, :cond_0


6) So it will appear like this:



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 by DaRk-L0rD; 1st May 2014 at 09:42 PM.
The Following 33 Users Say Thank You to DaRk-L0rD For This Useful Post: [ View ]
8th February 2014, 12:02 PM   |  #2  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 1,374
 
5,978 posts
Join Date:Joined: Feb 2012
More
Xperia themers rock...... ima gonna give it a shot now!!!

thanks to peetr tooo.
9th February 2014, 03:24 AM   |  #3  
ps000000's Avatar
Senior Member
Flag Nonthaburi / Bangkok
Thanks Meter: 80
 
628 posts
Join Date:Joined: Sep 2011
More
Smile
I never dream about this

How about radio quailty without headset as an antenna
9th February 2014, 04:16 AM   |  #4  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 1,374
 
5,978 posts
Join Date:Joined: Feb 2012
More
works buh only a stations was on....
9th February 2014, 06:46 AM   |  #5  
Senior Member
Flag Jakarta
Thanks Meter: 88
 
642 posts
Join Date:Joined: Dec 2010
More
would somebody succeed share their Radio3.apk? coz I have problem with decompile/recompile thing.
Thanks for sharing.
9th February 2014, 08:44 AM   |  #6  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 1,374
 
5,978 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by bern4d1

would somebody succeed share their Radio3.apk? coz I have problem with decompile/recompile thing.
Thanks for sharing.

here yhu go mate...
Attached Files
File Type: apk Radio3.apk - [Click for QR Code] (934.2 KB, 1791 views)
The Following 7 Users Say Thank You to whalesplaho For This Useful Post: [ View ]
11th February 2014, 07:37 PM   |  #7  
Kocayine's Avatar
Senior Member
Thanks Meter: 166
 
1,161 posts
Join Date:Joined: Apr 2012
Whalesplaho's radio3 didnt work for me, so I did it myself.

4.3 "Existenz"
Attached Files
File Type: apk Radio3.apk - [Click for QR Code] (1.56 MB, 899 views)
The Following User Says Thank You to Kocayine For This Useful Post: [ View ]
12th February 2014, 10:54 PM   |  #8  
Senior Member
Thanks Meter: 18
 
102 posts
Join Date:Joined: Dec 2013
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 by akisg; 13th February 2014 at 07:56 PM.
21st February 2014, 04:19 AM   |  #9  
Member
Flag Durian City
Thanks Meter: 14
 
77 posts
Join Date:Joined: Jun 2013
More
Angry Radio for neo L ??? (wishful thinking)
OFF-TOPIC:

is there anyway a radio apk will work on Xperia neo L?
21st February 2014, 05:04 AM   |  #10  
Rajeev's Avatar
Senior Member
Flag Chennai , I N D I A
Thanks Meter: 11,371
 
8,498 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Hello @DaRk-L0rD Bro..

Congrats For The XDA Portal...

http://www.xda-developers.com/androi...th-smali-edit/

Keep Up The Good Work My Friend...........

The Following User Says Thank You to Rajeev For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes