IT is the first step towards Theming your stock rom...
So, 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.
After the boot, reboot again in CWM and Wipe Dalvik Cache, reboot and ENJOY !!!
Notice : First boot will take a little bit longer than normal
NOW YOUR ROM IS READY FOR THEMES OF UR CHOICES.... !!!!!
DEODEX => A way of accessing the system files to allow use of custom themes, icons, buttons, menus,phone dialpads, and more..
i.e.
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.
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.
So, 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.
WHAT U WILL NEED :-
- ROOTED android device
- BUSYBOX INSTALLER (from market) /*skip if already have*/
- XULTIMATE
- Android SDK toolkit
STEPS TO DEODEX YOUR ROM :-
- Unzip xUltimate v2.2. Launch “Main.exe”.
- Now xUltimate should recognize the phone and make a connection. You will now see a list of options.
- Run option 1. After option 1 is done, run option 2.6. This may take a while, so be patient.
- Now run option 3
- After you have run option 3, you MUST navigate to the xUltimate folder and find “origi_frame” folder, and delete “guava.odex“. This file interferes with deodexing process.
- Note: If there is no guava.odex, then simply continue to next step !
- Now run option 4, and wait.
- Exit xUltimate, and put the phone in USB mass storage then copy “done_frame”, and “done_app” to the root of the sdcard then put the phone in PC mode.
- Open a command prompt, and do the following:
NOTE:- Goto folder where android sdk installed. Then goto platform-tools folder in it. Right click on free space in folder while pressing shift key.Select open command prompt here.
Now enter commands.
Now enter commands.
if you are using adb shell in su for the first time, keep phone screen on. After entering "su" code, super user request prompt in phone. Press allow
adb shell su stop mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system busybox cp /sdcard/done_app/* /system/app/ busybox cp /sdcard/done_frame/* /system/framework/ rm /system/app/*.odex rm /system/framework/*.odex mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system reboot
After the boot, reboot again in CWM and Wipe Dalvik Cache, reboot and ENJOY !!!
Notice : First boot will take a little bit longer than normal
NOW YOUR ROM IS READY FOR THEMES OF UR CHOICES.... !!!!!