5,595,196 Members 45,100 Now Online
XDA Developers Android and Mobile Development Forum

[HUGE HUGE UPDATE][SOFTWARE-GUI][WINDOWS]Universal Deodexer V4[ALL DEVICES!!]

Tip us?
 
abcdjdj
Old
(Last edited by abcdjdj; 12th February 2014 at 02:00 PM.)
#1  
abcdjdj's Avatar
Recognized Contributor - OP
Thanks Meter 1906
Posts: 1,499
Join Date: May 2012
Location: Thane
Talking [HUGE HUGE UPDATE][SOFTWARE-GUI][WINDOWS]Universal Deodexer V4[ALL DEVICES!!]

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/

NOW WITH A BEAUTIFUL NEW GUI

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)

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 "apks" 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 Universal Deodexer VX.jar. If it does not open then right click--->Properties--->change the Opens With: to "Java(TM) Platform SE Binary". Now double click and it will open. If it still doesn't open then shift+right click anywhere in the folder and open a terminal window there. Then type -
Code:
java -jar "Universal Deodexer V4.jar"
(no quotes) and see the output.



5. Select the various options (android version, compression level, debug mode).Then chose the deodex apk/deodex jar option. Once the deodex is complete, you will get a popup message if it was successful or not.

6. You can find the deodexed apks in the "deodexed" folder. Enjoy
7. You can even clear the framework files by chosing the "clear framework files" in the GUI menu.


Download link -
V4 [GUI] - http://d-h.st/bMp
V3 [FIXED] - http://d-h.st/QGo [MIRROR OF V3 - https://dl.dropboxusercontent.com/s/...Q8CpkUFA&dl=1]
V2 - http://d-h.st/MZR
V1 - http://d-h.st/jGf

Source Code - https://github.com/abcdjdj/Universal_Deodexer

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

Credit:-
---> iBotPeaches (apktool)
---> Google and all the guys who wrote tutorials on creating batch files
---> My teachers who teach me Java
import java.iForgotYou.*;

Click here to see my contributions to XDA


My phone history - Samsung E1410 > Xperia Mini ST15i > Xperia S LT26i
The Following 275 Users Say Thank You to abcdjdj For This Useful Post: [ Click to Expand ]
 
abcdjdj
Old
(Last edited by abcdjdj; 2nd August 2013 at 02:04 PM.)
#2  
abcdjdj's Avatar
Recognized Contributor - OP
Thanks Meter 1906
Posts: 1,499
Join Date: May 2012
Location: Thane
Changelog
Code:
V4
--->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

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

V2
---> 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!:)

V1
---> Initial Release

Click here to see my contributions to XDA


My phone history - Samsung E1410 > Xperia Mini ST15i > Xperia S LT26i
The Following 37 Users Say Thank You to abcdjdj For This Useful Post: [ Click to Expand ]
 
Abhinav2
Old
(Last edited by Abhinav2; 6th February 2014 at 10:37 AM.)
#3  
Abhinav2's Avatar
Recognized Contributor / Themer
Thanks Meter 3704
Posts: 1,996
Join Date: Jul 2012
Location: Raipur
FAQ -
 

Quote:
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 –
Code:
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"
java.lang.UnsupportedClassVersionError:
Control : Uns
upported major.minor version 51.0
at
java.lang.ClassLoader.defineClass1(Native
Method)
at java.lang.ClassLoader.defineClassCond
(Unknown Source)
at java.lang.ClassLoader.defineClass
(Unknown Source)
at
java.security.SecureClassLoader.defineClass
(Unknow n Source)
at java.net.URLClassLoader.defineClass
(Unknown Source)
at java.net.URLClassLoader.access
$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown
Source)
at
java.security.AccessController.doPrivileged
(Native Method)
at java.net.URLClassLoader.findClass
(Unknown Source)
at java.lang.ClassLoader.loadClass
(Unknown Source)
at sun.misc.Launcher
$AppClassLoader.loadClass(Unknown
Source)
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 –
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext:
regCount does not match the number of
arguments of the method
at
org.jf.dexlib.Util.ExceptionWithContext.withContex
t(ExceptionWithContext.java:54)
at
org.jf.dexlib.Code.InstructionIterator.IterateInst
ructions(InstructionIterator.java:92)..
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
bootloop.
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://
developer.appcelerator.com/qu...ternal-
command
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.

 
There's a great team (Team BlueRidge) supporting us day and night selflessly. Please consider donating them

The Following 26 Users Say Thank You to Abhinav2 For This Useful Post: [ Click to Expand ]
 
shprakash
Old
#4  
shprakash's Avatar
Senior Member
Thanks Meter 303
Posts: 653
Join Date: May 2011
Location: Bangalore
Nice maddy. Keep up the good work.
The Following User Says Thank You to shprakash For This Useful Post: [ Click to Expand ]
 
sandyworsnop
Old
#5  
sandyworsnop's Avatar
Senior Member
Thanks Meter 136
Posts: 470
Join Date: Oct 2012
Location: A Place Where The Sun Is Silent
Default Re: [TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]

Great
Keep it up

Sent from my GT-S5360 using HYPERION 8 via XDA app
 
JustCause
Old
#6  
JustCause's Avatar
Junior Member
Thanks Meter 9
Posts: 23
Join Date: Aug 2012
Location: NewJersey
Me Likey
If I Helped You or Stimulate your Intellect Hit The Thanks button
 
fendytrancers89
Old
#7  
fendytrancers89's Avatar
Senior Member
Thanks Meter 46
Posts: 181
Join Date: Jan 2013
Location: Jowo Timuran
Great work.. Thank you..
 
guitmz
Old
(Last edited by guitmz; 2nd April 2013 at 10:17 PM.)
#8  
guitmz's Avatar
Senior Member
Thanks Meter 13
Posts: 265
Join Date: Dec 2011
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
 
Peteragent5
Old
#9  
Peteragent5's Avatar
Recognized Contributor
Thanks Meter 1941
Posts: 1,268
Join Date: Jan 2012
Location: Richmond

 
DONATE TO ME
Source Code..? (The Slow.class)
Away for 2 months.
 

Galaxy Gio GT-S5660M | Galaxy Nexus GT-I9250M | BlackBerry PlayBook
GitHub
 
predatOr
Old
#10  
predatOr's Avatar
Senior Member
Thanks Meter 978
Posts: 1,117
Join Date: Sep 2012
Location: Hisar
Default Re: [TOOL][WINDOWS]Universal Deodexer[ALL DEVICES!!]

Good work guys. :thumbup:

 

INDEX LIST OF ROMs/KERNELs/GUIDES/FIRMWARES/FTFs
XPERIA mdpi 2011
XPERIA Z
HTC ONE



The Following User Says Thank You to predatOr For This Useful Post: [ Click to Expand ]
Tags
auto deodex, deodex, deodexer, root / cwm / install custom rom, tool, universal deodex, update android
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes