├── .gitignore ├── AndroidManifest.xml ├── README.md ├── apk └── README.md ├── app ├── build.gradle └── proguard-rules.pro ├── build.gradle ├── decompile.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle ├── smali └── build.gradle └── tools ├── 7za ├── 7za ├── 7za.exe └── 7za_linux ├── apktool ├── apktool ├── apktool.bat ├── apktool.jar └── apktool_linux ├── jadx ├── LICENSE ├── NOTICE ├── README.md ├── bin │ ├── jadx │ ├── jadx-gui │ ├── jadx-gui.bat │ └── jadx.bat └── lib │ ├── android-29-clst.jar │ ├── android-29-res.jar │ ├── animal-sniffer-annotations-1.18.jar │ ├── annotations-18.0.0.jar │ ├── antlr-2.7.7.jar │ ├── antlr-runtime-3.5.2.jar │ ├── apksig-3.5.2.jar │ ├── asm-7.2.jar │ ├── baksmali-2.3.4.jar │ ├── checker-qual-2.8.1.jar │ ├── commons-lang3-3.9.jar │ ├── commons-text-1.8.jar │ ├── dexlib2-2.3.4.jar │ ├── dx-1.16.jar │ ├── error_prone_annotations-2.3.2.jar │ ├── failureaccess-1.0.1.jar │ ├── gson-2.8.6.jar │ ├── guava-28.1-jre.jar │ ├── image-viewer-1.2.3.jar │ ├── j2objc-annotations-1.3.jar │ ├── jadx-cli-1.1.0.jar │ ├── jadx-core-1.1.0.jar │ ├── jadx-gui-1.1.0.jar │ ├── jcommander-1.78.jar │ ├── jfontchooser-1.0.5.jar │ ├── jsr305-3.0.2.jar │ ├── listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar │ ├── logback-classic-1.2.3.jar │ ├── logback-core-1.2.3.jar │ ├── reactive-streams-1.0.3.jar │ ├── rsyntaxtextarea-3.0.4.jar │ ├── rxjava-2.2.15.jar │ ├── rxjava2-swing-0.3.7.jar │ ├── slf4j-api-1.7.29.jar │ ├── smali-2.3.4.jar │ ├── stringtemplate-3.2.1.jar │ └── util-2.3.4.jar └── smali └── lib ├── baksmali-2.3.4.jar └── smali-2.3.4.jar /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | *.apk 3 | .gradle 4 | /local.properties 5 | /.idea/ 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | /app/src/ 11 | /app/libs/ 12 | /temp/ 13 | */build/ 14 | /smali/src -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## apk反编译工具 2 | 3 | 该工具支持将apk包反编译为Java,assets,res,libs,manifest,并且保持开发时的app的目录结构 4 | 5 | 该工具还支持将apk反编译为smali进行动态调试 6 | 7 | ### 使用方法 8 | 9 | - 将apk包放入到根目录apk下,重命名为input.apk 10 | - 在终端输入./gradlew dA(decompileApk) 11 | - 反编译后的Java代码,assets等在app目录下,smali代码在smali目录下 12 | 13 | ### 备注 14 | 目前在Linux系统运行正常,Windows和Mac待验证 -------------------------------------------------------------------------------- /apk/README.md: -------------------------------------------------------------------------------- 1 | 请将apk重命名为input.apk放的apk目录下 -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | 4 | android { 5 | compileSdkVersion 27 6 | buildToolsVersion '27.0.3' 7 | 8 | defaultConfig { 9 | applicationId 'com.foxleezh.decompile' 10 | minSdkVersion 10 11 | targetSdkVersion 27 12 | versionCode 1 13 | versionName "1.0.0" 14 | } 15 | 16 | sourceSets{ 17 | main{ 18 | manifest.srcFile '../AndroidManifest.xml' 19 | } 20 | } 21 | lintOptions { 22 | abortOnError false 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | apply from: 'decompile.gradle' 3 | buildscript { 4 | 5 | repositories { 6 | maven { 7 | url 'http://maven.aliyun.com/nexus/content/groups/public/' 8 | name 'aliyun' 9 | } 10 | google() 11 | jcenter() 12 | } 13 | dependencies { 14 | classpath 'com.android.tools.build:gradle:3.3.2' 15 | 16 | // NOTE: Do not place your application dependencies here; they belong 17 | // in the individual module build.gradle files 18 | } 19 | } 20 | 21 | allprojects { 22 | repositories { 23 | maven { 24 | url 'http://maven.aliyun.com/nexus/content/groups/public/' 25 | name 'aliyun' 26 | } 27 | google() 28 | jcenter() 29 | } 30 | } 31 | 32 | -------------------------------------------------------------------------------- /decompile.gradle: -------------------------------------------------------------------------------- 1 | import org.apache.tools.ant.taskdefs.condition.Os 2 | 3 | buildscript { 4 | repositories { 5 | maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } 6 | google() 7 | jcenter() 8 | } 9 | 10 | dependencies { 11 | classpath 'com.android.tools.build:gradle:3.3.2' 12 | } 13 | } 14 | 15 | 16 | ext { 17 | BUILD_TOOLS_VERSION = '27.0.3' 18 | TARGET_SDK_VERSION = 27 19 | Properties properties = new Properties() 20 | properties.load(project.rootProject.file('local.properties').newDataInputStream()) 21 | // 从系统环境变量中或者local.properties配置文件中读取SDK位置 22 | if (System.getenv("ANDROID_HOME") != null) { 23 | sdkDir = System.getenv("ANDROID_HOME") 24 | } else { // 在local.properties中定义 25 | sdkDir = properties.getProperty('sdk.dir') 26 | } 27 | sdk = [:] 28 | if (Os.isFamily(Os.FAMILY_WINDOWS)) { 29 | sdk.aapt = "$sdkDir\\build-tools\\$BUILD_TOOLS_VERSION\\aapt.exe" 30 | sdk.zip = "$rootDir\\tools\\7za\\7za.exe" 31 | sdk.jadx = "$rootDir\\tools\\jadx\\bin\\jadx.bat" 32 | sdk.apktool = "$rootDir\\tools\\apktool\\apktool.bat" 33 | } else if (Os.isFamily(Os.FAMILY_MAC)) { 34 | sdk.aapt = "$sdkDir/build-tools/$BUILD_TOOLS_VERSION/aapt" 35 | sdk.zip = "$rootDir/tools/7za/7za" 36 | sdk.jadx = "$rootDir/tools/jadx/bin/jadx" 37 | sdk.apktool = "$rootDir/tools/apktool/apktool" 38 | } else if (Os.isFamily(Os.FAMILY_UNIX)) { 39 | sdk.aapt = "$sdkDir/build-tools/$BUILD_TOOLS_VERSION/aapt" 40 | sdk.zip = "$rootDir/tools/7za/7za_linux" 41 | sdk.jadx = "$rootDir/tools/jadx/bin/jadx" 42 | sdk.apktool = "$rootDir/tools/apktool/apktool_linux" 43 | } 44 | sdk.androidJar = "$sdkDir/platforms/android-$TARGET_SDK_VERSION/android.jar" 45 | if (TARGET_SDK_VERSION >= 23) { 46 | sdk.apacheJar = "$sdkDir/platforms/android-23/optional/org.apache.http.legacy.jar"; 47 | } 48 | } 49 | 50 | //清除 51 | task clearBuild(type: Delete) { 52 | delete "$rootDir/app/build" 53 | delete "$rootDir/app/libs" 54 | delete "$rootDir/app/src" 55 | delete "$rootDir/smali/build" 56 | delete "$rootDir/smali/src" 57 | } 58 | 59 | //解压apk 60 | task unzip(type: Exec, dependsOn: 'clearBuild') { 61 | executable sdk.zip 62 | def argv = [] 63 | argv << 'x' 64 | argv << '-y' 65 | argv << "$rootDir/apk/input.apk" 66 | argv << "-o$rootDir/temp/tmp_apk" 67 | args = argv 68 | 69 | doLast { 70 | project.copy { 71 | from "$rootDir/temp/tmp_apk" 72 | into "$rootDir/temp/dex" 73 | include '*.dex' 74 | } 75 | } 76 | } 77 | 78 | //用jadx反编译dex为java 79 | task jadx(type: Delete, dependsOn: 'unzip') { 80 | 81 | //避免UP-TO-DATE,随便删除下 82 | delete "$rootDir/abc" 83 | def argv = [] 84 | doLast { 85 | File file = new File("$rootDir/temp/dex/") 86 | String[] list = file.list() 87 | def size = list.size() 88 | for (int i = 0; i < size; i++) { 89 | project.exec { 90 | executable sdk.jadx 91 | argv = [] 92 | argv << '-d' 93 | argv << 'temp/jadx' 94 | argv << "$rootDir/temp/dex/" + list[i] 95 | args = argv 96 | } 97 | System.out.println(list[i]) 98 | } 99 | project.copy { 100 | from "$rootDir/temp/jadx/sources" 101 | into "$rootDir/app/src/main/java" 102 | } 103 | project.delete "$rootDir/temp" 104 | } 105 | } 106 | 107 | //用apktool反编译apk得到res assets libs manifest 108 | task decompileApk(type: Exec, dependsOn: 'jadx') { 109 | executable sdk.apktool 110 | def argv = [] 111 | argv << 'd' 112 | argv << "$rootDir/apk/input.apk" 113 | argv << '-o' 114 | argv << "$rootDir/temp/tmp_apk" 115 | args = argv 116 | 117 | doLast { 118 | project.copy { 119 | from "$rootDir/temp/tmp_apk/assets" 120 | into "$rootDir/app/src/main/assets" 121 | } 122 | project.copy { 123 | from "$rootDir/temp/tmp_apk/lib" 124 | into "$rootDir/app/libs" 125 | } 126 | project.copy { 127 | from "$rootDir/temp/tmp_apk/res" 128 | into "$rootDir/app/src/main/res" 129 | } 130 | project.copy { 131 | from "$rootDir/temp/tmp_apk/" 132 | into "$rootDir/app/src/main/" 133 | include 'AndroidManifest.xml' 134 | } 135 | 136 | File file = new File("$rootDir/temp/tmp_apk/") 137 | String[] list = file.list() 138 | def size = list.size() 139 | for (int i = 0; i < size; i++) { 140 | if (list[i].startsWith('smali')) { 141 | project.copy { 142 | from "$rootDir/temp/tmp_apk/"+list[i] 143 | into "$rootDir/smali/src/main/java" 144 | } 145 | } 146 | } 147 | 148 | project.delete "$rootDir/temp" 149 | } 150 | } 151 | 152 | 153 | // 直接反编译 Dex 为 Java 和 Smali 154 | task decompileDex(type: Delete) { 155 | 156 | //避免UP-TO-DATE,随便删除下 157 | delete "$rootDir/abc" 158 | def argv = [] 159 | doLast { 160 | File file = new File("$rootDir/temp/dex/") 161 | String[] list = file.list() 162 | def size = list.size() 163 | for (int i = 0; i < size; i++) { 164 | project.exec { 165 | executable sdk.jadx 166 | argv = [] 167 | argv << '-d' 168 | argv << 'app/src/main/java' 169 | argv << "$rootDir/temp/dex/" + list[i] 170 | args = argv 171 | } 172 | project.exec { 173 | executable "java" 174 | argv = [] 175 | argv << '-jar' 176 | argv << "$rootDir/tools/smali/lib/baksmali-2.3.4.jar" 177 | argv << 'd' 178 | argv << "$rootDir/temp/dex/" + list[i] 179 | args = argv 180 | } 181 | System.out.println("开始反编译"+list[i]) 182 | } 183 | 184 | project.copy { 185 | from "$rootDir/out/" 186 | into "$rootDir/smali/src/main/java" 187 | } 188 | 189 | project.delete "$rootDir/out" 190 | } 191 | 192 | } 193 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Feb 17 20:58:05 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip 7 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # Attempt to set APP_HOME 46 | # Resolve links: $0 may be a link 47 | PRG="$0" 48 | # Need this for relative symlinks. 49 | while [ -h "$PRG" ] ; do 50 | ls=`ls -ld "$PRG"` 51 | link=`expr "$ls" : '.*-> \(.*\)$'` 52 | if expr "$link" : '/.*' > /dev/null; then 53 | PRG="$link" 54 | else 55 | PRG=`dirname "$PRG"`"/$link" 56 | fi 57 | done 58 | SAVED="`pwd`" 59 | cd "`dirname \"$PRG\"`/" >/dev/null 60 | APP_HOME="`pwd -P`" 61 | cd "$SAVED" >/dev/null 62 | 63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 64 | 65 | # Determine the Java command to use to start the JVM. 66 | if [ -n "$JAVA_HOME" ] ; then 67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 68 | # IBM's JDK on AIX uses strange locations for the executables 69 | JAVACMD="$JAVA_HOME/jre/sh/java" 70 | else 71 | JAVACMD="$JAVA_HOME/bin/java" 72 | fi 73 | if [ ! -x "$JAVACMD" ] ; then 74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 75 | 76 | Please set the JAVA_HOME variable in your environment to match the 77 | location of your Java installation." 78 | fi 79 | else 80 | JAVACMD="java" 81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 82 | 83 | Please set the JAVA_HOME variable in your environment to match the 84 | location of your Java installation." 85 | fi 86 | 87 | # Increase the maximum file descriptors if we can. 88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 89 | MAX_FD_LIMIT=`ulimit -H -n` 90 | if [ $? -eq 0 ] ; then 91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 92 | MAX_FD="$MAX_FD_LIMIT" 93 | fi 94 | ulimit -n $MAX_FD 95 | if [ $? -ne 0 ] ; then 96 | warn "Could not set maximum file descriptor limit: $MAX_FD" 97 | fi 98 | else 99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 100 | fi 101 | fi 102 | 103 | # For Darwin, add options to specify how the application appears in the dock 104 | if $darwin; then 105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 106 | fi 107 | 108 | # For Cygwin, switch paths to Windows format before running java 109 | if $cygwin ; then 110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 112 | JAVACMD=`cygpath --unix "$JAVACMD"` 113 | 114 | # We build the pattern for arguments to be converted via cygpath 115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 116 | SEP="" 117 | for dir in $ROOTDIRSRAW ; do 118 | ROOTDIRS="$ROOTDIRS$SEP$dir" 119 | SEP="|" 120 | done 121 | OURCYGPATTERN="(^($ROOTDIRS))" 122 | # Add a user-defined pattern to the cygpath arguments 123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 125 | fi 126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 127 | i=0 128 | for arg in "$@" ; do 129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 131 | 132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 134 | else 135 | eval `echo args$i`="\"$arg\"" 136 | fi 137 | i=$((i+1)) 138 | done 139 | case $i in 140 | (0) set -- ;; 141 | (1) set -- "$args0" ;; 142 | (2) set -- "$args0" "$args1" ;; 143 | (3) set -- "$args0" "$args1" "$args2" ;; 144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 150 | esac 151 | fi 152 | 153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 154 | function splitJvmOpts() { 155 | JVM_OPTS=("$@") 156 | } 157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 159 | 160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 161 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | include ':smali' 3 | -------------------------------------------------------------------------------- /smali/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | 4 | android { 5 | compileSdkVersion 27 6 | buildToolsVersion '27.0.3' 7 | 8 | defaultConfig { 9 | applicationId 'com.foxleezh.decompile' 10 | minSdkVersion 10 11 | targetSdkVersion 27 12 | versionCode 1 13 | versionName "1.0.0" 14 | } 15 | 16 | sourceSets{ 17 | main{ 18 | manifest.srcFile '../AndroidManifest.xml' 19 | } 20 | } 21 | lintOptions { 22 | abortOnError false 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /tools/7za/7za: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/7za/7za -------------------------------------------------------------------------------- /tools/7za/7za.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/7za/7za.exe -------------------------------------------------------------------------------- /tools/7za/7za_linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/7za/7za_linux -------------------------------------------------------------------------------- /tools/apktool/apktool: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2007 The Android Open Source Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | # This script is a wrapper for smali.jar, so you can simply call "smali", 18 | # instead of java -jar smali.jar. It is heavily based on the "dx" script 19 | # from the Android SDK 20 | 21 | # Set up prog to be the path of this script, including following symlinks, 22 | # and set up progdir to be the fully-qualified pathname of its directory. 23 | prog="$0" 24 | while [ -h "${prog}" ]; do 25 | newProg=`/bin/ls -ld "${prog}"` 26 | 27 | newProg=`expr "${newProg}" : ".* -> \(.*\)$"` 28 | if expr "x${newProg}" : 'x/' >/dev/null; then 29 | prog="${newProg}" 30 | else 31 | progdir=`dirname "${prog}"` 32 | prog="${progdir}/${newProg}" 33 | fi 34 | done 35 | oldwd=`pwd` 36 | progdir=`dirname "${prog}"` 37 | cd "${progdir}" 38 | progdir=`pwd` 39 | prog="${progdir}"/`basename "${prog}"` 40 | cd "${oldwd}" 41 | 42 | jarfile=apktool.jar 43 | libdir="$progdir" 44 | if [ ! -r "$libdir/$jarfile" ] 45 | then 46 | echo `basename "$prog"`": can't find $jarfile" 47 | exit 1 48 | fi 49 | 50 | javaOpts="" 51 | 52 | # If you want DX to have more memory when executing, uncomment the following 53 | # line and adjust the value accordingly. Use "java -X" for a list of options 54 | # you can pass here. 55 | # 56 | javaOpts="-Xmx512M -Dfile.encoding=utf-8" 57 | 58 | # Alternatively, this will extract any parameter "-Jxxx" from the command line 59 | # and pass them to Java (instead of to dx). This makes it possible for you to 60 | # add a command-line parameter such as "-JXmx256M" in your ant scripts, for 61 | # example. 62 | while expr "x$1" : 'x-J' >/dev/null; do 63 | opt=`expr "$1" : '-J\(.*\)'` 64 | javaOpts="${javaOpts} -${opt}" 65 | shift 66 | done 67 | 68 | if [ "$OSTYPE" = "cygwin" ] ; then 69 | jarpath=`cygpath -w "$libdir/$jarfile"` 70 | else 71 | jarpath="$libdir/$jarfile" 72 | fi 73 | 74 | # add current location to path for aapt 75 | PATH=$PATH:`pwd`; 76 | export PATH; 77 | exec java $javaOpts -Djava.awt.headless=true -jar "$jarpath" "$@" -------------------------------------------------------------------------------- /tools/apktool/apktool.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | if "%PATH_BASE%" == "" set PATH_BASE=%PATH% 3 | set PATH=%CD%;%PATH_BASE%; 4 | chcp 65001 2>nul >nul 5 | java -jar -Duser.language=en -Dfile.encoding=UTF8 "%~dp0\apktool.jar" %* -------------------------------------------------------------------------------- /tools/apktool/apktool.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/apktool/apktool.jar -------------------------------------------------------------------------------- /tools/apktool/apktool_linux: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2007 The Android Open Source Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | # This script is a wrapper for smali.jar, so you can simply call "smali", 18 | # instead of java -jar smali.jar. It is heavily based on the "dx" script 19 | # from the Android SDK 20 | 21 | # Set up prog to be the path of this script, including following symlinks, 22 | # and set up progdir to be the fully-qualified pathname of its directory. 23 | prog="$0" 24 | while [ -h "${prog}" ]; do 25 | newProg=`/bin/ls -ld "${prog}"` 26 | 27 | newProg=`expr "${newProg}" : ".* -> \(.*\)$"` 28 | if expr "x${newProg}" : 'x/' >/dev/null; then 29 | prog="${newProg}" 30 | else 31 | progdir=`dirname "${prog}"` 32 | prog="${progdir}/${newProg}" 33 | fi 34 | done 35 | oldwd=`pwd` 36 | progdir=`dirname "${prog}"` 37 | cd "${progdir}" 38 | progdir=`pwd` 39 | prog="${progdir}"/`basename "${prog}"` 40 | cd "${oldwd}" 41 | 42 | jarfile=apktool.jar 43 | libdir="$progdir" 44 | if [ ! -r "$libdir/$jarfile" ] 45 | then 46 | echo `basename "$prog"`": can't find $jarfile" 47 | exit 1 48 | fi 49 | 50 | javaOpts="" 51 | 52 | # If you want DX to have more memory when executing, uncomment the following 53 | # line and adjust the value accordingly. Use "java -X" for a list of options 54 | # you can pass here. 55 | # 56 | javaOpts="-Xmx512M -Dfile.encoding=utf-8" 57 | 58 | # Alternatively, this will extract any parameter "-Jxxx" from the command line 59 | # and pass them to Java (instead of to dx). This makes it possible for you to 60 | # add a command-line parameter such as "-JXmx256M" in your ant scripts, for 61 | # example. 62 | while expr "x$1" : 'x-J' >/dev/null; do 63 | opt=`expr "$1" : '-J\(.*\)'` 64 | javaOpts="${javaOpts} -${opt}" 65 | shift 66 | done 67 | 68 | if [ "$OSTYPE" = "cygwin" ] ; then 69 | jarpath=`cygpath -w "$libdir/$jarfile"` 70 | else 71 | jarpath="$libdir/$jarfile" 72 | fi 73 | 74 | # add current location to path for aapt 75 | PATH=$PATH:`pwd`; 76 | export PATH; 77 | exec java $javaOpts -jar "$jarpath" "$@" -------------------------------------------------------------------------------- /tools/jadx/LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /tools/jadx/NOTICE: -------------------------------------------------------------------------------- 1 | The majority of jadx is written and copyrighted by me (Skylot) 2 | and released under the Apache 2.0 license (see LICENSE file for full license text): 3 | 4 | ******************************************************************************* 5 | Copyright 2015, Skylot 6 | 7 | Licensed under the Apache License, Version 2.0 (the "License"); 8 | you may not use this file except in compliance with the License. 9 | You may obtain a copy of the License at 10 | 11 | http://www.apache.org/licenses/LICENSE-2.0 12 | 13 | Unless required by applicable law or agreed to in writing, software 14 | distributed under the License is distributed on an "AS IS" BASIS, 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | See the License for the specific language governing permissions and 17 | limitations under the License. 18 | ******************************************************************************* 19 | 20 | 21 | Various portions of the code including dx library are taken from 22 | the Android Open Source Project, and are used in accordance with 23 | the following license: 24 | 25 | ******************************************************************************* 26 | Copyright (C) 2007 The Android Open Source Project 27 | 28 | Licensed under the Apache License, Version 2.0 (the "License"); 29 | you may not use this file except in compliance with the License. 30 | You may obtain a copy of the License at 31 | 32 | http://www.apache.org/licenses/LICENSE-2.0 33 | 34 | Unless required by applicable law or agreed to in writing, software 35 | distributed under the License is distributed on an "AS IS" BASIS, 36 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 | See the License for the specific language governing permissions and 38 | limitations under the License. 39 | ******************************************************************************* 40 | 41 | 42 | Other binary libraries used in 'jadx' 43 | ===================================== 44 | 45 | JCommander library (http://jcommander.org/) released under the following license: 46 | 47 | ******************************************************************************* 48 | Copyright 2012, Cedric Beust 49 | 50 | Licensed under the Apache License, Version 2.0 (the "License"); 51 | you may not use this file except in compliance with the License. 52 | You may obtain a copy of the License at 53 | 54 | http://www.apache.org/licenses/LICENSE-2.0 55 | 56 | Unless required by applicable law or agreed to in writing, software 57 | distributed under the License is distributed on an "AS IS" BASIS, 58 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 59 | See the License for the specific language governing permissions and 60 | limitations under the License. 61 | ******************************************************************************* 62 | 63 | 64 | SLF4J source code and binaries are distributed under the following license: 65 | 66 | ******************************************************************************* 67 | Copyright (c) 2004-2011 QOS.ch 68 | All rights reserved. 69 | 70 | Permission is hereby granted, free of charge, to any person obtaining 71 | a copy of this software and associated documentation files (the 72 | "Software"), to deal in the Software without restriction, including 73 | without limitation the rights to use, copy, modify, merge, publish, 74 | distribute, sublicense, and/or sell copies of the Software, and to 75 | permit persons to whom the Software is furnished to do so, subject to 76 | the following conditions: 77 | 78 | The above copyright notice and this permission notice shall be 79 | included in all copies or substantial portions of the Software. 80 | 81 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 82 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 83 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 84 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 85 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 86 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 87 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 88 | ******************************************************************************* 89 | 90 | 91 | Logback source code and binaries are dual-licensed under the EPL v1.0 and the LGPL 2.1, or more formally: 92 | 93 | ******************************************************************************* 94 | Logback: the reliable, generic, fast and flexible logging framework. 95 | Copyright (C) 1999-2012, QOS.ch. All rights reserved. 96 | 97 | This program and the accompanying materials are dual-licensed under 98 | either the terms of the Eclipse Public License v1.0 as published by 99 | the Eclipse Foundation 100 | 101 | or (per the licensee's choosing) 102 | 103 | under the terms of the GNU Lesser General Public License version 2.1 104 | as published by the Free Software Foundation. 105 | ******************************************************************************* 106 | 107 | 108 | ASM library: 109 | 110 | ******************************************************************************* 111 | Copyright (c) 2000-2011 INRIA, France Telecom 112 | All rights reserved. 113 | 114 | Redistribution and use in source and binary forms, with or without 115 | modification, are permitted provided that the following conditions 116 | are met: 117 | 118 | 1. Redistributions of source code must retain the above copyright 119 | notice, this list of conditions and the following disclaimer. 120 | 121 | 2. Redistributions in binary form must reproduce the above copyright 122 | notice, this list of conditions and the following disclaimer in the 123 | documentation and/or other materials provided with the distribution. 124 | 125 | 3. Neither the name of the copyright holders nor the names of its 126 | contributors may be used to endorse or promote products derived from 127 | this software without specific prior written permission. 128 | 129 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 130 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 131 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 132 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 133 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 134 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 135 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 136 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 137 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 138 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 139 | THE POSSIBILITY OF SUCH DAMAGE. 140 | ******************************************************************************* 141 | 142 | 143 | 144 | Jadx-gui components 145 | =================== 146 | 147 | RSyntaxTextArea library (https://github.com/bobbylight/RSyntaxTextArea) 148 | licensed under modified BSD license: 149 | 150 | ******************************************************************************* 151 | Copyright (c) 2012, Robert Futrell 152 | All rights reserved. 153 | 154 | Redistribution and use in source and binary forms, with or without 155 | modification, are permitted provided that the following conditions are met: 156 | * Redistributions of source code must retain the above copyright 157 | notice, this list of conditions and the following disclaimer. 158 | * Redistributions in binary form must reproduce the above copyright 159 | notice, this list of conditions and the following disclaimer in the 160 | documentation and/or other materials provided with the distribution. 161 | * Neither the name of the author nor the names of its contributors may 162 | be used to endorse or promote products derived from this software 163 | without specific prior written permission. 164 | 165 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 166 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 167 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 168 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 169 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 170 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 171 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 172 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 173 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 174 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 175 | ******************************************************************************* 176 | 177 | 178 | Concurrent Trees (https://code.google.com/p/concurrent-trees/) 179 | licenced under Apache License 2.0: 180 | 181 | ******************************************************************************* 182 | Licensed under the Apache License, Version 2.0 (the "License"); 183 | you may not use this file except in compliance with the License. 184 | You may obtain a copy of the License at 185 | 186 | http://www.apache.org/licenses/LICENSE-2.0 187 | 188 | Unless required by applicable law or agreed to in writing, software 189 | distributed under the License is distributed on an "AS IS" BASIS, 190 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 191 | See the License for the specific language governing permissions and 192 | limitations under the License. 193 | ******************************************************************************* 194 | 195 | 196 | Image Viewer (https://github.com/kazocsaba/imageviewer) 197 | 198 | ******************************************************************************* 199 | Copyright (c) 2008-2012 Kazó Csaba 200 | 201 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 202 | 203 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 204 | 205 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 206 | ******************************************************************************* 207 | 208 | JFontChooser Component - http://sourceforge.jp/projects/jfontchooser/ 209 | 210 | Icons copied from several places: 211 | - Eclipse Project (JDT UI) - licensed under EPL v1.0 (http://www.eclipse.org/legal/epl-v10.html) 212 | - famfamfam silk icon set (http://www.famfamfam.com/lab/icons/silk/) - licensed 213 | under Creative Commons Attribution 2.5 License (http://creativecommons.org/licenses/by/2.5/) 214 | -------------------------------------------------------------------------------- /tools/jadx/README.md: -------------------------------------------------------------------------------- 1 | ## JADX 2 | 3 | [![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/jadx) 4 | [![Code Coverage](https://codecov.io/gh/skylot/jadx/branch/master/graph/badge.svg)](https://codecov.io/gh/skylot/jadx) 5 | [![Alerts from lgtm.com](https://img.shields.io/lgtm/alerts/g/skylot/jadx.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/skylot/jadx/alerts/) 6 | [![SonarQube Bugs](https://sonarcloud.io/api/project_badges/measure?project=jadx&metric=bugs)](https://sonarcloud.io/dashboard?id=jadx) 7 | [![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html) 8 | [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) 9 | 10 | **jadx** - Dex to Java decompiler 11 | 12 | Command line and GUI tools for produce Java source code from Android Dex and Apk files 13 | 14 | **Main features:** 15 | - decompile Dalvik bytecode to java classes from APK, dex, aar and zip files 16 | - decode `AndroidManifest.xml` and other resources from `resources.arsc` 17 | - deobfuscator included 18 | 19 | **jadx-gui features:** 20 | - view decompiled code with highlighted syntax 21 | - jump to declaration 22 | - find usage 23 | - full text search 24 | 25 | See these features in action here: [jadx-gui features overview](https://github.com/skylot/jadx/wiki/jadx-gui-features-overview) 26 | 27 | 28 | ![jadx-gui screenshot](https://i.imgur.com/h917IBZ.png) 29 | 30 | 31 | ### Download 32 | - latest [unstable build: ![Download](https://api.bintray.com/packages/skylot/jadx/unstable/images/download.svg) ](https://bintray.com/skylot/jadx/unstable/_latestVersion#files) 33 | - release from [github: ![Latest release](https://img.shields.io/github/release/skylot/jadx.svg)](https://github.com/skylot/jadx/releases/latest) 34 | - release from [bintray: ![Download](https://api.bintray.com/packages/skylot/jadx/releases/images/download.svg) ](https://bintray.com/skylot/jadx/releases/_latestVersion#files) 35 | 36 | After download unpack zip file go to `bin` directory and run: 37 | - `jadx` - command line version 38 | - `jadx-gui` - UI version 39 | 40 | On Windows run `.bat` files with double-click\ 41 | **Note:** ensure you have installed Java 8 or later 64-bit version. 42 | For windows you can download it from [adoptopenjdk.net](https://adoptopenjdk.net/releases.html?variant=openjdk11&jvmVariant=hotspot#x64_win) (select "Install JRE"). 43 | 44 | ### Install 45 | 1. Arch linux 46 | ```bash 47 | sudo pacman -S jadx 48 | ``` 49 | 2. macOS 50 | ```bash 51 | brew install jadx 52 | ``` 53 | 54 | ### Build from source 55 | JDK 8 or higher must be installed: 56 | ``` 57 | git clone https://github.com/skylot/jadx.git 58 | cd jadx 59 | ./gradlew dist 60 | ``` 61 | 62 | (on Windows, use `gradlew.bat` instead of `./gradlew`) 63 | 64 | Scripts for run jadx will be placed in `build/jadx/bin` 65 | and also packed to `build/jadx-.zip` 66 | 67 | ### Usage 68 | ``` 69 | jadx[-gui] [options] (.apk, .dex, .jar, .class, .smali, .zip, .aar, .arsc) 70 | options: 71 | -d, --output-dir - output directory 72 | -ds, --output-dir-src - output directory for sources 73 | -dr, --output-dir-res - output directory for resources 74 | -r, --no-res - do not decode resources 75 | -s, --no-src - do not decompile source code 76 | --single-class - decompile a single class 77 | --output-format - can be 'java' or 'json', default: java 78 | -e, --export-gradle - save as android gradle project 79 | -j, --threads-count - processing threads count, default: 4 80 | --show-bad-code - show inconsistent code (incorrectly decompiled) 81 | --no-imports - disable use of imports, always write entire package name 82 | --no-debug-info - disable debug info 83 | --no-inline-anonymous - disable anonymous classes inline 84 | --no-replace-consts - don't replace constant value with matching constant field 85 | --escape-unicode - escape non latin characters in strings (with \u) 86 | --respect-bytecode-access-modifiers - don't change original access modifiers 87 | --deobf - activate deobfuscation 88 | --deobf-min - min length of name, renamed if shorter, default: 3 89 | --deobf-max - max length of name, renamed if longer, default: 64 90 | --deobf-rewrite-cfg - force to save deobfuscation map 91 | --deobf-use-sourcename - use source file name as class name alias 92 | --rename-flags - what to rename, comma-separated, 'case' for system case sensitivity, 'valid' for java identifiers, 'printable' characters, 'none' or 'all' (default) 93 | --fs-case-sensitive - treat filesystem as case sensitive, false by default 94 | --cfg - save methods control flow graph to dot file 95 | --raw-cfg - save methods control flow graph (use raw instructions) 96 | -f, --fallback - make simple dump (using goto instead of 'if', 'for', etc) 97 | -v, --verbose - verbose output (set --log-level to DEBUG) 98 | -q, --quiet - turn off output (set --log-level to QUIET) 99 | --log-level - set log level, values: QUIET, PROGRESS, ERROR, WARN, INFO, DEBUG, default: PROGRESS 100 | --version - print jadx version 101 | -h, --help - print this help 102 | Example: 103 | jadx -d out classes.dex 104 | jadx --rename-flags "none" classes.dex 105 | jadx --rename-flags "valid,printable" classes.dex 106 | jadx --log-level error app.apk 107 | ``` 108 | These options also worked on jadx-gui running from command line and override options from preferences dialog 109 | 110 | ### Troubleshooting 111 | Please check wiki page [Troubleshooting Q&A](https://github.com/skylot/jadx/wiki/Troubleshooting-Q&A) 112 | 113 | ### Contributing 114 | To support this project you can: 115 | - Post thoughts about new features/optimizations that important to you 116 | - Submit decompilation issues, please read before proceed: [Open issue](CONTRIBUTING.md#Open-Issue) 117 | - Open pull request, please follow these rules: [Pull Request Process](CONTRIBUTING.md#Pull-Request-Process) 118 | 119 | ### Related projects: 120 | - [PyJadx](https://github.com/romainthomas/pyjadx) - python binding for jadx by [@romainthomas](https://github.com/romainthomas) 121 | 122 | --------------------------------------- 123 | *Licensed under the Apache 2.0 License* 124 | 125 | *Copyright 2019 by Skylot* 126 | -------------------------------------------------------------------------------- /tools/jadx/bin/jadx: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## jadx start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/.." >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="jadx" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and JADX_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xms128M" "-Xmx4g" "-XX:+UseG1GC"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/lib/jadx-cli-1.1.0.jar:$APP_HOME/lib/jadx-core-1.1.0.jar:$APP_HOME/lib/dx-1.16.jar:$APP_HOME/lib/android-29-clst.jar:$APP_HOME/lib/android-29-res.jar:$APP_HOME/lib/logback-classic-1.2.3.jar:$APP_HOME/lib/slf4j-api-1.7.29.jar:$APP_HOME/lib/baksmali-2.3.4.jar:$APP_HOME/lib/smali-2.3.4.jar:$APP_HOME/lib/util-2.3.4.jar:$APP_HOME/lib/jcommander-1.78.jar:$APP_HOME/lib/asm-7.2.jar:$APP_HOME/lib/annotations-18.0.0.jar:$APP_HOME/lib/gson-2.8.6.jar:$APP_HOME/lib/dexlib2-2.3.4.jar:$APP_HOME/lib/guava-28.1-jre.jar:$APP_HOME/lib/logback-core-1.2.3.jar:$APP_HOME/lib/antlr-runtime-3.5.2.jar:$APP_HOME/lib/stringtemplate-3.2.1.jar:$APP_HOME/lib/failureaccess-1.0.1.jar:$APP_HOME/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:$APP_HOME/lib/jsr305-3.0.2.jar:$APP_HOME/lib/checker-qual-2.8.1.jar:$APP_HOME/lib/error_prone_annotations-2.3.2.jar:$APP_HOME/lib/j2objc-annotations-1.3.jar:$APP_HOME/lib/animal-sniffer-annotations-1.18.jar:$APP_HOME/lib/antlr-2.7.7.jar 84 | 85 | # Determine the Java command to use to start the JVM. 86 | if [ -n "$JAVA_HOME" ] ; then 87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 88 | # IBM's JDK on AIX uses strange locations for the executables 89 | JAVACMD="$JAVA_HOME/jre/sh/java" 90 | else 91 | JAVACMD="$JAVA_HOME/bin/java" 92 | fi 93 | if [ ! -x "$JAVACMD" ] ; then 94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 95 | 96 | Please set the JAVA_HOME variable in your environment to match the 97 | location of your Java installation." 98 | fi 99 | else 100 | JAVACMD="java" 101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 102 | 103 | Please set the JAVA_HOME variable in your environment to match the 104 | location of your Java installation." 105 | fi 106 | 107 | # Increase the maximum file descriptors if we can. 108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 109 | MAX_FD_LIMIT=`ulimit -H -n` 110 | if [ $? -eq 0 ] ; then 111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 112 | MAX_FD="$MAX_FD_LIMIT" 113 | fi 114 | ulimit -n $MAX_FD 115 | if [ $? -ne 0 ] ; then 116 | warn "Could not set maximum file descriptor limit: $MAX_FD" 117 | fi 118 | else 119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 120 | fi 121 | fi 122 | 123 | # For Darwin, add options to specify how the application appears in the dock 124 | if $darwin; then 125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 126 | fi 127 | 128 | # For Cygwin or MSYS, switch paths to Windows format before running java 129 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 132 | JAVACMD=`cygpath --unix "$JAVACMD"` 133 | 134 | # We build the pattern for arguments to be converted via cygpath 135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 136 | SEP="" 137 | for dir in $ROOTDIRSRAW ; do 138 | ROOTDIRS="$ROOTDIRS$SEP$dir" 139 | SEP="|" 140 | done 141 | OURCYGPATTERN="(^($ROOTDIRS))" 142 | # Add a user-defined pattern to the cygpath arguments 143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 145 | fi 146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 147 | i=0 148 | for arg in "$@" ; do 149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 151 | 152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 154 | else 155 | eval `echo args$i`="\"$arg\"" 156 | fi 157 | i=`expr $i + 1` 158 | done 159 | case $i in 160 | 0) set -- ;; 161 | 1) set -- "$args0" ;; 162 | 2) set -- "$args0" "$args1" ;; 163 | 3) set -- "$args0" "$args1" "$args2" ;; 164 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 165 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 166 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 167 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 168 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 169 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 170 | esac 171 | fi 172 | 173 | # Escape application args 174 | save () { 175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 176 | echo " " 177 | } 178 | APP_ARGS=`save "$@"` 179 | 180 | # Collect all arguments for the java command, following the shell quoting and substitution rules 181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $JADX_OPTS -classpath "\"$CLASSPATH\"" jadx.cli.JadxCLI "$APP_ARGS" 182 | 183 | exec "$JAVACMD" "$@" 184 | -------------------------------------------------------------------------------- /tools/jadx/bin/jadx-gui: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | ## 21 | ## jadx-gui start up script for UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/.." >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="jadx-gui" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and JADX_GUI_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xms128M" "-Xmx4g" "-Dawt.useSystemAAFontSettings=lcd" "-Dswing.aatext=true" "-XX:+UseG1GC"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/lib/jadx-gui-1.1.0.jar:$APP_HOME/lib/jfontchooser-1.0.5.jar:$APP_HOME/lib/jadx-cli-1.1.0.jar:$APP_HOME/lib/jadx-core-1.1.0.jar:$APP_HOME/lib/dx-1.16.jar:$APP_HOME/lib/android-29-clst.jar:$APP_HOME/lib/android-29-res.jar:$APP_HOME/lib/logback-classic-1.2.3.jar:$APP_HOME/lib/slf4j-api-1.7.29.jar:$APP_HOME/lib/rsyntaxtextarea-3.0.4.jar:$APP_HOME/lib/image-viewer-1.2.3.jar:$APP_HOME/lib/commons-text-1.8.jar:$APP_HOME/lib/commons-lang3-3.9.jar:$APP_HOME/lib/rxjava2-swing-0.3.7.jar:$APP_HOME/lib/rxjava-2.2.15.jar:$APP_HOME/lib/apksig-3.5.2.jar:$APP_HOME/lib/asm-7.2.jar:$APP_HOME/lib/annotations-18.0.0.jar:$APP_HOME/lib/gson-2.8.6.jar:$APP_HOME/lib/baksmali-2.3.4.jar:$APP_HOME/lib/smali-2.3.4.jar:$APP_HOME/lib/util-2.3.4.jar:$APP_HOME/lib/dexlib2-2.3.4.jar:$APP_HOME/lib/guava-28.1-jre.jar:$APP_HOME/lib/jcommander-1.78.jar:$APP_HOME/lib/reactive-streams-1.0.3.jar:$APP_HOME/lib/antlr-runtime-3.5.2.jar:$APP_HOME/lib/stringtemplate-3.2.1.jar:$APP_HOME/lib/failureaccess-1.0.1.jar:$APP_HOME/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:$APP_HOME/lib/jsr305-3.0.2.jar:$APP_HOME/lib/checker-qual-2.8.1.jar:$APP_HOME/lib/error_prone_annotations-2.3.2.jar:$APP_HOME/lib/j2objc-annotations-1.3.jar:$APP_HOME/lib/animal-sniffer-annotations-1.18.jar:$APP_HOME/lib/logback-core-1.2.3.jar:$APP_HOME/lib/antlr-2.7.7.jar 84 | 85 | # Determine the Java command to use to start the JVM. 86 | if [ -n "$JAVA_HOME" ] ; then 87 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 88 | # IBM's JDK on AIX uses strange locations for the executables 89 | JAVACMD="$JAVA_HOME/jre/sh/java" 90 | else 91 | JAVACMD="$JAVA_HOME/bin/java" 92 | fi 93 | if [ ! -x "$JAVACMD" ] ; then 94 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 95 | 96 | Please set the JAVA_HOME variable in your environment to match the 97 | location of your Java installation." 98 | fi 99 | else 100 | JAVACMD="java" 101 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 102 | 103 | Please set the JAVA_HOME variable in your environment to match the 104 | location of your Java installation." 105 | fi 106 | 107 | # Increase the maximum file descriptors if we can. 108 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 109 | MAX_FD_LIMIT=`ulimit -H -n` 110 | if [ $? -eq 0 ] ; then 111 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 112 | MAX_FD="$MAX_FD_LIMIT" 113 | fi 114 | ulimit -n $MAX_FD 115 | if [ $? -ne 0 ] ; then 116 | warn "Could not set maximum file descriptor limit: $MAX_FD" 117 | fi 118 | else 119 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 120 | fi 121 | fi 122 | 123 | # For Darwin, add options to specify how the application appears in the dock 124 | if $darwin; then 125 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 126 | fi 127 | 128 | # For Cygwin or MSYS, switch paths to Windows format before running java 129 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 130 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 131 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 132 | JAVACMD=`cygpath --unix "$JAVACMD"` 133 | 134 | # We build the pattern for arguments to be converted via cygpath 135 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 136 | SEP="" 137 | for dir in $ROOTDIRSRAW ; do 138 | ROOTDIRS="$ROOTDIRS$SEP$dir" 139 | SEP="|" 140 | done 141 | OURCYGPATTERN="(^($ROOTDIRS))" 142 | # Add a user-defined pattern to the cygpath arguments 143 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 144 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 145 | fi 146 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 147 | i=0 148 | for arg in "$@" ; do 149 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 151 | 152 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 153 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 154 | else 155 | eval `echo args$i`="\"$arg\"" 156 | fi 157 | i=`expr $i + 1` 158 | done 159 | case $i in 160 | 0) set -- ;; 161 | 1) set -- "$args0" ;; 162 | 2) set -- "$args0" "$args1" ;; 163 | 3) set -- "$args0" "$args1" "$args2" ;; 164 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 165 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 166 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 167 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 168 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 169 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 170 | esac 171 | fi 172 | 173 | # Escape application args 174 | save () { 175 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 176 | echo " " 177 | } 178 | APP_ARGS=`save "$@"` 179 | 180 | # Collect all arguments for the java command, following the shell quoting and substitution rules 181 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $JADX_GUI_OPTS -classpath "\"$CLASSPATH\"" jadx.gui.JadxGUI "$APP_ARGS" 182 | 183 | exec "$JAVACMD" "$@" 184 | -------------------------------------------------------------------------------- /tools/jadx/bin/jadx-gui.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem jadx-gui startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME%.. 31 | 32 | @rem Add default JVM options here. You can also use JAVA_OPTS and JADX_GUI_OPTS to pass JVM options to this script. 33 | set DEFAULT_JVM_OPTS="-Xms128M" "-Xmx4g" "-Dawt.useSystemAAFontSettings=lcd" "-Dswing.aatext=true" "-XX:+UseG1GC" 34 | 35 | @rem Find javaw.exe 36 | if defined JAVA_HOME goto findJavaFromJavaHome 37 | 38 | set JAVA_EXE=javaw.exe 39 | %JAVA_EXE% -version >NUL 2>&1 40 | if "%ERRORLEVEL%" == "0" goto init 41 | 42 | echo. 43 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 44 | echo. 45 | echo Please set the JAVA_HOME variable in your environment to match the 46 | echo location of your Java installation. 47 | 48 | goto fail 49 | 50 | :findJavaFromJavaHome 51 | set JAVA_HOME=%JAVA_HOME:"=% 52 | set JAVA_EXE=%JAVA_HOME%/bin/javaw.exe 53 | 54 | if exist "%JAVA_EXE%" goto init 55 | 56 | echo. 57 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 58 | echo. 59 | echo Please set the JAVA_HOME variable in your environment to match the 60 | echo location of your Java installation. 61 | 62 | goto fail 63 | 64 | :init 65 | @rem Get command-line arguments, handling Windows variants 66 | 67 | if not "%OS%" == "Windows_NT" goto win9xME_args 68 | 69 | :win9xME_args 70 | @rem Slurp the command line arguments. 71 | set CMD_LINE_ARGS= 72 | set _SKIP=2 73 | 74 | :win9xME_args_slurp 75 | if "x%~1" == "x" goto execute 76 | 77 | set CMD_LINE_ARGS=%* 78 | 79 | :execute 80 | @rem Setup the command line 81 | 82 | set CLASSPATH=%APP_HOME%\lib\jadx-gui-1.1.0.jar;%APP_HOME%\lib\jfontchooser-1.0.5.jar;%APP_HOME%\lib\jadx-cli-1.1.0.jar;%APP_HOME%\lib\jadx-core-1.1.0.jar;%APP_HOME%\lib\dx-1.16.jar;%APP_HOME%\lib\android-29-clst.jar;%APP_HOME%\lib\android-29-res.jar;%APP_HOME%\lib\logback-classic-1.2.3.jar;%APP_HOME%\lib\slf4j-api-1.7.29.jar;%APP_HOME%\lib\rsyntaxtextarea-3.0.4.jar;%APP_HOME%\lib\image-viewer-1.2.3.jar;%APP_HOME%\lib\commons-text-1.8.jar;%APP_HOME%\lib\commons-lang3-3.9.jar;%APP_HOME%\lib\rxjava2-swing-0.3.7.jar;%APP_HOME%\lib\rxjava-2.2.15.jar;%APP_HOME%\lib\apksig-3.5.2.jar;%APP_HOME%\lib\asm-7.2.jar;%APP_HOME%\lib\annotations-18.0.0.jar;%APP_HOME%\lib\gson-2.8.6.jar;%APP_HOME%\lib\baksmali-2.3.4.jar;%APP_HOME%\lib\smali-2.3.4.jar;%APP_HOME%\lib\util-2.3.4.jar;%APP_HOME%\lib\dexlib2-2.3.4.jar;%APP_HOME%\lib\guava-28.1-jre.jar;%APP_HOME%\lib\jcommander-1.78.jar;%APP_HOME%\lib\reactive-streams-1.0.3.jar;%APP_HOME%\lib\antlr-runtime-3.5.2.jar;%APP_HOME%\lib\stringtemplate-3.2.1.jar;%APP_HOME%\lib\failureaccess-1.0.1.jar;%APP_HOME%\lib\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;%APP_HOME%\lib\jsr305-3.0.2.jar;%APP_HOME%\lib\checker-qual-2.8.1.jar;%APP_HOME%\lib\error_prone_annotations-2.3.2.jar;%APP_HOME%\lib\j2objc-annotations-1.3.jar;%APP_HOME%\lib\animal-sniffer-annotations-1.18.jar;%APP_HOME%\lib\logback-core-1.2.3.jar;%APP_HOME%\lib\antlr-2.7.7.jar 83 | 84 | @rem Execute jadx-gui 85 | start "jadx-gui" /B "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %JADX_GUI_OPTS% -classpath "%CLASSPATH%" jadx.gui.JadxGUI %CMD_LINE_ARGS% 86 | 87 | :end 88 | @rem End local scope for the variables with windows NT shell 89 | if "%ERRORLEVEL%"=="0" goto mainEnd 90 | 91 | :fail 92 | rem Set variable JADX_GUI_EXIT_CONSOLE if you need the _script_ return code instead of 93 | rem the _cmd.exe /c_ return code! 94 | if not "" == "%JADX_GUI_EXIT_CONSOLE%" exit 1 95 | exit /b 1 96 | 97 | :mainEnd 98 | if "%OS%"=="Windows_NT" endlocal 99 | 100 | :omega 101 | -------------------------------------------------------------------------------- /tools/jadx/bin/jadx.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem jadx startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME%.. 31 | 32 | @rem Add default JVM options here. You can also use JAVA_OPTS and JADX_OPTS to pass JVM options to this script. 33 | set DEFAULT_JVM_OPTS="-Xms128M" "-Xmx4g" "-XX:+UseG1GC" 34 | 35 | @rem Find java.exe 36 | if defined JAVA_HOME goto findJavaFromJavaHome 37 | 38 | set JAVA_EXE=java.exe 39 | %JAVA_EXE% -version >NUL 2>&1 40 | if "%ERRORLEVEL%" == "0" goto init 41 | 42 | echo. 43 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 44 | echo. 45 | echo Please set the JAVA_HOME variable in your environment to match the 46 | echo location of your Java installation. 47 | 48 | goto fail 49 | 50 | :findJavaFromJavaHome 51 | set JAVA_HOME=%JAVA_HOME:"=% 52 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 53 | 54 | if exist "%JAVA_EXE%" goto init 55 | 56 | echo. 57 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 58 | echo. 59 | echo Please set the JAVA_HOME variable in your environment to match the 60 | echo location of your Java installation. 61 | 62 | goto fail 63 | 64 | :init 65 | @rem Get command-line arguments, handling Windows variants 66 | 67 | if not "%OS%" == "Windows_NT" goto win9xME_args 68 | 69 | :win9xME_args 70 | @rem Slurp the command line arguments. 71 | set CMD_LINE_ARGS= 72 | set _SKIP=2 73 | 74 | :win9xME_args_slurp 75 | if "x%~1" == "x" goto execute 76 | 77 | set CMD_LINE_ARGS=%* 78 | 79 | :execute 80 | @rem Setup the command line 81 | 82 | set CLASSPATH=%APP_HOME%\lib\jadx-cli-1.1.0.jar;%APP_HOME%\lib\jadx-core-1.1.0.jar;%APP_HOME%\lib\dx-1.16.jar;%APP_HOME%\lib\android-29-clst.jar;%APP_HOME%\lib\android-29-res.jar;%APP_HOME%\lib\logback-classic-1.2.3.jar;%APP_HOME%\lib\slf4j-api-1.7.29.jar;%APP_HOME%\lib\baksmali-2.3.4.jar;%APP_HOME%\lib\smali-2.3.4.jar;%APP_HOME%\lib\util-2.3.4.jar;%APP_HOME%\lib\jcommander-1.78.jar;%APP_HOME%\lib\asm-7.2.jar;%APP_HOME%\lib\annotations-18.0.0.jar;%APP_HOME%\lib\gson-2.8.6.jar;%APP_HOME%\lib\dexlib2-2.3.4.jar;%APP_HOME%\lib\guava-28.1-jre.jar;%APP_HOME%\lib\logback-core-1.2.3.jar;%APP_HOME%\lib\antlr-runtime-3.5.2.jar;%APP_HOME%\lib\stringtemplate-3.2.1.jar;%APP_HOME%\lib\failureaccess-1.0.1.jar;%APP_HOME%\lib\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;%APP_HOME%\lib\jsr305-3.0.2.jar;%APP_HOME%\lib\checker-qual-2.8.1.jar;%APP_HOME%\lib\error_prone_annotations-2.3.2.jar;%APP_HOME%\lib\j2objc-annotations-1.3.jar;%APP_HOME%\lib\animal-sniffer-annotations-1.18.jar;%APP_HOME%\lib\antlr-2.7.7.jar 83 | 84 | @rem Execute jadx 85 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %JADX_OPTS% -classpath "%CLASSPATH%" jadx.cli.JadxCLI %CMD_LINE_ARGS% 86 | 87 | :end 88 | @rem End local scope for the variables with windows NT shell 89 | if "%ERRORLEVEL%"=="0" goto mainEnd 90 | 91 | :fail 92 | rem Set variable JADX_EXIT_CONSOLE if you need the _script_ return code instead of 93 | rem the _cmd.exe /c_ return code! 94 | if not "" == "%JADX_EXIT_CONSOLE%" exit 1 95 | exit /b 1 96 | 97 | :mainEnd 98 | if "%OS%"=="Windows_NT" endlocal 99 | 100 | :omega 101 | -------------------------------------------------------------------------------- /tools/jadx/lib/android-29-clst.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/android-29-clst.jar -------------------------------------------------------------------------------- /tools/jadx/lib/android-29-res.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/android-29-res.jar -------------------------------------------------------------------------------- /tools/jadx/lib/animal-sniffer-annotations-1.18.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/animal-sniffer-annotations-1.18.jar -------------------------------------------------------------------------------- /tools/jadx/lib/annotations-18.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/annotations-18.0.0.jar -------------------------------------------------------------------------------- /tools/jadx/lib/antlr-2.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/antlr-2.7.7.jar -------------------------------------------------------------------------------- /tools/jadx/lib/antlr-runtime-3.5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/antlr-runtime-3.5.2.jar -------------------------------------------------------------------------------- /tools/jadx/lib/apksig-3.5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/apksig-3.5.2.jar -------------------------------------------------------------------------------- /tools/jadx/lib/asm-7.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/asm-7.2.jar -------------------------------------------------------------------------------- /tools/jadx/lib/baksmali-2.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/baksmali-2.3.4.jar -------------------------------------------------------------------------------- /tools/jadx/lib/checker-qual-2.8.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/checker-qual-2.8.1.jar -------------------------------------------------------------------------------- /tools/jadx/lib/commons-lang3-3.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/commons-lang3-3.9.jar -------------------------------------------------------------------------------- /tools/jadx/lib/commons-text-1.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/commons-text-1.8.jar -------------------------------------------------------------------------------- /tools/jadx/lib/dexlib2-2.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/dexlib2-2.3.4.jar -------------------------------------------------------------------------------- /tools/jadx/lib/dx-1.16.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/dx-1.16.jar -------------------------------------------------------------------------------- /tools/jadx/lib/error_prone_annotations-2.3.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/error_prone_annotations-2.3.2.jar -------------------------------------------------------------------------------- /tools/jadx/lib/failureaccess-1.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/failureaccess-1.0.1.jar -------------------------------------------------------------------------------- /tools/jadx/lib/gson-2.8.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/gson-2.8.6.jar -------------------------------------------------------------------------------- /tools/jadx/lib/guava-28.1-jre.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/guava-28.1-jre.jar -------------------------------------------------------------------------------- /tools/jadx/lib/image-viewer-1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/image-viewer-1.2.3.jar -------------------------------------------------------------------------------- /tools/jadx/lib/j2objc-annotations-1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/j2objc-annotations-1.3.jar -------------------------------------------------------------------------------- /tools/jadx/lib/jadx-cli-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/jadx-cli-1.1.0.jar -------------------------------------------------------------------------------- /tools/jadx/lib/jadx-core-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/jadx-core-1.1.0.jar -------------------------------------------------------------------------------- /tools/jadx/lib/jadx-gui-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/jadx-gui-1.1.0.jar -------------------------------------------------------------------------------- /tools/jadx/lib/jcommander-1.78.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/jcommander-1.78.jar -------------------------------------------------------------------------------- /tools/jadx/lib/jfontchooser-1.0.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/jfontchooser-1.0.5.jar -------------------------------------------------------------------------------- /tools/jadx/lib/jsr305-3.0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/jsr305-3.0.2.jar -------------------------------------------------------------------------------- /tools/jadx/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar -------------------------------------------------------------------------------- /tools/jadx/lib/logback-classic-1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/logback-classic-1.2.3.jar -------------------------------------------------------------------------------- /tools/jadx/lib/logback-core-1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/logback-core-1.2.3.jar -------------------------------------------------------------------------------- /tools/jadx/lib/reactive-streams-1.0.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/reactive-streams-1.0.3.jar -------------------------------------------------------------------------------- /tools/jadx/lib/rsyntaxtextarea-3.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/rsyntaxtextarea-3.0.4.jar -------------------------------------------------------------------------------- /tools/jadx/lib/rxjava-2.2.15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/rxjava-2.2.15.jar -------------------------------------------------------------------------------- /tools/jadx/lib/rxjava2-swing-0.3.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/rxjava2-swing-0.3.7.jar -------------------------------------------------------------------------------- /tools/jadx/lib/slf4j-api-1.7.29.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/slf4j-api-1.7.29.jar -------------------------------------------------------------------------------- /tools/jadx/lib/smali-2.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/smali-2.3.4.jar -------------------------------------------------------------------------------- /tools/jadx/lib/stringtemplate-3.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/stringtemplate-3.2.1.jar -------------------------------------------------------------------------------- /tools/jadx/lib/util-2.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/jadx/lib/util-2.3.4.jar -------------------------------------------------------------------------------- /tools/smali/lib/baksmali-2.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/smali/lib/baksmali-2.3.4.jar -------------------------------------------------------------------------------- /tools/smali/lib/smali-2.3.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxleezh/apkToJava/0c9c35052d89078e6129a19f7a4dfa6cc235516d/tools/smali/lib/smali-2.3.4.jar --------------------------------------------------------------------------------