Wednesday, 13 June 2012

[Android Lessons002]What is Deodexed & Odexed

Leave a Comment

Deodexed vs Odexed


Most of custom rom available is deodexed rom while our stock rom is half deodexed rom. 
Mostly every app in android consist of three part, *apk files, *dex/odex files, and lib files.


Odexed


ODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in same folder with the apk files (/system/app). 


Simply,The ‘odex’ files are  collections of parts of an application which are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application


Benefits: 
1.More stable
2.Consume less internal memory 
3.Execute faster. 
4.Makes hacking applications difficult because a part of the coding has already been extracted to another location before execution.

Demerits:
 1.It makes the app uncostumisable (cannot apply custom themes) and need more space in system partition.




Deodexed 



DEODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in /data/dalvik-cache. 


Simply,Deodexed  have all their application packages put back together in one place, allowing for easy modification such as theming


Benifits:
1.The app can be themed (full customizable) and consume less system partition. we could put more app in /system/app in deodexed rom. 


Demerits:
1.It consume a lot of internal memory. 
2.The system also might a little bit slower since the system need to build a lot of dalvik-cache when the phone start. 


Summary::
For normal user, the main importance is  theming.If you want to modify any of those, you should always choose a dedoexed custom ROM.

0 comments:

Post a Comment