0
Before using this , you need to know the basics of deodex/odex and why to do it ...



WHAT IS AN ODEX FILE?
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 applications difficult 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 the worry 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.

HOW THIS WORKS
For the more geeky amongst us, Android OS uses a Java-based virtual machine for running applications, called the Dalvik Virtual Machine. A deodexed, or .dex file contains the cache used by this virtual machine (referred to as Dalvik-cache) for a program, and it is stored inside the APK. An .odex file, on the other hand, is an optimized version of this same .dex file that is stored next to the APK as opposed to inside it. Android applies this technique by default to all the system applications.
Now, when an Android-based system is booting, the davlik cache for the Davlik VM is built using these .odex files, allowing the OS to learn in advance what applications will be loaded, and thus speeds up the booting process.
By deodexing these APKs, a developer actually puts the .odex files back inside their respective APK packages. Since all code is now contained within the APK itself, it becomes possible to modify any application package without conflicting with the operating system’s execution environment.

ADVANTAGES & DISADVANTAGES
The advantage of deodexing is in modification possibilities. This is most widely used in custom ROMs and themes. A developer building a custom ROM would almost always choose to deodex the ROM package first, since that would not only allow him to modify various APKs, but also leave room for post-install theming.
On the other hand, since the .odex files were supposed to quickly build the dalvik cache, removing them would mean longer initial boot times. However, this is true only for the first ever boot after deodexing, since the cache would still get built over time as applications are used. Longer boot times may only be seen again if the dalvik cache is wiped for some reason.
For a casual user, the main implication is in theming possibilities. Themes for android come in APKs too, and if you want to modify any of those, you should always choose a dedoexed custom ROM.

Download 

Odin : here
Zip Package for odin : here
Deodexed rom : here
Odexed rom : here

Instructions 

1)You have to install deodexed stock rom before you can install this rom .
2)This is very important . You cannot install this rom on any custom rom or stock rom .
3)For this , you have to download odin 307 from above
4)Now download S5360_DXLF2_OLBLG1_DXLF1.ZIP package from above
5)Now extract the zip file and there you will find PDA file ,MODEM file and GT-S file .
6)Now shut down your mobile and enter download mode (press volume down button + menu button + power button at the same time )
7)Open odin in pc and connect your mobile . It will recognise it .
8)Now Select
           (a)PDA button – look for the file with the letters PDA or CODE on it,
               like PDA_S6102XXXXX.tar.md5 (also .tar support)
            (b) PHONE button- look with the word MODEM file,
              like MODEM_S6102XXXXX.tar.md5 (also .tar support)
           (c)CSC button – associated also with letters CSC or Multi_CSC,
               like GT-S6102OXXXXX.tar.md5 (also .tar support)  
           and then press start . It will take care of other things .
9)Now again root your mobile and install cmw .
10) First download DeodexDXLF 1 and then copy it to mobile . Then reboot to recovery mode (pressing volume up + Home + power button together ) and then open cmw recovery.
11) Wipe data and wipe everything . Now select 'choose zip from sdcard ' and select the file you copied .
12) Now reboot .

Your phone is odexed/deodexed as you wish ......

Post a Comment

 
Top