• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE][UPDATED] How to deodex stock kitkat roms

Search This thread

AndikaTedja

Senior Member
Feb 24, 2013
162
205
Denpasar, Bali
For those doesnt know how to deodex kitkat roms, here is a guide to deodex your rom
This tool is based on kamome tool for Xperia 4.4, so i edit it a little:laugh:

ALWAYS DO A NANDROID BACKUP

Pre-requested :
  1. Java
  2. Rooted phone
  3. Odexed rom
  4. USB Debugging enabled (If you want to pull files from your device)
  5. Custom Recovery (Tested on CWM)

Download :
Non Zipalign :
Kitkat_Deodexer
Mirror 1
Mirror 2
Please dont make another mirrors

With Zipalign
Kitkat_Deodexer_With_Zipalign
Mirror 1
Please dont make another mirrors

Guide :
  1. Extract downloaded tool
  2. Run main.bat
  3. Type 1 to create working folder
  4. Plug in your phone, then type 2 to pull files from your device
    This step can be skipped if you manually copy /system/app, /system/framework, /system/priv-app to /Kitkat_Deodexer/system
  5. Type 3 to start deodexing
  6. Type 4 to zipalign apks (not tested by me)
  7. Type 5 to create flashable zip
    This step also can be skipped if you want to build your own flashable zip by editing updater-script
  8. Done

To install it :
  1. Copy deodex_install.zip to your sdcard
  2. Go to CWM recovery
  3. Flash the zip
  4. Done

Note:
  1. Zipalign tested and worked by @thisisapoorusernamechoice

Credits :
Thanks to @hagurekamome
@RyokoN
@liv3dn8as for adding zipalign

If you dont understand, broken link, errors, please reply ;)
 
Last edited:

KnifeHead

Senior Member
Nov 22, 2013
179
87
No reply???
Then I am first :laugh:
Thanks for this one gan @AndikaTedja :highfive: , now I can make deodexed rom without bootloop.
Recomended for newbies who want to try to make deodexed custom rom, like me :eek: :cyclops:
 
Last edited:
  • Like
Reactions: stalker7q

NikosR6

Member
Nov 17, 2013
40
5
Hello!!

Hello hello Bro....can you please check the download link?it does not work to me...or i am doing something wrong?
Special thanks in advance!:laugh:

I am sorry...the link is perfect the mistake was mine!
From usb donggle i couldnt dowloadthe file...please forgive me!
 
Last edited:

khelwani

Senior Member
Dec 2, 2010
178
74
Thaaaanks...

I've been waiting for this from ages ago

I'll let you know the results

really thanks

Sent from my GT-I9505 using Tapatalk

-------------------------


Working 100% on i9505 4.4.2 stock...

now i'm deodexd ")

Thanks again
 
Last edited:

AndikaTedja

Senior Member
Feb 24, 2013
162
205
Denpasar, Bali
Hello hello Bro....can you please check the download link?it does not work to me...or i am doing something wrong?
Special thanks in advance!:laugh:

I am sorry...the link is perfect the mistake was mine!
From usb donggle i couldnt dowloadthe file...please forgive me!
Try these links
Mirror 1
Mirror 2
Please dont make another mirror ;)

Thaaaanks...

I've been waiting for this from ages ago

I'll let you know the results

really thanks

Sent from my GT-I9505 using Tapatalk
Okay ;)
 

androidrouen

Senior Member
Jan 27, 2014
597
232
★ ★ ★ ★ ★ ★
question

your tool is great and works good, but ^^ : i tried to deodex framework of i9500 4.3 stock rom, all fw.jar is ok but services.jar deodex cause bootloop ? why ? can you help me ?
thanks a lot :):laugh:
 

AndikaTedja

Senior Member
Feb 24, 2013
162
205
Denpasar, Bali
help please . when i do this tutorial my phones stuck in samsung logo. can somebody help me?
Its bootloop, try to restore your nandroid backup (i ve told before)

