Wth?!
I am on b26 and have odexed and again no problem...
Are you guys on cdma or gsm devices. I am on gsm... Maybe it's the cause but I really won't understand if it's the case...
Sent from my Galaxy Nexus using xda premium
CDMA here.
Wth?!
I am on b26 and have odexed and again no problem...
Are you guys on cdma or gsm devices. I am on gsm... Maybe it's the cause but I really won't understand if it's the case...
Sent from my Galaxy Nexus using xda premium
Grrr. Did you really try before saying these things too?
I am a long time android user, was on i7500, then i9000, had an Asus transformer, and now have a galaxy nexus and transformer prime.
I read the same articles than yours. But you know what, I did my experience though, in reality and with day to day use.
And you know what is my own experience? My devices were all smoother when odexed than when deodexed. Ok?
So please let the users who want to try and have their own experience do their things...
+ +
Sent from my Galaxy Nexus using xda premium
Boot time is better AND system applications are optimized (the o of odex) and thus slightly smoother...
Sent from my Galaxy Nexus using xda premium
I'm not holding anyone back. I am just inviting everyone to know the true pros and cons of something they are gonna flash on their 500+ phone. If you read the articles and still want to ignore all the technical evidence, then that's your choice.
And no, I didn't try it because i use the black exedus theme and I don't want to worry about messing everything up everytime I want to update it.
And remember stock is odexed and all the roms like aokp are not. Which one is smoother in your experience?
Can you describe what exact configuration you have in rom control of aokp on status bar and navigation / soft keys so I could try it to see what is the culprit?
(screenshots would be good too...)
now it working..just don't mod transparent status bar, that is the problem before....:thumbup:
Sent from my Galaxy Nexus using Tapatalk
Grrr. Did you really try before saying these things too?
I am a long time android user, was on i7500, then i9000, had an Asus transformer, and now have a galaxy nexus and transformer prime.
I read the same articles than yours. But you know what, I did my experience though, in reality and with day to day use.
And you know what is my own experience? My devices were all smoother when odexed than when deodexed. Ok?
So please let the users who want to try and have their own experience do their things...
+ +
Sent from my Galaxy Nexus using xda premium
#!/system/bin/sh
chmod 755 /system/bin/dexopt-wrapper
chmod 755 /system/bin/zip
chmod -R 777 /data/original-framework/*.odex
coreframework="/system/framework/core.jar /system/framework/bouncycastle.jar /system/framework/ext.jar /system/framework/framework.jar /system/framework/android.policy.jar /system/framework/services.jar /system/framework/core-junit.jar"
echo "Odexing /system/framework/*jar files"
for i in $coreframework
do
filename=$(basename $i .jar)
dexopt-wrapper $i /system/framework/$filename.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
zip -d $i classes.dex
busybox dd if=/data/original-framework/$filename.odex of=/system/framework/$filename.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
done
for i in /system/framework/*.jar
do
if [ $i == "/system/framework/core.jar" -o $i == "/system/framework/bouncycastle.jar" -o $i == "/system/framework/ext.jar" -o $i == "/system/framework/framework.jar" -o $i == "/system/framework/android.policy.jar" -o $i == "/system/framework/services.jar" -o $i == "/system/framework/core-junit.jar" ]
then
echo "Already odexed in sequence"
else
filename=$(basename $i .jar)
dexopt-wrapper $i /system/framework/$filename.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
zip -d $i classes.dex
busybox dd if=/data/original-framework/$filename.odex of=/system/framework/$filename.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
fi
done
echo "Giving permissions to all *odex files"
chmod -R 777 /system/framework/*.odex
rm -r /data/dalvik-cache/*
It doesn't matter if you're a long time Android user. There are no measurable benefits to having odexed system/app directory apart from boot up time and space.
How do I know? I took Paul's script and amended it to odex the /system/framework directory before odexing the /system/app. The /system/app/ dex files are dependent on the framework files which is why the framework requires odexing before the system/app directory.
Now I can't recall how Paul specifies the bootclass path in his script as I'm at work and do not have the resources to decompile his application, but if he hardcoded the bootclass path into the script; there's a likely hood the app won't be 100% reliable on the Nexus due to the bootclass path most likely being different (especially as they're different versions of Android, with 4.0 being vastly different).
In my script, the bootclass path is hardcoded as there's a strict file sequence that needs to be odexed in order when it comes to odexing the framework. This isn't my latest version either, as I eventually went on to making the script check for deodexed system applications on boot and odexing them.
Warning: Don't use the script on the Galaxy Nexus, it was my script I used on the Galaxy SII
Code:#!/system/bin/sh chmod 755 /system/bin/dexopt-wrapper chmod 755 /system/bin/zip chmod -R 777 /data/original-framework/*.odex coreframework="/system/framework/core.jar /system/framework/bouncycastle.jar /system/framework/ext.jar /system/framework/framework.jar /system/framework/android.policy.jar /system/framework/services.jar /system/framework/core-junit.jar" echo "Odexing /system/framework/*jar files" for i in $coreframework do filename=$(basename $i .jar) dexopt-wrapper $i /system/framework/$filename.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar zip -d $i classes.dex busybox dd if=/data/original-framework/$filename.odex of=/system/framework/$filename.odex bs=1 count=20 skip=52 seek=52 conv=notrunc done for i in /system/framework/*.jar do if [ $i == "/system/framework/core.jar" -o $i == "/system/framework/bouncycastle.jar" -o $i == "/system/framework/ext.jar" -o $i == "/system/framework/framework.jar" -o $i == "/system/framework/android.policy.jar" -o $i == "/system/framework/services.jar" -o $i == "/system/framework/core-junit.jar" ] then echo "Already odexed in sequence" else filename=$(basename $i .jar) dexopt-wrapper $i /system/framework/$filename.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar zip -d $i classes.dex busybox dd if=/data/original-framework/$filename.odex of=/system/framework/$filename.odex bs=1 count=20 skip=52 seek=52 conv=notrunc fi done echo "Giving permissions to all *odex files" chmod -R 777 /system/framework/*.odex rm -r /data/dalvik-cache/*
I made all my own ROMs for the Galaxy SII and always odexed them but I never experienced a smoother phone, just quicker boot up times and space was never an issue for the Galaxy SII as it had plenty.
Grrr. Did you really try before saying these things too?
I am a long time android user, was on i7500, then i9000, had an Asus transformer, and now have a galaxy nexus and transformer prime.
I read the same articles than yours. But you know what, I did my experience though, in reality and with day to day use.
And you know what is my own experience? My devices were all smoother when odexed than when deodexed. Ok?
So please let the users who want to try and have their own experience do their things...
+ +
Sent from my Galaxy Nexus using xda premium
If you can show me technical info on the difference, I will listen. Otherwise, I am just going to keep rolling my eyes.
If any odex fans have a gsm device, check the gsm cm nightly thread. Posted a CM build compiled from source as odexed. Should have proper odexing of both system/app and system/framework
Lol. So keep rolling your eyes
It's just a subjective point of view.
My own and sincere feeling, through all the roms I have tried since my first i7500 android device, is that my experience was always smoother when the rom was odexed.
I couldn't even try any other rom on my i9000 if it wasn't odexed.
But before arriving to this conclusion, I tried several deodexed roms...
When I first tried an odexed one, I didn't understand why it was smoother... I just thought it was only the rom I was trying...
But I understood that it was the odex factor when I tried another deodexed one and then another odexed one.
Then I documented myself about that and I saw that other people were convinced about that too.
But for sure I saw the debates about this everywhere.
The only thing I kept about these is that, for myself, and I think for some other people too (that is why I share here my experience), an odexed rom is smoother than a deodexed one.
The link here http://android.stackexchange.com/qu...e-difference-between-odexed-and-deodexed-roms comforts myself in that opinion, and of course it boots more quickly, but I think it is not the only good consequence: I feel that every odexed system app is launching faster, thus, impacting a bit the whole system, as every system app is launched, then killed by lmk, then launched again...etc.
++
Your source consists of the opinion of one person. All the articles I read about this say the opposite:
http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
I think what you experience may be a placebo effect. Even if it's real, the disadvantages outweigh the potential benefits.
Flo,
No doubt odex is faster. Why do you think everything is odex to begin with..OTAs?
Deodexed is for pretty much easier theming as odex has the speed and even theming, if a dev knows how to work with it.
Aamikam at evo 3D ville started as a deo dev and as time passed, he tested out odex and never returned to deo. Simply because he knew he could theme it and still keep the speed within the system. Check it out over there and read. Odex is super fast and better. It just lacks dev work, like I said cause its a tougher cookie to crack.
Sent from my Galaxy Nexus
FYI, that app can odex only *.apk.
This Script can also odex *.jar.
http://xdaforums.com/showthread.php?t=2278586
If you already ran that app in OP, do not flash that zip. Re-flash the ROM, GApps and MODs you're using and then flash.
Because the rest jars / the system apps produce dalvik-cache according to the core jar and can be odexed the same way. For the complete odex, we have to take turns "the core jars -> the rest jars and apks".
Hello, I tried your application but it does not work ...
I'm on S3, deodexed stock Rom with siyah kernel 1.8.9, I put the folder init.d in system / etc, I start your application, it asks me to reboot the system odexed, but nothing that password ...
Have I missed something??
Thank you in advance for your answer.
What should I be careful about if I odex my PA ROM???
Seems to good to be true about better performance. What are the catches of odex??? Please put it in dumby definition please.
--------------------------------------------------
If I have helped you.... hit that sexy thanks button. ^_^