Modify java code in framework.jar
<p>My stock rom on my phone has issues with MVNO's (mobile virtual network operator). Basically this means that my data connection only works when Roaming. This is a know issue that has already been fixed on several roms (but not on mine).</p>

<p>To fix this I would like to modify the source of the framework.jar file (<code>/system/framework/framework.jar</code>), more specific the file : <code>/com/android/internal/telephony/gsm/GsmServiceStateTracker.java</code></p>

<p>To start I will list the steps I have take to show you where I'm stuck at the momoment:
I have fully deodexed my stock rom, both the JAR files and the APK files in both /system/framework/ and /system/app</p>

<ul>
<li>I have downloaded the deodexed framework.jar file and extracted the
classes.dex file from it</li>
<li>I have decompiled the classes.dex file using baksmali to end up with
several *.class files</li>
<li>I have converted these *.class files to a .jar file using
<a href="http://code.google.com/p/dex2jar/" rel="nofollow">dex2jar</a></li>
<li>I have unpacked opened this jar file using <a href="http://java.decompiler.free.fr/?q=jdgui" rel="nofollow">jdqui</a> to end up with
several *.java files</li>
</ul>

<p>This is where I'm stuck, I need to figure out how to edit the java file I want and end up with a working framework.jar again that I can upload to my phone.</p>

<p>Am I doing this the wrong way? Any other way to resolve my issue? I hope to get some help from people who have experience in doing this...</p>
