Would you like to speed up your rom,
more stability, more battery life, no lag to open system app and better
ram utilization? Now you can! (Only For Rooted Phone And Deodexed Rom)
This is possible with my Odexer Tool created myself.
I worked a lot of time to create this script.
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.
Another explanation is this:
If you odex the rom, you'll have also more space in data (this is
important because if you don't have partition ext4 in sdcard, you won't
have too free space), increase battery life, more stability and increase
perfomance( the Rom is more faster to load system and app) but you
can't modifie apk after odex (you can't mod program with classes.dex).
Infact 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
With these explanation you can understand that:
Odexed Rom = +fast -difficult_customization +more_battery_life +better_stability +less_ram_utilization
Deodexed Rom = -slow +customization -less_battery_life -less_stability -worse_ram_manager
If you run my script with remove classes.dex and zipalign disabled your rom will be odexed without "-difficult_customization"
My script does (it depends by option):
- odex framework
- odex app in system/app
- odex app in system/priv-app (if you have android kitkat)
- remove classes.dex and zipalign 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];
> 1 [enable/disable remove classes.dex and zipalign]
> 2 [back]
+ exit [exit from the script]
WORKING IN ALL ROM (Froyo, GingerBread, IceCreamSandwich, JellBean And KitKat)
AOSP - AOKP - CM - MIUI - PA - PAC - BASE STOCK - ALL!
Credits:
- @MatrixDJ96 (Me)
- MrTony68 (Beta Tester)
- @Thyrus (Beta Tester)
- @angel.sea (For Support)
Changelog
Changelog:
Odexer Tool 1.1.1
- Fixed "elif syntax error"
-----------------------------------
Odexer Tool 1.1
- Fixed creation of flashable zip in some device
- Disabled command to change settings with kitkat
- Fixed minor bugs
-----------------------------------
Odexer Tool 1.0
- First stable version
Important Dalvik
IMPORTANT IF ANDROID REBUILD DALVIK-CACHE AT ALL BOOT (Android is upgrading...):
1 - Remove all files .odex from /system/app, /system/framework (and /system/priv-app if you have android kitkat)
2 - Enable "Remove classes.dex & Zipalign"
IMPORTANT TO ODEX KITKAT ROM:
The Options "Remove classes.dex" & "Zipalign" Must Be Disabled!
IMPORTANT TO ODEX YOUR ROM:
To Odex Framework (Command 'dexo -fr') You Must Have At Least 16% Of Free Space In System.
To Odex System Apps (Command 'dexo -sys') You Must Have At Least 26% Of Free Space In System.
How to odex:
- download file
- go to recovery
- install zip
- reboot
- open terminal emulator (will be installed automaticaly)
- setting terminal type "Linux"
- type su to obtain root permission
- type odex and enjoy!
IF YOU HAVE ENABLED "REMOVE CLASSES.DEX & ZIPALIGN", A FLASHABLE ZIP BY RECOVERY WILL BE CREATED WITH OPTIMIZED SYSTEM SO REBUILD IN RECOVERY AND FLASH THIS FILE (You find it in sdcard and it's called "Optimized-System_NAMEOFYOURDEVICE.zip")
I hope that all are clear
+++++++++++++++++++++++++++++++++
Download link: download sini aja..
++++++++++++++++++++++++
Very Thank to >> MatrixDJ96
Sumber >> xda-developers nya master MatrixDJ96 :)
1 komentar:
link broken
Posting Komentar