[TOOL] Kamome tool for Windows - deodex tool for 4.4 KitKat

Search This thread

aidy.lucas

Senior Member
Oct 8, 2014
1,859
608
Just used v6 to deodex my Xperia m2 4.4.4 kk works like a charm. V7 goes through the motions of but fails at flushing zip every time

D2303 stock deodexed 4.4.4 KK rooted philz touch recovery xposed Bravia engine 2 x-reality
 

avayrocks

Senior Member
May 10, 2014
143
22
Bhubaneswar
Unable to download v6a please help
It says infected with a virus the owner can only download infected file
Plz help v7 didn't working for m
 

Mroid

Member
Feb 4, 2012
26
8
i have the same issue as PittBrad - on new firmware .157, flashing the zip is aborted

Any solution to this? I've tried installing the zip with .157 and it just comes up 'Installation aborted' immediately after 'Installing update' with both CWM and TWRP, no explanation is given. Checksum of file is OK.

ETA ok looks like the zip wasn't being created properly, I replace the 'azip' section with the below;

Code:
:azip
cls
@echo;
@echo Adding deodexed files to deodex_install.zip
[B]For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set TEMPDATE=%%c-%%a-%%b)
For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set TEMPTIME=%%a%%b)
copy "cmd\deodex_install.zip" "deodex_install_%TEMPDATE%-%TEMPTIME%.zip"
cmd\7za a -tzip "deodex_install_%TEMPDATE%-%TEMPTIME%.zip" system[/B]
@echo Deleting work folder...
rmdir /Q /S work >>log.txt 2>&1
@echo Completed.
@echo Log is saved in log.txt.
pause
cls
goto menu
 
Last edited:

abhi91ar

Senior Member
Apr 13, 2015
60
1
muzaffarpur
Xiaomi 11T Pro
I created deodex tool based on kamome tool for Xperia 4.4.
This tool supports all Xperia 4.4.

Note: Z2 has "com.android.nfc_extras.odex", but there is no "com.android.nfc_extras.jar".
Maybe it's OK to leave "com.android.nfc_extras.odex".

This tool renames three files before deodexing (if they exists)
playstationcertified.odex => com.playstation.playstationcertified.odex
cneapiclient_release.odex => cneapiclient.odex
com.quicinc.cne_release.odex => com.quicinc.cne.odex

Download
Note: v7 causes creating zip problem in some environment.
Please use v6a if you have problem.
* For KK 4.4 *
Kamome tool v7 (mirror)
kamome tool v6a (mirror)


* For JB 4.3, 4.2 and 4.1*
Kamome tool v7 (mirror)
kamome tool v6a (mirror)


Changelog
v7
- Automatically copy zip with timestamps when adding apk to zip
- Clear messages after adding apk to zip -> go to menu
- Display Java path on the top of the menu
If you didn't install Java correctly, it will tell you "Java version not found,please install Java Runtime Environment!!"
v6a
- Changed script to delete whole /system/app, framework, priv-app instead of deleting only odex
!! You have to install SuperSU zip after installing deodex zip !!
Since deodex zip deletes superuser.apk, you will lost root if you doesn't install SuperSU zip.
v6
- Added "Exit 0" in del_odex.sh (thanks funky0308)
- Added Exit menu (thanks Henry2o1o)
v5
- Added logging for 4.4 version to investigate what causes error while deodexing
- Updated smali.jar and baksmali.jar (v2.0.3)
v4
- Removed zipalign menu

v3
- Fixed zipalign menu
v2
- Added zipalign option
- Changed adb command (thanks to WafiAzmiHartono)

Requirements
Java runtime
Enable USB debugging on your device (needed if you want to pull files)

Guide
1. Extract zip

2. Run deodex_bat.bat

3. Type 1 to create working directory

4. Type 2 to pull files from your connected device
This step can be skipped if you manually copy /system/app, /system/priv-app, /system/framework folder to /deodex_install_kitkat/system

5. Type 3 to start deodexing

6. Type 4 to create flashable zip

7. Done!

You can now copy deodex_install.zip to your device and flash it with recovery.
NOTE: check the zip and see if there are META-INF folder and del_odex.sh.
If there is only system folder, please download v6a and re-deodex with it.


!! You have to install SuperSU zip after installing deodex zip !!
Since deodex zip deletes folder which includes superuser.apk, you will lost root if you doesn't install SuperSU zip.

Experimental option - Type 5 to zipalign apks (before "6. Type 4 to create flashable zip")
**NOTE**
If you have problem (error or bootloop) with zipalign, retry from 2. and DO NOT run 5. zipalign.
************


Thanks @hagurekamome !




is this work for xperia E3 dual v4.4.4 indian version
 

aidy.lucas

Senior Member
Oct 8, 2014
1,859
608
Yes

D2303 5.1 customised NCB LB rooted Nuts t2u dual recovery bravia engine+x-reality debloated
 

kchat

