Android apk decompiler java

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A hight quality list of tools to reverse engineering code from android.

nextco/android-decompiler

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A hight quality tools to reverse engineering code from android.

Читайте также:  Java class from another file

This project aims to select the best tools, to get the code from apk to .java. A second objective is set the state of art for reverse engineering tools (Apr, 2017).

Lets Go! This project is maintained by @nextco

No process guarantees 100% code reversion but surely we can achieve clues to ensure the highest accuracy.

Install, intense test the tools, no short path and select the best.
Tested on Arch Linux & Windows 8.1 Pro
Time Spend: 5 days.

A curated list is create by Aditya Agrawal

Goal — Get AndroidManifest.xml

Get permissions, activity names, package names

  • Primary tool: ClassyShark 8.0 Download by google

ClassyShark is also useful to accurate spy the class, constructors, variables and method names

Get images, assets, html, sounds, js.

.dex files need translated to java bytecode, this process are critical because of this output depend the accuracy on obtained code

  • Primary tool: enjarify 1.0.3 Download by Storyyeller

I know dex2jar, on this project aim to select the best tools currently, dex2jar is careless and outdated.

Fortunately on this point are good choices, they are sorted by my own use.

Also tested:
FernFlower & Krakatau unsuccessfully not recommended dev in early stages
Bytecode Viewer not recommended currently is outdated hope update with last versions.

This is special category, because i want Play Store, Games, Apps a virtual replace of my android on PC, not for dev. A complete replace for phone on pc for daily use.

Also test BlueStacks to lag for me.

On next steps for dev app best emulator are of course, Android Emulator

About

A hight quality list of tools to reverse engineering code from android.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Читайте также:  Contact forms with php

apk decompiler (full process), xml and sources in a single click (for windows only)

License

shaybc/apk-decompiler

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

apk decompiler (full process), xml and sources in a single click (for windows only)

this is a package with all the necessary products (downloaded from other repos) and a single batch file to allow execution of the decompile process in a single click,

  • if you wish to do the whole process manually then follow these instructions:
    https://stackoverflow.com/a/6081365/530884
  • if you wish to decompile the apk online without the need to download or install anything then use this site:
    https://www.decompiler.com
  • windows operating system (Windows 10 and above)
  • Java 1.8 or above installed (https://www.oracle.com/java/technologies/downloads/#jdk17-windows)
  • Java bin folder set as part of your path ( set path=%path%;C:\Program Files\Java\jdk-15.0.2\bin )
  • Download the latest release from this repo (https://github.com/shaybc/apk-decompiler/releases/tag/latest)
  • extract it into a folder (preferrably where the path has no spaces)
  • copy the APK file you want to decompile into the «apk-source» folder (found at the folder you extracted the release)
  • double click the go.bat file and wait for the process to finish
  • see your decompiled apk at the «apk-output» folder (found at the folder you extracted the release)
Читайте также:  Фоновое изображение с помощью HTML

Download manually latest versions:

if you want to updated the software versions included in this repo, then go ahead and download the software from the following links:

  • APK Tool (apktool) — https://bitbucket.org/iBotPeaches/apktool/downloads
  • Apk Tool windows batch — https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/windows/apktool.bat
  • framework-res.apk — http://www.androidfilehost.com/?fid=23212708291677144
  • APK Tool Install instructions: https://ibotpeaches.github.io/Apktool/install

after download: copy the content into «apktool» folder (found at the folder you extracted the release)
so you should have this structure:

-- apk-decompiler | ---> apktool | ---> apktool.bat ---> apktool.jar ---> framework-res.apk 

dex tools folder structure
i also recommend editing the ‘apktool.bat’ file and remarking the last line (add the word REM to the beginning of it and a space after it)
remark the last line

Dex to Jar (dex2jar) — https://github.com/pxb1988/dex2jar/releases
after download: copy the content into «dex-tools» folder (found at the folder you extracted the release)
so you should have file structure similar to this:

-- apk-decompiler | ---> dex-tools | ---> bin ---> lib ---> d2j_invoke.bat ---> d2j_invoke.sh ---> d2j-apk-sign.bat . 

dex tools folder structure

JD Cli (jd-cli) — https://github.com/intoolswetrust/jd-cli/releases
after download: copy the content into «jad» folder (found at the folder you extracted the release)
so you should have file structure similar to this:

-- apk-decompiler | ---> jad | ---> bin ---> jd-cli ---> jd-cli.bat ---> jd-cli.jar ---> LICENSE.txt 

java decompiler cli folder structure

[Java Decompiler GUI] Optional:

About

apk decompiler (full process), xml and sources in a single click (for windows only)

Источник

Оцените статью