How To Re-odex Android Rom

How To Re-odex  Android Rom

How To Reodex Your Android Rom

How To Reodex Your Android Rom

For those who are into custom roms and android modding should know it by now what odexed and deodexed roms are if not here’s a quote from xda developers

What is ODEX ?

In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These 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. On the other hand, it also makes hacking those applicationsdifficult because a part of the coding has already been extracted to another location before execution.

What is DEODEX ?

Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating theworry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity. So:
Odex = +speed -customization
Deodex = -speed +customization

In A few Words odex roms give you:

  • more space in data partition
  • increased battery life
  • more stability
  • Faster boot times
  • increased perfomance
  • since the odex files are optimized dex they will load faster as compared to deodexed roms
  • you loose the ability to theme your android although you can deodex modify and re-odex them


How To Re-odex Your Android Rom

clockwork mode micromax A52

MatrixDJ96 Over at xda developers  has created a universal odexing script which seems to be running on almost all devices you can re-odex android rom just in a few steps using this script.

How to re-odex:

– download zip file from original xda thread here
– go to recovery
– install zip
– reboot
– open terminal emulator (will be installed automaticaly) Or you can use adb shell ( which i used)
– type su to obtain room permission
– type dexo -h to show possible commands for your phone
– type dexo -one of the option that you have decided

– wait for script to run it will  Re-odex Android Rom and reboot


To Odex Bootstrap (Command ‘dexo -bs’) You Must Have At Least 5% Of Free Space In System.
To Odex Framework (Command ‘dexo -fr’) You Must Have At Least 10% Of Free Space In System.
To Odex System Apps (Command ‘dexo -sys’) You Must Have At Least 20% Of Free Space In System.
To OdexPreload Apps (Command ‘dexo -pa’) You Must Have At Least 25% Of Free Space In Preload





Original Discussion Source

You may also like...

Free WordPress Themes