Google Maps with Turn by Turn Navigation for CyanogenMod
by mmayhew on Nov.11, 2009, under Android, Technology
Final Update: Google has released Google Maps 3.2.1 in the Market with native Navigation support. These instructions are no longer needed.
Thanks for all the support and kind words.
If you have Google Maps installed with my instructions below, it would be a good idea to revert and re-install through the Market.
Do this to revert:
ADB Instructions:
- Download http://mmayhew.com/4.2.5_build_files.zip
- Open a command prompt in the folder you unzipped the 4.2.5_build_files.zip files
- Run the following commands from command prompt:
- adb remount
- adb shell rm /system/app/*maps*
- adb shell rm /system/app/*Maps*
- adb shell rm /system/sd/app/*maps*
- adb shell rm /system/sd/app/*Maps*
- adb shell rm /system/sd/dalvik-cache/*Maps*
- adb shell rm /system/sd/dalvik-cache/*maps*
- adb shell rm /data/dalvik-cache/*maps*
- adb shell rm /data/dalvik-cache/*Maps*
- adb shell rm /data/app/*Maps*
- adb shell rm /data/app/*maps*
- adb push build.prop /system/
- adb push build.trout.prop /system/
- adb push build.sapphire.prop /system/
- adb shell reboot
- Go to the Market and install Google Maps.
- You’re Done!
Terminal Instructions:
- Download http://mmayhew.com/4.2.5_build_files.zip
- Unzip zip
- Copy build.prop, build.trout.prop, build.sapphire.prop and Maps.apk to /sdcard/
- Open Terminal on your G1/MT3G
- su
- mount -o remount,rw /system/
- cp /sdcard/build.prop /system/
- cp /sdcard/build.trout.prop /system/
- cp /sdcard/build.sapphire.prop /system/
- rm /system/sd/app/*Maps*
- rm /system/sd/app/*maps*
- rm /system/sd/dalvik-cache/*Maps*
- rm /system/sd/dalvik-cache/*maps*
- rm /system/app/*Maps*
- rm /system/app/*maps*
- rm /data/app/*maps*
- rm /data/app/*Maps*
- rm /data/dalvik-cache/*maps*
- rm /data/dalvik-cache/*Maps*
- reboot
- Install Google Maps from Market
- You’re Done!
Update (on the Final Update):
If you get “Incompatible Update” when updating Google Maps in the Market, try the following. It has worked for me and others.
Download these files again.
ADB Users:
- Follow the above steps for ADB but after step 18 (reboot) do the following:
- Unzip files
- adb remount
- adb push Maps.apk /system/app/
- If you get an error that says the filesystem is read only do the following
- adb shell mount -o rw,remount /system/
- Then rerun the command
- Now go to the Market and try to re-install
Terminal Users:
- Follow the above steps for Terminal but after step 20 (reboot) do the following:
- Unzip files and copy to your SD card.
- In Terminal:
- su
- mount -o remount,rw /system
- cp /sdcard/ /system/app/
- mount -o remount,ro /system
- Close Terminal and re-install through the market.
————————————————–
Thanks to the guys on XDA we now have Google Maps with Nav from Eclair working on Donut-based CyanogenMod 4.2.5
Download the files from: http://www.mmayhew.com/Navigation.zip
Linux Users Only: Feel free to use this script by foopirata to automate the adb process. I have not tested this script but it looks like it would work. You will need to do the following:
- Run the script as root
- Have the SDK installed and adb in your path
- Have the phone connected via USB
- Be familiar with running bash scripts
If the script doesn’t work for you or you are not a Linux user, try the manual processes below:
ADB Instructions for Windows, Mac and Linux users: If you have the SDK installed and are familiar with adb, do the following. If not, skip down:
- Open a command prompt in the folder you unzipped the Navigation.zip files
- Run the following commands from command prompt:
- adb remount
- adb shell rm /system/app/*maps*
- adb shell rm /system/app/*Maps*
- adb shell rm /system/sd/app/*maps*
- adb shell rm /system/sd/app/*Maps*
- adb shell rm /system/sd/dalvik-cache/*Maps*
- adb shell rm /system/sd/dalvik-cache/*maps*
- adb shell rm /data/dalvik-cache/*maps*
- adb shell rm /data/dalvik-cache/*Maps*
- adb shell rm /data/app/*Maps*
- adb shell rm /data/app/*maps*
- adb push build.prop /system/
- adb push build.trout.prop /system/
- adb push build.sapphire.prop /system/
- adb shell reboot
- Wait for phone to boot back up
- adb remount
- adb install Maps.apk
- If that fails, try adb install -r Maps.apk
- If THAT fails, try adb push Maps.apk /system/app/
- Make sure GPS is enabled
- Open Maps and press OK
- Press Menu
- Press Directions
- Enter an end point
- Click Go
- Just under “Show on map”, click Navigate.
- When prompted to install the voice codec, do so.
- Enjoy.
Manual Instructions without a PC: If you do not have the SDK installed, do the following:
- Unzip zip
- Copy build.prop, build.trout.prop, build.sapphire.prop and Maps.apk to /sdcard/
- Open Terminal on your G1/MT3G
- su
- mount -o remount,rw /system/
- cp /sdcard/build.prop /system/
- cp /sdcard/build.trout.prop /system/
- cp /sdcard/build.sapphire.prop /system/
- rm /system/sd/app/*Maps*
- rm /system/sd/app/*maps*
- rm /system/sd/dalvik-cache/*Maps*
- rm /system/sd/dalvik-cache/*maps*
- rm /system/app/*Maps*
- rm /system/app/*maps*
- rm /data/app/*maps*
- rm /data/app/*Maps*
- rm /data/dalvik-cache/*maps*
- rm /data/dalvik-cache/*Maps*
- reboot
- After the phone boots, return to terminal
- su
- mount -o rw,remount /system
- cp /sdcard/Maps.apk /system/app/
- mount -o ro,remount /system/
- Close terminal
- Make sure GPS is enabled
- Open Maps and press OK
- Press Menu
- Press Directions
- Enter an end point
- Click Go
- Just under “Show on map”, click Navigate.
- When prompted to install the voice codec, do so.
- Enjoy.
UPDATE: If you have tried these instructions and can’t get it working, try the following as suggested by nhudson in the comment section. This worked for him and others:
1: Remove Google Voice
2: Replace the build.prop files (trout, sapphire, etc) back to the original ones.
3: Reboot
4: Reinstall the new build.prop files and remove any of the map stuff from the directories Michael listed.
5: Reboot
6: Install the new Maps.apk file
7: Launch Google Voice and re-set it up
8: Launch the new Maps and Navigation was there.
Let me know if this works for you. If you need help, leave a comment, holler at me on twitter or head over to this thread on XDA.
If you don’t see the Navigate option, try installing Google Voice. I know it sounds weird but it’s reported to work.
If you still don’t see the Navigate option, I’m not sure I can help other than re-do the steps above. Here is what’s important:
- Make sure you deleted all *Maps* and *maps* files from:
- /system/app/
- /system/sd/app/
- /system/sd/dalvik-cache/
- /data/app/
- /data/dalvik-cache/
- Make sure you rebooted after copying the build*prop files to /system/
If Navigation is working but certain apps aren’t acting right, you may need to revert back to the original build.prop files. They can be found at http://mmayhew.com/original_build_prop_files.zip
Here are some screenshots from my G1:



November 21st, 2009 on 10:58 am
Like Bryan (@ josh),
I ask also; With each Cyanogen Mod will we need to hack into the build.props to keep navigation running? As much as I upgrade Cyanogen Roms, this might become a tedious endeavor…
That said, thank you for your hard work!
November 21st, 2009 on 5:07 pm
hey i just rooted my phone to the latest cyanogen and i want to put the navigation on but i dont know where to start i can follow all the instructions just where do i start i tried downloading to pc and pluggin phone in did not work and tried to put on phone
November 21st, 2009 on 10:54 pm
!!!!!!!!!!!!!!!!THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!
November 22nd, 2009 on 8:18 am
hi, I am a newbie to rooting but after trying the non pc instructions without luck I browsed to the maps.apk on my sd card through astro and did software update through the app manager. it works flawlessly!! Little stoned, hope it makes sense,TmobileG1/Rooted/cyanogenmod 4.2.5
November 22nd, 2009 on 3:27 pm
hey yall…. im doing it without my comp im using terminal…. my phone is saying that there is no such file or directory as…. *maps*
November 22nd, 2009 on 4:59 pm
Followed manual instructions from fresh install of latest Cyanogenmod. didn’t work. Then installed GoogleVoice and set it up. Now Navigation works. WOO HOO.
Thank you for your time and work. Awesome!!!
November 23rd, 2009 on 4:35 am
Are the manual instructions correct? No-where does it mention INSTALL of Maps.apk, just cp…
November 23rd, 2009 on 6:32 am
Isn’t it dangerous just deleting all maps-like apps?
I checked mine directories and it contains some other map applicatons, so rm *maps* would delete them too. Is it really required?
I heard that it only works in the US at the moment. Can anyone confirm outside of the US that the “navigate” item is available? Or perhaps it is about Google Voice mentioned here that it didn’t show the option for me?
November 23rd, 2009 on 10:47 am
Dude you guys are the shit. Seriously, I don’t give props very often simply because I’m too lazy to expend the energy needed for keystrokes or the other stuff out there is simply just shit. You fuckers take the cake. Hats off to you and your crew. Thanks for the hours yall’ve put into this. You should put a paypal link for donations cuz this is the type of shit worth giving offerings for – fuck the church.
Now if you someone would make an app to do that FBI cell surveillance like in the movie “Eagle Eye” (…and no not like that mSpy garbage) I could die a happy man. Just as long as I don’t burn in hell for my church comment above…*sigh*
Peace
November 23rd, 2009 on 12:30 pm
When I follow the ‘revert’ steps and download the Mail app from the market, I get an ‘Incompatible update’ pop when it tries to install. Is anyone else running into this? I’ve run through the steps about three times now, even tried using the ‘original’ prop files.
November 23rd, 2009 on 12:36 pm
Joe- Make sure you reboot before installing the new Maps app.
November 24th, 2009 on 11:48 am
I am having the same issue with “incompatible update”. Tried uninstalling google voice as well.
Followed your revert instructions to a T. hmmm
Is there a log some place that would show a little more detail?
November 24th, 2009 on 2:20 pm
In Terminal Instructions it says to copy ‘Maps.apk’ to the sd card, but there is no ‘Maps.apk’ file in the zip file. Where do I get ‘Maps.apk’?
Thanks,
Greg
November 25th, 2009 on 3:27 pm
Hi.
The unofficial way of installing Navigation is still required.
The “market” way is valid only for U.S. users. Outside the States still you have to do the tricks – app is not visible in the Market.
November 25th, 2009 on 9:48 pm
I followed all the instructions above and now I’m also getting the “incompatible update” error.
November 27th, 2009 on 9:46 pm
I’ve updated the blog for the “incompatible update” error. Instructions are under the “Final Update” instructions.
November 28th, 2009 on 11:43 pm
Too bad it’s US only for the navigation.
August 30th, 2010 on 6:49 am
I saw you run a couple of ads on your site. On my website I’m using a wordpress ad plugin called oiopublisher which is excellent – you can find it at oiopublisher.com
They have a demo site so you can give it a free test run. I’ve been using it for a couple of month now and it makes me some nice extra revenue selling advertising directly from my wordpress blog, and the best thing is: I keep 100% of the cash since I run the whole ad network from within my wordpress admin area.
If you decide to buy, enter discount code ‘SOLAR-X’ to get it 10 bucks cheaper – my little gift to you for hosting this great blog. If you decide to but the plugin at a later point drop me a line via e-mail because this code is only valid until the end of August. I might be able to get another code for September.
Anyway, keep up the good work,
Dwight Presutti
(If you wanna get in touch or if you’re looking for another coupon code (might get one for next month), you can contact me at wordpress@s0ny.net)
September 29th, 2010 on 3:39 pm
I personally don’t prefer Cyanogenmod because of its limits. Its a lot better when you have a simple GPS to back you up. If you ever consider this, you can learn about GPS at Cheap GPS Systems.
October 8th, 2010 on 8:26 am
Good to get visiting your weblog once again, it has been months for me. Properly this posting that i’ve been waited for so extensive. I need this article to full my assignment within the college, and it has same topic together with your post.
October 30th, 2010 on 10:17 am
Thanks a bunch for useful information. Please keep up the great work. I will be coming back soon.
November 27th, 2010 on 6:08 am
Absolutely brilliant post guys, essential reading
November 27th, 2010 on 1:29 pm
Excellent
November 27th, 2010 on 5:41 pm
Stumbled into this site by chance but I’m sure glad I clicked on that link. You definitely answered all the questions I’ve been dying to answer for some time now. Will definitely come back for more of this. Thank you so much
December 14th, 2010 on 4:49 am
Good opinion. How did you came up like this?
January 5th, 2011 on 1:53 am
Check the downloaded maps in the GPS. The MENU setting will usually give you this information. If maps for India are installed you are good to go. If they are not, either pay to download them or buy another gps that does have them.
January 14th, 2011 on 1:30 am
Internet marketers know the benefits they get from link Die Weltmeisterschaft soll den Frauenfußball, der von den deutschen Medien noch immer rokettubeee.net “porno izle”stiefmütterlich behandelt wird, entscheidend nach vorne bringen. Andererseits ist allen Beteiligten klar, dass die Welle der Euphorie, die die Herren-WM “http://www.rokettubeee.net “porno” 2006 hierzulande ausgelöst hat, nicht ein weiteres Mal über Fußball-Deutschland hereinbrechen wird.
January 14th, 2011 on 4:00 am
Between me and my husband we’ve owned more MP3 players over the years than I can count, including Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few years I’ve settled down to one line of players. Why? Because I was happy to discover how well-designed and fun to use the underappreciated (and widely mocked) Zunes are.
January 14th, 2011 on 4:08 am
Valuable information and facts and great design you got here! I would like to finest wishes for sharing your thoughts and time into the stuff you write-up!
February 24th, 2011 on 10:10 am
Perfect posting. There’s countless reliable information proper, while Used to do choose to make it known a product — I’m just running Apple Os in this handset Back button while using the most up-to-date experiment with involving Opera, plus the overall look and feeling of this journal is definitely variety of odd|peculiar to do. I’ll have a look at content, yet the sat nav doesn’t career so competent.
May 6th, 2011 on 4:22 am
Hey friend can i publish some paragraph of your article on my little blog of university.I have to publish a good articles out there and i really think your post Fits best into it.I will be grateful to give you an source link as well.I have two blogs one my own and the other which is my college blog.I will publish some part in the university blog.Hope you do not mind.
June 3rd, 2011 on 4:17 am
It site has got lots of quite valuable things on it! Cheers for supporting me!
June 9th, 2011 on 10:48 pm
I’m shocked! Your post has really made me think. I will tweet about your blog.
Thanks!
August 2nd, 2011 on 1:26 pm
42. Valuable info. Lucky me I found your website by accident, and I am shocked why this accident didn’t happened earlier! I bookmarked it.
August 4th, 2011 on 12:30 am
Merry Xmas and Pleased New Year, may possibly all your wishes come correct!”
October 8th, 2011 on 9:38 am
Incredible! It is such a good in-depth write-up and it appears that you really did the homework. I truly value the time and effort you have given to the post. I am looking forwards for the upcoming article. Thank you
October 19th, 2011 on 11:33 am
I have done extensive research on this subject, and agree completely with the way this was written. I only wish I had the eloquence to put it into quality writing.
November 13th, 2011 on 11:18 pm
Pretty section of content. I simply stumbled upon your site and in accession capital to claim that I acquire actually loved account your blog posts. Anyway I’ll be subscribing in your feeds or even I fulfillment you get entry to constantly fast.
November 15th, 2011 on 11:14 pm
Thanks for the good writeup. It if truth be told was once a leisure account it. Glance complex to more introduced agreeable from you! By the way, how could we be in contact?
December 5th, 2011 on 7:07 pm
Terrific work! This is the type of information that should be shared around the internet. Shame on Google for not positioning this put up upper! Come on over and talk over with my web site . Thank you =)