To Odex or Deodex? That is the question. Depending on whom you ask, each option is preferable to the other. In reality, both have their own unique pros and cons. While a Deodexed ROM will undoubtedly be much more receptive to customization, an Odexed ROM may feel a little snappier under certain circumstances. If you're not already familiar with the difference between the two, check out XDA Elite Recognized Developer Adam Outler's comprehensive explanation.

As I've already mentioned, Deodexing a ROM makes it much easier to customixe, and many themes simply will not work on an Odexed ROM. Making modifications to an Odexed file requires a tedious and time consuming process of Deodexing, modifying, and then Reodexing. XDA Recognised Developer M_J_Nazari has come up with an ingenious little script that should help to make this a thing of the past. To sum it up as simply as possible, it allows you to use Deodexed files with an Odexed framework by automatically converting them for you.

Simply place the edited files into the appropriate folder and run the script. The files will then be pushed to the device, and you can check the results from the log file. The tool currently only works with framework JAR files, but will no doubt help to save a great deal of time for those who need it. Check out the original thread for more information.