DeCompile .apk file on ubuntu 14.04

1. Download   Dex2jar from  http://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.zip   and Extract it.

2. Go to Download path
    
          ./d2j-dex2jar.sh /home/manoj/someApk.apk
 
if .sh is not compilable that giver chomod a+x  d2j-dex2jar.sh permission.
 
 
3. It will generate .jar file.
 
 
To open that .jar file we have to use JD-Gui. Just download http://jd.benow.ca/jd-gui/downloads/jd-gui-0.3.5.linux.i686.tar.gz it 
 
and Go to that path. and follow below command throught your terminal(ALT+CTR+T).
 
Here's the process I went through: 
 
$ ./jd-gui 
./jd-gui: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
$ sudo apt-get install libgtk2.0-0:i386
$ ./jd-gui 
./jd-gui: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory
$ sudo apt-get install libxxf86vm1:i386
$ ./jd-gui 
./jd-gui: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
$ sudo apt-get install libsm6:i386
$ ./jd-gui 
./jd-gui: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
$ sudo apt-get install lib32stdc++6
$ ./jd-gui 
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
(jd-gui:4746): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
...And it works! 


Now open .jar file in JD-GUI thats it..
 
 
 
 
 
 
 

 
 


Comments

Post a Comment

Popular posts from this blog

Bluetooth Data Transfer Example

How to Create & Extract tar.gz and tar.bz2 Files in Linux