This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:deejayeye-modder [2018/12/26 14:05] ronny [π€] |
howto:deejayeye-modder [2019/12/22 05:47] (current) digdat0 dl link last edit |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | β€οΈ | + | ====== 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:// | ||
+ | *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:// | ||
+ | And about much more here: [[http:// | ||
+ | ====== APK Creation Using Windows Command Line ====== | ||
+ | |||
+ | 1. Grab the files from bin4ry. https:// | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | 4. Go get an APK from here: | ||
+ | |||
+ | * DJI Go 4.1.22: http:// | ||
+ | * DJI Go 4.1.15: http:// | ||
+ | * DJI Go 4.1.14: http:// | ||
+ | * DJI Go 4.1.3: http:// | ||
+ | * DJI Go 3: http:// | ||
+ | |||
+ | |||
+ | 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. | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | 2. Right click on βMy Computerβ select " | ||
+ | |||
+ | 3. Run download_tools.bat | ||
+ | |||
+ | 4. You may need to install Java Development Kit, you can get it here: http:// | ||
+ | |||
+ | 5. Install .Net Framework 4.6.2 if you don't have it: https:// | ||
+ | |||
+ | 6. Go get an APK from here: | ||
+ | |||
+ | Downloads for stock DJI Go you can use with the deejayeye-modder toolset (with sec-neo removed) | ||
+ | * DJI Go 4.1.22: http:// | ||
+ | * DJI Go 4.1.15: http:// | ||
+ | * DJI Go 4.1.14: http:// | ||
+ | * DJI Go 4.1.3: http:// | ||
+ | * DJI Go 3: http:// | ||
+ | |||
+ | 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" | ||
+ | |||
+ | 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 " | ||
+ | |||
+ | 10. Click on " | ||
+ | |||
+ | 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: | ||
+ | |||
+ | |||
+ | ====== APK Creation using OSX / Linux ====== | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | 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:// | ||
+ | |||
+ | b) Download sign.jar from https:// | ||
+ | |||
+ | Get the apk to modify Go4 4.1.22: | ||
+ | |||
+ | * DJI Go 4.1.22: http:// | ||
+ | * DJI Go 4.1.15: http:// | ||
+ | * DJI Go 4.1.14: http:// | ||
+ | * DJI Go 4.1.3: http:// | ||
+ | * DJI Go 3: http:// | ||
+ | |||
+ | 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, | ||
+ | |||
+ | ====== APK Creation Using Mac OS ====== | ||
+ | |||
+ | Install the required dependencies with Brew: | ||
+ | |||
+ | brew install dialog dos2unix imagemagick webp gnu-getopt gnu-sed xmlstarlet wget brew link --force gnu-getopt ./ | ||
+ | |||
+ | Get the apk to modify Go4 4.1.22: | ||
+ | |||
+ | * DJI Go 4.1.22: http:// | ||
+ | * DJI Go 4.1.15: http:// | ||
+ | * DJI Go 4.1.14: http:// | ||
+ | * DJI Go 4.1.3: http:// | ||
+ | * DJI Go 3: http:// | ||
+ | |||
+ | 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, | ||