yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] derfolo:
You are running "install" from the terminal app on the phone. That won't work. Either do an "adb install" from your desktop, or use a file manager (like Root Explorer or Astro) to install the Maps.apk from your sdcard.
[G1 Android Development] mrnv45:
at this point i will give someone apps to help me out.. i put the builds in..i tried to install app it said sh isnt there or sumthin.. now i dont have maps.apk when i ran fix_permissions.. it said i need to reinstall i tried but nothin yet!
[G1 Android Development] derfolo:
Are you running Cyan 4.2.3.1? Your sig says 4.2.2
[G1 Android Development] jklong03:
OK, so I jumped a little early!

Yes, I did some searching and now have modified the single line referenced in post#579. So I hope the nav option will remain when I get up in the morning!:o
[G1 Android Development] chevycowboyusa:
really easy with Root explorer app

I did this really easily with root explorer. Make sure you click on the make rw button.

I downloaded dwang v1.1 rom.

Browsed to it with the explorer and opened it.

I copied the build.prop and build.prop.trout from the zip file to /system

And from the zip, I copied the maps.apk from the zip file in /apps to /system/apps

I installed google voice from market

I opened maps from the app drawer

I searched for an address. When I found the address it gave an option for navigate.

When I clicked on navigate, it installed a voice synthesis program.

Once that's done, it should be easy from there.

You're on the right track if the maps icon changes to a new one.

Side note... does the market look different? Looked like it changed slightly.
[G1 Android Development] wyldtek:
I noticed that too
[G1 Android Development] xidominicanoix:
someone should change the OP to say only to modify the one line needed to make navigation work ... Nav will work and phone will still recognize itself as what it is (G1/MT3G) no need to push back old build.prop and lose Nav ... o well im done saying this over and over again ;)
[G1 Android Development] mrnv45:
yuh im now on 4.2.4.. sorry been awhile since i updated this thang lol.

p.s:

got it workin now.. the apk was currupted.. i redownloaded from another source now it works.. thanks tho!
[G1 Android Development] schwiz:
I am at a complete loss, followed the directions with the batch files, made sure I have google voice and speech synthesis installed. Got everything installed but the navigate feature just isn't there. The new maps app is nice regardless, just wish I could get this ****ing navigation to work, I've tried it like 4 times its driving me crazy.
[G1 Android Development] R@F@:
u

i tried installin with astro and it said it could not install maps to this phone.
[G1 Android Development] clide8:
Just following up on my last post. Protected apps did come back as the Navigate option disappeared.

Anyone have any ideas on how to get both Navigation working and protected apps to show up in the Market?
[G1 Android Development] mmayhew:
I've posted step by step directions using adb or doing everything on the phone via terminal. I've also bundled the files you need with single fingerprint line change from post #579.

http://blog.mmayhew.com/
[G1 Android Development] wyldtek:
Seriously. So many people are missing the easy fix.
[G1 Android Development] jook11:
Confirmed working on new Cyanogen 4.2.4. I had to modify the build.prop to look for the right cm version. The modified file is here: http://www.mediafire.com/?gukjzmfxx0b

Note that the zip I included is EXACTLY the same as what's linked in the first post, with the sole exception that I modified the CyanogenMod verison to look for in build.prop.

As always, your results may vary, but I can confirm that using these files worked to install maps with navigation on my CM-4.2.4 rom, so theoretically there's no reason it shouldn't work for everyone else.

My one caveat is the maps application isn't actually showing up anywhere. I can run it by loading the maps.apk from a file manager, but that seems to be it. Any ideas folks?

edit: I'm stupid. The app is called Maps now, not Google Maps. I was just looking in the wrong area of my app drawer.

Everything's cool.
[G1 Android Development] chevycowboyusa:
map help

Did you open maps and do a search for an address?

I'm on cm 4.2.4 btw
[G1 Android Development] schwiz:
yeah, and just under the show on map button, is the directions :*(
[G1 Android Development] davehasninjas:
Here's that post again if it helps.

All I had to modify was that line in my build.trout.prop

I'm running CM 4.2.4 so i attached my build.trout.prop if anyone wants it.
[G1 Android Development] schwiz:
finally got it working with the prop files and instructions on this dudes blog http://blog.mmayhew.com/ and it doesn't seem to break handcent sms either. Cheers thanks!
[G1 Android Development] Brock Samson:
So i tried 2 different build.trout.prop and i got the nav to work with both of them, but both times my chompsms stopped working. I looked around this thread and saw some people were having problems with different apps and such. Do you guys think I should wait a little while longer to throw this on again? Unless someone has had this exact problem and found which build.trout.prop to use. Anyways thanks for reading.
[G1 Android Development] kusotare:
Brock: ive seen several people say that reinstalling chomp fixes it after activating nav. Try that.
[G1 Android Development] Perefin:
You're site solved ALL of my problems getting it working! I couldn't get ADP running on my Windows 7 64 bit pc, and so your terminal instructions were invaluable. I didn't have to install Google Voice, or go through the instructions more than once, and everything works perfectly and plays nice with my other applications! I'm running Cyanogen's latest, also.

Thank you sir!
[G1 Android Development] BrumBrum74:
Anyone outside US got this working?
[G1 Android Development] Shellite:
No, have been trying but no luck so far (Australia). I tried installing google voice though obviously not supported outside AU so I cannot log in to it.
[G1 Android Development] BrumBrum74:
If I change Navigation address to US addresses the Navigate button comes up. Probably not available outside the US yet.
[G1 Android Development] yellathcir:
have you verified that nav will continue working for more than a few hours with these new prop files?
[G1 Android Development] Shellite:
Heh, we must of tried it at the same time, I can confirm this also, navigation button only appears for US addresses. (havent tried other country's yet)
[G1 Android Development] marcomachuca:
man this navigation is so cool i just followed the intructions and viala it worked so frickin easy
[G1 Android Development] pcmaniacs:
when i run the second .bat the screen say this

remount succeeded
rm: cannot remove '/system/sd/app/*Maps*': No such file or directory
rm: cannot remove '/system/sd/app/*maps*': No such file or directory
rm: cannot remove '/system/sd/dalvik-cache/*Maps*': No such file or directory
rm: cannot remove '/system/app/*Maps*': No such file or directory
rm: cannot remove '/system/app/*maps*': No such file or directory
794 KB/s (2624470 bytes in 3.227s)
pkg: /data/local/tmp/Maps.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Press any key to continue . . .

what im doing wrong?
[G1 Android Development] aleksys:
that means you do not need to remove anything, there are no files already. Now just type adb install maps.apk and you will get a positive result.
[G1 Android Development] mmace:
PLEASE COULD YOU ADD TO THE 1st POST OR THE TITLE THAT THIS ONLY WORKS IN THE USA?

I'VE BEEN TRYING TO GET THIS WORKING FOR HOURS TO ONLY FIND ON PAGE 80 THAT IT DOESN'T WORK IN THE UK!!!!
[G1 Android Development] obe1:
thats fcked up but i was posting cause in order to get navigate on my G1 i had to install google voice anyone had this same issue.
[G1 Android Development] yellathcir:
its pretty cool when some some android newb with a droid is showing off his cool new phone, braging about how its the only one with google nave and eclaire, then you pull out your g1 and say really? oh and my web browser has multi touch also. then you explain the rooting thing. thanks all you smart people that make my g1 the best android around
[G1 Android Development] lossfabulous:
Is there an easy fix for those of us who broke our Google Voice with the batch-file method on the front page? Like a few other posters here I went through the force-close loop with GV until I reinstalled; Nav is working now, and GV will start, but it still won't read my inbox. After reading through the last 40 pages on this thread I've tried using followinginsanity's instructions on page 58, since that seems like the closest thing to a fix, but I'm obviously too much of a noob to get any of it working for me. :)
[G1 Android Development] orbitus:
INSTALL_FAILED_UPDATE_INCOMPATIBL << Fix

I got this same message. It turns out that the uninstall left a reference to the old maps in the packages.xml I was able to fix the problem like this (within the same directory you have the part 1 and 2 bat files)

adb pull /data/system/packages.xml packages.xml

Now open the packages.xml file in your favorite text editor. SAVE A BACKUP OF THE ORIGINAL! If you have already done part 1 above then do a search for maps and you will probably see a node similar to this.

<package name="com.google.android.apps.maps" codePath="/system/app/Maps.apk" system="true" ts="1217592000000" version="3213" userId="10001">
<sigs count="1">
<cert index="2" />
</sigs>
</package>

Delete that SOB, he's the cause of your troubles. Then save and exit out.

Adb our edited file back up.

adb push packages.xml /data/system/packages.xml

I then shelled in to make sure the permissions were right

adb shell
su
cd /data/system/
chmod 755 packages.xml
reboot

After the reboot, run part 2

You may or may not have to reinstall Google Voice.

Enjoy Navigation!
[G1 Android Development] smasraum:
I tested navigation this morning on the way into work. Worked like a charm.
[G1 Android Development] clintz:
I just realized my Google Voice inbox is also not downloading.

Navigation is still there this morning though, Woo!
[G1 Android Development] ilcuni:
I had the navigation button last night, but after I put in the code to restore any apps lost the button went away. I was wondering if there was anything that I can do to get it back....the layers button is still that and that works.

Thanks
[G1 Android Development] redrim:
My experience in getting this to work:

Flashed 4.2.3.1

Ran the Navigation Part 1.bat

Reboot

Ran the Navigation Part 2.bat

got the " Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] " error

pushed Maps.apk to sd card

installed Maps via terminal

After this Google Voice broke as did Chomp SMS

Google Voice:

To fix Google Voice I uninstalled / reinstalled

To fix Google Voice sync issues, I deleted the Google Apps cookie by hitting "clear data" under Google Apps in manage applications then launching Market to sign in again w/ my Google Acccount

ChompSMS:

A generic icon was showing on the desktop saying it was not installed

App did not appear in the Market either

Flashed Phone to 4.2.4

ChompSMS appeared on the desktop but was Force Closing upon running

Unistalled ChompSMS and reinstalled from Market (it appeared now in the new build)

So far with the 4.2.4 build flash Nav seems to be working fine without any additional workarounds.
[G1 Android Development] anddep:
anyone get Speech Synthesis workin? i got it to installed when opening it closes uninstall itself
[G1 Android Development] pimpeinkc:
how do you install from astro?
[G1 Android Development] captinamerica:
GOT IT!! props to derfolo for the astro install advice, thanks. How does it work for others? Seams a little slow but not bad. I'm going to head to the gym in a little and see how it works :)
[G1 Android Development] captinamerica:
open astro, open SDcard, find maps.apk, long press, click app manager, install :) Worked for me :) Now I have Navi. Good luck
[G1 Android Development] dead2hill:
Save the maps.apk to somewhere you can find, navigate with astro and choose to install, if that doesn't work, use terminal with a couple cmd lines found in every other post in this thread =)
[G1 Android Development] pimpeinkc:
when i open the sdcard it only tells me the file sizes and i can't long press. and when i am on the home page and long press i don't get manager option. do i have to extract it or something like that?
[G1 Android Development] pimpeinkc:
yeah, though i would give astro a try cause i have never installed from it. i had GV working yesterday, but upgredes to the new 2.4 CM and my app was not installed. guess i will have to go back to page 20. lol
[G1 Android Development] captinamerica:
place the 3 files from the build.zip on the root of your SDcard one is the maps.apk. you will be able to launch that in astro.
[G1 Android Development] greglord:
how come this isn't possible to use outside USA? i mean.. couldn't it be modified to work in EU also?
[G1 Android Development] dcplaya:
After having Nav working on CM 4.2.3.1 and then upgrading to 4.2.4, I kept nav for a few hours then it dissappeared but simply following the directions at http://blog.mmayhew.com/ or repeating the steps of pushing the new build files, removing all traces of *maps* and then rebooting then finally installing maps.apk again had it working in no time
[G1 Android Development] gaffa234:
maps.apk

Hi!

I just did everything but the last step - where can i get the maps.apk?

Regards, H.
[G1 Android Development] clintz:
FYI, I tried this and Google Voice still would not sync up.
[G1 Android Development] smasraum:
Yes, I'm having google voice problems. Not only will Google voice not sync, but I can't dial out with GV either (have the phone set to ask for every phone call which to use - phone or GV).

Also, Handcent is not recognizing contacts, so my handcent shows up as phone numbers instead of contacts. Not only do I not have contact pictures, but I don't have their names. I'm getting ready to try reinstalling handcent. Hopefully that works. The NAV is great, but if I can't get GV and especially Handcent working, I might have to revert.
[G1 Android Development] pimpeinkc:
used short press and it worked. and nav is back, thank you all!!!!!!!!
[G1 Android Development] jklong03:
I have everything working under CM 4.2.4.

a) I updated to 4.2.4 Last night

b) used the batch files posted which pushed the two Droid build.prop files to phone. Rebooted.

c) Confirmed maps with nav was working.

d) Then I reinstalled 4.2.4 over the top of everything again.

e) Next, I used the fix in Post #579 and modified the single line in build.trout.prop

f) Rebooted, went to bed with everything working.

This morning, Phone still had Nav working (I played with it to take kid to school) and Voice commands were working as well!
[G1 Android Development] smasraum:
I used the included batch files which did not backup the 2 files. Will a wipe and/or reinstall of the ROM restore those files?
[G1 Android Development] nphaskins:
Had nav and 4.2.4 working last night. Woke up this AM and nav was gone. I deleted the backup.prop files on the SD card and went back into Terminal and started over. No nav. I did it a second time with a modded .prop file because I'm on 4.2.4. No nav. I then deleted the Google Maps Navigation cache folder sitting on the SD card so Maps could rebuild itself...and wholla! Back to Nav!

Will update it it disappears again.

BTW....is the build.prop file just a set of instructions to the device?
[G1 Android Development] fosormic:
this app is server based, not client based like your regular tomtom. until Google updates/enables their servers, no luck.
[G1 Android Development] staunty:
So this won't work on any ROM other than the few that have been mentioned? Or can I give it a try? I am using Mghty Max right now...Sorry if this has been answered but 87 pages is too many to go through.
[G1 Android Development] fosormic:
FIX: Google Voice not running properly.

Ok, ran into the same yesterday and after looking at the console (adb logcat) figured it out easily. The build.prop files on the first post's ZIP file change the system's reported version to the SDK version 5 (Eclair/2.0), and therefore applications which try to use the "new" APIs will fail because they think the API is there and try to call it. That is what happens with GV.

I ended up using the build.prop on the first post, which has a quite a few changes from the original, as I was lazy enough to locate an original one. Just change the ro.build.version.sdk=5 back to 4 (which is the API ID for Donut/1.6).

From my understanding, what makes Nav work are a few lines on build.trout.prop, mainly changing ro.build.fingerprint to verizon/voles/sholes/sholes:2.0/ESD20/17572:user/ota-rel-keys,release-keys (if I am wrong, please let me know and I'll update this post).

Older versions of GV do not look at the API variable, so that would work as well, but the solution above will let you run future versions (hopefully).

Update:

This is the right build.trout.prop (haven't tested myself but everybody seems to agree):

http://xdaforums.com/showpost.php?p=4929922&postcount=822
[G1 Android Development] reuthermonkey:
there's a separate think-tank on that.

http://cleanimport.xda/index.php?threads/583123/
[G1 Android Development] clide8:
Does anyone who has Nav working also have protected apps show up in the Market?

Note that not all paid apps are protected, so to find out you need to be looking specifically for a protected app. Search for NESoid, if only the Lite version shows up then you don't have protected apps. If both the Lite and the Paid version show up then you do have protected apps.

If you do have protected apps and Nav both working, which procedure was used?
[G1 Android Development] steveakast3:
I've got both working, I used the procedure from post 1.
[G1 Android Development] DroidRC1:
how do we stop it from disappearing.cause i had to do the same thing??
[G1 Android Development] smasraum:
I upgraded to 4.2.4 without wiping or doing anything else and now my GV and Handcent works correctly. My nav still seems to work, but I can't get GPS in the building, so I can't say for sure. I still have a "navigation" option in the maps.
[G1 Android Development] BTFRESSE:
Same here, i think 4.2.4 might of put the old build.prop files back in so all the previously broken apps are now working. my nav is working for now, but i will see if it goes away later
[G1 Android Development] Eduardo911:
just modifying the line mentioned in that post on page 58, i'm able to get my nav working permanently now, i think

my only problem is, it doesnt talk on my g1. the voice speech app thingy it requested was installed, copied the files to the sd, all that. in the phone's main settings i can go to the speech synthesis program and the test there works. and the nav is updating showing me the turn by turn, etc. its just not talking to me haha

any ideas?

edit: cyan 2.3.4.1 w/ android 2.0 0.5.1 theme, not that it prolly matters
[G1 Android Development] dzasta:
For mt3g users!

This is a repost (#765) but with complete instructions for MT3G users.

My Setup: MT3G, CM4.2.4, apps2sd, no swap, no compcache, no theme

Download navigation.zip from below and extract to a folder:

http://www.mediafire.com/?lioyoy2ydzu

Then run the following adb commands from the folder you extracted navigation.zip to:

adb remount

adb push build.prop /system

adb push build.trout.prop /system

adb push build.trout.prop /system/build.sapphire.prop

adb shell

cd /system/app

rm *Maps*

cd /system/sd/app

rm *maps*

rm *Maps*

cd /system/sd/dalvik-cache

rm *maps*

rm *Maps*

reboot

adb remount

adb install maps.apk

uninstall google voice (if already installed)

reboot

install google voice from market

reboot

voila!

You can probably take out some of the last two reboots but it worked for me so I kept it in. I originally ran the instructions listed on the OP and got stuck at the "INSTALL_FAILED_UPDATE_INCOMPATIBLE" when I ran part2.bat. Then I modified my packages.xml so that maps.apk would install but still no navigation even after uninstalling/resinstalling google voice. Then i tried the instructions from post #765 then added the rest exactly using the steps how I got mine to work.
[G1 Android Development] warburto:
Paid apps and Nav

I have a question regarding followinginsanity’s edit to the build.trout.prop

When I implement this edit, I lose access to paid market apps. Does anyone have a work-around that keeps market access and the precious Navigate option on the new Maps?

My current build is stock Cyanogen 4.2.4 with only the build.trout.prop modified on the single line specified by followinginsanity’s post.

As background to getting this working on my G1, I had to edit the /data/system/packages.xml as specified by olearyp and others. If you have 3.2.0 Maps installed but aren’t getting the Navigation option, adb pull your packages.xml, search for “maps”, remove all text between <package… and </package> in the section (about 13 lines of text, if you’re only removing one line, you’re missing some). Save and adb push back to the same spot, reboot, Maps should have Navigation.

In addition, I haven't had any strange behavior from any other apps. I have the eclair Facebook working fine, Google Voice opens without any FCs, contacts and whatnot seem to be playing nice.
[G1 Android Development] Chahk:
I figured one thing out today. The ONLY setting that makes Google Voice freak out is "ro.build.version.sdk=5" in build.trout file. If you leave it as "ro.build.version.sdk=4", both Navigation and GV work fine.
[G1 Android Development] yellathcir:
using search widget to open navigation

So I was reading on google navs help page and it says if you use the voice search on the search widget that by saying "navigate to ---" that it will open up nav. I'm guessing that an eclaire search widget would need to be installed? Anyone know?
[G1 Android Development] reuthermonkey:
I have Nav and protected apps. I'm using the latest TheOfficial TMO rom.

here's what i did:

http://xdaforums.com/showpost.php?p=4924665&postcount=384
[G1 Android Development] robkoehler:
no hero support. won't work with 1.5 from what i understand. also, search this thread for "hero". saves the looking.
[G1 Android Development] andonnguyen:
We really need to update the first post with already edited build.prop, build.trout.prop, and build.sapphire.props, with proper instructions. I just read through 40 pages of different people saying the same thing.
[G1 Android Development] rpmccormick:
I have a G1 running Rodgers Eth with 3 partitions.

My problem is that this version of google maps just FCs instantly.

I have tried the bat files in post #1.

Step 1 didn't reboot because it was not 'su', but I did it manually.

Step 2 didn't find files, but I figured out I needed /data instead of /system/sd

I noticed I did have a build.sapphire.props, so I made the proper change in that file too.

I do know what I am doing (usually) and have tried everything I can think of multiple times with multiple reboots. No matter what I do the Maps.apk from post #1 with the new icon and all always just FC's on open. I've also noticed GoogleVoice and VoiceRecorder FC after bootup once you have installed the new Maps.apk (a reinstall fixes them).

Any clue what I can try? I did try su + fix_permissions and I also tried fix_permissions from within recovery. I also tried using expsetup's re-odex option. The app just wont run on my G1!
[G1 Android Development] chicojd:
Anyone have directions to a contact working? I've tried it and with the new build files, the contacts don't even show, with the old build files, the contacts show but when you select one, the "GO" button never reappears. Also, with the old build files (4.2.4 stock) the Navigate selection goes away.
[G1 Android Development] lilwill2806:
hey i have successfully flashed and configured google maps w/ navi on cyan 4.2.4 i had one question if i was to flash a theme with a new lockscreen and launcher will i lose navigation or will it stay the same ????????????????
[G1 Android Development] nphaskins:
Nav still working. Paid apps and protected apps working. Nothing is broken. Google Voice works fine. Will post back if it disappears but I think it's here for good this time.