FM-Radio Fixed For Nougat Based Custom Rom – MT6592

15:34 Alex 0 Comments


Fix For FM – Radio For Nougat Based Rom for any MT6592 devices.This guide will fixed this FM connectivity issue.

Requirement :-

  1. 1. APKTool For Decompiling & Recompiling “Framework.jar” - CLICK HERE
  2. 2. Notepad ++ - CLICK HERE
  3. 3. Framework,jar

To Fix FM Bug We Have To Modify Below Files :-

  1. 1. Modifying Framework,jar
  2. 2. Modifying Build.prop
  3. 3. Replacing Some Files

1. Modifying Framework.jar

  1. 1. Decompile Framework.jar By The Help APK Tool
  2. 2. Now Go Extracted Folder [Framework.jar.out]
  3. 3. framework.jar.out/smali/android/media/MediaPlayer.smali
  4. 4. Open MediaPlayer.smali In Notepad ++
  5. 5. Now By Pressing Ctrl + F Search For .method public release
  6. 6. Now Copy Below Code Which Is Highlighted By GREEN
  7. 7. Paste It After .end method Or Before .method public release
  Here Is The Code [In GREEN Color] :- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.end method
.method public prepareWithoutScan()V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Ljava/lang/IllegalStateException;
}
.end annotation
.prologue
.line 1188
invoke-direct {p0}, Landroid/media/MediaPlayer;->_prepare()V
.line 1187
return-void
.end method
.method public release()V
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-> After editing MediaPlayer.smali
-> Just Recompile It.
-> Now Your Framework,jar Is Ready.

2. Modifying Build.prop

  • Just Add FM Radio Lines Between #WiFi And #LCD Density [Like Below]
# WiFi
wifi.interface=wlan0
wifi.tethering.interface=ap0
wifi.direct.interface=p2p0
# FM Radio
fmradio.driver.enable=1
# LCD density
ro.sf.lcd_density=320
-> Now You Successfully Modified Build.prop

0 comments:

Disable_Adblock

We know Ads suck, but at IrisBuddies we will not let them do that
As blocking is a good idea to get rid of stupid “Download Now” Buttons around the web
That’s not in our case. We think you won't find Ads on Our site terrible or annoying
Support us by Whitelisting “IrisBuddies” on your Adblocking Plugin or By disabling your AdBlocking software

If you think this is not good and we should allow AdBlocking Plugins
then Please Contact Us or write us on our Facebook Page
and we might allow it in near future.