[PATCH] GSM/WCDMA Network BUG FIX [ICS]

trojan01

Senior Member
Aug 28, 2009
219
123
0
Adana
Problem: we keep settings at GSM only. But at every restart it changes to WCDMA preferred forcing we on 3G network auto.since We applied the official ics upgrade it has been there.


Fix:
1-How to use Baksmali_Smali.exe ( you need know this)
2-Extract your classes.dex file from framework.jar
3-Go to framework\smali\com\android\internal\telephony\
4-Copy new file into telephony folder

For Odex-ed ROMs go to http://code.google.com/p/smali/wiki/DeodexInstructions

Now, 2g/3g network fixed :D

Credits: savel-76

DOWNLOAD: View attachment RIL.rar
 
Last edited:

gizmolek

Senior Member
Jan 9, 2012
84
32
0
Gdansk
I prepared a small tutorial (WIN7+ST15i) :)

0. !!! DO NANDROID BACKUP !!!

1. Install latest Java on your PC
2. Download from here "RIL.rar", extract "RIL.smali" and copy somwhere on hard disk
3. Download from somwhere "Smali-Me" tool
4. Extract on local harddisk (eg c:\Smali-Me-1.0)
5. Find on your phone /system/framework/framework.jar
6. Copy "framework.jar" somwhere to your harddisk
7. Extract (winrar, TC, winzip) from "framework.jar" file "classes.dex"
8. Copy "classes.dex" to \Smali-Me-1.0\
9. Run baksmali.bat (as administrator)
10. Go to \Smali-Me-1.0\Decompiled\com\android\internal\telephony\
11. Copy/Replace downloaded and extracted "RIL.smali" (step 2) into \Smali-Me-1.0\Decompiled\com\android\internal\telephony\
12. Copy all files from \Smali-Me-1.0\Decompiled\ to \Smali-Me-1.0\Smali-Me\
13. Run "smali.bat" (as administrator)
14. Delete old "classes.dex" from \Smali-Me-1.0\
15. Rename "modded-classes.dex" to "classes.dex" in \Smali-Me-1.0\
16. Add/replace (winrar, TC, winzip) new "classes.dex" into "framework.jar" which is somwhere on your harddisk (step 6)
17. Copy/replace new "framework.jar" into your phone directory /system/framework/
18. Reboot&enjoy
 
Last edited:

trojan01

Senior Member
Aug 28, 2009
219
123
0
Adana
Tnx trojan01 it really works if you want i've made a flashable zip for stock 4.1.b.1.13 firmware,you can upload it there with all credit to you...
Tnx again
http://forum.xda-developers.com/showthread.php?p=38914703

Inviato da me!
Yes,surerly you can make flashable zip for .13 firmware... i am using 13 firmware but with all mods (magnifier glass , T lockscreen etc) so i am not using stock .13 firmware.

Your wellcome brother! Enjoy it! :)
 
  • Like
Reactions: arcatarc
Dec 21, 2012
35
3
0
V
Tnx trojan01 it really works if you want i've made a flashable zip for stock 4.1.b.1.13 firmware,you can upload it there with all credit to you...
Tnx again
http://forum.xda-developers.com/showthread.php?p=38914703

Inviato da me!
Can you do one for the . 587 ics On live walkman?
In my room, stock room, framework. Jar is almost an empty file, But i have a framework.odex file With 10 megs, is this the file that i have to extract?
 
Last edited: