• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root What does "odex" mean?

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.
 
Upvote 0
"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.
 
Upvote 0
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.

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.
 
Upvote 0
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.

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.
 
  • Like
Reactions: Sprockethead
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones