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
1. Grab the files from bin4ry.
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:
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:
Downloads for stock DJI Go you can use with the deejayeye-modder toolset (with sec-neo removed)
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
Make sure you have dialog, bspatch, dos2unix xmlstarlet java and libwebp installed. a)sudo apt-get install dialog bspatch dos2unix xmlstarlet openjdk-8-jre b) i)mkdir temp ii)wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.0.0.tar.gz -O temp/libwebp-1.0.0.tar.gz iii)tar xvzf libwebp-1.0.0.tar.gz iv)cd libwebp-1.0.0 v)./configure vi)make vii)sudo make install
Download needed tools manually or run the script provided. (download_tools.sh)
Manual download: a) Download apktool, rename it to apktool.jar and save it to tools folder: https://bitbucket.org/iBotPeaches/apktool/downloads/
b) Download sign.jar from https://github.com/appium/sign/raw/master/dist/sign.jar and put it in tools folder
Get the apk to modify Go4 4.1.22:
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.
RunMe.sh If a Settings.xml file is present, data are read from and used to automatically field the corresponding settings. For more information, please read Settings.xml file content.
Install the required dependencies with Brew:
brew install dialog dos2unix imagemagick webp gnu-getopt gnu-sed xmlstarlet wget brew link –force gnu-getopt ./download_tools.sh
Get the apk to modify Go4 4.1.22:
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.
RunMe.sh If a Settings.xml file is present, data are read from and used to automatically field the corresponding settings. For more information, please read Settings.xml file content.