Deapk

Decompile the APK files to Android project with only one step.

Get it Now! Get it! (China) View on GitHub


Easy, is One Step!

Current: (NEW) Deapk 2.0 (2013-11-23) ChangeLog


What is Deapk?


Deapk is an open source tool that can directly decompile the APK files to Android project with only one step.

  • Drag APK(s) to Deapk.bat (Windows only). Or
  • Input "deapk xxx.apk" or "deapk *.apk" in the command line (All platform supported)

It is applied to Android platform, and the study and development personnel can use it. It is so simple that even the new learners can use it.

It can be used in Windows, Linux and Mac system.

Effects

Deapk can do the following things:

  • Create a new Android project with “project name”, etc filled in automatically;
  • Decompile all resource files and smali files in APK.
  • Extract the classes.dex files in APK and generate all Java Class files;
  • Generate all Java source code files in classes.dex;
  • Import all files that shall be decompiled into this project as needed;
  • Support for single and multiple APKs to deapk.

Before Deapk is developed, if you want to decompile an APK so as to generate a complete Eclipse project with Java source code and resource files, a lot of steps are usually taken and requires a lot of time and efforts, and you also need to understand what shall be done for each step and how to do? This is very troublesome for new learners.

Now, everything has become simpler. You just need to drag APKs to Deapk or input deapk xxx.apk(support Multi-APKs) in the command line, and then you can get the results you expect. The Eclipse project generated after de-compilation is very complete, just like our own project, so it is a necessary tool for project learning and study.

Deapk provides a solution which will integrate the current best and most mature open source decompilation tools together to make such tools play their core strength, and meanwhile make them complement each other. Its development is only for presenting you the best results.

Using: Apktool, Dex2jar, JD-IntelliJ(tailored to Deapk).

Windows Platform Prerequisites

The native library, included into JD-IntelliJ for Windows, has been built with Microsoft Visual C++ 2008 Express Edition. Some runtime components of Visual C++ Libraries are required to run the decompiler. You can download and install them from the Microsoft Web site :

Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)

Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)

Attentions

Just like ApkTool, Dex2Jar and other open source tools, Deapk only provides a more convenient way for your study of excellent project. If you use it for illegal purposes with any consequences resulted, the developer of Deapk will not assume any liability and so please make clear confirmation before use. Furthermore, it is suggested to well protect the codes of the commercial Android project with Proguard or other excellent tools.

In addition, although Android application is easily to be decompiled, no one can restore the non-open source project to source codes at present no matter what technology is used and how simple the method is.

Who am I?


Hello, I'm Jiongxuan Zhang(张炅轩).

I am a dreamer in pursuit of simplest way, loving technology and advocating combination of humanities, technology and art. Just like all of you, I also have been doing my endeavors on the long way chasing our dream.

When I was 9, I used a completely new program language to realize my idea for the first time. I was deeply mesmerized by the feeling. At that time, I had no idea what I could do with it but I felt the power of freedom and creation deep in my heart. It is exactly what has led me in following my heart and doing what I like for the past 15 years.

Perhaps you are also this kind of man who can not wait to change anything that has been found unreasonable and not perfect because you feel so miserable for this. We have to live in such an imperfect world, but we have the ability to change everything.

Believe me, provision of the simplest and best service is just the first step in the long march. Although it is not great, it still has profound significance. In the near future, you will see more of my works, all of which will be arising from my interests.

Please follow me and thanks for your consistent supports.

Now I am working in the largest Internet security company in China - Qihoo 360, as Android software engineer.

Email: JiongJ.Zhang@gmail.com

Weibo(China): @HaokeWorld

My products


CnPack Debug Tools, which is designed and developed in 2003 when working in CnPack open source project team, is an open source Delphi tool. Its development reduces dozens of steps for Delphi debugging to only one step, thus the debugging efficiency is improved by more than 60 times. For this, it has once become the dedicated tool for Delphi debugging by our internal teams and other teams.

Hospitality KeyTool, which is published in 2004 on the largest Delphi Forum (DelphiBox) in China at that time, is an open source C# tool. By input of the question and answer that you know (for example, your birthday or the name of your father, etc; only English can be used at that time), you can generate an encrypted password that can be used anywhere.

Bulk import platform for temporary residence permits and residence permits. I have thought of this when attending meeting in the police station in 2010 and then it is raised and produced. It is implemented by "Screen Script" similar to VB together with "C + + Hook". Similarly, this tool will fully automatically replace the previous tedious manual Excel import and manual verification process with only two steps. From manual input at 120 seconds/person in the past to unattended state at 20 seconds / person, the working efficiency is improved by several times and a large number of personnel is reduced. Up to now, this product is still winning awards.

Deapk, which is published in 2013 on the GitHub website.

Code


Deapk is an open source project which is developed for the users’ easy operation and relatively simple code implementation. The core is in the Deapk.java.

Click here to download source.tar

Thanks


Thanks to the following open source project teams (and authors). You have made Deapk more excellent.

android-apktool

        A tool for reverse engineering Android apk files

dex2jar

        Tools to work with android .dex and java .class files

JD-IntelliJ

        Allows you to display all the Java sources even if you do not have them all

Licence


Deapk - A tools for "APK -> Android Project"

Copyright (c) 2013-2014 Jiongxuan Zhang

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.