Would you like to increase stability and battery life, to don't have lag to open system app and to have better ram utilization? Now you can! (Only for rooted phone and deodexed ROM)
This is possible with Odexer Tool created by myself.
I've worked a lot of time to create this script and I want to share it with you.
What is ODEX and DEODEX?
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These odex files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applicationsdifficult because a part of the coding has already been extracted to another location before execution.
THEN COMES DEODEX
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating theworry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.
My explanation is this:
If you odex the rom, you'll have more space in data (this is important because if you don't have partition ext4 in sdcard, you won't have too free space), you'll increase battery life, you'll have more stability and perfomance (the ROM is more faster to load system and app) but it's too difficult to modifie apk after odex (you can't mod APKs if there isn't classes.dex inside before deodex it).
In fact ODEX is an OPTIMIZED-DEX and Android load system and app faster than deodexed (DEOPTIMIZED-DEX) app and system.
When you have a deodex file (a lot of roms are deodexed) you have File.apk in system/app and in data/dalvik-cache/system@app@File.apk@classes.dex, but with odex file you have File.apk in system/app and File.odex in system/app
Stock ROMs are all odexed to have this features and my script allow you to re-add these on your custom ROM.
With these explanations you can understand that:
Odexed ROM = Faster, more stability and battery life, less ram utilization but difficult customization of APKs and a little bit slower boot
Deodexed ROM = Slower, less stability and battery life, more ram utilization but easy customization of APKs and a little bit faster boot
If you run this script with "Remove classes.dex: Disabled", your rom will be odexed without difficult customization of APKs but remember to re-odex it after mod.
My script does (it depends by option):
- Odex framework (of course also bootstrap)
- Odex app in system/app
- Odex app in system/priv-app (if you have android kitkat)
- Remove classes.dex from jar/apk (if you enable this option)
All commands of my script:
+ frame [odex all framework]
+ sysapp [odex all system apps]
+ all [odex framework and system apps]
+ set [change settings of the script]
+ exit [exit from the script]
+ easter egg [nothing important]
WORKING WITH FOLLOWING ANDROID VERSIONS
- Froyo
- GingerBread
- Honeycomb
- IceCreamSandwich
- JellBean
- KitKat
- NO LOLLIPOP (for now)
Credits:
- @MatrixDJ96 (Me)
- MrTony68 (Beta Tester)
- @Thyrus (Beta Tester)
- @angel.sea (For Support)
- Stericson (For BusyBox)
TO DEVELOPES
If you want to use or add this script on your ROM, you MUST give me credit in your thread.
Thanks for the cooperation
Follow me here: Odexer Tool Official Community
ENJOY WITH ODEXER TOOL!!!
Please, give me a thanks if you like my work
By MatrixDJ96
This is possible with Odexer Tool created by myself.
I've worked a lot of time to create this script and I want to share it with you.
What is ODEX and DEODEX?
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These odex files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applicationsdifficult because a part of the coding has already been extracted to another location before execution.
THEN COMES DEODEX
Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating theworry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity.
My explanation is this:
If you odex the rom, you'll have more space in data (this is important because if you don't have partition ext4 in sdcard, you won't have too free space), you'll increase battery life, you'll have more stability and perfomance (the ROM is more faster to load system and app) but it's too difficult to modifie apk after odex (you can't mod APKs if there isn't classes.dex inside before deodex it).
In fact ODEX is an OPTIMIZED-DEX and Android load system and app faster than deodexed (DEOPTIMIZED-DEX) app and system.
When you have a deodex file (a lot of roms are deodexed) you have File.apk in system/app and in data/dalvik-cache/system@app@File.apk@classes.dex, but with odex file you have File.apk in system/app and File.odex in system/app
Stock ROMs are all odexed to have this features and my script allow you to re-add these on your custom ROM.
With these explanations you can understand that:
Odexed ROM = Faster, more stability and battery life, less ram utilization but difficult customization of APKs and a little bit slower boot
Deodexed ROM = Slower, less stability and battery life, more ram utilization but easy customization of APKs and a little bit faster boot
If you run this script with "Remove classes.dex: Disabled", your rom will be odexed without difficult customization of APKs but remember to re-odex it after mod.
My script does (it depends by option):
- Odex framework (of course also bootstrap)
- Odex app in system/app
- Odex app in system/priv-app (if you have android kitkat)
- Remove classes.dex from jar/apk (if you enable this option)
All commands of my script:
+ frame [odex all framework]
+ sysapp [odex all system apps]
+ all [odex framework and system apps]
+ set [change settings of the script]
+ exit [exit from the script]
+ easter egg [nothing important]
WORKING WITH FOLLOWING ANDROID VERSIONS
- Froyo
- GingerBread
- Honeycomb
- IceCreamSandwich
- JellBean
- KitKat
- NO LOLLIPOP (for now)
Credits:
- @MatrixDJ96 (Me)
- MrTony68 (Beta Tester)
- @Thyrus (Beta Tester)
- @angel.sea (For Support)
- Stericson (For BusyBox)
TO DEVELOPES
If you want to use or add this script on your ROM, you MUST give me credit in your thread.
Thanks for the cooperation
Follow me here: Odexer Tool Official Community
ENJOY WITH ODEXER TOOL!!!
Please, give me a thanks if you like my work
By MatrixDJ96
Last edited: