<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michael Mayhew &#187; 4.2.4</title>
	<atom:link href="http://blog.mmayhew.com/tag/4-2-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mmayhew.com</link>
	<description>A geek&#039;s perspective on technology and politics</description>
	<lastBuildDate>Tue, 13 Apr 2010 05:18:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Maps with Turn by Turn Navigation for CyanogenMod</title>
		<link>http://blog.mmayhew.com/google-maps-with-turn-by-turn-navigation-for-cyanogenmod/</link>
		<comments>http://blog.mmayhew.com/google-maps-with-turn-by-turn-navigation-for-cyanogenmod/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 16:46:05 +0000</pubDate>
		<dc:creator>mmayhew</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[4.2.3.1]]></category>
		<category><![CDATA[4.2.4]]></category>
		<category><![CDATA[cyanogen]]></category>
		<category><![CDATA[cyanogenmod]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[turn by turn]]></category>

		<guid isPermaLink="false">http://blog.mmayhew.com/?p=93</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Final Update: </strong>Google has released Google Maps 3.2.1 in the Market with native Navigation support.  These instructions are no longer needed.</p>
<p>Thanks for all the support and kind words.</p>
<p>If you have Google Maps installed with my instructions below, it would be a good idea to revert and re-install through the Market.</p>
<p>Do this to revert:</p>
<p><strong>ADB Instructions:</strong></p>
<ol>
<li>Download <a href="http://mmayhew.com/4.2.5_build_files.zip">http://mmayhew.com/4.2.5_build_files.zip</a></li>
<li>Open a command prompt in the folder you unzipped  the 4.2.5_build_files.zip files</li>
<li>Run the following commands from command prompt:</li>
<li>adb remount</li>
<li>adb shell rm /system/app/*maps*</li>
<li>adb shell rm /system/app/*Maps*</li>
<li>adb shell rm /system/sd/app/*maps*</li>
<li>adb shell rm /system/sd/app/*Maps*</li>
<li>adb shell rm /system/sd/dalvik-cache/*Maps*</li>
<li>adb shell rm /system/sd/dalvik-cache/*maps*</li>
<li>adb shell rm /data/dalvik-cache/*maps*</li>
<li>adb shell rm /data/dalvik-cache/*Maps*</li>
<li>adb shell rm /data/app/*Maps*</li>
<li>adb shell rm /data/app/*maps*</li>
<li>adb push build.prop /system/</li>
<li>adb push build.trout.prop /system/</li>
<li>adb push build.sapphire.prop /system/</li>
<li>adb shell reboot</li>
<li>Go to the Market and install Google Maps.</li>
<li>You&#8217;re Done!</li>
</ol>
<p><strong>Terminal Instructions:</strong></p>
<ol>
<li>Download <a href="http://mmayhew.com/4.2.5_build_files.zip">http://mmayhew.com/4.2.5_build_files.zip</a></li>
<li>Unzip zip</li>
<li>Copy build.prop, build.trout.prop, build.sapphire.prop and Maps.apk to /sdcard/</li>
<li>Open Terminal on your G1/MT3G</li>
<li>su</li>
<li>mount -o remount,rw /system/</li>
<li>cp /sdcard/build.prop /system/</li>
<li>cp /sdcard/build.trout.prop /system/</li>
<li>cp /sdcard/build.sapphire.prop /system/</li>
<li>rm /system/sd/app/*Maps*</li>
<li>rm /system/sd/app/*maps*</li>
<li>rm /system/sd/dalvik-cache/*Maps*</li>
<li>rm /system/sd/dalvik-cache/*maps*</li>
<li>rm /system/app/*Maps*</li>
<li>rm /system/app/*maps*</li>
<li>rm /data/app/*maps*</li>
<li>rm /data/app/*Maps*</li>
<li>rm /data/dalvik-cache/*maps*</li>
<li>rm /data/dalvik-cache/*Maps*</li>
<li>reboot</li>
<li>Install Google Maps from Market</li>
<li>You&#8217;re Done!</li>
</ol>
<p><strong>Update (on the Final Update):</strong></p>
<p>If you get &#8220;Incompatible Update&#8221; when updating Google Maps in the Market, try the following. It has worked for me and others.</p>
<p>Download <a href="http://www.mmayhew.com/Navigation.zip">these files</a> again.</p>
<p><strong>ADB Users:</strong></p>
<ol>
<li>Follow the above steps for ADB but after step 18 (reboot) do the following:</li>
<li>Unzip files</li>
<li>adb remount</li>
<li>adb push Maps.apk /system/app/
<ol>
<li>If you get an error that says the filesystem is read only do the following</li>
<li>adb shell mount -o rw,remount /system/</li>
<li>Then rerun the command</li>
</ol>
</li>
<li>Now go to the Market and try to re-install</li>
</ol>
<p><strong>Terminal Users:</strong></p>
<ol>
<li>Follow the above steps for Terminal but after step 20 (reboot) do the following:</li>
<li>Unzip files and copy to your SD card.</li>
<li>In Terminal:</li>
<li>su</li>
<li>mount -o remount,rw /system</li>
<li>cp /sdcard/ /system/app/</li>
<li>mount -o remount,ro /system</li>
<li>Close Terminal and re-install through the market.</li>
</ol>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Thanks to the guys on <a href="http://xda-developers.com">XDA</a> we now have Google Maps with Nav from Eclair working on Donut-based CyanogenMod 4.2.5</p>
<p>Download the files from: <a href="http://www.mmayhew.com/Navigation.zip">http://www.mmayhew.com/Navigation.zip</a></p>
<p><strong> </strong></p>
<p><strong>Linux Users Only</strong>: Feel free to use <a href="http://mmayhew.com/adb_nav.tgz">this script</a> by <a href="http://blog.mmayhew.com/google-maps-with-turn-by-turn-navigation-for-cyanogenmod/#comment-47">foopirata</a> 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:</p>
<ul>
<li>Run the script as root</li>
<li>Have the SDK installed and adb in your path</li>
<li>Have the phone connected via USB</li>
<li>Be familiar with running bash scripts</li>
</ul>
<p>If the script doesn&#8217;t work for you or you are not a Linux user, try the manual processes below:</p>
<p><span style="text-decoration: underline;"><strong>ADB Instructions for Windows, Mac and Linux users</strong></span>: If you have the SDK installed and are familiar with adb, do the following. If not, skip down:</p>
<ol>
<li>Open a command prompt in the folder you unzipped  the Navigation.zip files</li>
<li>Run the following commands from command prompt:</li>
<li>adb remount</li>
<li>adb shell rm /system/app/*maps*</li>
<li>adb shell rm /system/app/*Maps*</li>
<li>adb shell rm /system/sd/app/*maps*</li>
<li>adb shell rm /system/sd/app/*Maps*</li>
<li>adb shell rm /system/sd/dalvik-cache/*Maps*</li>
<li>adb shell rm /system/sd/dalvik-cache/*maps*</li>
<li>adb shell rm /data/dalvik-cache/*maps*</li>
<li>adb shell rm /data/dalvik-cache/*Maps*</li>
<li>adb shell rm /data/app/*Maps*</li>
<li>adb shell rm /data/app/*maps*</li>
<li>adb push build.prop /system/</li>
<li>adb push build.trout.prop /system/</li>
<li>adb push build.sapphire.prop /system/</li>
<li>adb shell reboot</li>
<li>Wait for phone to boot back up</li>
<li>adb remount</li>
<li>adb install Maps.apk
<ol>
<li>If that fails, try adb install -r Maps.apk</li>
<li>If THAT fails, try adb push Maps.apk /system/app/</li>
</ol>
</li>
<li>Make sure GPS is enabled</li>
<li>Open Maps and press OK</li>
<li>Press Menu</li>
<li>Press Directions</li>
<li>Enter an end point</li>
<li>Click Go</li>
<li>Just under &#8220;Show on map&#8221;, click Navigate.</li>
<li>When prompted to install the voice codec, do so.</li>
<li>Enjoy.</li>
</ol>
<p><span style="text-decoration: underline;"><strong>Manual Instructions without a PC: </strong></span>If you do not have the SDK installed, do the following:</p>
<ol>
<li>Unzip zip</li>
<li>Copy build.prop, build.trout.prop, build.sapphire.prop and Maps.apk to /sdcard/</li>
<li>Open Terminal on your G1/MT3G</li>
<li>su</li>
<li>mount -o remount,rw /system/</li>
<li>cp /sdcard/build.prop /system/</li>
<li>cp /sdcard/build.trout.prop /system/</li>
<li>cp /sdcard/build.sapphire.prop /system/</li>
<li>rm /system/sd/app/*Maps*</li>
<li>rm /system/sd/app/*maps*</li>
<li>rm /system/sd/dalvik-cache/*Maps*</li>
<li>rm /system/sd/dalvik-cache/*maps*</li>
<li>rm /system/app/*Maps*</li>
<li>rm /system/app/*maps*</li>
<li>rm /data/app/*maps*</li>
<li>rm /data/app/*Maps*</li>
<li>rm /data/dalvik-cache/*maps*</li>
<li>rm /data/dalvik-cache/*Maps*</li>
<li>reboot</li>
<li>After the phone boots, return to terminal</li>
<li>su</li>
<li>mount -o rw,remount /system</li>
<li>cp /sdcard/Maps.apk /system/app/</li>
<li>mount -o ro,remount /system/</li>
<li>Close terminal</li>
<li>Make sure GPS is enabled</li>
<li>Open Maps and press OK</li>
<li>Press Menu</li>
<li>Press Directions</li>
<li>Enter an end point</li>
<li>Click Go</li>
<li>Just under &#8220;Show on map&#8221;, click Navigate.</li>
<li>When prompted to install the voice codec, do so.</li>
<li>Enjoy.</li>
</ol>
<p><span style="text-decoration: underline;"><strong>UPDATE:</strong></span> If you have tried these instructions and can&#8217;t get it working, try the following as suggested by nhudson in the comment section. This worked for him and others:</p>
<blockquote><p>1: Remove Google Voice<br />
2: Replace the build.prop files (trout, sapphire, etc) back to the <a href="http://mmayhew.com/original_build_prop_files.zip">original ones</a>.<br />
3: Reboot<br />
4: Reinstall the new build.prop files and remove any of the map stuff from the directories Michael listed.<br />
5: Reboot<br />
6: Install the new Maps.apk file<br />
7: Launch Google Voice and re-set it up<br />
8: Launch the new Maps and Navigation was there.</p></blockquote>
<p>Let me know if this works for you. If you need help, leave a comment, holler at me on <a href="http://twitter.com/mmayhew">twitter</a> or head over to this <a href="http://forum.xda-developers.com/showthread.php?t=582656">thread on XDA</a>.</p>
<p><span style="text-decoration: underline;"><strong> </strong></span>If you don&#8217;t see the Navigate option, try installing Google Voice. I know it sounds weird but it&#8217;s reported to work.</p>
<p>If you still don&#8217;t see the Navigate option, I&#8217;m not sure I can help other than re-do the steps above.  Here is what&#8217;s important:</p>
<ul>
<li>Make sure you deleted all *Maps* and *maps* files from:
<ul>
<li>/system/app/</li>
<li>/system/sd/app/</li>
<li>/system/sd/dalvik-cache/</li>
<li>/data/app/</li>
<li>/data/dalvik-cache/</li>
</ul>
</li>
<li>Make sure you rebooted after copying the build*prop files to /system/</li>
</ul>
<p>If Navigation is working but certain apps aren&#8217;t acting right, you may need to revert back to the original build.prop files. They can be found at <a href="http://mmayhew.com/original_build_prop_files.zip">http://mmayhew.com/original_build_prop_files.zip</a></p>
<p>Here are some screenshots from my G1:</p>
<blockquote>
<a href='http://blog.mmayhew.com/google-maps-with-turn-by-turn-navigation-for-cyanogenmod/nav1/' title='Nav1'><img width="150" height="150" src="http://blog.mmayhew.com/wp-content/uploads/2009/11/Nav1-150x150.png" class="attachment-thumbnail" alt="" title="Nav1" /></a>
<a href='http://blog.mmayhew.com/google-maps-with-turn-by-turn-navigation-for-cyanogenmod/nav2/' title='Nav2'><img width="150" height="150" src="http://blog.mmayhew.com/wp-content/uploads/2009/11/Nav2-150x150.png" class="attachment-thumbnail" alt="" title="Nav2" /></a>
<a href='http://blog.mmayhew.com/google-maps-with-turn-by-turn-navigation-for-cyanogenmod/nav3/' title='Nav3'><img width="150" height="150" src="http://blog.mmayhew.com/wp-content/uploads/2009/11/Nav3-150x150.png" class="attachment-thumbnail" alt="" title="Nav3" /></a>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmayhew.com/google-maps-with-turn-by-turn-navigation-for-cyanogenmod/feed/</wfw:commentRss>
		<slash:comments>68</slash:comments>
		</item>
	</channel>
</rss>
