Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,327 Members 44,685 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
DaRk-L0rD
Old
(Last edited by DaRk-L0rD; 1st May 2014 at 08:42 PM.)
#1  
DaRk-L0rD's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4668
Posts: 1,955
Join Date: Sep 2012

 
DONATE TO ME
Angry [TUTORIAL][JB] How to make FM Radio working without headset


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

If you like my work, please consider buying me a beer! Thanks in advance!
Our Themes on Playstore

SONY XPERIA Z1 & T


MY CONTRIBUTIONS
The Following 31 Users Say Thank You to DaRk-L0rD For This Useful Post: [ Click to Expand ]
 
whalesplaho
Old
#2  
whalesplaho's Avatar
Senior Member
Thanks Meter 1372
Posts: 5,975
Join Date: Feb 2012
Location: Treasure Island
Xperia themers rock...... ima gonna give it a shot now!!!

thanks to peetr tooo.






...what's tha sense of workin' hard if you never get to play...

...Pac


 
ps000000
Old
#3  
ps000000's Avatar
Senior Member
Thanks Meter 47
Posts: 482
Join Date: Sep 2011
Location: Nonthaburi / Bangkok
I never dream about this

How about radio quailty without headset as an antenna
Galaxy Note 10.1 (2014) P601 3G & Google Nexus 5 D821 LTE

My history
Android - Galaxy S2 (i9100T) , Dell Streak 5 , Tab 7 Plus (P6200L) , Galaxy Nexus (Maguro), Note 2 (N7100) , Galaxy S4 (i9505), Galaxy Mega 6.3 (i9205) , Galaxy Note3 (N9005) , Xperia Z Ultra (C6833)
iOS - iPhone 4 - 16GB , iPhone 4S - 16GB , iPhone 5 - 16GB , iPad 3 - WiFi - 16GB
Windows Phone - Lumia 920

My PC - i5-2500K + Asus HD7970TOP + water cooling
My Lap - Macbook Pro 15" Late 2011 - i7 2760QM + HD 6770M
 
whalesplaho
Old
#4  
whalesplaho's Avatar
Senior Member
Thanks Meter 1372
Posts: 5,975
Join Date: Feb 2012
Location: Treasure Island
works buh only a stations was on....






...what's tha sense of workin' hard if you never get to play...

...Pac


 
bern4d1
Old
#5  
Senior Member
Thanks Meter 88
Posts: 638
Join Date: Dec 2010
Location: Jakarta
would somebody succeed share their Radio3.apk? coz I have problem with decompile/recompile thing.
Thanks for sharing.
 
whalesplaho
Old
#6  
whalesplaho's Avatar
Senior Member
Thanks Meter 1372
Posts: 5,975
Join Date: Feb 2012
Location: Treasure Island
Quote:
Originally Posted by bern4d1 View Post
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, 1231 views)






...what's tha sense of workin' hard if you never get to play...

...Pac


The Following 7 Users Say Thank You to whalesplaho For This Useful Post: [ Click to Expand ]
 
Kocayine
Old
#7  
Kocayine's Avatar
Senior Member
Thanks Meter 152
Posts: 1,016
Join Date: 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, 632 views)
Please quote my posts if you are replying to one of my posts, that way I'll get notified.
The Following User Says Thank You to Kocayine For This Useful Post: [ Click to Expand ]
 
akisg
Old
(Last edited by akisg; 13th February 2014 at 06:56 PM.)
#8  
Member
Thanks Meter 7
Posts: 51
Join Date: 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..
 
pROAddicts
Old
#9  
Member
Thanks Meter 13
Posts: 67
Join Date: Jun 2013
Location: Durian City
Angry Radio for neo L ??? (wishful thinking)

OFF-TOPIC:

is there anyway a radio apk will work on Xperia neo L?




Device: Sony Xperia™ Neo L (MT25i)
Kernel: LuPuS_phoenix_jBv10 by wedgess
ROM: JellyPhoenixBean by Phillip Wu
 
Rajeev
Old
#10  
Rajeev's Avatar
Senior Member
Thanks Meter 7779
Posts: 7,057
Join Date: Nov 2012
Location: Chennai , I N D I A

 
DONATE TO ME
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...........
If You Like My Work Please Consider A Small Donation

For Donating Click Below

 
Please Do The Following:
Sign In To Your PayPal Account Page
Go To 'Send Payment'
Enter My Email ID "dipesh.febrius@gmail.com"
Option "Personal Payment" Doesn't Work For India, So Kindly Set "Online Purchases". And Check Goods or Service (Preferably Service)
Make The Payment of The Desired Amount of Donation You Want To Send.
Thank You For Your Kind Donations!

The Following User Says Thank You to Rajeev For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes