Related
I've been seeing those words a LOT in recent threads.
Any detailed explanation on them please?
[search] deodex [/search]
Berzerker said:
De-odex: Apk files have respective odexes that devs use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
Click to expand...
Click to collapse
danknee said:
[search] deodex [/search]
[/I]
Click to expand...
Click to collapse
How does it matter to regular user?
donniezazen said:
How does it matter to regular user?
Click to expand...
Click to collapse
Themes mostly.
sk63 said:
Themes mostly.
Click to expand...
Click to collapse
Thanks. Are themes available in Deodex or Odex? Sorry for noob questions.
Related question also....
- Which can live with which? (Deodexed ROM + Odexed Theme? or Odexed ROM + Deodexed Theme?)
You know, like type O is universal donor and type AB is universal recipient...do these work similar or only deodexed with deodexed...?
(where is that darn wiki??)
sablesurfer said:
Related question also....
- Which can live with which? (Deodexed ROM + Odexed Theme? or Odexed ROM + Deodexed Theme?)
You know, like type O is universal donor and type AB is universal recipient...do these work similar or only deodexed with deodexed...?
(where is that darn wiki??)
Click to expand...
Click to collapse
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
donniezazen said:
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
Click to expand...
Click to collapse
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 speeds 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 apps 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.
I think that's the general idea, anyway.
sablesurfer said:
Related question also....
- Which can live with which? (Deodexed ROM + Odexed Theme? or Odexed ROM + Deodexed Theme?)
You know, like type O is universal donor and type AB is universal recipient...do these work similar or only deodexed with deodexed...?
(where is that darn wiki??)
Click to expand...
Click to collapse
You will never find an odexed theme since the odex file would contain things that needed to be changed, thus themes are deodexed. Themes basically just replace the .apk or .jar with their version, which wouldn't work on an odexed rom.
donniezazen said:
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
Click to expand...
Click to collapse
Basically, Android uses a a java based virtual machine as the bases for running programs. This virtual machine is called Dalvik. A .dex file contains the cache used by the Dalvik VM (called Dalvik-cache) for a program and is stored inside the .apk. A .odex file is an optimized version of the .dex file which gets stored next to the .apk as opposed to inside the .apk. This process is done by default to system apps. Deodexing is the process of converting the .odex files back into .dex to be stored inside the .apk so that things can be more easily modified. So a deodexed rom is one that has been through the deodexing process. Deodex can just as easily be called Unodex or any other pre-fix you wish to use.
Hopefully that cleared that up.
EDIT: Darn, beaten.
Thank you all. So...themes are deodexed. And only run on deodexed rom...got it. Meaning...I need a deodexed version of the new Froyo to keep my white Rosie. Cool.
faster3200 said:
EDIT: Darn, beaten.
Click to expand...
Click to collapse
Yeah, but you clearly know it better than I do.
if you install a de-odexed rom, will the system automatically rebuild the Dalvik cache and appropriately odex the apk's, or is this something that a dev needs to do manually beforehand? In other words, are there any disadvantages to a de-odexed rom other than an initially slower phone? will the phone eventually rebuild the cache and perform as an odexed system would?
^bump^
Same question as vinconti - will a deodexed ROM run slower than an odexed one?
Thanks
<InigoMontoya>You keep using that word. I do not think it means what you think it means.</InigoMontoya>
Thanks for the explanations, all. I just rooted my D2 but haven't done any themes yet. This helps, but only from the standpoint of I'll have to get back into flashing. I thought I left that behind when I trashed my Omnia.
I have a regular odexed ROM. I replace some of the apk+odex files by deodexed APK's, so that seems to be no problem. But I was wondering whether this would also work for jar+odex files (e.g. android.policy.jar)....
kasper_h said:
I have a regular odexed ROM. I replace some of the apk+odex files by deodexed APK's, so that seems to be no problem. But I was wondering whether this would also work for jar+odex files (e.g. android.policy.jar)....
Click to expand...
Click to collapse
If this does actually work without problems does that mean we'd only have to de-odex certain .apks rather than the whole ROM?
KrushR said:
<InigoMontoya>You keep using that word. I do not think it means what you think it means.</InigoMontoya>
Thanks for the explanations, all. I just rooted my D2 but haven't done any themes yet. This helps, but only from the standpoint of I'll have to get back into flashing. I thought I left that behind when I trashed my Omnia.
Click to expand...
Click to collapse
Thanks for the Inigo moment. You made my night.
Question to the room: Do I need this deodexing thing just to install apps and run the wifi tether (the whole reason I'm venturing into root territory to begin with)? I don't care what it looks like, I just want it to provide wifi to my soon-to-be-rooted Nook Color. Thanks in advance.
But... All I want is WiFi tethering!
lngwstx said:
Question to the room: Do I need this deodexing thing just to install apps and run the wifi tether (the whole reason I'm venturing into root territory to begin with)? I don't care what it looks like, I just want it to provide wifi to my soon-to-be-rooted Nook Color. Thanks in advance.
Click to expand...
Click to collapse
This is pretty much my question as well. This whole Odex/Deodex thing is totally frying my brain.
I'm not trying to do anything fancy, I just want to use the WiFi tether feature. Which one is good enough for just doing THAT?
keep your advice for yourself
donniezazen said:
Dear GOD,
Please come down from heaven and explain by some magic show what the hell these deodexed and odexed means?
Thank you,
A non-believer.
Click to expand...
Click to collapse
keep your advice for yourself
How to Deodex?
Not quite sure what deodexed means.... sorry for being such a noob.
No. deodexed from my understanding means that the apks and other files are "organized" so to speak. root means that you have superuser access so you can edit and change files and storage locations you normally would nit have access to. I know this all can be a bit overwhelming to start off with! And I am by no means an expert!
Sent from my SGH-T989D using XDA App
Here you go >
http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Powered by the SGSII....
ThC23 said:
Here you go >
http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Powered by the SGSII....
Click to expand...
Click to collapse
Good post! described it better than anything I could find searching through xda! Thanks!
Sent from my SGH-T989D using XDA App
Thank you both. I appreciate the help!
deodexed: APK have all their application packages put back together in one place, allowing for easy modification such as theming.
So before themeing it is essential to take a backup.
SystemUI.apk if using deodexed rom or SystemUI.apk and SystemUI.odex if using odexed.
Odexed systems are compressed and a bit less customizable than deodexed.
Now if you wanna know that your system is deodexed or not:
If you have root access, via Root Explorer or another root worthy file manager, to /system/app you can look at the file extensions and see ".apk" and ".odex" on devices which are "odexed."
What do I do if its not Odexing my ROM after I use it?
Perhaps you should read up on what Odex is.
CousinMikeyP said:
What do I do if its not Odexing my ROM after I use it?
Click to expand...
Click to collapse
Stock Android implements an odex file structure, with odex meaning “optimized” dalvik executable file. As your likely aware, Android apps on your device are packaged as .apk files. That all being said, what this means is that for pretty much all of your apks there is a corresponding odex file. This goes for the framework files in .jar format as well.
For instance, on a non-rooted phone you’ll find
system/app/Phone.apk
as well as
system/app/Phone.odex
But what exactly are these odex files?
Well, when the Android OS needs to run your apps or utilize framework components, it has to parse (read/interpret) the compressed data stored in the .apk and/or .jar files. Having an odex file structure expedites this process by utilizing another file, the .odex file, which includes only the most critical data in an uncompressed format so the Android OS can quickly interpret that important information before parsing through the rest of the data held within the compressed .apks and .jars. Therefore, not all of the components of an app or framework are present in one file in an odexed sile system. I’ll elaborate on why I stress that in a moment. The goal of this scheme is to boot up faster, and generally load applications more quickly and smoother.
Ok so what is deodex?
The odexed file structure works well as an optimization tool, except for in the case of theming. Odexed apps and frameworks present a unique problem to those wanting to theme because the aspect they want to theme is broken up into two files. Typically theming involves swapping out images for home made ones, however this is simply impossible in an Odexed environment. The solution is to DeOdex the file system and reunite all of the uncompressed critical data of an app or framework back into the compressed .apk or .jar file.
Thought that would help you alot better then just telling you to read up on it because i didnt know myself
Maybe this will give you some insight
redhooka said:
Perhaps you should read up on what Odex is.
Click to expand...
Click to collapse
+1
---------- Post added at 07:27 PM ---------- Previous post was at 07:13 PM ----------
redhooka said:
Perhaps you should read up on what Odex is.
Click to expand...
Click to collapse
CousinMikeyP said:
What do I do if its not Odexing my ROM after I use it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/forumdisplay.php?f=1104
XoCareBear3417 said:
+1
---------- Post added at 07:27 PM ---------- Previous post was at 07:13 PM ----------
http://forum.xda-developers.com/forumdisplay.php?f=1104
Click to expand...
Click to collapse
:banghead: y in the hell does ur op get thanked. This one gets a +1. And mine gets over seen. Wft is going on here? I think I got it now... imma keep n eye out for Thanx boosting. Haha
Sent from my SGH-T999 using xda premium
nardone24 said:
:banghead: Y in the hell does ur op get thanked. This one gets a +1. And mine gets over seen. Wft is going on here? I think i got it now... Imma keep n eye out for thanx boosting. Haha
sent from my sgh-t999 using xda premium
Click to expand...
Click to collapse
+1 wondering the same thing!
I just deleted the system ui odex file for the 14 toggles mod, and I was wondering if anything negative will happen if I remove all of them, and what the benefits of doing so are. I realize there are deodexed roms out there, but I'm not sure of what that does.
Sent from my SGH-I927R running stock ICS
MorrowindFan said:
I just deleted the system ui odex file for the 14 toggles mod, and I was wondering if anything negative will happen if I remove all of them, and what the benefits of doing so are. I realize there are deodexed roms out there, but I'm not sure of what that does.
Sent from my SGH-I927R running stock ICS
Click to expand...
Click to collapse
in .odex files some apps are outsourcing libraries and other stuff.
so it seems no good idea to simply delete them
Source: http://www.droidwiki.de/DEODEXED (german)
Alright. Thank you!
Sent from my SGH-I927R running stock ICS
Hello! im new around here and will ask a question about ROM, im confused about deodexed an odexed roms, what does it means? Thanks in advance!
vandyk92 said:
Hello! im new around here and will ask a question about ROM, im confused about deodexed an odexed roms, what does it means? Thanks in advance!
Click to expand...
Click to collapse
ODEX FILE?
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
THEN COMES DEODEX
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.
Source Google
So:
Odex = +speed -customization
Deodex= -speed +customization
As ROM users, should we care only about odexed ROMs? Does odex affect stuff like using titanium backup?
Sent from my MK16i using xda app-developers app
Y u no post in correct section?
Kishoke said:
ODEX FILE?
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
THEN COMES DEODEX
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.
Source Google
************************************************** ************* Hit Thanks if I helped You ************************************************** ***************
Click to expand...
Click to collapse
So the point is we can install roms with odex or deodex files,
Honestly first i did its hit thanks for ur reply,
Sent from my HTC EVO 4G using xda app-developers app
sukhjit321 said:
Y u no post in correct section?
Click to expand...
Click to collapse
Well, i think its correct to post question like this in this section,
However, u can move/delete this thread if u responsible to this,
Sent from my PC36100 using xda app-developers app