Member
Oct 16, 2014
41
7
Kolkata
Awesomt tool. It successfully deodexed my Sony D2105. But it's causing bootloop, even after wiping cache/dalvik & finally factory reset. what to do now? plz, help! :confused:
 

aidy.lucas

Senior Member
Oct 8, 2014
1,859
608
I know it works used it myself many times on kk. Try a different version

D2303 5.1 customised NCB LB rooted Nuts t2u dual recovery bravia engine+x-reality debloated
 

STORMBAY

Senior Member
Sep 4, 2013
134
37
I try on xperia zr kitkat 4.4.4 and it is not work get bootloop. I try several times without zipalgined apps.
What I am doing wrong?
 

Notice me sensei

New member
Mar 27, 2016
1
0
is this working with samsung KK? cuz i already tried it and nothing goes wrong but my apk apps is still there after deodexing it (apps like SU) and it still rooted after i deodexed. is this right? (how to know if my phone is deoxed)
 

mfgea

New member
Jul 13, 2016
1
0
OSX (and maybe Linux) port

Here's a very basic OSX port. It has some checks removed but works. There would be a big TODO, but I have very little time. It's hosted on github, check
Code:
mfgea/android-deodex

Regards!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 188
    I created deodex tool based on kamome tool for Xperia 4.4.
    This tool supports all Xperia 4.4.

    Note: Z2 has "com.android.nfc_extras.odex", but there is no "com.android.nfc_extras.jar".
    Maybe it's OK to leave "com.android.nfc_extras.odex".

    This tool renames three files before deodexing (if they exists)
    playstationcertified.odex => com.playstation.playstationcertified.odex
    cneapiclient_release.odex => cneapiclient.odex
    com.quicinc.cne_release.odex => com.quicinc.cne.odex

    Download
    Note: v7 causes creating zip problem in some environment.
    Please use v6a if you have problem.
    * For KK 4.4 *
    Kamome tool v7 (mirror)
    kamome tool v6a (mirror)


    * For JB 4.3, 4.2 and 4.1*
    Kamome tool v7 (mirror)
    kamome tool v6a (mirror)


    Changelog
    v7
    - Automatically copy zip with timestamps when adding apk to zip
    - Clear messages after adding apk to zip -> go to menu
    - Display Java path on the top of the menu
    If you didn't install Java correctly, it will tell you "Java version not found,please install Java Runtime Environment!!"
    v6a
    - Changed script to delete whole /system/app, framework, priv-app instead of deleting only odex
    !! You have to install SuperSU zip after installing deodex zip !!
    Since deodex zip deletes superuser.apk, you will lost root if you doesn't install SuperSU zip.
    v6
    - Added "Exit 0" in del_odex.sh (thanks funky0308)
    - Added Exit menu (thanks Henry2o1o)
    v5
    - Added logging for 4.4 version to investigate what causes error while deodexing
    - Updated smali.jar and baksmali.jar (v2.0.3)
    v4
    - Removed zipalign menu

    v3
    - Fixed zipalign menu
    v2
    - Added zipalign option
    - Changed adb command (thanks to WafiAzmiHartono)

    Requirements
    Java runtime
    Enable USB debugging on your device (needed if you want to pull files)

    Guide
    1. Extract zip

    2. Run deodex_bat.bat

    3. Type 1 to create working directory

    4. Type 2 to pull files from your connected device
    This step can be skipped if you manually copy /system/app, /system/priv-app, /system/framework folder to /deodex_install_kitkat/system

    5. Type 3 to start deodexing

    6. Type 4 to create flashable zip

    7. Done!

    You can now copy deodex_install.zip to your device and flash it with recovery.
    NOTE: check the zip and see if there are META-INF folder and del_odex.sh.
    If there is only system folder, please download v6a and re-deodex with it.


    !! You have to install SuperSU zip after installing deodex zip !!
    Since deodex zip deletes folder which includes superuser.apk, you will lost root if you doesn't install SuperSU zip.

    Experimental option - Type 5 to zipalign apks (before "6. Type 4 to create flashable zip")
    **NOTE**
    If you have problem (error or bootloop) with zipalign, retry from 2. and DO NOT run 5. zipalign.
    ************


    Thanks @hagurekamome !
    9
    I'm trying to update Kamome tool to support Lollipop, but there's some error while deodexing Google apps...
    If someone know how to fix them, please let me know.
    http://x.androplus.org/1H3cuNg
    8
    will it work on 4.3 ?

    It won't work because 4.4 version has "priv-app".
    I deleted "priv-app" related command, so this version will work for 4.3.
    https://mega.co.nz/#!30Q02QaQ!MM-PLgYRCpvPUUvasV6MTh76t_4mDrmUwQ1xc86KWcM
    5
    I updated kamome tool to v2:
    - Added zipalign option (not tested on my device...)
    - Changed adb command (thanks to WafiAzmiHartono)
    4
    Please don't use lollipop test version for your daily driver phone!
    As I said previous post, it's not completed and will cause bootloop.

    I'll release with temporary solution (ignore deodexing of some Google apps)