Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP AndroPlus

11th April 2014, 05:43 AM   |  #1  
AndroPlus's Avatar
OP Senior Member
Thanks Meter: 1,057
 
493 posts
Join Date:Joined: Mar 2013
Donate to Me
More
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
* For KK 4.4 *
kamome tool v6a (mirror)
kamome tool v6 (mirror)
kamome tool v5 (mirror)
kamome tool v4 (mirror)
kamome tool v3 (mirror) (mirror2)
kamome tool v1

* For JB 4.3, 4.2 and 4.1*
kamome tool v6a (mirror)
kamome tool v3 (mirror) (mirror2)
kamome tool v1

Changelog
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.
!! 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 !
Last edited by AndroPlus; 30th June 2014 at 10:13 AM.
The Following 142 Users Say Thank You to AndroPlus For This Useful Post: [ View ]
11th April 2014, 09:49 AM   |  #2  
[NUT]'s Avatar
Recognized Contributor
Flag Cyberspace and the Universe
Thanks Meter: 6,139
 
4,139 posts
Join Date:Joined: Oct 2012
Donate to Me
More
Great work, yet again @RyokoN
11th April 2014, 10:16 AM   |  #3  
Senior Member
Flag Ruda Śląska
Thanks Meter: 23
 
136 posts
Join Date:Joined: Jan 2011
More
will it work on 4.3 ?
12th April 2014, 05:39 AM   |  #4  
AndroPlus's Avatar
OP Senior Member
Thanks Meter: 1,057
 
493 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by jokamaciek

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-PLg...rmUwQ1xc86KWcM
The Following 9 Users Say Thank You to AndroPlus For This Useful Post: [ View ]
13th April 2014, 07:02 PM   |  #5  
XperienceD's Avatar
Senior Member
Flag Here =)
Thanks Meter: 2,437
 
7,357 posts
Join Date:Joined: Jul 2010
More
Been using the kitchen which has been a pain since KK was released but this is great!
13th April 2014, 08:18 PM   |  #6  
Viktor Zelenay's Avatar
Member
Thanks Meter: 15
 
33 posts
Join Date:Joined: May 2013
Thumbs up
Jop, thanx. This is awesome tool, guys now know how to make my own ROM.
Really thanx.
13th April 2014, 09:10 PM   |  #7  
stalin.sk2's Avatar
Senior Member
Flag Madurai
Thanks Meter: 45
 
127 posts
Join Date:Joined: Sep 2012
More
Awesome Script
Thanks man its make very simple to deodex my phone
14th April 2014, 12:06 AM   |  #8  
serajr's Avatar
Recognized Developer / Recognized Themer
Flag Rafard - SP
Thanks Meter: 10,536
 
2,797 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Thumbs up
Great tool... Congrats!!
And also you have made the news !!
The Following User Says Thank You to serajr For This Useful Post: [ View ]
14th April 2014, 03:36 PM   |  #9  
Feodorus 4PDA's Avatar
Senior Member
Flag Khabarovsk
Thanks Meter: 37
 
132 posts
Join Date:Joined: Jan 2013
More
SONY Xperia Z Ultra FW 14.3.A.0.757 KitKat works everything well. Thanks for the best work.
14th April 2014, 03:44 PM   |  #10  
Junior Member
Flag Jombang
Thanks Meter: 3
 
17 posts
Join Date:Joined: Jan 2014
More
It's not working on Xperia M.
But after replacing this code on deodex_bat.bat

Code:
:pfile
cls
cmd\adb wait-for-device
@echo Pulling files from your device...
cmd\adb pull /system/app system\app
cmd\adb pull /system/framework system\framework
pause
cls
goto menu
With this code

Code:
:pfile
cls
cmd\adb kill-server
cmd\adb start-server
@echo Pulling files from your device...
cmd\adb pull /system/app system\app
cmd\adb pull /system/framework system\framework
pause
cls
goto menu
It's working perfect, awesome, thanks for the tool
Sorry for my bad english.

The Following 2 Users Say Thank You to WafiAzmiHartono For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
4.4, deodex, tool, xperia
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes