FM-Radio Fixed For Nougat Based Custom Rom – MT6592
Fix For FM – Radio For Nougat Based Rom for any MT6592 devices.This guide will fixed this FM connectivity issue.
Requirement :-
- 1. APKTool For Decompiling & Recompiling “Framework.jar” - CLICK HERE
- 2. Notepad ++ - CLICK HERE
- 3. Framework,jar
To Fix FM Bug We Have To Modify Below Files :-
- 1. Modifying Framework,jar
- 2. Modifying Build.prop
- 3. Replacing Some Files
1. Modifying Framework.jar
- 1. Decompile Framework.jar By The Help APK Tool
- 2. Now Go Extracted Folder [Framework.jar.out]
- 3. framework.jar.out/smali/android/media/MediaPlayer.smali
- 4. Open MediaPlayer.smali In Notepad ++
- 5. Now By Pressing Ctrl + F Search For .method public release
- 6. Now Copy Below Code Which Is Highlighted By GREEN
- 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+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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: