Go Back   Android Forums > Android Discussion > Android Lounge
Android Lounge A place for general Android discussion and questions.

test: Reply
 
LinkBack Thread Tools
Old April 5th, 2013, 06:36 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2012
Location: Sweden
Gender: Male
Posts: 9
 
Device(s): SGS3
Carrier: Telenor

Thanks: 0
Thanked 1 Time in 1 Post
Default Performance difference between deodexed and odexed?

Hi guys. I've googled this a lot and browsed a lot of forums and I can't seem to find a through explanation on the pro's/con's with having either a deodexed or odexed firmware.

I know that odex files are optimized dex files outside of the apk and that having it like this saves a bit of space in the dalvik cache folder and that the system boots faster after each consecutive dalvik wipe.
This, however, makes it impossible or next to impossible to modify the files.

I know that deodexed makes for some very easy modding, but that a deodexed rom has less available space (because dalvik takes up more) and that the apk's are no longer optimized because the odex files have been converted to normal dex files and compiled into the apk. This makes the system boot slower after each consecutive dalvik wipe as it has to rebuild the dalvik completely and that the system needs longer time to "settle" because of the caching.

Over than that, is there any performance difference whatsoever between them? I've looked for this everywhere but haven't been able to find a logical answer. Some people say apps generally open faster and are much smoother, but is this actually true? Is it worth the time deodexing and reodexing every time you want to mod something?

I don't think so. I like having a completely deodexed system /app+framework) just so that I can flash a mod easily whenever I please.

Cheers.

Advertisements
Theshawty is offline  
Reply With Quote
sponsored links
Old April 5th, 2013, 07:22 AM   #2 (permalink)
~30% Carbon Black
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 22,253
 
Device(s): LG G3 (rooted)
Carrier: Verizon

Thanks: 17,812
Thanked 14,602 Times in 9,025 Posts
Default

Rom performance based soley on odex or deodex I think is a non issue. But then again, I have not researched it. Just my opinion

While what you have posted, clarifies the difference between odex and deodexed apk's, I think as you have stated, it's more of a theming issue, not performance.

Once the system is booted up, alot more is dependent on performance than the way apk's are compiled.

I have run roms that are odex'ed and deodexed and I cannot say whether the performance is better/worse because of it.

Cheers back at ya
Mikestony is offline  
Reply With Quote
Old April 5th, 2013, 07:24 AM   #3 (permalink)
Dr. Feelgood
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,273
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,780
Thanked 12,567 Times in 7,250 Posts
Default

odex is supposed to be slightly faster, but you can't really theme it properly so most custom ROMs are deodex


I've never actually noticed a difference
Rxpert83 is offline  
Reply With Quote
Old April 5th, 2013, 07:25 AM   #4 (permalink)
Member
 
AlexRayquaza's Avatar
 
Join Date: Feb 2013
Location: Lakeland,Florida
Gender: Male
Posts: 393
 
Device(s): Samsung Galaxy Rush running: PartyTime JBS V2.4 AniKernel V1.6 Crash_The_Party RayquazasModAlpha
Carrier: Boost

Thanks: 31
Thanked 110 Times in 89 Posts
alex505589@gmail.com
Default

The difference is that deodexed ROMs are lighter and allow modifications but odexed ROMs load faster.
Some ROMs come with Zipalign at boot that make a deodexed ROM load as fast as an odexed ROM.
I recommened a zip aligned deodexed ROM above a plain deodexed rom.
AlexRayquaza is offline  
Reply With Quote
Old April 5th, 2013, 07:27 AM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2012
Location: Sweden
Gender: Male
Posts: 9
 
Device(s): SGS3
Carrier: Telenor

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Mikestony View Post
Rom performance based soley on odex or deodex I think is a non issue. But then again, I have not researched it. Just my opinion

While what you have posted, clarifies the difference between odex and deodexed apk's, I think as you have stated, it's more of a theming issue, not performance.

Once the system is booted up, alot more is dependent on performance than the way apk's are compiled.

I have run roms that are odex'ed and deodexed and I cannot say whether the performance is better/worse because of it.

Cheers back at ya
Quote:
Originally Posted by Rxpert83 View Post
odex is supposed to be slightly faster, but you can't really theme it properly so most custom ROMs are deodex


