Are you done modding that custom rom to your desires and want to perform the final touches on it such as speeding it up? Now you can easily do that thanks to a very simple odexer script developed by MatrixDJ96 from xda-developers forums.

This procedure is a must if you plan on speeding up your phone, such as gaining a faster boot process, gaining a bit more free space and most importantly, removing some lag while using the system apps.

Basic explanation:

Odexing your rom has it's positive and negative sides. Odex files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application which is a good thing, but the bad thing is that it makes it more difficult to modify a system apk like you would do it on a deodexed rom. Best is to modify the custom rom to your needs and when you feel there is no work at all left to do, odex it.

Download script - Click here.


  1. Download the zip file to your sdcard
  2. Boot into CWM Recovery and flash it
  3. Reboot your phone
  4. Now open up the Terminal Emulator app which should be in your app drawer
  5. Type in su - it will then give you a popup to grant it superuser access, allow it.
  6. Now type in dexo -h which should display a list of commands
  7. It is recommended you just type in dexo -all which odexes your rom completely (WARNING: Requires free space in system partition, mostly recommended on a rom that has most bloatware removed!)
  8. After the process is done, you may find your statusbar missing and whatnot, just reboot your phone and everything should be back to normal, oh, and your rom should be odexed.
If you are having issues, you may watch the video guide and demonstration below.

Video and demo:

Source: XDA Developers



  1. is this working on galaxy ace 2

  2. i can not use this in Lenox Rom... i installed the script but in terminal emulator i can not type anything..what do i do... is there a possible solution in my problem..pls help

  3. ''preloaded-classes' Not Found! Odex Not Possible For This Rom'' what do you mean by this

  4. Thats the probl that i do not know .. i also tried it in hyperion . Same message i get .. hehe

  5. he he ok thanks again ... in minis3 rom is working

  6. After installing Terminal Emulator , I type 'su' it gives me a popup to grant it superuser access. I allow it but when I type dexo -h in the next step , it says 'not found'. Help!