Remove All Ads from XDA

[MASSIVE UPDATE][SOFTWARE-GUI][WINDOWS]Universal Deodexer V5 [Version #5]

1,737 posts
Thanks Meter: 3,253
By abcdjdj, Senior Member on 30th March 2013, 04:56 AM
Post Reply Email Thread
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.



--->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)

Instructions :-
1. Download and extract the zip. You will get a folder called "Universal_Deodexer_VX"

2. Open the folder and place your framework files [/system/framework] in the "framework" folder.

3. Place all your apks or jars in the "source" folder. No need to manually check if a apk has the corresponding .odex file or not. Apks or Jars which do not have .odex files are automatically deleted.

4. Double click on Launcher.bat to start the tool.

5. Select the various options (android version, compression level).Then chose the deodex option. The deodexing process can be seen in the cmd window, and the log for the process can be found in the "working" folder.

6. Deodexed files will be found in the "done" directory. This is how the window looks after the process is complete :-

Download link -
V5 -
V4 -
V2 -
V1 -

Source Code -

To do:-
--->Add JAR support for deodexing
--->Make linux version
--->Make it more of a "one-click deodexing"
--->Multiple apk support

---> iBotPeaches (apktool)
---> Google and all the guys who wrote tutorials on creating batch files
---> My teachers who teach me Java
import java.iForgotYou.*;
The Following 399 Users Say Thank You to abcdjdj For This Useful Post: [ View ] Gift abcdjdj Ad-Free
30th March 2013, 04:56 AM |#2  
abcdjdj's Avatar
OP Senior Member
Flag Thane
Thanks Meter: 3,253
-->Re-wrote the entire tool from scratch (improved code, more efficient and professional code)
-->Added KitKat support
-->Updated to latest Smali and Baksmali (2.0.3)
-->Fixed the logging mechanism. Now everything gets logged properly in the file.
-->No more annoying windows opening and closing. Everything gets done in one window silently.
-->Added a verification check to see if the deodexing is successful
-->Added an option to reset tool to default (clears all files, makes it just as it was when downloaded)
-->Using a single script to deodex jar and apk files
-->Removed the flashy multi-coloured background. Switched to a simple Holo blue background
-->Lots of other small fixes and changes

--->Made the tool a GUI based tool/software!:D 
--->Lightweight Java Swing API is being used.
--->Added option to set compression level from the GUI.
--->Added option to set api level from the GUI.
--->Added a debug mode which can be easily enabled from the GUI. Debug mode prevents the deodexing window from closing
automatically so that it is easier to diagnose any errors if present.:)
--->Moved the framework files to a separate "framework" folder. It looks much cleaner now:)
--->Apks/Jars which do not have .odex files are now automatically deleted. No need to manually go through the files and delete anything.
--->Randomly assign a colour to each button on every run.
--->Fixed some other minor bugs.
--->As this has become a big project with a big source code, I will be uploading the source code on Github:D

---> Added option to deodex JAR files.
---> Added option to pull framework files from phone.
---> Fixed a very important logical error in the Java code

---> Built from scratch again.
---> Added multiple apk deodexing support. Deodex all apks at once.
Completely one-clickish!
---> No need for apktool now. 7z is used instead
---> Updated some Java code and added "clear framework" and logs option
---> Java source code is now open source!:)

---> Initial Release
The Following 57 Users Say Thank You to abcdjdj For This Useful Post: [ View ] Gift abcdjdj Ad-Free
30th March 2013, 04:57 AM |#3  
Inactive Recognized Developer / Retired Forum Moderator / Recognized Themer
Flag Raipur
Thanks Meter: 5,390
Donate to Me


Q1) I could see some kind of errors while
deodexing but the cmd window closes very
quickly and automatically..
A - Before starting the doedexing process, be
sure to check the debug mode option. Now
the cmd windows won’t close automatically,
so you can post a screen shot here.
Q2) After following all the instructions, I
double clicked on Universal Deodexer VX.jar
but nothing happens.
A- Open up a cmd window by holding shift
and right clicking anywhere in the folder and
chose open command window here. Then
type this command –

Java –jar “Universal Deodexer VX.jar”
Now you will be able to identify the problem.
Q3) After typing the above command, I get
this error -
Exception in thread "main"
Control : Uns
upported major.minor version 51.0
at java.lang.ClassLoader.defineClassCond
(Unknown Source)
at java.lang.ClassLoader.defineClass
(Unknown Source)
(Unknow n Source)
(Unknown Source)
$000(Unknown Source)
(Native Method)
(Unknown Source)
at java.lang.ClassLoader.loadClass
(Unknown Source)
at sun.misc.Launcher
at java.lang.ClassLoader.loadClass
(Unknown Source)
Could not find the main class: Control.
Program will exit.
A- Please uninstall all previous versions of
java and download the latest version of Java
for your OS.
Q4) During the deodexing process, I get
some error like this –
regCount does not match the number of
arguments of the method
A – Before starting the deodexing process,
be sure to select the correct Android Version
in the list on the right side of the screen.
That should solve the problem. If it still
persists then please provide us with the rom/
device/android version etc.
Q5) My apks and jar files got deodexed
properly but my phone is stuck in a
A- Try deodexing the apk with a lower
compression level. If this does not help then
fix permissions in your recovery. If nothing
helps in please post a logcat.
Q6) One or two applications are force
closing after deodexing them.
A- Deodex those particular apks with the
compression level as 0.
Q7) I get this error while my files are getting
deodexed –
‘xcopy’ is not recognized as an internal or
external command, or operable program or
batch file.
A- Your environment variables are not set
properly. Check this - http://
Q8) The deodexing process has got stuck..
A- Leave it for some time. It takes some
time to convert the .odex file into smali and
then into classes.dex. If nothing happens
after some time, please let us know by
leaving your comment below along with your
device name/rom/android version etc.

The Following 31 Users Say Thank You to Abhinav1997 For This Useful Post: [ View ] Gift Abhinav1997 Ad-Free
30th March 2013, 05:28 AM |#4  
shprakash's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 309
Nice maddy. Keep up the good work.
The Following User Says Thank You to shprakash For This Useful Post: [ View ] Gift shprakash Ad-Free
30th March 2013, 06:05 AM |#5  
Senior Member
Flag A Place Where The Sun Is Silent
Thanks Meter: 137
Re: [TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]
Keep it up

Sent from my GT-S5360 using HYPERION 8 via XDA app
2nd April 2013, 09:28 PM |#6  
JustCause's Avatar
Junior Member
Flag NewJersey
Thanks Meter: 10
Me Likey
The Following User Says Thank You to JustCause For This Useful Post: [ View ] Gift JustCause Ad-Free
2nd April 2013, 09:42 PM |#7  
fendytrancers89's Avatar
Senior Member
Flag Jowo Timuran
Thanks Meter: 69
Great work.. Thank you..
2nd April 2013, 10:10 PM |#8  
guitmz's Avatar
Senior Member
Flag Berlin
Thanks Meter: 29
Very nice! Im porting it to linux - easy work once I remember how bat files works haha long time since im a bash rat.. i still miss using .bat files anyway, but sticking to the subject, i'll try to port it
3rd April 2013, 06:13 AM |#9  
Peteragent5's Avatar
Senior Member
Flag Richmond
Thanks Meter: 2,051
Donate to Me
Source Code..? (The Slow.class)
3rd April 2013, 03:14 PM |#10  
predatOr's Avatar
Senior Member
Flag Hisar
Thanks Meter: 1,007
Re: [TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]
Good work guys. :thumbup:
The Following User Says Thank You to predatOr For This Useful Post: [ View ] Gift predatOr Ad-Free
4th April 2013, 06:10 AM |#11  
abcdjdj's Avatar
OP Senior Member
Flag Thane
Thanks Meter: 3,253
Originally Posted by Peteragent5

Source Code..? (The Slow.class)

Well uh um, is it compulsary to make it open source?(I don't know much about those GPL licenses but I thought that was only for the Linux kernel) Anyway, I will provide it with the V2 update.

@everyone - V2 will be much much more user-friendly.

Thank you for using our tool guys.
The Following 2 Users Say Thank You to abcdjdj For This Useful Post: [ View ] Gift abcdjdj Ad-Free
Post Reply Subscribe to Thread

auto deodex, deodex, deodexer, root / cwm / install custom rom, tool, universal deodex, update android

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread