User Tools

Site Tools


howto:apkdesconstruct

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto:apkdesconstruct [2019/07/22 22:51] (current)
digdat0 created
Line 1: Line 1:
 +===== APK Deconstruction - How to take apart the APK file =====
  
 +<doc incomplete, needs work still ran outa time for now 7/22 @ 351pm digdat0>
 +
 +This page will show how to take apart the Android APK file and convert the files into readable java format.
 +
 +==== Step 1 - Download some files ====
 +
 +** Download the APK **
 +
 +Download one of these files:
 +  * DJI Go 4.1.22: http://​www.openpilotlegacy.org/​dji.go.v4-4.1.22-3028592-noseceo.apk
 +  * DJI Go 4.1.15: http://​www.openpilotlegacy.org/​DJI_GO_4_dji.go.v4_4.1.15_V3027412-nosecneo.apk
 +  * DJI Go 4.1.14: http://​www.openpilotlegacy.org/​dji.go.v4_4.1.14-1027326-noSecNeo.apk
 +  * DJI Go 3: http://​www.openpilotlegacy.org/​Go3-nosecneo.apk
 +
 +
 +** Download a tool to extract the APK **
 +
 +Download dex2jar from https://​sourceforge.net/​projects/​dex2jar/​
 +
 +** Download a tool to convert files to Java .class files **
 +
 +Download jd-gui from this repo: https://​github.com/​java-decompiler/​jd-gui/​releases
 +
 +Unzip both the dex2jar and the jd-gui apps
 +
 +==== Step 2 - Extract the APK ====
 +After unzipping the dex2jar file, you need to change to a command prompt (windows) or terminal (mac/'​nix). ​
 +
 +From the command line, the command is as follows:
 +
 +d2j-dex2jar.bat -f \path\file.apk ​
 +
 +Once this is done, a new JAR file will be created in the same folder. You can now convert that file to extract the .classes from it (the Java content)
 +
 +==== Step 3 - Convert the files  ====
 +
 +Open the jd-gui app
 +
 +==== Step 4 - Research the Java classes files ====
 +
 +After saving the files, you can then review them in your favorite text editor like notepad++
 +
 +==== More Info  ====
 +The next step from here is making your own custom DJI GO app of course! Bin4ry has done an excellent job with the apk modding tool, find more info on it here: http://​dji.retroroms.info/​howto/​deejayeye-modder
howto/apkdesconstruct.txt ยท Last modified: 2019/07/22 22:51 by digdat0