I've never actually noticed a difference
To both of you: Thanks for your inputs! There's this guy on XDA who really thinks odexing is worth it and I've argued a bit with him about that. He thinks it's worth it because there is a notable difference but I fail to see where the difference would be notable except for the first boot after a dalvik wipe.

Quote:
Originally Posted by AlexRayquaza View Post
The difference is that deodexed ROMs are lighter and allow modifications but odexed ROMs load faster.
Some ROMs come with Zipalign at boot that make a deodexed ROM load as fast as an odexed ROM.
I recommened a zip aligned deodexed ROM above a plain deodexed rom.
I know that, I kinda wrote that in the OP (except for the zipalign part)

What I want to know, though, is if there's a performance difference between the two while you're booted up. I take it there is none, but some say there is.
Theshawty is offline  
Reply With Quote
Old April 5th, 2013, 07:35 AM   #6 (permalink)
Member
 
AlexRayquaza's Avatar
 
Join Date: Feb 2013
Location: Lakeland,Florida
Gender: Male
Posts: 393
 
Device(s): Samsung Galaxy Rush running: PartyTime JBS V2.4 AniKernel V1.6 Crash_The_Party RayquazasModAlpha
Carrier: Boost

Thanks: 31
Thanked 110 Times in 89 Posts
alex505589@gmail.com
Default

Only app performance really.
AlexRayquaza is offline  
Reply With Quote
Old April 5th, 2013, 07:40 AM   #7 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2012
Location: Sweden
Gender: Male
Posts: 9
 
Device(s): SGS3
Carrier: Telenor

Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by AlexRayquaza View Post
Only app performance really.
Like the opening time and how smooth the transition is, or what? Because I've run both odexed and deodexed and can't find any difference. To even it out, I've run deodexed stock roms (no optimization tweaks many deodexed rom have) and the performance seems equal.

I'm not even that old, I'm 20 this year so I should be able to percept any difference however negligible it is, but I don't. Positive thing, maybe.
Theshawty is offline  
Reply With Quote
Old April 5th, 2013, 07:49 AM   #8 (permalink)
Member
 
AlexRayquaza's Avatar
 
Join Date: Feb 2013
Location: Lakeland,Florida
Gender: Male
Posts: 393
 
Device(s): Samsung Galaxy Rush running: PartyTime JBS V2.4 AniKernel V1.6 Crash_The_Party RayquazasModAlpha
Carrier: Boost

Thanks: 31
Thanked 110 Times in 89 Posts
alex505589@gmail.com
Default

Yes opening time and transitioning.
Its not too noticible but if you have a timer you can see for yourself.
AlexRayquaza is offline  
Reply With Quote
Old April 5th, 2013, 08:06 AM   #9 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2012
Location: Sweden
Gender: Male
Posts: 9
 
Device(s): SGS3
Carrier: Telenor

Thanks: 0
Thanked 1 Time in 1 Post
Default

Whatever difference there is, I sure as hell can't find anything that justifies even bothering oneself with odex.
Theshawty is offline  
Reply With Quote
The Following User Says Thank You to Theshawty For This Useful Post:
Rxpert83 (April 5th, 2013)
Old April 5th, 2013, 08:08 AM   #10 (permalink)
Dr. Feelgood
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,273
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,780
Thanked 12,567 Times in 7,250 Posts
Default

Quote:
Originally Posted by Theshawty View Post
Whatever difference there is, I sure as hell can't find anything that justifies even bothering oneself with odex.
Its really not worth it because of the issues you have customizing the ROM.

Modifications for odex ROMs have to be specific for that ROM, while a deodex modification can work on multiple
Rxpert83 is offline  
Reply With Quote
sponsored links
Old April 5th, 2013, 08:14 AM   #11 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2012
Location: Sweden
Gender: Male
Posts: 9
 
Device(s): SGS3
Carrier: Telenor

Thanks: 0
Thanked 1 Time in 1 Post
Default

A lot of people seem to mod whatever they wish, then when they're happy with it, they reodex using some reodex script. I couldn't ever bother myself with that as I'm never 100% happy. I switch roms a lot and I mod a lot as well.
Theshawty is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Lounge
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:22 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.