I have made 2 method to do create odex on any ROM.
1. Using ADB script (need PC/Laptop)
2. Flash zip using CWM Recovery
I have tested this on
- Stock ROM with JiT enabled
- FroyoBread v23b
- GingerDX v13
Benefit of odex :
- Slightly faster boot
- APP startup faster
- Save space on /data/dalvik-cache
This script will only create odex from /system/framework and /system/app
in odex process it will take some space on /system make sure you have minimal 30MB free space on /system
WARNING : MAKE NANDROID BACKUP BEFORE PROCEED
Step by step using ADB script
a. Reboot into recovery
b. mount /system and /data from Recovery menu
c. tick usb debug and plugin usb cable (make sure you have installed ADB driver)
d. double click odex.cmd
CWM Recovery : flash odex-edify-x8.zip
download link :
odex-ADB
odex-edify-x8
Notice :
There is noway to make update.zip for xRecovery,because xRecovery using amend script,and amend script does not support run program in update script.
UPDATE odex for AOSP ICS is here
WARNING : THIS ZIP ONLY FOR AOSP ICS BOOTCLASSPATH AND IT WILL REMOVE ALL LIB FROM SYSTEM APP AND SAVE IT TO /SYSTEM/LIB
This zip tested on my ST17i and should be compatible with any CM9 build that use AOSP BOOTCLASSPATH
Download :
odex-lib2sys-ICS-cwm.zip
Tested with FXP CM9 122
FXP CM9 will create dalvik-cache for system framework and system app on /cache/dalvik-cache
check this out :
1. Using ADB script (need PC/Laptop)
2. Flash zip using CWM Recovery
I have tested this on
- Stock ROM with JiT enabled
- FroyoBread v23b
- GingerDX v13
Benefit of odex :
- Slightly faster boot
- APP startup faster
- Save space on /data/dalvik-cache
This script will only create odex from /system/framework and /system/app
in odex process it will take some space on /system make sure you have minimal 30MB free space on /system
WARNING : MAKE NANDROID BACKUP BEFORE PROCEED
Step by step using ADB script
a. Reboot into recovery
b. mount /system and /data from Recovery menu
c. tick usb debug and plugin usb cable (make sure you have installed ADB driver)
d. double click odex.cmd
CWM Recovery : flash odex-edify-x8.zip
download link :
odex-ADB
odex-edify-x8
Notice :
There is noway to make update.zip for xRecovery,because xRecovery using amend script,and amend script does not support run program in update script.
UPDATE odex for AOSP ICS is here
WARNING : THIS ZIP ONLY FOR AOSP ICS BOOTCLASSPATH AND IT WILL REMOVE ALL LIB FROM SYSTEM APP AND SAVE IT TO /SYSTEM/LIB
This zip tested on my ST17i and should be compatible with any CM9 build that use AOSP BOOTCLASSPATH
Download :
odex-lib2sys-ICS-cwm.zip
Tested with FXP CM9 122
FXP CM9 will create dalvik-cache for system framework and system app on /cache/dalvik-cache
check this out :
Code:
~ # df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 173.8M 60.0K 173.8M 0% /dev
tmpfs 173.8M 0 173.8M 0% /mnt/asec
tmpfs 173.8M 0 173.8M 0% /mnt/obb
/dev/block/mtdblock0 400.0M 196.4M 203.6M 49% /system
/dev/block/mtdblock3 420.0M 9.9M 410.1M 2% /data
/dev/block/mtdblock2 101.5M 2.3M 99.2M 2% /cache
/dev/block/vold/179:1
13.8G 11.3G 2.5G 82% /mnt/sdcard
/dev/block/vold/179:1
13.8G 11.3G 2.5G 82% /mnt/secure/asec
~ #
Last edited: