Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,501 Members 46,550 Now Online
XDA Developers Android and Mobile Development Forum

[Info/Tools] Deodexing Made Easy...

Tip us?
 
XperienceD
Old
(Last edited by XperienceD; 15th March 2014 at 11:48 AM.)
#1  
XperienceD's Avatar
Senior Member - OP
Thanks Meter 2332
Posts: 7,193
Join Date: Jul 2010
Location: Here =)
Info 2 [Info/Tools] Deodexing Made Easy...

Hi there.

The first thing I do when installing the latest firmware is Deodex it, mainly because having a deodexed ROM is easier to modify and you'll find a lot of the modifications that are are in the Themes And Apps sections require you to have a deodexed ROM. I use the dsixda's Android Kitchen to deodex and @pankaj88 has written a great guide here - [GUIDE] How to DEODEX stock ODEXED ROM using dsixda's kitchen - so you can do it yourself or try the other tools listed below.






The differences between Odex and Deodex Files...

Quote:
Originally Posted by philos64 View Post
In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space The odexed file structure works well as an optimization tool. Since these .odex files contain preliminary load information about each system app, the OS knows what to expect when it’s booting up, and consequently, loads all these apps faster.
On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.

For instance, on a non-rooted device you’ll find
system/app/Phone.apk ===> as well as ===> system/app/Phone.odex
- [GUIDE] - The differences between Odex and Deodex Files



[Utility][win] De-Odexer and Odexer Tool

Quote:
Originally Posted by majdinj View Post


Making modifications to an Odexed file requires a tedious and time consuming process of Deodexing, modifying, and then Reodexing. So here I thought, why not to have a tool by which I could deodex a targeted application, then I can do my modifications, then odex back the file again.. So it was the birth of this tool.. yey

With power of baksmali and smali codes (credits to JesusFreke), and dexopt-wrapper and busybox binaries (credits to Denys Vlasenko); I have came up with this tool..
- [Utility][win] De-Odexer and Odexer Tool





[TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]

Quote:
Originally Posted by abcdjdj View Post
Hi everyone,

Alokbina and I have created a tool which allows users to very easily deodex apks from a rom. This tool is very useful for Rom developers too. For now only windows is supported but we will try our best to make the same tool for linux too and make the tool as user friendly as possible. And, please don't forget to thank alokbina too.

NOW EVEN ON XDA PORTAL - http://www.xda-developers.com/androi...rsal-deodexer/

Requirements:-
--->Java installed on your PC
--->system/framework folder from your rom
--->apks from that SAME ROM with the respective .odex file
--->Patience and a calm head (common sense included)


You can watch this video for setting up and using the tool -
[FIXED][UPDATE - V3][TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]





CARBONITE TOOL

Quote:
Originally Posted by adityaf View Post
Features
1)Deodex your stock ROM (android 2.x 3.x 4.x)
2)This tool automatically pull your apps from phone to PC
3)One click deodexer,
4)Just click Deodexer_from_phone
5)All apps and framework will be deodexed.
6)Automatically makes .zip file flash from CWM.

BUGS
Sometimes it does not deodex androidpolicy.jar just run script once again!
- [TOOL]CARBONITE TOOL [Dedeoxder tool][All devices]





[How-To] Re-Odex a Rom

Quote:
Originally Posted by TearsDontFalls View Post
What do I need to re-odex?

-A rooted phone
-A full NANDroid Backup
-More than 30 mb free space on /system
-ADB drivers for Option 1
-Titanium Backup Pro for Option 2

How can I re-odex a Rom?

There are 2 Options to do it, but only the first does a full re-odex.
- [How-To] Re-Odex a Rom





[UTIL]Auto Odexer Script V2.1-Mod your odex files with a breeze

Quote:
Originally Posted by alkhafaf View Post
Before u read, u should know that this thread is for themers and modders only... and this is not a tool for odexing the whole ROM.

Hello everybody
While I was working on my ROM, and releasing an odex version, I suffered alot in working on the odex files and modifying them. Every time I should use the command line and copy certain commands from a notepad, in addition I have to edit the notepad file to make the commands odex other files... that was a pain...
...
For anyone that want to use these scripts, I wanted to share it with you, and I hope they would be useful to you.

- [UTIL][22/2/13]Auto Odexer Script V2.1-Mod your odex files with a breeze
The Following 34 Users Say Thank You to XperienceD For This Useful Post: [ Click to Expand ]
 
nielneal
Old
(Last edited by nielneal; 9th May 2013 at 05:59 AM.)
#2  
Senior Member
Thanks Meter 392
Posts: 647
Join Date: Jun 2011
Location: Mumbai
when i write this below line

cp /sdcard/done_app/* /system/app/


it says not found cannot proceed...what to do????????


nothing got the other way round
XPERIA Z SUPER FAST WITH eXistenZ and PureXAudio SOUND


4.3 Custom Themes for Xperia Z

http://forum.xda-developers.com/show....php?t=2603346


SONY GLOW EFFECT XPERIA Z
http://forum.xda-developers.com/show....php?t=2237066

AchotjanV2 swipe2clear

http://forum.xda-developers.com/show....php?t=1750708

New 3dmod multi lockscreen colour
http://forum.xda-developers.com/show....php?t=1818277

Like my work Thank me
 
venky716
Old
#3  
Senior Member
Thanks Meter 183
Posts: 508
Join Date: Sep 2011
Location: Mumbai
Will i lose my data or will everything be as same as before?
 
XperienceD
Old
#4  
XperienceD's Avatar
Senior Member - OP
Thanks Meter 2332
Posts: 7,193
Join Date: Jul 2010
Location: Here =)
Quote:
Originally Posted by venky716 View Post
Will i lose my data or will everything be as same as before?
As said in the OP, it will restore all the junk but it won't remove anything except for the odex files.
The Following User Says Thank You to XperienceD For This Useful Post: [ Click to Expand ]
 
XperienceD
Old
#5  
XperienceD's Avatar
Senior Member - OP
Thanks Meter 2332
Posts: 7,193
Join Date: Jul 2010
Location: Here =)
Update.
The Following User Says Thank You to XperienceD For This Useful Post: [ Click to Expand ]
 
danisariandi
Old
#6  
Account currently disabled
Thanks Meter 2272
Posts: 3,097
Join Date: Apr 2012
Location: Tangerang
How to deodex this framework ?

Sent from my LT25i using xda premium
 
XperienceD
Old
#7  
XperienceD's Avatar
Senior Member - OP
Thanks Meter 2332
Posts: 7,193
Join Date: Jul 2010
Location: Here =)
Quote:
Originally Posted by danisariandi View Post
How to deodex this framework ?

Sent from my LT25i using xda premium
Hi Danis.

I just used the Android Kitchen to do both folders.


From me to you.
 
danisariandi
Old
#8  
Account currently disabled
Thanks Meter 2272
Posts: 3,097
Join Date: Apr 2012
Location: Tangerang
Quote:
Originally Posted by XperienceD View Post
Hi Danis.

I just used the Android Kitchen to do both folders.


From me to you.
How ? give me instruction
 
XperienceD
Old
#9  
XperienceD's Avatar
Senior Member - OP
Thanks Meter 2332
Posts: 7,193
Join Date: Jul 2010
Location: Here =)
Quote:
Originally Posted by danisariandi View Post
How ? give me instruction
Download and setup the kitchen, then just follow the onscreen instructions, similar to ApkManager.

From me to you.
The Following User Says Thank You to XperienceD For This Useful Post: [ Click to Expand ]
 
petrutms
Old
#10  
petrutms's Avatar
Senior Member
Thanks Meter 13
Posts: 212
Join Date: Nov 2008
Location: Rm. Valcea
Can copy-paste them to the system/app and system/framework with root explorer with proper permission (.307fw rooted)? Thank you!
A1018-->T10-->T610-->K700-->K750-->K800-->P1i-->Xperia X1-->Xperia X10-->Xperia Arc S-->Xperia U,S-->Xperia T,TX-->Xperia Z

Tags
deodex issue theme apktool adb
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes