Samantha · Feb 20, 2014 at 09:00 pm

Get Your FM Radio Working without a Headset on Your Sony Xperia Device with Smali Edit

Chances are that if you haven’t accidentally ripped or broken the headset that came with your phone, it’s probably hopelessly lost, never to be found. And on an Xperia device, that’s too bad because without it, you won’t be able to catch up on your favorite radio personality or listen to Top 40 without streaming it via mobile broadband. But hey, there’s now a way for Sony Xperia owners to listen to the radio without the required headset, thanks to a tutorial written by XDA Recognized Contributor DaRk-L0rD.

Much like the previously featured smali editing tutorials, this tutorial can be a quick and easy fix that anyone can follow and apply, be it a rookie or a pro. It simply requires knowledge of decompiling and compiling an apk, for which there many tutorials and tools, and of course, the actual Radio.apk file. After you’ve decompiled the APK, navigate to and open PhfHandler.smali. From there, make the necessary code changes, save the file, compile the APK, and push it to your device. There are also screenshots of the process for anyone looking for a bit more guidance.

If you are craving your daily morning radio but can’t seem to find the (no longer) required headset, check out the tutorial at the original thread to get started.


_________
Want something on the XDA Portal? Send us a tip!

Samantha

jman2131 is an editor on XDA-Developers, the largest community for Android users. View jman2131's posts and articles here.
Mathew Brack · May 28, 2015 at 09:59 pm · 3 comments

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android M to be smarter about managing power. Their new Doze feature comprises of two primary roles which allow Android to use motion detection in order to predict activity, and go into deep sleep at the right time based on accelerometer readings.   In order to extend your screen off battery life, Android M will now monitor your activity levels and if it detects that your device has...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:51 pm · 3 comments

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through pictures: “how incredible is it that we all have a camera in our pockets at any moment? (...) These moments tell your story (...)[but] taking more pictures and videos makes it harder to relieve memories due to the sheer volume”. This is why they are revamping Google Photos and centering it around 3 big ideas:   Creating a home for all photos and videos that is...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:26 pm · 3 comments

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to help “the next billion” come online. More and more people are getting their first smartphone, and for many people this first phone will be their first computer.   The majority of the next billion will be Android users and they “want to remove the barriers of smartphone adoption”. While there are huge displays of phones on sale, not all are able to run the latest and greatest...

XDA NEWS
Share This