[ODEX] on Any ROM | Now support AOSP ICS

puppet13th

Senior Member
Apr 9, 2011
498
904
133
Medan
UPDATE AOSP ICS BOOTCLASSPATCH ODEX

Flash the zip using any CWM Recovery.
This zip should be compatible on ANY ANDROID DEVICE using CWM based Recovery.

Plase make backup before apply this zip.

There is plenty of free space on /system partition,what a waste if we don't use them. :-D

If you're planing to modify any framework on your device,do it before you apply this zip.after applying this zip you cannot modify the framework except /system/framework/framework.apk

This zip will only make odex on /system/framework and /system/app
App on /data partition will not affected

More info : DEODEX VS ODEX

NOTICE : SUPPORT UP TO GINGERBREAD ROM

download link : odex-cwm.zip

 

Attachments

Last edited:

Black_jackss

Senior Member
Aug 25, 2011
706
115
0
Pekanbaru
Flash the zip using any CWM Recovery.
This zip should be compatible on ANY ANDROID DEVICE using CWM based Recovery.

Plase make backup before apply this zip.

There is plenty of free space on /system partition,what a waste if we don't use them. :-D

If you're planing to modify any framework on your device,do it before you apply this zip.after applying this zip you cannot modify the framework except /system/framework/framework.apk

NOTICE : SUPPORT UP TO GINGERBREAD ROM

download link : odex-cwm.zip

Any method to revert this mod without using backup from cwm? I mean like a reverter or sth like that:D
 

neroyoung

Senior Member
Oct 12, 2011
827
2,507
0
Pusad, MH
This method seems really nice and I wanna try it but I have few questions in my mind as I haven't used CWM recovery ever before

Can I use flash tool to format and recover my ROM back after using this zip file?
Can I revert the change by any means?
Will I be able to use flashtool to update my ROM further in future cause I don't know anything about CWM...
Thanks.....
 
Last edited:

Black_jackss

Senior Member
Aug 25, 2011
706
115
0
Pekanbaru
This method seems really nice and I wanna try it but I have few questions in my mind as I haven't used CWM recovery ever before

Can I use flash tool to format and recover my ROM back after using this zip file?
Can I revert the change by any means?
Will I be able to use flashtool to update my ROM further in future cause I don't know anything about CWM...
Thanks.....
U can revert this by usinf flastool,but it will reset anything :( And yes u will able to update further apdate if u use flashtool. Im thinkin is there any other way to revert it aside from using flashtool and cwm :D
 
  • Like
Reactions: puppet13th

XperianPro

Senior Member
Nov 19, 2010
2,256
868
0
Mars
Nice but if im right isnt it used to speed up first five boots.

EDIT: you made de-odex zip for X8 so why not work on Minis or Walkman

Sent from my WT19i using Tapatalk
 
Last edited:

puppet13th

Senior Member
Apr 9, 2011
498
904
133
Medan
Nice but if im right isnt it used to speed up first five boots.

EDIT: you made de-odex zip for X8 so why not work on Minis or Walkman

Sent from my WT19i using Tapatalk
I made odex zip for x8.i have rewrite the script. Now it's should be compatible with any android device using CWM based Recovery.

My friend just applied the zip on zte blade, he says the zip applied successfully.

The main reason to use odex is user space optimization. Take a look at the screen shot.

Sent from my ST17i
 
  • Like
Reactions: KASHYAP9

puppet13th

Senior Member
Apr 9, 2011
498
904
133
Medan
Ummm.... I think Sony Stock roms arent odex'd... At least thats what i gor from the the kitchen when i tried to use it. Yaffs2 isnt odexed. Could be wrong...

Sent from my ST17i using XDA App
what are you trying to say?i can't get it.
odex have nothing to do with file system.

if you want to use kitchen,it need deodex framework,that why i said if you want to play with framework you need to modify the framework before doing odex.
if the rom was odexed,you can't use kitchen anymore.
 
  • Like
Reactions: Gustavo RD78

neroyoung

Senior Member
Oct 12, 2011
827
2,507
0
Pusad, MH
U can revert this by usinf flastool,but it will reset anything :( And yes u will able to update further apdate if u use flashtool. Im thinkin is there any other way to revert it aside from using flashtool and cwm :D
Thanks for help but see the twist in story...
I installed CWM on my XMP ... and i installed Xperia Mod ROM and found that this [ODEX] is already present in that rom :D
I got 40 MB Used and 380 MB Free Memory after flashing... :D
 
  • Like
Reactions: puppet13th

puppet13th

Senior Member
Apr 9, 2011
498
904
133
Medan
Thanks for help but see the twist in story...
I installed CWM on my XMP ... and i installed Xperia Mod ROM and found that this [ODEX] is already present in that rom :D
I got 40 MB Used and 380 MB Free Memory after flashing... :D
i just check.that one is not odex.

Code:
- v1.6 : Add features to install Dalvik2Cache (increase free space of /data over 60MB for more application)
it just move dalvik cache from /data/dalvik-cache to /cache/dalvik-cache
so it can free up some space on data partition.
 

dumraden

Senior Member
Feb 18, 2008
825
401
63
This is SPARTAAAA!!
Sorry it has been some time since I did the procedure. The thing is that there are no .odex files in order to de-odex :p

So basically Odexing allocates some memory from Sytem to Internal? hmmm...
 
Last edited:

neroyoung

Senior Member
Oct 12, 2011
827
2,507
0
Pusad, MH
i just check.that one is not odex.

Code:
- v1.6 : Add features to install Dalvik2Cache (increase free space of /data over 60MB for more application)
it just move dalvik cache from /data/dalvik-cache to /cache/dalvik-cache
so it can free up some space on data partition.
Ohh This is nice news
hey friend can you please tell me if i use this [ODEX] through CWM then will it work now? and will i get more free space ? like more 20 MB free ?
 

puppet13th

Senior Member
Apr 9, 2011
498
904
133
Medan
Deodex vs odex

dex --> dalvik executeable
this is executeable in android device.
this file like exe file in windows

in every apk contain a classes.dex file

DEODEX
after we install the apk the dalvik-vm extract classes.dex and optimized it to run on the device.that optimized dex file we call dalvik-cache that reside on /data/dalvik-cache

example :
Code:
APK
/data/app/com.rovio.angrybirds-1.apk

Optimized dex
/data/dalvik-cache/[email protected]@[email protected]
ODEX
ODEX stand for optimized dex
every apk and jar have it's pair

example angry bird in odex form :
Code:
APK
/data/app/com.rovio.angrybirds-1.apk

odex
/data/app/com.rovio.angrybirds-1.odex
in odex there is no classes.dex inside the apk and there is no dalvik-cache

comparison deodex vs odex

com.rovio.angrybirds-1.apk size --> 14.58MB

deodex form :
Code:
/data/app/com.rovio.angrybirds-1.apk --> 14.58MB
/data/dalvik-cache/[email protected]@[email protected] --> 1.09MB
total size 14.58MB+1.09MB = 15.67MB
odex form :
Code:
/data/app/com.rovio.angrybirds-1.apk --> 13.59MB
/data/app/com.rovio.angrybirds-1.odex --> 1.09MB
total size 15.59MB+1.09MB = 14.68MB
limitation on odex :
- the apk and odex file only can be used on the same dalvik-vm/device
- there is noway to modify framework in odex form