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
Next revision Both sides next revision
howto:googlemaps [2019/12/31 03:20]
digdat0 created
howto:googlemaps [2020/08/16 04:54]
digdat0 pic
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 up, Google asked for a 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. When I signed up, Google asked for a 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. 
-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. This is for Windows. Save the RunMe.bat file as RunMePause.bat, so you keep the original. 
-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. +  -  Patch the latest 4.1.22 NoSecNeo APK. http://www.openpilotlegacy.org/dji.g...92-noseceo.apk 
-7. Continue on with the modder and let it compile +  -  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. 
-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's 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 a quick configuration. Not sure if that is necessary, but it worked for me. +  -  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. 
-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!+  -  Continue on with the modder and let it compile 
 +  -  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's 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 a quick configuration. Not sure if that is necessary, but it worked for me. 
 +  -  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! 
 + 
howto/googlemaps.txt · Last modified: 2022/02/09 09:18 by czokie