your tool is great and works good, but ^^ : i tried to deodex framework of i9500 4.3 stock rom, all fw.jar is ok but services.jar deodex cause bootloop ? why ? can you help me ?
thanks a lot :):laugh:
For 4.3 try this guide
http://forum.xda-developers.com/showthread.php?t=2492401
 
  • Like
Reactions: sharkie405

joseph-

Senior Member
Mar 23, 2014
860
191
Its bootloop, try to restore your nandroid backup (i ve told before)


For 4.3 try this guide
http://forum.xda-developers.com/showthread.php?t=2492401

Someone please send me the Java link please

---------- Post added at 07:01 PM ---------- Previous post was at 06:25 PM ----------

help please . when i do this tutorial my phones stuck in samsung logo. can somebody help me?

I'm having a problem my computer telling me Java not installed but it's installed please help
 

AndikaTedja

Senior Member
Feb 24, 2013
162
205
Denpasar, Bali
  • Like
Reactions: mitky82

iKustomize

Member
Jun 26, 2013
17
1
hi i used this method followed steps 1-7 and it seem to go well kept saying everything is ok however when i placed the deodex_install.zip on my sd card and tried to run it i just got..

Finding update package...
Opening update package...
Installing update...
Installation aborted.

what could be the problem i am on a Galaxy s4 i9505 running XXUFNB8 stock kitkat rom, Rooted with cwm installed
 
Last edited:

AndikaTedja

Senior Member
Feb 24, 2013
162
205
Denpasar, Bali
hi i used this method followed steps 1-7 and it seem to go well kept saying everything is ok however when i placed the deodex_install.zip on my sd card and tried to run it i just got..

Finding update package...
Opening update package...
Installing update...
Installation aborted.

what could be the problem i am on a Galaxy s4 i9505 running XXUFNB8 stock kitkat rom, Rooted with cwm installed
Try to reinstall or manually zip system,meta-inf,del_odex.sh (Found in deodex_install.zip)
or try to mount /system manually on cwm
Also remember to do a nandroid backup
 

Roby DM

New member
May 6, 2014
1
0
surabaya
ask

Guide :

Extract downloaded tool

Run main.bat

Type 1 to create working folder

Plug in your phone, then type 2 to pull files from your device

This step can be skipped if you manually copy /system/app, /system/framework, /system/priv-app to /Kitkat_Deodexer/system

Type 3 to start deodexing

Type 4 to create flashable zip

This step also can be skipped if you want to build your own flashable zip by editing updater-script

Done

i always get a error message.. error : more than one device and emulator
 
Last edited:

AndikaTedja

Senior Member
Feb 24, 2013
162
205
Denpasar, Bali
Try this

i always get a error message.. error : more than one device and emulator
Okay try this (Remember to turn on usb debugging)
1. hold shift button + right click on cmd folder(in Deodex_Kitkat folder) then click "open command window here"
2. Type adb devices (allow on your phone)
3. Remember your device number or whatever is that :p
Clip_3-_zps666b9a68.jpg

4. Open main.bat with Notepad++ or Notepad
5. Sarch this line
Code:
cmd\adb pull /system/app system\app
cmd\adb pull /system/priv-app system\priv-app
cmd\adb pull /system/framework system\framework
6. Add
Code:
-s xxxxxxxxxxxxx
after cmd\adb line (for example mine is 4d00ce0315ad307f)
so it would like this
Code:
cmd\adb -s 4d00ce0315ad307f pull /system/app system\app
cmd\adb -s 4d00ce0315ad307f pull /system/priv-app system\priv-app
cmd\adb -s 4d00ce0315ad307f pull /system/framework system\framework
7. Save
8. Run main.bat

Let me know the result
 

cnn888

Senior Member
Dec 13, 2008
842
107
will it work on exynos s5?
there is no custom rom for g900h variant yet as of now
 

