Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,137 Members 50,697 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
RyokoN
Old
(Last edited by RyokoN; 30th June 2014 at 09:13 AM.)
#1  
RyokoN's Avatar
Senior Member - OP
Thanks Meter 924
Posts: 431
Join Date: Mar 2013

 
DONATE TO ME
Prompt [TOOL] Kamome tool for Windows - deodex tool for 4.4 KitKat

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 !
The Following 129 Users Say Thank You to RyokoN For This Useful Post: [ Click to Expand ]
 
[NUT]
Old
#2  
[NUT]'s Avatar
Recognized Contributor
Thanks Meter 5,964
Posts: 4,104
Join Date: Oct 2012
Location: Cyberspace and the Universe

 
DONATE TO ME
Great work, yet again @RyokoN



My work for the community on XDA ~ My file hosting ~ Please do not mirror my files!
Xperia Arc (LT15i), Xperia P (LT22i), Xperia T (LT30p), Xperia L (C2105), Xperia Z (C6603), Xperia Tablet Z (SGP321), Xperia Z1 (C6903), Xperia Z2 (D6503)
 
jokamaciek
Old
#3  
Senior Member
Thanks Meter 23
Posts: 136
Join Date: Jan 2011
Location: Ruda Śląska
will it work on 4.3 ?
 
RyokoN
Old
#4  
RyokoN's Avatar
Senior Member - OP
Thanks Meter 924
Posts: 431
Join Date: Mar 2013

 
DONATE TO ME
Quote:
Originally Posted by jokamaciek View Post
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 RyokoN For This Useful Post: [ Click to Expand ]
 
XperienceD
Old
#5  
XperienceD's Avatar
Senior Member
Thanks Meter 2,397
Posts: 7,292
Join Date: Jul 2010
Location: Here =)
Been using the kitchen which has been a pain since KK was released but this is great!
 
Viktor Zelenay
Old
#6  
Viktor Zelenay's Avatar
Junior Member
Thanks Meter 5
Posts: 23
Join Date: May 2013
Jop, thanx. This is awesome tool, guys now know how to make my own ROM.
Really thanx.
 
stalin.sk2
Old
#7  
stalin.sk2's Avatar
Senior Member
Thanks Meter 45
Posts: 127
Join Date: Sep 2012
Location: Madurai
Default Awesome Script

Thanks man its make very simple to deodex my phone
 
serajr
Old
#8  
serajr's Avatar
Recognized Developer / Recognized Themer
Thanks Meter 9,741
Posts: 2,535
Join Date: Apr 2011
Location: Rafard - SP

 
DONATE TO ME
Great tool... Congrats!!
And also you have made the news !!
I have paced these forests for so long
I don`t know, if I am a man or I am beast
I though hold deep within me, a quest for revenge
Then I must be a man as much as I can be
I have learned to speak the tongue of animal
I have learned to read the signs in bark and snow
I have taken within myself the spirits of my fathers long time gone
In this short time, far from home
A man of iron I`ve grown...
...A man of iron I have grown

(Hail Quorthon... RIP)

If you like my work and consider me worthy, consider DONATE me too. Thanks in advance!
The Following User Says Thank You to serajr For This Useful Post: [ Click to Expand ]
 
Feodorus 4PDA
Old
#9  
Feodorus 4PDA's Avatar
Senior Member
Thanks Meter 35
Posts: 122
Join Date: Jan 2013
Location: Khabarovsk
SONY Xperia Z Ultra FW 14.3.A.0.757 KitKat works everything well. Thanks for the best work.
My Phone: SONY Xperia Z Ultra
Firmware: LB STOCK 4.4.4 14.4.A.0.108
 
WafiAzmiHartono
Old
#10  
Junior Member
Thanks Meter 3
Posts: 16
Join Date: Jan 2014
Location: Jombang
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: [ Click to Expand ]
Tags
4.4, deodex, tool, xperia
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes