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

Root Deodexing questions

xaelith

Android Enthusiast
I have a few questions about (de)odexing that I'm hoping the wonderful and talented devs and other people in-the-know will be able to help me with.

I understand that deodexing is essentially (in the most basic terms) re-packaging the .apk and .odex files of a particular app back into an all-inclusive .apk.

What I'm wanting to know is where does the .odex come from to begin with? Is it included when an app is downloaded from the market, or does it get created by something else? If it's created, then by what? If I were to deodex my little stock ROM project, what would keep it from being re-odexed? If I deodex a stock ROM, will apps I install from the market need to be deodexed as well, or how do I prevent them from needing it? Or is the phone "smart" enough to keep from odexing the newer apps since nothing else is odexed?

Sorry for the barrage of questions, and please feel free to ask for clarification if needed. I'm not sure why, but my brain's feeling a little fried at the moment, so I know I'm not getting my thoughts across quite as clearly as I would like. And thanks in advance for any and all insight to these questions. :)
 
Back
Top Bottom