As our mobile devices grow faster and faster with each passing generation, more people opt for the convenience and ease of customization of deodexed ROMs rather than the (theoretical) speed advantages of odexed ROMs. While we aren’t here to debate the merits of either stance, some people still prefer to use Odexed ROMs. That said, those wishing to learn more about the pros and cons of each should visit XDA Recognized Contributor philos64 excellent information thread.
What do you do once you’ve determined that you want to Odex your ROM and you are away from your computer? XDA Senior Member MatrixDJ96 created a simple recovery-flashable script that does this for you from the comfort of your device. The tool does one thing, and it does it well: odex your device’s ROM.
To get started, visit original thread and give this a whirl in any custom recovery. Just remember to please make a full nandroid backup before you get started. This is useful both if something goes wrong, as well as if you decide you wish to revert to your ROM’s previous state.