ragazzi una domanda ma cosa significa e quali sono le differenze tra le rom Odexed e Deodexed?
Visualizzazione stampabile
ragazzi una domanda ma cosa significa e quali sono le differenze tra le rom Odexed e Deodexed?
Le deodexed in teoria dovrebbero acquistare qualcosa in termini di velocità in quanto tutti i file .odex delle applicazioni non ci sono più e dovrebbe essere anche più piccola come dimensioni.
veramente io sapevo il contrario!
Generalmente le Odex hanno una gestione della memoria e velocità migliore proprio appunto per via degli odex.
I cuochi non usano quel metodo perchè aumenta di moltissimo il lavoro su una ROM. Il primo esempio che mi viene in mente, la ROM di Leomar inizialmente era Odex e si avviava in mezzo secondo, poi ha abbandonato quel concetto e anche se è fuidissima e velocissima all'avvio è parecchio lenta!!
Almeno questo è quello che ho capito io...
ehehheeh certo è che abbiamo tutti le idee chiarissime in merito ... :D
ecco una buona spiegazione molto semplice anche se in Inglese (non è difficile da capire):
Odex:
Every android application comes with the extention '.apk'. Packaged with every apk is a .odex file which contains parts of the application which helps speed up the boot process and preloads it.
an odex file is an optimized version of a classes.dex file that has optimizations that are device specific. In particular, an odex file has dependencies on every "BOOTCLASSPATH" file that is loaded when it is generated. The odex file is only valid when used with these exact BOOTCLASSPATH files. dalvik enforces this by storing a checksum of each file that the odex file is dependent on, and ensuring that the checksum for each file matches when the odex file is loaded.
Deodex:
Deodexing is a way of repackaging the apk such that it is reassembled into the classes.dex file. Everything is put together in one place, and this is helpful because it eliminates any chances of a modified apk conflicting with other odexed parts.
to deodex a file using baksmali, it has to load every BOOTCLASSPATH file that the odex depends on. By default, baksmali will try to find the 5 "core" BOOTCLASSPATH files in the current directory. It can use either a jar/apk (with a classes.dex inside), or an odex file
So to sum up everything, a .dex file contains the cache used by Dalvik VM during boot and this .dex file is located inside the application. On the other hand, .odex file is an optimized version of the same .dex file but it is located outside the application.
sposto in sezione adatta...