User Tools

Site Tools


howto:android_patched_dji_go4

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:android_patched_dji_go4 [2018/11/21 14:58]
konraditurbe New info on Unix.
howto:android_patched_dji_go4 [2018/11/24 20:53] (current)
venom-code
Line 11: Line 11:
 6. After the APP ID, APP CODE, and a KEY LICENSE are generated, if you used a temporary generated email in this installation you can save your keys to a text file or word if you want. 6. After the APP ID, APP CODE, and a KEY LICENSE are generated, if you used a temporary generated email in this installation you can save your keys to a text file or word if you want.
  
-7. To get Google Maps working you will need a Google map API key, to get it go to: https://developers.google.com/maps/documentation/embed/get-api-key ,click on Get started and tick all 3 boxes (Maps, Routes & Places) and follow the next step, finally it will take you to payment, you can enter a valid credit/debit card to complete the authentication process (dont worry the free usage is more than sufficient for the purpose we use it for)+7. To get Google Maps working you will need a Google map API key, to get it go to: https://developers.google.com/maps/documentation/embed/get-api-key ,click on Get started and tick all 3 boxes (Maps, Routes & Places) and follow the next step, finally it will take you to payment, you can enter a valid credit/debit card to complete the authentication process (dont worry the free usage is more than sufficient for the purpose we use it for).
  
 8. Now we have the "Here" API Code & THE API ID, Here License, and the Google API key we just generated. 8. Now we have the "Here" API Code & THE API ID, Here License, and the Google API key we just generated.
Line 17: Line 17:
 9. The next stage is to prepare for decompilation, first open the deejayeye-modder folder on your desktop again and edit the RunMe.bat file with Notepad ++ and place a pause in it to halt operation automatically to edit the AndroidManifest.xml, to add pause have a look at the attached image, after that you will rename RunMe.bat file to RunMePause.bat 9. The next stage is to prepare for decompilation, first open the deejayeye-modder folder on your desktop again and edit the RunMe.bat file with Notepad ++ and place a pause in it to halt operation automatically to edit the AndroidManifest.xml, to add pause have a look at the attached image, after that you will rename RunMe.bat file to RunMePause.bat
  
-Pause should be like: 
  
-Line 145:+''
 echo.-: Modify AndroidManifest.xml echo.-: Modify AndroidManifest.xml
 +''
 +
 +''
 set /P nothing="...." set /P nothing="...."
 +''
  
 NOTE: As of 11/21 Step 9 is not necessary for RunMe.sh (Linux/Mac)! NOTE: As of 11/21 Step 9 is not necessary for RunMe.sh (Linux/Mac)!
Line 50: Line 53:
 Now the file will recompile with all the patches, keys, license and will sign the application, when operation is complete you will be prompted to press any key the window will close, you can find your modded apk in the ''__MODDED_APK_OUT__'' sub directory, it will be named mod.apk (with the version number of deejayeye-modder) Now the file will recompile with all the patches, keys, license and will sign the application, when operation is complete you will be prompted to press any key the window will close, you can find your modded apk in the ''__MODDED_APK_OUT__'' sub directory, it will be named mod.apk (with the version number of deejayeye-modder)
  
-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, then we will need to place a config file inside it named useGoogleMap, to do that just create a new text file name it as mentioned and remove the .txt extension, i personally went to my pc created a new text file (as i could not remove the extension from my tablet so used the pc to create) name it useGoogleMap.txt then remove the .txt extension and place it in your device in dji/og_settings subfolder we had created earlier "remember the config file will not have any extension or it wont work".+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, then we will need to place a config file inside it named useGoogleMap, to do that just create a new text file name it as mentioned and remove the .txt extension, i personally went to my pc created a new text file (as i could not remove the extension from my tablet so used the pc to create) name it useGoogleMap.txt then remove the .txt extension and place it in your device in dji/og_settings sub-folder we had created earlier "remember the config file will not have any extension or it wont work".
  
 (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. 
  
howto/android_patched_dji_go4.1542812327.txt.gz ยท Last modified: 2018/11/21 14:58 by konraditurbe