Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,360 Members 48,673 Now Online
XDA Developers Android and Mobile Development Forum

Odex vs DeOdex

Tip us?
 
RTC88
Old
#1  
Senior Member - OP
Thanks Meter 13
Posts: 194
Join Date: Jul 2010
Default Odex vs DeOdex

I have researched a little bit on the subject, but I am still confused about the purpose of DeOdexing. Correct me if I am wrong, but doesn't DeOdexing decompile apks and allow for modification of apks? Why do some roms use a deodex while other use the default odex?

Also more importantly, if I were to flash a deodex rom, could I revert back to odex if I were to make a nandroid backup (prior to flashing) and restoring from the backup (or does this make a permanent change in the file structure)?

Sorry if I am way off basis on my interpretations of odex vs deodex, but this is all new to me.

Thank You,

RTC
 
amw2320
Old
#2  
Member
Thanks Meter 5
Posts: 48
Join Date: Jun 2010
Pretty sure I know this...

Deodexed ROMs allow the developer to more easily customize the phone interface.

For example, if you want to change icons or application configuration files. They are not packaged up in a deoxed rom. This allows them to be edited after the ROM is distributed.

There are alot of rom modifications that can only be flashed overtop of a deoxed rom. This is because they need to edit the system files that are packaged in a odex rom. This is where you have to pay attention.

You should not have to do a nandroid backup to flash between odexed and deodexed roms. When you flash a rom you are basically overwriting the system. A nandroid backup is probably overkill, but it will definitely work. The more nand bakups the better.
The Following 2 Users Say Thank You to amw2320 For This Useful Post: [ Click to Expand ]
 
WarDrake
Old
#3  
WarDrake's Avatar
Senior Member
Thanks Meter 126
Posts: 149
Join Date: Apr 2011
Location: Guatemala
Quote:
Originally Posted by amw2320 View Post
You should not have to do a nandroid backup to flash between odexed and deodexed roms. When you flash a rom you are basically overwriting the system. A nandroid backup is probably overkill, but it will definitely work. The more nand bakups the better.
he doesn't want to flash, quite the oposite he wants to NOT flash.

and yes, you can, while you deodex your phone, your original apks and it's odex files can be backed up, in fact it's a sugested step if not required, you can use those files later to restore your odexed apks.
 
Khilbron
Old
#4  
Khilbron's Avatar
Senior Member
Thanks Meter 119
Posts: 558
Join Date: Oct 2010
Location: Franklin, TN
Quote:
Originally Posted by WarDrake View Post
he doesn't want to flash, quite the oposite he wants to NOT flash.

and yes, you can, while you deodex your phone, your original apks and it's odex files can be backed up, in fact it's a sugested step if not required, you can use those files later to restore your odexed apks.
Holy freaking necro, can people not read post dates, this thread is from july, around the time the evo was first released.

Sent from my Evo 4G using Tapatalk
If I have helped you please click Thanks!
Quote:
Originally Posted by jerdog View Post
This is XDA-Developers, not XDA-Please-Hold-My-Hand-Because-I-Can't-Read-And-Figure-Things-Out-For-Myself.
Current Phone: Black HTC One | Root Method: N/A
Rom: Stock
Kernel/Recovery: Stock / Stock

Device History:
Samsung Galaxy S3
HTC Evo LTE
Samsung Galaxy S2
HTC Evo 3D
HTC Evo 4G
HTC Hero
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes