User Tools

Site Tools


howto:googlemaps

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
howto:googlemaps [2019/12/31 03:20]
digdat0 created
howto:googlemaps [2020/08/16 05:14]
digdat0 formatting
Line 3: Line 3:
 https://www.rcgroups.com/forums/showpost.php?p=39763062&postcount=5726 https://www.rcgroups.com/forums/showpost.php?p=39763062&postcount=5726
  
-Yes! You can restart GO, and if the correct file is there in the correct folder, you can then start up Go and get Google maps, close GO, rename the file, and start up again and have HERE maps. Best of both worlds. Matioupi created the patch, so let me check with him to get permission to share a file, and I will write up a how to. Its easy-peasy. Hardest part is getting the Google Map API key...LOL 
- 
-*update* 
-Just contacted Matioupi and he will be pushing an update to his patch to the modder, so once thats done, go grab a new download so you can mod your .apk with his patch update. *while I was writing this, he pushed the update. Thanks Matioupi!!!!* 
 Here is a quick how to: Here is a quick how to:
-1. Go and get a Google Maps API license key. When I signed upGoogle asked for payment option, but gives you more than enough free use, that you won't get charged a thing for our use of Google Maps in GO+  -  Go and get a Google Maps API license key, this may require developer account.  
-2. Download latest modder from https://github.com/Bin4ry/deejayeye-modder +  -  Download latest modder from https://github.com/Bin4ry/deejayeye-modder 
-3. Edit the RunMe.bat file with Notepad ++ and place a pause in it. See graphic. This is for Windows. Save the RunMe.bat file as RunMePause.bat, so you keep the original+    Edit the RunMe.bat file with Notepad ++ and place a pause in it at line 144. See graphic.  
-4. Patch the latest 4.1.22 NoSecNeo APK. http://www.openpilotlegacy.org/dji.g...92-noseceo.apk + 
-5. Make sure you enable Matioupi's runtime_use_GoogleMap patch, and use your new Pause.bat file The APK will decompile, run all the patches and then pause before recompiling so then you can edit the AndroidManifest.xml file in the decompile folder. +{{:howto:app.png?600|}} 
-6. edit the AndroidManifest.xml and enter your Google Maps key into line 61, overwriting the key thats already there. Leave the HERE maps key alone, since we want that to work also. + 
-7. Continue on with the modder and let it compile +  Patch the latest 4.1.22 NoSecNeo APK. http://www.openpilotlegacy.org/dji.g...92-noseceo.apk 
-8. Install your new patched .apk. On your device, go to your /dji/ folder and create a subfolder and name it og_settings Inside that folder create a file called useGoogleMap and place it there. (I just created a .txt file and deleted the .txt extension) This is the key file. With this file there, Matioupi'patch will look for it upon start up of GO, and if it is there, you will have Google maps instead of HERE maps! (after initial startup and sign in, and then a restart of GO) I created the folder and placed the file after I installed GO, and ran it twice to do quick configuration. Not sure if that is necessary, but it worked for me+  Make sure you enable the Google Map patch. When you run itthe APK will compile and pause. You can then edit the AndroidManifest.xml file which in the decompile folder. 
-9. To switch maps, close GO, and I just renamed the og_settings folder, so GO skips it. Start GO and you now have HERE maps!+   Edit the AndroidManifest.xml and enter your Google Maps key into line 61, overwriting the key thats already there. Leave the HERE maps key alone, since we want that to work also. 
 +  Continue on with the modder and let it compile 
 +  Install your new patched .apk.  
 + 
 +Now, On your device,  
 + 
 +  - Open the /dji/ folder  
 +  - Create a subfolder and name it og_settings  
 +  - Inside that folder create a text file with no extension called useGoogleMap 
 + 
 +With this file there, the Google Map patch will look for it upon start up of GO. If it is there, you will have Google maps instead of HERE maps! You may need to create the folder after a first initial open/setup of GO4.  
 + 
 +To switch maps, close GO, and rename the og_settings folder. This will make sure GO skips the file and will use Here maps
howto/googlemaps.txt · Last modified: 2022/02/09 09:18 by czokie