Post Reply

[ROM][Nov 1]★★ CleanROM Inheritance 3.5 | JB 10.4.4.25 | ODEX/DEODEX | Full ROM ★★

OP sbdags

19th February 2013, 10:26 PM   |  #2931  
krypthon's Avatar
Member
Thanks Meter: 15
 
64 posts
Join Date:Joined: May 2012
Sorry for me noob questions, but What diference have Deodex and Odex?
19th February 2013, 10:33 PM   |  #2932  
sbdags's Avatar
OP Recognized Contributor
Flag Kenilworth, Coventry
Thanks Meter: 13,122
 
11,637 posts
Join Date:Joined: Jun 2007
Donate to Me
More
Quote:
Originally Posted by krypthon

Sorry for me noob questions, but What diference have Deodex and Odex?

Technically?

Quote:
Originally Posted by _that

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.
The Following 3 Users Say Thank You to sbdags For This Useful Post: [ View ]
20th February 2013, 12:01 AM   |  #2933  
Senior Member
Thanks Meter: 963
 
3,420 posts
Join Date:Joined: May 2008
Re: [ROM][17 Feb]★★CleanROM Inheritance 3.3 | JB 10.4.4.25 | ODEX/DEODEX | New Kernel
Quote:
Originally Posted by sbdags

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
20th February 2013, 12:12 AM   |  #2934  
sbdags's Avatar
OP Recognized Contributor
Flag Kenilworth, Coventry
Thanks Meter: 13,122
 
11,637 posts
Join Date:Joined: Jun 2007
Donate to Me
More
Quote:
Originally Posted by jtrosky

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.
20th February 2013, 12:45 AM   |  #2935  
Senior Member
Flag Melbourne
Thanks Meter: 647
 
505 posts
Join Date:Joined: Mar 2012
Donate to Me
Quote:
Originally Posted by sbdags

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.
20th February 2013, 12:54 AM   |  #2936  
lucius.zen's Avatar
Senior Member
Flag Halifax
Thanks Meter: 423
 
457 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by sbdags

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?
20th February 2013, 12:55 AM   |  #2937  
Senior Member
Flag Portsmouth
Thanks Meter: 10
 
141 posts
Join Date:Joined: Aug 2008
More
Re: [ROM][17 Feb]★★CleanROM Inheritance 3.3 | JB 10.4.4.25 | ODEX/DEODEX | New Kernel
Quote:
Originally Posted by lucius.zen

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
20th February 2013, 12:57 AM   |  #2938  
lartomar2002's Avatar
Senior Member
Flag Near Kennedy Space Center, Florida
Thanks Meter: 100
 
1,214 posts
Join Date:Joined: Mar 2011
Quote:
Originally Posted by sbdags

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.
Last edited by lartomar2002; 20th February 2013 at 01:21 AM.
20th February 2013, 03:33 AM   |  #2939  
Thibor69's Avatar
Senior Member
Flag Scottsdale - AZ
Thanks Meter: 170
 
710 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by krypthon

Sorry for me noob questions, but What diference have Deodex and Odex?


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

Deodexing Explained & How To [Click Me]



.
20th February 2013, 04:25 AM   |  #2940  
Joeful's Avatar
Senior Member
Thanks Meter: 57
 
350 posts
Join Date:Joined: Aug 2012
More
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 Subscribe to Thread

Tags
cleanrom, infinity, inheritance, jelly bean, tf700
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Transformer TF700 Android Development by ThreadRank