[MOD] Re-Odex your rom
This is not my work but I want to share it, the original thread is here:
[SCRIPT TO ODEX] Universal Odex Script Version 6.3 (10-09-2013)(MM-dd-yyyy)
I was on stock rom so Odexed and I flashed a custom Deoxeded rom (for some features and mods)... But I loose the smoothess of my stock rom..., some kind of lags and stutters scrolling in settings, openning an app the transition animation is not smooth, etc... And by searching on the Android Development and Hacking forum I found this thread above...
I had a doubt about the real improvement... But who knows? Nandroid backup, I follow the guide and... My phone is smooth as before, apps open faster, like on stock! All the mods flashed before works, no bootloop, no force closes, all is fine
BUT there is always a but, you're custom Deodexed rom is now Odexed, nothing dramatic but good bye the mods for Deodexed rom (bootloop) so before flashing a mode make sure it's for Odexed rom...
You can flash your favorite Deoxeded rom, flash some mods and then Odex your rom, you'll keep your mods (at least for me).
For Deoxeded... Reflash your rom or a backup (Deoxeded).
Download the attached file.
Place it on your sdcard.
Reboot in recovery and in the first place make a Nandroid backup
then flash the zip in recovery and reboot.
You'll see that the app Script Manager was installed, open it then type (press enter after each line):
A line will appear then type "Yes" and press enter, the procedure will start, maybe you'll have some Force Closes, it's normal then the phone will reboot... and enjoy!
For more details about what exactly does the script, a better explanation, etc... Take a look to the original thread.
Don't odex the Data app or you'll need to reinstall your paid apps (and before delete the .dex files), you'll encouter a lot of force closes, etc...
I tested on LG rom only...
I hope this will help
Credits to MatrixDJ96