Top Liked Posts

  • There are no posts matching your filters.
  • 146
    For those doesnt know how to deodex kitkat roms, here is a guide to deodex your rom
    This tool is based on kamome tool for Xperia 4.4, so i edit it a little:laugh:

    ALWAYS DO A NANDROID BACKUP

    Pre-requested :
    1. Java
    2. Rooted phone
    3. Odexed rom
    4. USB Debugging enabled (If you want to pull files from your device)
    5. Custom Recovery (Tested on CWM)

    Download :
    Non Zipalign :
    Kitkat_Deodexer
    Mirror 1
    Mirror 2
    Please dont make another mirrors

    With Zipalign
    Kitkat_Deodexer_With_Zipalign
    Mirror 1
    Please dont make another mirrors

    Guide :
    1. Extract downloaded tool
    2. Run main.bat
    3. Type 1 to create working folder
    4. Plug in your phone, then type 2 to pull files from your device
      This step can be skipped if you manually copy /system/app, /system/framework, /system/priv-app to /Kitkat_Deodexer/system
    5. Type 3 to start deodexing
    6. Type 4 to zipalign apks (not tested by me)
    7. Type 5 to create flashable zip
      This step also can be skipped if you want to build your own flashable zip by editing updater-script
    8. Done

    To install it :
    1. Copy deodex_install.zip to your sdcard
    2. Go to CWM recovery
    3. Flash the zip
    4. Done

    Note:
    1. Zipalign tested and worked by @thisisapoorusernamechoice

    Credits :
    Thanks to @hagurekamome
    @RyokoN
    @liv3dn8as for adding zipalign

    If you dont understand, broken link, errors, please reply ;)
    3
    @AndikaTedja
    I'm sorry but what does zipalign mean for in the first post? What does it do?
    As i remember from other xda member, zipalign allows apps to run with low ram usage
    In this tool, it zipalign your apps after deodex process completed
    3
    Hello hello Bro....can you please check the download link?it does not work to me...or i am doing something wrong?
    Special thanks in advance!:laugh:

    I am sorry...the link is perfect the mistake was mine!
    From usb donggle i couldnt dowloadthe file...please forgive me!
    Try these links
    Mirror 1
    Mirror 2
    Please dont make another mirror ;)

    Thaaaanks...

    I've been waiting for this from ages ago

    I'll let you know the results

    really thanks

    Sent from my GT-I9505 using Tapatalk
    Okay ;)
    2
    Worked on my Galaxy Tab 4 10.1

    I just wanted to say thank you again to @AndikaTedja for this extremely useful tool! :D

    For anyone interested, this worked perfectly on my Samsung Galaxy Tab 4 10.1 SM-T530NU on build no. UEU1ANK1 4.4.2 KitKat. Main.bat wasn't able to pull the required directories, so I did that myself using ES smb. Other than that everything worked exactly as it should, I chose the option to zipalign too. I was able to flash the zip file created by the tool in TWRP 2.8.4.0. Just remember the first boot will probably take a very long time, so be patient and make sure your battery is charged before trying this.
    2
    on 9506 4.4.2 stock, looks like it work...

    but after flashing zip i need to clear cache or something, or after flashing it, it's all done?

    i did it just to use this mod but it doesn't work, and i don't know if depends on the incorrect deodex or in the mod
    Basically when you deodex a ROM you are extracting the classes.dex from the odex files and placing them inside the apk and jar files they belong to and the first time you reboot after deodexing, the classes.dex from your newly deodexed apk and jar files get copied to /data/dalvik-cache
    Because that's all that really changes, no wiping is needed.

    ---------- Post added at 01:02 AM ---------- Previous post was at 12:39 AM ----------

    Ive used this tool a couple times to deodex the stock firmwares for my phone and it deodexes the apk and jar files just fine. It does have a couple issues though.
    First, when I use the new version with zipalign, I get a notification when I reboot saying that "application installer has stopped." This really isn't a big deal since I can use Ricky's ROM Kitchen (which ironically doesn't work correctly for deodexing lol) to zipalign everything.
    Second, the first time I used this tool (the old version without zipalign) everything worked perfectly but now, for some reason, the odex files are still present in the app, priv-app, and framework folders and have to be deleted manually. Upon closer inspection I noticed that the del_odex.sh file is missing from the zip and when I use 7zip to copy it into the new zip it works just fine.

    My device is Samsung Galaxy Avant SM-G386T.