Showing posts with label Google Maps. Show all posts
Showing posts with label Google Maps. Show all posts

Saturday, February 6, 2010

Installing Google Maps 3.4.0 (hacked nav) on my HTC Magic

My HTC Magic is running Cyanogen Mod v4.2.14.1 (today). I wanted to install the new Google Maps 3.4.0 hacked for navigation outside the US and supporting multi-touch.

I got the file - "maps3.4.0-brut3-MT.apk" via this thread (also includes a different version for non-rooted phones) at xda-developers. I'm seeding it on bittorrent here. They offered several options and i went for Option 3 as this best suited the configuration of my phone (CM v4.2.14.1 on HTC Magic).

To use adb you need to have the Android SDK installed on your PC. The file to be installed on the phone would have to be in [android-sdk-folder]\tools.  Then, open a linux terminal on the PC and "cd" to [android-sdk-folder]\tools, then:

The instructions were as follows, but I had problems immediately. Read on.

Instructions for option 3:
adb remount
adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete
adb uninstall com.google.android.apps.maps
adb install maps3.4.0-brut3-MT.apk 
The find command didn't work - presumably because it was intended for the file layout of the HTC G1, not the HTC Magic.

Instead, I did (in a  linux terminal - would be the same on Windows in a cmd prompt):

adb remount
adb shell find / -name Maps.apk

I found it in /system/app and deleted it.

I backed out to the linux command prompt and tried to again follow the instructions above:

adb remount
adb uninstall com.google.android.apps.maps

...but it came back with "FAILURE".

So I did "adb shell" in the linux terminal again to get a command prompt on the phone and entered:

adb remount
adb shell
# find / -name *maps.*

...and got:

/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
/system/sd/dalvik-cache/system@framework@com.google.android.maps.jar@class es.dex
/data/dalvik-cache/system@framework@com.google.android.maps.jar@class es.dex

I deleted these one by one (though the last two were the same - in effect).

"rm /system/framework/com.google.android.maps.jar"

...etc..

I then did:

steve@media:~/android-sdk-linux/tools$ adb install maps3.4.0-brut3-MT.apk998 KB/s (2719843 bytes in 2.659s)
pkg: /data/local/tmp/maps3.4.0-brut3-MT.apk
Success
steve@media:~/android-sdk-linux/tools$

...and it installed the hacked maps successfully.

I've just tested it and multi-touch and Navigation (outside US) works fine...though my street is still "unnamed road".

Saturday, December 5, 2009

Turn-by-turn Google Maps Navigation outside the US

[UPDATE 2009-12-10: As of Dec 7th / 8th (depending on your time zone), Google disabled access to turn-by-turn GPS navigation at the server end for people not in the US. The software still works, but the back end won't give you the information. It won't work now no matter what you do, unless you're in the US.]


Google released v3.2.1 of Google Maps for Android on November 24th. It's for the US only. This version includes turn-by-turn audio and visual GPS navigation.

But within a few days, there were alternative android ROMs available that included a version of Google Maps with support for Navigation outside the US. I've tried it here in Auckland and it was perfect all the way from the North Shore to Titirangi and back. You want this.

Now, there is an app on the Android Market called "Nav Launcher".  It's only purpose is to help you download a modified version of Google Maps v3.2.1 that turns on GPS Navigation in a long list of countries. New Zealand included. Apparently you don't have to have a rooted phone to use it, either. I'd be interested to know how people get on.

So if you want to get over to the market and try this out, here is the QR code. Scan it off the screen with your phone and it will take you to the market and direct to the app. You'll need to have "Barcode Scanner" installed.....but surely everyone already has that installed? If not, get it. It's very useful.

Now I just need a little stand on the dash of my car to rest my phone in when I'm driving so I can hear the instructions, though I think the Bluetooth 2.0 A2DP stereo support in my HTC Magic may come in handy if I wear a headset.

Wednesday, November 25, 2009

Google Maps 3.2.1 with Cyanogen Mod 4.2.5

[UPDATE 2010-02-06: We're now up to Google Maps 3.4.0 and hacked by brut.all for global GPS nav support and it also includes multi-touch support from the Nexus One OTA of a couple of days ago. Look here for how I got it installed on my HTC Magic running Cyanogen Mod 4.2.14.1]


[UPDATE 2009-12-10: As of Dec 7th / 8th (depending on your time zone), Google disabled access to turn-by-turn GPS navigation at the server end for people not in the US. The software still works, but the back end won't give you the information. It won't work now no matter what you do, unless you're in the US. The instructions below are still valid for dealing with signing problems on this and other versions of Maps. ]


[Update:  You should also check out this more recent post on this subject.]


Google Fodder: I'm posting this here because xda-developers forums was producing a "502 bad gateway" error and Google cache didn't hold a copy....and the only place on the net it appeared to be was on xda.


Originally Posted by mrandroid View Post
Download and copy the new Google Maps 3.2.1 APK to your sdcard.
Can be found at: http://www.myhangoutonline.com/downloads/

open a terminal window:

(For Cyanogen Builds)

type: su
type: mount /system -o remount,rw
type: rm /system/app/Maps.apk
type: cp /sdcard/Maps.apk /system/app

TA RA! lol welcome to Google Maps 3.2.1 w/ Nav.

*** UPDATE *** If for any reason it's not 3.2.1 after installing, you'll be able to just download 3.2.1 from the market now and it'll install perfectly... Either way, The file should be fixed and it should be 3.2.1 now.