What does "odex" mean?


Last Updated:

  1. Sprockethead

    Sprockethead Well-Known Member This Topic's Starter

    Joined:
    Apr 29, 2010
    Messages:
    291
    Likes Received:
    13
    As in odexed or deodexed? Have mercy, I'm a n00b.

    Later!
     

    Advertisement
  2. Vakman

    Vakman Well-Known Member

    Joined:
    Apr 4, 2010
    Messages:
    120
    Likes Received:
    14
  3. Sprockethead

    Sprockethead Well-Known Member This Topic's Starter

    Joined:
    Apr 29, 2010
    Messages:
    291
    Likes Received:
    13
    I appreciate the effort, but no that does not really help. The person on that thread basically said "it's when a developer changes an android application." While I do get where the poster is coming from, I kind of assumed that a deodexed file would be somehow "changed."

    What I'm trying to figure out is what the difference between an odexed file and a deodexed file is. If deodexed is "changed," then does that mean that odexed is "unchanged" or "stock?"

    There must be a definition of an odex file somewhere, but I cannot seem to find it. An odex file is ___________. A ROM that is de-odexed means that the odex files are removed. That is as far as I've gotten so far.
     
  4. Vakman

    Vakman Well-Known Member

    Joined:
    Apr 4, 2010
    Messages:
    120
    Likes Received:
    14
    "Odex vs Deodex
    Theres plenty of debate over what is faster/better to use, im not going to take sides in this one. This is just information about what the differences in the two are, try for yourself.

    Deodex basically takes the odex file and stuffs it into the apk as a classes.dex. First boot it dissembles the file into /dalvik-cache (i believe). Now there is basically 2 copies of the odex, one in the apk one in cache. This makes it "portable". This allows modders to work on the apks & easily change stuff. If you want themes or stuff like lockscreen fixes you MUST use Deodex.

    Odex is how things come stock. It takes up less room but making modifications or taking apks from other roms is hard. You cannot use themes with this version!! To see odex in dcupdater you must go to menu -> configuration -> rom update settings -> display all roms & display experimental roms. Its marked experimental to avoid confusion because themes in dcupdater will not work with it.

    Odex - 374 MB free after fresh wipe without setting sync accts up
    Deodex - 329 MB free after fresh wipe without setting sync accts up"

    This is the best explanation possible and it is posted by TrevE over on the xda dev forums.
     
  5. M4gicM@

    M4gicM@ Member

    Joined:
    May 2, 2010
    Messages:
    15
    Likes Received:
    11
    Odex stands for Optimized DEX. This is just the machine compiled version of the classes.dex file.

    To get from the odex version to classes.dex the term deodex is used.
     
    gratefulme, rsjet and Sprockethead like this.
  6. M4gicM@

    M4gicM@ Member

    Joined:
    May 2, 2010
    Messages:
    15
    Likes Received:
    11
    ODEX stands for Optimized DEX. Simply put it is the native compiled version of classes.dex.

    Deodexing is the process of reversing the odex back to classes.dex.

    this and the above post may answer all your questions.
     
    Sprockethead likes this.
  7. Sprockethead

    Sprockethead Well-Known Member This Topic's Starter

    Joined:
    Apr 29, 2010
    Messages:
    291
    Likes Received:
    13
    ^^ Aha! So somebody does know the answer after all. Thanks for your response!
     
  8. thinkmega

    thinkmega New Member

    Joined:
    Jul 16, 2010
    Messages:
    2
    Likes Received:
    0
    I am a newbie too!

    How odex are produced? What tools to create these files?
     

Share This Page

Loading...