Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[ODEX] on Any ROM | Now support AOSP ICS

OP puppet13th

16th September 2011, 03:58 PM   |  #1  
puppet13th's Avatar
OP Senior Member
Flag Medan
Thanks Meter: 853
 
460 posts
Join Date:Joined: Apr 2011
Donate to Me
More
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 :
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 by puppet13th; 7th June 2012 at 06:42 AM.
The Following 74 Users Say Thank You to puppet13th For This Useful Post: [ View ]
16th September 2011, 04:08 PM   |  #2  
timpot07's Avatar
Senior Member
Thanks Meter: 35
 
321 posts
Join Date:Joined: May 2011
Nice. Thanks..keep it up bro...

Sent from my X8 using XDA Premium App
16th September 2011, 06:05 PM   |  #3  
biscoitu's Avatar
Senior Member
Thanks Meter: 145
 
672 posts
Join Date:Joined: Apr 2011
More
Once more this guy bringing useful stuff to the community

One question, will the ROM ODEXed, increase the use of nand Flash memory?
The Following User Says Thank You to biscoitu For This Useful Post: [ View ]
16th September 2011, 07:02 PM   |  #4  
puppet13th's Avatar
OP Senior Member
Flag Medan
Thanks Meter: 853
 
460 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by biscoitu

Once more this guy bringing useful stuff to the community

One question, will the ROM ODEXed, increase the use of nand Flash memory?

Thank you biscoitu,i just want to share with every one here.
it will increase usage on /system partition but slightly reduce usage on /data partition.look at this comparasion :

Code:
before odex
/system: 210944K total, 154236K used, 56708K available (block size 4096)
/data: 216832K total, 64100K used, 152732K available (block size 4096)

odex system framework
/system: 210944K total, 163544K used, 47400K available (block size 4096)
/data: 216832K total, 48088K used, 168744K available (block size 4096)

/system	: + 9308K
/data	: -16012K
dif	: - 6704K

odex system app
/system: 210944K total, 171360K used, 39584K available (block size 4096)
/data: 216832K total, 34764K used, 182068K available (block size 4096)

/system	: + 7816K
/data	: -13324K
dif	: - 5508K

dif total
/system	: +17124K
/data	: -29336K
dif	: -12212K
Last edited by puppet13th; 16th September 2011 at 07:15 PM.
The Following 7 Users Say Thank You to puppet13th For This Useful Post: [ View ]
16th September 2011, 07:37 PM   |  #5  
Lobialkon's Avatar
Member
Flag Buenos Aires, La Plata
Thanks Meter: 13
 
97 posts
Join Date:Joined: Jul 2011
More
Whats an odex? It really improves that stuff?

Goodbye!
16th September 2011, 09:31 PM   |  #6  
Senior Member
Tehran
Thanks Meter: 19
 
171 posts
Join Date:Joined: Jan 2011
More
after odex, we can use theme chooser to change our them????
we can do any work as before on our ROM or it prepares a limitations???
16th September 2011, 09:51 PM   |  #7  
RockitOut11's Avatar
Senior Member
Thanks Meter: 141
 
554 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by molimo

after odex, we can use theme chooser to change our them????
we can do any work as before on our ROM or it prepares a limitations???

Yes you can, GingerCruzt is ODEXED and everything works normally, as a DEODEXED rom
16th September 2011, 11:02 PM   |  #8  
Rikcon's Avatar
Senior Member
Flag Kirovohrad
Thanks Meter: 29
 
152 posts
Join Date:Joined: Jan 2011
More
really shorten my boot time,from about 40 seconds to 26-34
The Following User Says Thank You to Rikcon For This Useful Post: [ View ]
17th September 2011, 03:07 AM   |  #9  
Member
Flag Peterborough
Thanks Meter: 2
 
64 posts
Join Date:Joined: Sep 2011
More
Im gonna try the CWM method. I'll let you know if it bricks my phone or not =P

EDIT: Ok it worked on GingerDX 0.13. It appeared to hang for about 5-10 mins but it did work. I haven't seen any improvement in actual boot time. But once im past the boot loader things seem a fair bit more responsive quicker than usual after a boot
Last edited by mastermikeywwt; 17th September 2011 at 03:22 AM.
17th September 2011, 06:37 AM   |  #10  
Senior Member
Flag Bandung
Thanks Meter: 15
 
104 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by mastermikeywwt

Im gonna try the CWM method. I'll let you know if it bricks my phone or not =P

EDIT: Ok it worked on GingerDX 0.13. It appeared to hang for about 5-10 mins but it did work. I haven't seen any improvement in actual boot time. But once im past the boot loader things seem a fair bit more responsive quicker than usual after a boot

how about the performance...
have a different or not??
(sorry for my english, i am indonesian)

Post Reply Subscribe to Thread

Tags
faster boot, odex script
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes