This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:android_patched_dji_go4 [2018/11/19 19:25] venom-code |
howto:android_patched_dji_go4 [2018/11/24 20:53] (current) venom-code |
||
---|---|---|---|
Line 7: | Line 7: | ||
4. Go to Here's developer website (https:// | 4. Go to Here's developer website (https:// | ||
- | 5. After registration is complete next page will open, just scroll down to the Premium SDKs - Offline functionality, and click on the Android SDK tab and click Generate App ID and App Code, in the package name box type: dji.go.v4 and click generate. | + | 5. After registration is complete next page will open, just scroll down to the Premium SDKs - Offline functionality and enter package name: dji.go.v4 and click generate, (this name must MATCH the package name in the top line of AndroidManifest.xml), now you have the APP ID, APP CODE & License Key, this is important if you have a cloned app installed |
- | *NOTE* After creating your HERE account go to Premium SDKs (Offline functionality) Android SDK and click to Generate App ID and App Code... Enter Package name: dji.go.v4 and click GENERATE, (this name must MATCH the package | + | |
- | 6. The page has now generated an APP ID, APP CODE, and a KEY LICENSE, | + | 6. After the APP ID, APP CODE, and a KEY LICENSE |
- | 7. To get Google Maps working you will need a Google map API key, to get it go to: https:// | + | 7. To get Google Maps working you will need a Google map API key, to get it go to: https:// |
8. Now we have the " | 8. Now we have the " | ||
9. The next stage is to prepare for decompilation, | 9. The next stage is to prepare for decompilation, | ||
+ | |||
+ | |||
+ | '' | ||
+ | echo.-: Modify AndroidManifest.xml | ||
+ | '' | ||
+ | |||
+ | '' | ||
+ | set /P nothing=" | ||
+ | '' | ||
+ | |||
+ | NOTE: As of 11/21 Step 9 is not necessary for RunMe.sh (Linux/ | ||
10. In the deejayeye-modder folder double click on the download.bat to download necessary files required for the patch process, after download finishes the download.bat box will close itself. | 10. In the deejayeye-modder folder double click on the download.bat to download necessary files required for the patch process, after download finishes the download.bat box will close itself. | ||
Line 33: | Line 43: | ||
edit and enter all the keys, save and exit from Notepad++, now we can unpause the process by pressing any key as shown in the patcher window to resume recompilation. | edit and enter all the keys, save and exit from Notepad++, now we can unpause the process by pressing any key as shown in the patcher window to resume recompilation. | ||
| | ||
+ | For Unix users: | ||
+ | |||
+ | Make sure you select HERE Maps patch, it will prompt you to enter the keys, no need to edit AndroidManifest.xml | ||
+ | |||
+ | NOTE: Keys provided work, you can say " | ||
+ | |||
+ | [[https:// | ||
+ | |||
Now the file will recompile with all the patches, keys, license and will sign the application, | Now the file will recompile with all the patches, keys, license and will sign the application, | ||
- | 14. Extra step to make Google maps work: "I was slightly cautious on this step" After you install your modded DJI go4 app on your device, the first time you run the application it will unpack resource files and when its complete it will ask you if you want to Open it or choose Done, i myself avoided opening DJI go4 and instead chose Done, now inside your device go to the DJI folder and create a subfolder and name it og_settings, | + | 14. Extra step to make Google maps work: "I was slightly cautious on this step" After you install your modded DJI go4 app on your device, the first time you run the application it will unpack resource files and when its complete it will ask you if you want to Open it or choose Done, i myself avoided opening DJI go4 and instead chose Done, now inside your device go to the DJI folder and create a subfolder and name it og_settings, |
(Here maps will work in offline mode but Google Maps will only function online or using the cache, when using offline maps you have to go into the menu of the go4 app and download the offline map). | (Here maps will work in offline mode but Google Maps will only function online or using the cache, when using offline maps you have to go into the menu of the go4 app and download the offline map). | ||
+ | |||
+ | Tips for windows users: Use Cygwin or a docker instance of alpine linux to get more functionality. | ||