1. Check out our app, Forums for Android! Download and leave feedback here!

odexed vs deodexed

Discussion in 'Android Devices' started by oOMavrikOo, Nov 13, 2010.

  1. oOMavrikOo

    oOMavrikOo Well-Known Member
    Thread Starter
    78

    Aug 30, 2010
    836
    60
    78
    what's the difference?
     

    Advertisement

  2. DonB

    DonB ♡ Spidey Sense !! ♡ ™
    Moderator
    1,423

    Nov 30, 2009
    19,317
    7,961
    1,423
    Male
    18th Hole Of the Golf Course
    C&P

    from a post on XDA..

    Deodexed ROMs have their .apk's (which are basically the application packages) repackaged in a certain way. An "odex" can be thought of as a collection of parts of applications that have been pulled out and optimized before booting. This up the boot process - in a way, it preloads part of the applications - but it also makes hacking those apps difficult because part of the original code is already extracted somewhere else.

    Deodexing is just a process of putting those pieces back into the original applications. It takes a while to extract those parts and build the .dex cache (aka Dalvik cache), but only because the relevant parts aren't in an easy-to-access place for the system. The advantage of this is that an app can be modified effectively and the developer doesn't have to worry about conflicts from the separate odex part of the code.

    So, short version: "Deodexed" ROMs have all their put back together. If an app can be themed, for example, a deodexed version of that app will not get messed up when the modified .apk tries to mesh with the odex of the original un-modified .apk. Because it's not there.

    If you want an aftermarket theme, you need a deodexed ROM. I'm not sure if deodexing can be done to individual apps within a non-deodexed ROM.


     
    andygu3 likes this.
  3. andygu3

    andygu3 Well-Known Member
    313

    May 24, 2010
    4,699
    2,081
    313
    Lewis Center, OH
    Google it:p Oh, DonB already did the work for you:cool:
     
Tags:

Share This Page

Loading...