User Tools

Site Tools

Translations of this page:

howto:deejayeye-modder

This is an old revision of the document!


Deeyayeye-Modder

The deeyayeye modder is a tool to modify the original GO apk and give the users the ability to control what the GO app does and what not. This is for Android only. For example you get the choice to stop the GO app from calling home and sending your data there (offline mode) or to fix the broken detection of FCC/CE and force FCC in FCC countrys when you use a non-GPS tablet with CE simcard inside of a FCC country. The patches are done by an open-source patching system you can find here: https://github.com/Bin4ry/deejayeye-modder

*Make your OWN patched version of GO. This way you are SURE what is in it. DO NOT USE A PRE-PATCHED VERSION UNLESS YOU KNOW WHO PATCHED IT*

If you want to contribute a patch of your own open a pull-request.

NOTE: Deeyayeye-Modder is about selecting & applying mods, not about creating them. If you want to create one yourself with free tools i would recommend: Use the .bat or .sh in the modder as a starting point to see how the APK is dissected until its laid out into .smali files (and maybe create 2 simple bat files out of the original, the first can create the file structure and apply patches, the second can build & sign the apk, this way its easy to play with smali files and give it a go). I use jadx (0.61 on mac, on windows they recommend .54) to load up the .apk. There i search the places in Java pseudo code i want to patch. Jadx shows the corresponding SMALI line numbers which is GREAT. So you search the vulnerable position and then edit the smali file e.g. with TextWrangler or Notepad++. Then rebuild the APK and test. Fast turnaround, maximum comfort. Good luck, keep contributing stuff :-) Ender

P.S. Learn about Smali opcodes here : http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html

And about much more here: http://androidcracking.blogspot.de/search/label/smali

APK Creation Using Windows Command Line

1. Grab the files from bin4ry. https://​github.com/​Bin4ry/​deejayeye-modder
2. Unzip them to a folder. ​ Look for download_tools.bat and run it.  This will make a tools folder for you and download the necessary additional files you need and places them in the tools folder.

3. You may need to install Java Development Kit, you can get it here: http://www.oracle.com/technetwork/java/javase/downloads/index.html 

4. Go get an APK from here:  Go4 4.1.22: http://www.openpilotlegacy.org/dji.go.v4-4.1.22-3028592-noseceo.apk / Go4 4.1.15: http://www.openpilotlegacy.org/DJI_GO_4_dji.go.v4_4.1.15_V3027412-nosecneo.apk / 
Go4 4.1.14: http://www.openpilotlegacy.org/dji.go.v4_4.1.14-1027326-noSecNeo.apk / Go3: http://www.openpilotlegacy.org/Go3-nosecneo.apk​

5. Download and save it in the PutApkHere folder. ​ Rename whatever APK you download and want to patch to orig.apk. Do you see how easy bin4ry made this for you?  You need to tell him thanks. ​ 
ANY APK you want to patch must be renamed to orig.apk, or the patching won't work.

6. Run RunMe.bat as admin. ​ If you don’t know how to do this, just stop right now, and step away from your PC.  Follow the prompts, and pick what patches you want to apply!!​ 
Pick a number for the corresponding patch and hit enter to move to the next choice. ​ Once you are done, enter P, then enter again. ​ Follow the patching progress. ​ It may take a while, so be patient.
You will find your modified apk file in the MODDED_APK_OUT directory.

====== APK Creation Using Windows GUI====== (not updated for latest APK patching. Use an alternate method)

The WinAPK Patcher is a GUI version of the windows Command line above. It is dependent on downloading the same files as above.

1. Download https://github.com/Bin4ry/deejayeye-modder/blob/master/WindowsPatchApp/PatchAPK.zip and extract to the root of your c drive. You should end up with a folder named PatchAPK on your C drive.

2. Right click on “My Computer” select “Properties” and then “Advanced System Settings” and then “Environment Variables”. You should have an entry like the following. “Path C:\PatchAPK\tool” If not, edit or add it.

3. Run download_tools.bat

4. You may need to install Java Development Kit, you can get it here: http://www.oracle.com/technetwork/java/javase/downloads/index.html

5. Install .Net Framework 4.6.2 if you don't have it: https://www.microsoft.com/en-us/download/details.aspx?id=53344

6. Go get an APK from here: Go4 4.1.22: http://www.openpilotlegacy.org/dji.go.v4-4.1.22-3028592-noseceo.apk / Go4 4.1.15: http://www.openpilotlegacy.org/DJI_GO_4_dji.go.v4_4.1.15_V3027412-nosecneo.apk /

Go4 4.1.14: http://www.openpilotlegacy.org/dji.go.v4_4.1.14-1027326-noSecNeo.apk / Go3: http://www.openpilotlegacy.org/Go3-nosecneo.apk​ Be sure the APK name does not have any spaces in it. For example, change the apk from "DJI GO 4  4.1.3.apk" to "DJIGO4413.apk", or even just "orig.apk" etc. Then for the sake of ease, put the apk in c:\patchAPK

7. Click OK until you are out of those windows.

8. Go to the PatchAPK folder and double click PatchAPK.exe (Run as Administrator)

9. Click on “FILE” and select the app version you have and want to patch. 4.1.3 in this case.

10. Click on “FILE” and Browse to c:\PatchAPK and select the apk file you downloaded and renamed.

11. Click decompile (this will take a little time to complete.)

12. Select the patches you want and click patch. (This should not take more than a few seconds.)

13. Select Build and Sign, this will take a little time to complete.

14. Once it is finished you can find your patched app in c:\PatchAPK\decompile\dist

APK Creation using OSX / Linux

1. Toolchain

Install your toolchain as per the instructions here. You only need to do this once… but check the instructions to see if there are any new tools that you may need.

2. Get the deejayeye-modder magic

If this is your first time using deejayeye-modder, you will need to checkout the code from git.

cd ~/Documents/
git clone https://github.com/Bin4ry/deejayeye-modder.git
cd deejayeye-modder
chmod u+x RunMe.sh

If you have done this before and you want to make sure you have the latest code, you just need to sync to the most recent version

cd ~/Documents/deejayeye-modder
git pull
ln -s ~/Documents/tools/ ~/Documents/deejayeye-modder/
howto/deejayeye-modder.1547506236.txt.gz · Last modified: 2019/01/14 22:50 by quad808