[Sprint Samsung Galaxy S III] crawrj:
First of all I want to thank StrongSteve for being the one who helped me learn how to Odex way back on the olden S2 with gingerbread :)

OK so let's get started. I am not positive if this is necessary but I have been doing it this way since I started Odexing. If you have multiple jar files that you are going to Odex follow the bootclass order when Odexing.

Remember to make a backup first just in case.

What you need. You will need the Deodexed files that you want to Odex, custom recovery, ADB (attached if needed), an Odexed rooted Rom that you want to use your mod on, busybox and the attached dexopt-wrapper.

The below is an example. You will replace the text marked in red with the actual jar that you want to Odex.

What I do is make a folder called Odexed on the root of my internal storage

I keep the dexopt-wrapper file on the root of my internal storage

Copy the Deodexed files that you want to odex into the Odexed folder

Do a nandroid backup of your phone

Make sure you are rooted

Make sure your phone has usb debugging enabled

Attach your phone to your computer

Open a command prompt and go to the adb folder

Type adb shell

Type su (check your phone to see if it is asking for permission and allow it if so)

Enter the following commands

mount -oremount,rw /dev/block/mmcblk0p14 /system

cp /sdcard/dexopt-wrapper /system/xbin

cp /sdcard/odexed/core.jar /system/framework

dexopt-wrapper /system/framework/core.jar /system/framework/patched_core.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar

chmod 777 /system/framework/core.odex

chmod 777 /system/framework/patched_core.odex

busybox dd if=/system/framework/core.odex of=/system/framework/patched_core.odex bs=1 count=20 skip=52 seek=52 conv=notrunc

cp /system/framework/patched_core.odex /sdcard/odexed/core.odex

rm /system/framework/patched_core.odex

If you are odexing other files repeat the process starting from step 14

Once all of the Jar files are done you can Odex any apk files that you have. Note: framework-res.apk was never odexed so you can just skip that file.

For apks you only need to run this command dexopt-wrapper sdcard/odexed/SystemUI.apk sdcard/odexed/SystemUI.odex replacing SystemUI with the apk name that you are Odexing

Now copy all of the files from the Odexed directory on the phone to your computer

Open each of the jar and apk files with a program like winrar and delete the classes.dex file

Copy the files back into the respective folders on the phone, apps into system/app and framework into system/framework

Alternatively you can take the original theme zip and replace the files with the ones you just created including the odex files and flash in recovery. *Probably the best way to do it

If you have any questions or issues let me know and I will try and help you out. Good luck and let us know how it goes either way.