Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
krypthon
Old
#2931  
krypthon's Avatar
Member
Thanks Meter 7
Posts: 46
Join Date: May 2012
Sorry for me noob questions, but What diference have Deodex and Odex?
 
sbdags
Old
#2932  
sbdags's Avatar
Recognized Contributor - OP
Thanks Meter 5006
Posts: 4,389
Join Date: Jun 2007
Location: Kenilworth, Coventry

 
DONATE TO ME
Quote:
Originally Posted by krypthon View Post
Sorry for me noob questions, but What diference have Deodex and Odex?
Technically?

Quote:
Originally Posted by _that View Post
There is actually not that much difference between an odexed or deodexed ROM. The short story is this:

The Dalvik VM (that runs Android apps) needs the program code that it executes in a certain pre-optimized format. Whenever you install a new app, this pre-optimization runs automatically - it extracts the code from the apk file, optimizes it, and stores the result in the "dalvik-cache". The file in the dalvik-cache is subsequently used whenever you run the app. These optimized files depend on the specific version of the system framework, so they must be regenerated when you update the ROM.

For a deodexed ROM, this pre-optimization runs for the system framework and for all system apps on the first start (you see the progress bar when Android is optimizing apps), and the result is stored in the dalvik-cache, the same as for normal user apps.

In an odexed ROM, the pre-optimization step for the system framework and system apps is already done by the ROM author: the files that would be generated into dalvik-cache are already shipped with the ROM - these are the *.odex files. Since the code is already stored in an optimized form in the ROM, the unoptimized version is removed from the apk files.

That's it. A deodexed ROM is easier to modify (because apps are self-contained); an odexed ROM uses a bit less storage on the data partition (because dalvik-cache does not need to include files for system apps) and starts up faster the first time after flashing. The code that is actually executed when you run applications is identical in both versions.
Practically - Odex should be more stable whilst deodex is seen to be faster benchmarks in my experience. The difference is hardly noticeable.

If unsure go with Odex.
----------------------------------------------------------------------------------------------------------------------------------------------------------
ASUS Pad Transformer Infinity TF700
[ROM] CleanROM Inheritance TF700 | [ROM] CleanROM Inheritance TF300

ASUS Google Nexus 7
[ROM] CleanROM Inheritance Nexus 7

HTC One X White
ARHD Rom

Please Donate Here to support CleanROM Inheritance Development
The Following 3 Users Say Thank You to sbdags For This Useful Post: [ Click to Expand ]
 
jtrosky
Old
#2933  
Senior Member
Thanks Meter 799
Posts: 3,070
Join Date: May 2008
Default Re: [ROM][17 Feb]★★CleanROM Inheritance 3.3 | JB 10.4.4.25 | ODEX/DEODEX | New Kernel

Quote:
Originally Posted by sbdags View Post
Right I found the problem with the greyed out power saver settings It's the odexing that does it. Presumably the Asus Setting APK or associated shouldn't be odexed. I will check how Asus handle this and supply a patch
So does this mean that only the deodexed version has the issue?

Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
 
sbdags
Old
#2934  
sbdags's Avatar
Recognized Contributor - OP
Thanks Meter 5006
Posts: 4,389
Join Date: Jun 2007
Location: Kenilworth, Coventry

 
DONATE TO ME
Quote:
Originally Posted by jtrosky View Post
So does this mean that only the deodexed version has the issue?

Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
Nope it means if you have a clean install of odex you definitely have the issue but reflashing deodex seems to fix it. It seems that odex is also OK if you have come from deodex. (Possibly needs more testing)

The issue is that the odexed version of the transformer.apk somehow is wiping data/data/com.asus.services

I'm still looking at how to patch the fix effectively.
----------------------------------------------------------------------------------------------------------------------------------------------------------
ASUS Pad Transformer Infinity TF700
[ROM] CleanROM Inheritance TF700 | [ROM] CleanROM Inheritance TF300

ASUS Google Nexus 7
[ROM] CleanROM Inheritance Nexus 7

HTC One X White
ARHD Rom

Please Donate Here to support CleanROM Inheritance Development
 
pjc21
Old
#2935  
Senior Member
Thanks Meter 360
Posts: 325
Join Date: Mar 2012
Location: Melbourne

 
DONATE TO ME
Quote:
Originally Posted by sbdags View Post
Nope it means if you have a clean install of odex you definitely have the issue but reflashing deodex seems to fix it. It seems that odex is also OK if you have come from deodex. (Possibly needs more testing)

The issue is that the odexed version of the transformer.apk somehow is wiping data/data/com.asus.services

I'm still looking at how to patch the fix effectively.
Not so sure it's an odex issue, have you tried flashing the stock transformer.apk. When using the modified transformer (no dock notification) my power saving settings are greyed out but when switch back to stock transformer power saving menu is fine. I also think this is why the f/c issue with color theme mod does not happen on modified transformer as the "dockmanagementservices" does not seem to run at all with modified transformer and that is where the f/c issue occurs on stock transformer.
Asus Transformer TF300T
Rom: CROMi-Xenogenesis 4.2
Mod: Color Theme Mod
Mod: Easy Custom Battery Mod
Mod: Easy Custom Lockring Mod
Please take a minute to sign this PETITION for NVflash on Jellybean Bootloader
 
lucius.zen
Old
#2936  
lucius.zen's Avatar
Senior Member
Thanks Meter 231
Posts: 279
Join Date: Sep 2012
Location: Halifax

 
DONATE TO ME
Quote:
Originally Posted by sbdags View Post
Right I found the problem with the greyed out power saver settings It's the odexing that does it. Presumably the Asus Setting APK or associated shouldn't be odexed. I will check how Asus handle this and supply a patch

I hate all these patches in 3.3 now My perfectionist side is flipping out so will probably release a super patch to 3.3.1
+1 for perfectionism, perfectionists will take over the world lol. Great work on the patches so far, i havent needed any but they have been up really quick.

Would it be possible to roll out a custom dpi fix for google play services in 3.3.1?
 
johnzoids
Old
#2937  
Senior Member
Thanks Meter 10
Posts: 130
Join Date: Aug 2008
Location: Portsmouth
Default Re: [ROM][17 Feb]★★CleanROM Inheritance 3.3 | JB 10.4.4.25 | ODEX/DEODEX | New Kernel

Quote:
Originally Posted by lucius.zen View Post
Just got the LG Optimus G, very nice so far, development is just starting to really pick up too, which is cool, its been out 2.5 months. Best mobile processor atm (same as Nexus 4), highest ppi other than iphone, and has performed better in durability tests than the note 2 and iphone 5.

---------- Post added at 12:45 AM ---------- Previous post was at 12:39 AM ----------



This actually totally worked, which is really wierd because i completely cleared the playstore and play services, uninstalled them, and reflashed CROMI 3.3 and it didnt fix it. It is very strange that clearing the data/cache worked, all my apps are now showing up in the "installed apps" page. Thanks for the fix im glad to keep 180 dpi, its sweet.

when i was on 180 dpi with a clean install i could not install facebook and amazon for some reason, btw i still cant install amazon even though im back on the 240 dpi ..any suggestions..



Sent from my ASUS Transformer Pad TF700T using XDA Premium HD app
 
lartomar2002
Old
(Last edited by lartomar2002; 20th February 2013 at 01:21 AM.)
#2938  
lartomar2002's Avatar
Senior Member
Thanks Meter 45
Posts: 763
Join Date: Mar 2011
Location: Near Kennedy Space Center, Florida
Quote:
Originally Posted by sbdags View Post
Right I found the problem with the greyed out power saver settings It's the odexing that does it. Presumably the Asus Setting APK or associated shouldn't be odexed. I will check how Asus handle this and supply a patch

I hate a these patches in 3.3 now My perfectionist side is flipping out so will probably release a super patch to 3.3.1
I am using the odexed 3.3 and_that's stock kernel have also used his 1.5-1.8 and I do not have any problems with the power settings being greyed out. Whenever I change the settings which ever one I choose is highlighted. They are greyed out until I choose, is that not normal? Am I not talking about the same thing as everyone else? It is the power settings in notifications, correct? I did not come from a deodexed rom.
Asus Transformer Infinity TF700T-CROMi-Xenogenesis 4.3 Final
Viewsonic G Tablet-SmoOth Bean 4.1.2
Acer Iconic a100 Rooted and bootloader unlocked stock ICS
Ainol 7 Advanced
http://www.xbmchub.com/forums/forum.php
Nothing left in my right brain, nothing right in my left brain
 
Thibor69
Old
#2939  
Thibor69's Avatar
Senior Member
Thanks Meter 130
Posts: 552
Join Date: Feb 2010
Location: Scottsdale - AZ

 
DONATE TO ME
Quote:
Originally Posted by krypthon View Post
Sorry for me noob questions, but What diference have Deodex and Odex?

Extra Extra .....Read all about it.

Deodexing Explained & How To [Click Me]



.
ASUS Transformer Infinity TF700 W/ Mobile Dock | Rooted | CROMI | [JB] 4.1.1


TABLET • ASUS TF700t • CLEANROM iNHERiTNCE.v3.4.6 [JB] 4.1.1 • TWRP 2.5.x.x
TABLET • KiNDLE FiRE • SmoothROM JOP40D....v4.3.0 [JB] 4.2.1 • TWRP 2.3.3.x
PHONE. • LG G2x P999 • DOMiNATiON [Build-80]..... [JB] 4.1.2 • CWM. 5.0.2.0



PLEASE CLiCK ON THANKS iF YOU FEEL I HAVE HELPED YOU
 
Joeful
Old
#2940  
Joeful's Avatar
Senior Member
Thanks Meter 14
Posts: 184
Join Date: Aug 2012
Default Re: [ROM][17 Feb]★★CleanROM Inheritance 3.3 | JB 10.4.4.25 | ODEX/DEODEX | New Kernel

I just ended up flashing 3.2.2 than flashing 3.3 over it. That fixed the greyed out power saving settings issues.

Sent from my ASUS Transformer Pad TF700T

 
Post Reply+
Tags
cleanrom, infinity, inheritance, jelly bean, tf700
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...