FORUMS

OnePlus 2 Announced: Specs, Price and Details

The OnePlus 2 has just had its Virtual Reality Launch event, and at the XDA Office we all … more

A Helpful Guide to Music Streaming Services

With the launch of Apple Music, music streaming services have recently gained a lot of … more

An Inside Look at the Redesign of Business Calendar

The much-acclaimed calendar app, Business Calendar, underwent a major design … more

New Android One Device Dead On Arrival

Today, Google announced the second generation of Android One devices, with the new Lava Pixel … more

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

865 posts
Thanks Meter: 2,001
 
Post Reply Subscribe to Thread Email Thread
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 !
Last edited by AndroPlus; 19th March 2015 at 12:28 AM.
The Following 178 Users Say Thank You to AndroPlus For This Useful Post: [ View ]
 
 
11th April 2014, 08:49 AM |#2  
[NUT]'s Avatar
Recognized Contributor
Flag Cyberspace and the Universe
Thanks Meter: 8,901
 
Donate to Me
More
Great work, yet again @RyokoN
11th April 2014, 09:16 AM |#3  
Senior Member
Flag Ruda Śląska
Thanks Meter: 24
 
More
will it work on 4.3 ?
12th April 2014, 04:39 AM |#4  
AndroPlus's Avatar
OP Senior Member
Flag Kyoto
Thanks Meter: 2,001
 
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, 06:02 PM |#5  
XperienceD's Avatar
Senior Member
Flag Here =)
Thanks Meter: 2,507
 
More
Been using the kitchen which has been a pain since KK was released but this is great!
13th April 2014, 07:18 PM |#6  
Viktor Zelenay's Avatar
Member
Thanks Meter: 18
 
More
Thumbs up
Jop, thanx. This is awesome tool, guys now know how to make my own ROM.
Really thanx.
13th April 2014, 08:10 PM |#7  
stalin.sk2's Avatar
Senior Member
Flag Madurai
Thanks Meter: 97
 
More
Awesome Script
Thanks man its make very simple to deodex my phone
13th April 2014, 11:06 PM |#8  
serajr's Avatar
Recognized Developer / Recognized Themer
Flag Rafard - SP
Thanks Meter: 13,595
 
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, 02:36 PM |#9  
Feodorus 4PDA's Avatar
Senior Member
Flag Khabarovsk
Thanks Meter: 37
 
More
SONY Xperia Z Ultra FW 14.3.A.0.757 KitKat works everything well. Thanks for the best work.
14th April 2014, 02:44 PM |#10  
Junior Member
Flag Jombang
Thanks Meter: 4
 
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 ]
14th April 2014, 03:03 PM |#11  
iBuzman's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 660
 
More
Thx @RyokoN

Worked a treat, this should be stickied :thumbup:

Sent from my C6833 using Tapatalk
Last edited by iBuzman; 15th April 2014 at 10:28 AM.

Read More
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