Page 1 of 6

Getting Navigation Working

PostPosted: Fri Nov 20, 2009 10:45 pm
by canadiancow
Edit2:

If you live outside the supported countries for Navigation (at the time of writing, it is only supported in the USA and UK), you will need Brut.all's modified version of Google Maps. It can be found at http://forum.xda-developers.com/showthread.php?t=630887

Edit:

These steps are no longer necessary. Nav Launcher now lets you specify which version of Maps you want to use, and if you don't have it (or don't have the latest in the case of the modified version), it will prompt you to install it. No more shell commands. No more ADB. No more hassle. If you ever switch from official to modified or modified to official (which is easy to do), Nav Launcher will check to make sure you have that version of Maps installed, and if not, it will help you get it.

Original Post:

Before Nav Launcher is of any use to you, Navigation must work. Here are some instructions on getting Navigation working.

If you are in the USA, and have no plans to use Navigation outside the USA, then download Google Maps from the Market. The modified version works around the world, but it has reduced functionality.

If you uninstall the current Google Maps application, then just open Nav Launcher, and select the "Navigate" button. It will automatically install the modified version of Google Maps 4.0.0 for you.

To manually install the modified version, follow these instructions:

If you have root, uninstall the current Maps app:
adb:
Code: Select all
adb remount
adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete
adb uninstall com.google.android.apps.maps


shell:
Code: Select all
mount -o remount,rw /system
find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete
pm uninstall com.google.android.apps.maps


Next, regardless of whether you have root, install the SpeechSynthesis Data. You can do this either by going into the market and searching "SpeechSynthesis Data Installer", or on some ROM's, like CM 4.2.5, Menu -> Settings -> Speech synthesis -> Install voice data

If you have root, download LINK REMOVED (4.0.0)
If you do not have root, download LINK REMOVED (4.0.0)
These files were created by Brut.all, without whom we would not have Navigation outside the USA.

Install the new file that you downloaded:
adb install -r maps4.0.0-brut4.apk
or
adb install -r maps4.0.0-brut4-alt.apk

Now you should have the Navigate option in Google Maps.

If you have any issues with this, please reply for assistance.

Re: Getting Navigation Working

PostPosted: Mon Nov 23, 2009 3:32 pm
by maekel
Hello there !
May I kindly ask for a copy of maps*root-aligned-apk being loaded on a different fileshare ?

Thanks.

Re: Getting Navigation Working

PostPosted: Mon Nov 23, 2009 7:28 pm
by canadiancow
maekel wrote:Hello there !
May I kindly ask for a copy of maps*root-aligned-apk being loaded on a different fileshare ?

Thanks.


Done.

Re: Getting Navigation Working

PostPosted: Tue Nov 24, 2009 6:05 am
by BlueBox
Hello.

Both of the 'maps-no-root-aligned-apk' download links aren't working...Can I get a fresh one please? :)

and also...

I'm slightly confused with how to get this all working. I have:
HTC Magic - UK - Retail/No root, 1.6, New Google Maps from Market (this morning) and after seeing a comment on there I downloaded Nav Launcher from Market.

Do I simply just run 'maps-no-root-aligned-apk' when I get it?
or do I have to do that SpeechSynthesis Data bit?

and I also have Unknown application sources ticked in the settings.

Thanks in advance! :)
It would be great if this works (without rooting)

Re: Getting Navigation Working

PostPosted: Tue Nov 24, 2009 9:35 am
by canadiancow
BlueBox wrote:Hello.

Both of the 'maps-no-root-aligned-apk' download links aren't working...Can I get a fresh one please? :)

and also...

I'm slightly confused with how to get this all working. I have:
HTC Magic - UK - Retail/No root, 1.6, New Google Maps from Market (this morning) and after seeing a comment on there I downloaded Nav Launcher from Market.

Do I simply just run 'maps-no-root-aligned-apk' when I get it?
or do I have to do that SpeechSynthesis Data bit?

and I also have Unknown application sources ticked in the settings.

Thanks in advance! :)
It would be great if this works (without rooting)


New links have been added. You do need to install the SpeechSynthesis data, and then you can just run the apk file to install the modified version.

Re: Getting Navigation Working

PostPosted: Tue Nov 24, 2009 11:55 am
by leira
I'm using CM4.2.5, just installed the modified Google Maps 3.2.0 followed the guide in your post, but forgot to backup the original maps apk. After installation, the navigation works fine. But the problem is, as in China, after this version, the map is shifted, I can't get my precise position by GPS any more. So I really want to roll it back. But without backup, I don't know if I still roll it back. Dose reflashing CM 4.2.5 (without wipe) helps? As CM 4+ has removed the proprietary apps.

Re: Getting Navigation Working

PostPosted: Tue Nov 24, 2009 1:10 pm
by canadiancow
leira wrote:I'm using CM4.2.5, just installed the modified Google Maps 3.2.0 followed the guide in your post, but forgot to backup the original maps apk. After installation, the navigation works fine. But the problem is, as in China, after this version, the map is shifted, I can't get my precise position by GPS any more. So I really want to roll it back. But without backup, I don't know if I still roll it back. Dose reflashing CM 4.2.5 (without wipe) helps? As CM 4+ has removed the proprietary apps.


You could always just download Google Maps from the Market, but this would probably be the same issue you're currently having. You might be able to find a link to 3.1.2 somewhere, but I don't know where.

error when Navigation

PostPosted: Tue Nov 24, 2009 1:23 pm
by android
when navigation begin . the program FC .and adb logcat get error message
------------------------------------------------------------------------------------------------
W/dalvikvm(16261): threadid=3: thread exiting with uncaught exception (group=0x4001dac0)
W/System.err(16261): android.content.res.Resources$NotFoundException: File res/raw/da_act.ogg from drawable resource ID #0x7f060000
W/System.err(16261): at android.content.res.Resources.openRawResourceFd(Resources.java:864)
W/System.err(16261): at r.f.a(Unknown Source)
W/System.err(16261): at r.p.a(Unknown Source)
W/System.err(16261): at r.p.a(Unknown Source)
W/System.err(16261): at com.google.android.maps.driveabout.app.a.c(Unknown Source)
W/System.err(16261): at com.google.android.maps.driveabout.app.a.a(Unknown Source)
W/System.err(16261): at com.google.android.maps.driveabout.app.m.a(Unknown Source)
W/System.err(16261): at e.c.c(Unknown Source)
W/System.err(16261): at e.c.a(Unknown Source)
W/System.err(16261): at com.google.android.maps.driveabout.app.q.run(Unknown Source)
W/System.err(16261): at android.os.Handler.handleCallback(Handler.java:587)
W/System.err(16261): at android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(16261): at android.os.Looper.loop(Looper.java:123)
W/System.err(16261): at android.app.ActivityThread.main(ActivityThread.java:4203)
W/System.err(16261): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(16261): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err(16261): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
W/System.err(16261): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
W/System.err(16261): at dalvik.system.NativeStart.main(Native Method)
W/System.err(16261): Caused by: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
W/System.err(16261): at android.content.res.AssetManager.openNonAssetFdNative(Native Method)
W/System.err(16261): at android.content.res.AssetManager.openNonAssetFd(AssetManager.java:412)
W/System.err(16261): at android.content.res.Resources.openRawResourceFd(Resources.java:861)
W/System.err(16261): ... 18 more
------------------------------------------------------------------------------------------------

Re: error when Navigation

PostPosted: Tue Nov 24, 2009 1:27 pm
by canadiancow
android wrote:when navigation begin . the program FC .and adb logcat get error message


Try reinstalling Google Maps. I've never seen anything like that before.

Re: error when Navigation

PostPosted: Tue Nov 24, 2009 7:51 pm
by android
canadiancow wrote:
android wrote:when navigation begin . the program FC .and adb logcat get error message


Try reinstalling Google Maps. I've never seen anything like that before.


thanks a lot.

I solve the problem after setting system language to English(US)