AS WITH ANY MODDING PROCEDURE FOR YOUR PHONE, THIS GUIDE ALSO COMES WITH NO WARRANTY. AUTHOR HOLDS NO RESPONSIBILITY FOR ANY DIRECT AND INDIRECT CONSEQUENCES OF FOLLOWING THIS GUIDE. MAKE SURE YOU HAVE MADE A NAND BACKUP BEFORE PROCEEDING.
This is not useful in odexed ROMs & devices with 1GB or more RAM. However, this will give a performance boost in deodexed ROMs as much as odexing system & data apps. This is an alternative for odexing. It's not that you can't apply this tweak on an odexed ROM but rather, it's useless to do so.
1) Open Terminal Emulator on phone or adb shell from PC and type the following.
setprop dalvik.vm.verify-bytecode false
setprop dalvik.vm.dexopt-flags v=n,o=v
2) Add these to the /data/local.prop or build.prop.
dalvik.vm.verify-bytecode = false
(Copy local.prop or build.prop to SD and edit them. Copy back afterwards. If lines starting with dalvik.vm.verify-bytecode or dalvik.vm.dexopt-flags exist already, please modify them as above. Also type following in adb shell or terminal emulator.
- More free RAM.
- Faster launch for system & user apps during the second launch.
- Gives as much as of a performance boost as ODEX without odexing. Themer friendly.
- Smoother app switching.
- Might break some apps.
You can read more information about this on here and here.
Thanks to Danzano for testing this tweak in advance.
Reversing the change/undo tweak.
Type the following in shell.
setprop dalvik.vm.verify-bytecode true