5,595,268 Members 46,945 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; 23rd February 2014 at 12:34 PM.)
#1  
DaRk-L0rD's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 3484
Posts: 1,704
Join Date: Sep 2012
Location: Isla de Muerta

 
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 making a donation. Thanks in advance!

Don't use any part of my work WITHOUT my permission!!
SONY XPERIA T

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

thanks to peetr tooo.






...Real Eyez realise Real Liez

...2Pac


 
ps000000
Old
#3  
Senior Member
Thanks Meter 35
Posts: 369
Join Date: Sep 2011
Location: Nonthaburi / Bangkok
I never dream about this

How about radio quailty without headset as an antenna
Current
- Galaxy Note 10.1 (2014) P601 - 3G

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

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






...Real Eyez realise Real Liez

...2Pac


 
bern4d1
Old
#5  
Senior Member
Thanks Meter 88
Posts: 631
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 1308
Posts: 5,597
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, 801 views)






...Real Eyez realise Real Liez

...2Pac


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 87
Posts: 731
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, 382 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: 50
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 12
Posts: 66
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 3989
Posts: 4,811
Join Date: Nov 2012
Location: Chennai , I N D I A
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...........
INSTEAD OF SAYING JUST PRESS HERE





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes