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

[Info/Tools] Deodexing Made Easy...

OP XperienceD

6th May 2013, 09:44 PM   |  #1  
XperienceD's Avatar
OP Senior Member
Flag Here =)
Thanks Meter: 2,437
 
7,359 posts
Join Date:Joined: Jul 2010
More
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

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



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

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

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

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

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
Last edited by XperienceD; 15th March 2014 at 12:48 PM.
The Following 34 Users Say Thank You to XperienceD For This Useful Post: [ View ]
9th May 2013, 06:45 AM   |  #2  
Senior Member
Flag Mumbai
Thanks Meter: 395
 
656 posts
Join Date:Joined: Jun 2011
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
Last edited by nielneal; 9th May 2013 at 06:59 AM.
9th May 2013, 04:26 PM   |  #3  
venky716's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 287
 
639 posts
Join Date:Joined: Sep 2011
More
Will i lose my data or will everything be as same as before?
9th May 2013, 08:00 PM   |  #4  
XperienceD's Avatar
OP Senior Member
Flag Here =)
Thanks Meter: 2,437
 
7,359 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by venky716

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: [ View ]
8th June 2013, 07:53 PM   |  #5  
XperienceD's Avatar
OP Senior Member
Flag Here =)
Thanks Meter: 2,437
 
7,359 posts
Join Date:Joined: Jul 2010
More
Update.
The Following User Says Thank You to XperienceD For This Useful Post: [ View ]
11th June 2013, 08:33 AM   |  #6  
Account currently disabled
Flag Tangerang
Thanks Meter: 2,275
 
3,097 posts
Join Date:Joined: Apr 2012
More
How to deodex this framework ?

Sent from my LT25i using xda premium
11th June 2013, 09:07 AM   |  #7  
XperienceD's Avatar
OP Senior Member
Flag Here =)
Thanks Meter: 2,437
 
7,359 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by danisariandi

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.
11th June 2013, 09:09 AM   |  #8  
Account currently disabled
Flag Tangerang
Thanks Meter: 2,275
 
3,097 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by XperienceD

Hi Danis.

I just used the Android Kitchen to do both folders.


From me to you.

How ? give me instruction
11th June 2013, 12:29 PM   |  #9  
XperienceD's Avatar
OP Senior Member
Flag Here =)
Thanks Meter: 2,437
 
7,359 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by danisariandi

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: [ View ]
11th June 2013, 02:23 PM   |  #10  
petrutms's Avatar
Senior Member
Flag Rm. Valcea
Thanks Meter: 13
 
212 posts
Join Date:Joined: Nov 2008
More
Can copy-paste them to the system/app and system/framework with root explorer with proper permission (.307fw rooted)? Thank you!

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes