[Galaxy S III General] majin:
Method n. 1

[size=+1]Method n. 1 : Editing the "framework-res.apk" from DoCoMo SC-03E ROM.[/size]​

1. Flashing

Flash the aki0306 Rooted Stock ROM on your phone by the ODIN tool (there are thousands of guides about how to use it).

[N. B. after flashing this ROM, the “Download Mode” will display: that your phone has a “CUSTOM” ROM on board

Custom binary Download: No

Current binary: Samsung Official

System Status: Custom

(look here)]

2. On your Phone.

Go in Settings-Developers Options... Enable.

Enable USB debugging.

Then on Settings-Security, enable “Unknown sources” to let unsigned apps.

At this point, from Google Play, install on your phone the free apps:

SuperSU,

Root Browser Lite

ServiceMode Shortcut.

Install SuperSU, Open, Continue, Normal (to and let it install the SU binary).

Install Root Browser Lite.

By "Root Browser Lite" navigate to “\system\framework” and copy the system file “framework-res.apk” from there to your SD Card.

When the pop-up comes, grant to Root Browser Lite the permissions by SuperSU.

Then Cut and Paste “framework-res.apk” from the SD Card to your PC.

3. On your PC, download and install.

Download and install with default settings Java Development Kit (JDK).

Then, set the Environment Variables Paths [Go to Start, search for “Environment”, choose “Edit Environment Variables for your Account”.

Edit 'PATH,' and 'CLASSPATH.' (If you don't have them, just add them, and name them PATH and CLASSPATH)

For PATH, give as the Variable Value: C:\Program Files\Java\jdkXXX\bin; where XXX is the JDK version.

For CLASSPATH, give as the Variable Value: "C:\Program Files\Java\jdkXXX\jre\lib; where XXX is the JDK version)].

Download and install Notepad++.

Download and unzip somewhere APK Manager / APK Multi-Tool.

4. Edit “framework-res.apk” with APK Manager.

Go where you unzipped APK Manager and set the folders for working (\APK-Multi-Tool\Setup.bat, 3, Enter).

Then copy “framework-res.apk” from the place you saved it to the place-here-for-modding folder.

Then...

Script.bat, Enter, 24 (set current project), Enter, 1 (framework-res.apk), Enter, 9 (Decompile apk), Enter.

Wait for it complete.

Then go to

\APK-Multi-Toolv1.0.11\APK-Multi-Tool\projects\framework-res.apk\res\values

searching for the file strings.xml.

Open “strings.xml” with Notepad++ and edit the line number 57.

Changing the a part of the code from

docomo_hotspot,dcmtrg.ne.jp,,,,,,,,,440,10,,default,supl

to

docomo_hotspot,YOUR_APN,,,,,,,,,YOUR_MCC,YOUR_MNC,,YOUR_APN_TYPE

following the rule

NAME,APN,PROXY,PORT,USER_NAME,PASSWORD,SERVER,MMSC ,MMSPROXY,MMS_PORT,MCC,MNC,AUTHENTICATION_TYPE,APN _Type

Using the APN settings from your provider, but KEEPING docomo_hotspot at the first place (!).

Then, save.

Then, go back to Script.bat.

Select 11 (Compile System APK Files).

Enter.

Select “y”.

Then wait and DON’T PRESS Enter.

Then go in \APK-Multi-Tool\keep

There delete the file “resources.arsc”.

Then, go back to Script.bat window and I press “Enter”.

At the end of the process, go to

\APK-Multi-Toolv1.0.11\APK-Multi-Tool\place-apk-here-for-modding

You will find the file “unsignedframework-res.apk”.

Move the file “unsignedframework-res.apk” somewhere and rename it in “framework-res.apk”, then copy it into the Phone’s SD Card.

5. Overwrite the original “framework-res.apk”.

On the phone, using Root Browser Lite Copy and Paste that modified “framework-res.apk” from the SD Card to “\system\framework” folder and overwrite the original one.

It will need some time, in the meanwhile you will see some error messages.

Don’t worry and wait for the message about the complete overwriting.

Then restart the Phone.

If everything is gone in the right way, the Phone will reboot normally.

(In any case, if the phone goes in boot-loop, start the phone in “recovery mode” and perform a factory reset).

6. Checking the APN on Tethering.

Switch on the Wi-Fi Tethering then launch “ServiceMode Shortcut”.

Select ServiceMode->Docomo Debug Screen->PND information.

You should see the APN you did set in the XML file before.