5,599,394 Members 37,846 Now Online
XDA Developers Android and Mobile Development Forum

[ODEX] on Any ROM | Now support AOSP ICS

Tip us?
 
puppet13th
Old
(Last edited by puppet13th; 7th June 2012 at 05:42 AM.)
#1  
puppet13th's Avatar
Senior Member - OP
Thanks Meter 848
Posts: 458
Join Date: Apr 2011
Location: Medan

 
DONATE TO ME
Default [ODEX] on Any ROM | Now support AOSP ICS

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
~ #
x8toolbox.final | init.d.loader for STOCK ROM
ODEX on any ROM | Folio 100 Fully working NVFlash
[ROOT+BB+CWM] ICS and non rootable GB build
My Device : Xperia X8 aka Shakira (MiniCM 4.0.2 + 2.6.32.61-nAa-jb-06) | Xperia Active aka Satsuma | Xperia Acro S aka Hikari
The Following 74 Users Say Thank You to puppet13th For This Useful Post: [ Click to Expand ]
 
timpot07
Old
#2  
timpot07's Avatar
Senior Member
Thanks Meter 35
Posts: 321
Join Date: May 2011
Nice. Thanks..keep it up bro...

Sent from my X8 using XDA Premium App
 
biscoitu
Old
#3  
biscoitu's Avatar
Senior Member
Thanks Meter 140
Posts: 669
Join Date: Apr 2011
Once more this guy bringing useful stuff to the community

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

"Never tell your problems to anyone...20% don't care and the other 80% are glad you have them."

Lou Holtz
The Following User Says Thank You to biscoitu For This Useful Post: [ Click to Expand ]
 
puppet13th
Old
(Last edited by puppet13th; 16th September 2011 at 06:15 PM.)
#4  
puppet13th's Avatar
Senior Member - OP
Thanks Meter 848
Posts: 458
Join Date: Apr 2011
Location: Medan

 
DONATE TO ME
Quote:
Originally Posted by biscoitu View Post
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
x8toolbox.final | init.d.loader for STOCK ROM
ODEX on any ROM | Folio 100 Fully working NVFlash
[ROOT+BB+CWM] ICS and non rootable GB build
My Device : Xperia X8 aka Shakira (MiniCM 4.0.2 + 2.6.32.61-nAa-jb-06) | Xperia Active aka Satsuma | Xperia Acro S aka Hikari
The Following 7 Users Say Thank You to puppet13th For This Useful Post: [ Click to Expand ]
 
Lobialkon
Old
#5  
Lobialkon's Avatar
Member
Thanks Meter 13
Posts: 94
Join Date: Jul 2011
Location: Buenos Aires, La Plata
Whats an odex? It really improves that stuff?

Goodbye!
 
molimo
Old
#6  
Senior Member
Thanks Meter 19
Posts: 162
Join Date: Jan 2011
Location: Tehran
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???
 
RockitOut11
Old
#7  
RockitOut11's Avatar
Senior Member
Thanks Meter 140
Posts: 549
Join Date: Dec 2010
Quote:
Originally Posted by molimo View Post
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
 
Rikcon
Old
#8  
Rikcon's Avatar
Senior Member
Thanks Meter 28
Posts: 150
Join Date: Jan 2011
Location: Kirovohrad
really shorten my boot time,from about 40 seconds to 26-34
The Following User Says Thank You to Rikcon For This Useful Post: [ Click to Expand ]
 
mastermikeywwt
Old
(Last edited by mastermikeywwt; 17th September 2011 at 02:22 AM.)
#9  
Member
Thanks Meter 2
Posts: 64
Join Date: Sep 2011
Location: Peterborough
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
 
chrisbymoningka
Old
#10  
Senior Member
Thanks Meter 15
Posts: 104
Join Date: May 2011
Location: Bandung
Quote:
Originally Posted by mastermikeywwt View Post
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)

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

Advanced Search
Display Modes