yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] djkdawg:
LOL, just follow the steps again, use the terminal manually

A) Place 3 files on sdcard (build.prop, build.trout.prop, Maps.apk)

B) Terminal:

su

ash

mount -o remount,rw /system

cp /system/build.prop /sdcard/build.prop.backup

cp /system/build.trout.prop /sdcard/build.trout.prop.backup

cp /sdcard/build.prop /system

cp /sdcard/build.trout.prop /system

cd /system/app

rm *Maps*

rm *maps*

cd /system/sd/app

rm *maps*

rm *Maps*

cd /system/sd/dalvik-cache

rm *maps*

rm *Maps*

reboot

C) Terminal:

su

ash

mount -o remount,rw /system

install /sdcard/Maps.apk /system/app/

D) Run "Maps"

Directions -> Put end point -> Go -> "Navigate" under "Show on Map" -> Install voice etc

(If "Navigate" doesn't show up, something went wrong.)

E) To get other apps back to normal (if stuff broke):

su

ash

mount -o remount,rw /system

cp /sdcard/build.prop.backup /system/build.prop

cp /sdcard/build.trout.prop.backup /system/build.trout.prop

reboot
[G1 Android Development] Jrbourque:
what do you mean set up for 2.0? because i have mt with cyans build and i have tried Everything and still nothing. Any ideas?
[G1 Android Development] steeef:
Followed these instructions myself without any issues. Maps is definitely new (3.2.0), but no Navigate option after getting directions that I can see.
[G1 Android Development] djkdawg:
yea it seems like the market knows what works on 2.0 and removes them, did any one notice the updated market ??
[G1 Android Development] JAguirre1231:
I mean chompsms and handcent haven't been updated for android 2.0 yet
[G1 Android Development] Jrbourque:
ohhhh okay, im just waiting for someone to release it for cyans or be able to just install. nothing i do works
[G1 Android Development] neoyagami:
ok

it works

but only if i put two us directions :(

and im from sudamerica (chile) XD

okok good look
[G1 Android Development] xidominicanoix:
testing out a method that will involve using "setprop" and then restarting .. hope it works :)

EDIT: ok rebooted and my phone is reading itself as G1 .. now just gotta wait til Maps stops reading it as Droid to test my theory ;)

EDIT: ok i changed from the completely modified build.trout.prop to the one with only ro.build.fingerprint modified ... handcent is working correctly now and i still have Navigate option .. now ill see if i lose it by the end of the day
[G1 Android Development] Travladin:
Cp Build.trout.prop

Im having trouble copying the build.trout.prop... IM:confused: using a sense rom... I used root explorer to search for the file and i couldn't locate it... is it safe to say that my rom doesn't use one?
[G1 Android Development] mvv_hyd:
layar and a2b for me too
[G1 Android Development] xidominicanoix:
if you have a hero rom then dont try it .. hero = 1.5 and this will only work on 1.6+

in what way is layar not working? also are you using a completely modified build.prop or only ro.build.fingerprint modified?
[G1 Android Development] IronWolve:
Made no difference doing anything by hand in the shell. And I didnt realize that .bat script didnt backup the build.prop and build.trout.prop.

I'm using DRC92, DRC92/exp_pack and cm 4.3.2.1.

maps just wont install.
[G1 Android Development] here.david:
Had to reboot a few times before everything worked...

All known issue so far, for me, is contacts in map location does not work, must use manual and/or voice...way cool...:cool:
[G1 Android Development] IronWolve:
No, doing it manually did nothing to change it.

The maps wont install.

I ran the batch scripts and did it manually, after I get the install error on maps.apk. Plus the batch scripts didnt backup the build files, so I have to reflash if I want to go back to the stock google maps. (it wont install either now via its apk)

Using DRC92 rooted base, DRC92 expack, cm 4.2.3.1.

AOSP_ADP_1.6_r1.2_DRC92_rooted_base_v2.zip

AOSP_1.6_DRC92_ExpPack_v2.0.3.zip

update-cm-4.2.3.1-signed.zip
[G1 Android Development] Travladin:
Well thanks for the help.... :D
[G1 Android Development] Skreacher:
I read a post about someone reinstalling google voice to get it working. I did that thismorning. Well afternoon when i woke up and Navigation was working, not sure if it was actually woring before that, didn't bother to check beforehand.
[G1 Android Development] Coderedpl:
again, how are we suppose to get voice to work?
[G1 Android Development] djkdawg:
im using update-cm-4.2.3.1-signed.zip

goto your settings and then click on about phone, whats your firmware version say ?? its almost sounding like your root is not working.
[G1 Android Development] SimonNWalker:
Enomther AOSP

I've been trying to modify the build.trout.prop on Enomther's AOSP as there isn't a build.prop in this ROM.

I can get the map application to install and run fine, but still no navigation option in the directions.

I've tried with Google voice installed before and afterward.

I have a single batch file to do the complete install, reboots, backups, etc. all I need is the correct sequence and settings to get the navigation option working.

I'll share the batch file once this is tested and working.

or if anyone wants the batch file and build.trout.prop I currently have, let me know.
[G1 Android Development] ERamseth:
Just wanted to confirm that using vi in a local connectbot session I :

1) commented out the existing ro.build.fingerprint line in build.trout.prop

2) added the necessary finger print (ro.build.fingerprint=verizon/voles/sholes/sholes:2.0/ESD20/17572:user/ota-rel-keys,release-keys)

3) rebooted from normal phone reboot menu

4) removed all files referencing maps (*Maps* and *maps*) from /system/sd/app, /system/sd/dalvik-cache, and /system/app

5) installed Maps.apk with normal apk installer

Basically I did this all on the phone without adb!

And I now have navigation in my maps. I have not tested it out though. The first time I opened the navigation menu it prompted me to install TTS things from the market, and I did.

I am going to comment out the added fingerprint and uncomment the old one. I will re-post here if I have any problems with other apps after that, but if I do not, assume it all went smoothly. I will test out the navigation functions on the way home from work this evening.

This thread is moving pretty fast it looks like so if you have questions, please PM me or get me on twitter @eramseth

edit: FYI I am on CyanogenMod 4.2.3.1

edit2: not sure if sed is available on G1 stock or custom roms (is it in busybox on CM 4.2.3.1?) but that could probably be used to make the build.trout.prop and build.prop mods in place vs. overwriting entire files... I'm probably not going to bother figuring that out though.
[G1 Android Development] phoc:
error: device not found

error: device not found

error: device not found

Press any key to continue . . .
[G1 Android Development] lacroixdp:
This did the trick for me! I'll post instructions for everyone on Sapphire's forum. Thanks to everyone that helped!
[G1 Android Development] canadiancow:
I created a new topic for anyone who wants to help get Navigation working outside the USA. It looks feasible.

http://xdaforums.com/showthread.php?p=4926849
[G1 Android Development] xidominicanoix:
is this with adb? ... editing build.prop and build.trout.prop shouldn't have messed up your adb ... try reinstalling drivers
[G1 Android Development] phoc:
where exactly do i get the drive?
[G1 Android Development] dcplaya:
I can confirm this works for me on my myTouch 3G in the US, The navigation option showed right up after i went through all the steps and also copied the build.sapphire.props file
[G1 Android Development] andonnguyen:
It will prompt you (when you start navigation) to install the voice engine from the marketplace, the popup will look like this (screenshot taken from my device)
[G1 Android Development] lp894:
Figured out why the new Facebook crashes:

ro.build.version.sdk needs to be set to 4 in the build.prop and/or build.trout(or sapphire or jimmy-johns or whatever).prop

changed it on mine, FB now works fine, AND maps still works
[G1 Android Development] reuthermonkey:
we'll see if it still works after 8 hours...
[G1 Android Development] lacroixdp:
Here's a version of the batch file posted earlier that confirmed works on the Sapphire w/ the Ion ROM. RUN AT YOUR OWN RISK!

http://www.filefactory.com/file/a1a675f/n/SapphireNav.zip

Thanks to everyone that contributed to all the pieces of it, including tee aiy emm, JAguirre1231, and Followinginsanity and many others!
[G1 Android Development] marzib:
I installed on my G1 and it seems to work great. I still don't know how to use the "search by voice" feature though. Is that what you mean by "Voice GPS"? If so, how exactly do you do it? (when exactly do you speak the address for Google Navigation to recognize it?) Thanks!
[G1 Android Development] lp894:
Maps I did at about 730 this morning and its still working now. Again, i didn't have to load the old build.prop and build.sapphire.prop files again i edited the ONLY line that needed to be edited on those files, and then loaded them on my G1. granted...handcent sms doesn't work(not sure why but oh well)
[G1 Android Development] mvv_hyd:
Voice install prompt didn't come for me. The popup didn't pop up
[G1 Android Development] andonnguyen:
dont push Maps.apk to system. lol.

adb remount
adb push Maps.apk /system/app
[G1 Android Development] bogdi1988:
what about nandroid? we install maps, as soon as we install, we make a full nandroid backup... then whenever it messes up.. restore... i know it is painful... but till people figure out how to make it fully work....
[G1 Android Development] digimortaljedi:
You guys are the shiznite!

Thanks to all who got this working. Been lurking here for a bit and absolutely had to say thanks for this. I love Android, because of xda. Way to go guys.
[G1 Android Development] followinginsanity:
Specific Mods Required To Get Navi To Work

Alright. I've finally gotten it narrowed down enough I think.

You need to uninstall Maps completely. Remove all of its files.

(I used SU File Browser and searched "maps" and removed any occurrence of maps.apk. but NOT from frameworks. or the .jar file)

Once you are sure you have them all gone you only need to make the following mods to your build prop.

ro.build.fingerprint==

verizon

/

voles

/

sholes

/trout:1.6/DRC83/14721:user/ota-rel-keys,release-keys

leave the rest as is. I have tested this on my G1 with the rom in my sig and know that it works. And it should keep your navi intact and still play nice with the rest of your apps.

---------------------------------------------------

if someone knows the best way to remove the files via adb let me know and I'll update.
[G1 Android Development] steeef:
Figured out my issue (Navigate wasn't showing up even after successful install): Needed one last reboot after getting everything up and running (even after reinstalling Google Voice). Looks great!
[G1 Android Development] dwang:
cool that worked!

Dave
[G1 Android Development] Julies Brnz G1:
So after deleting all maps then I would just type theis exact line in the terminal for my G1? I"m just a little confused on the whole "fingerprint==verizon?voles/sholes part.

ro.build.fingerprint==verizon/voles/sholes/trout:1.6/DRC83/14721:user/ota-rel-keys,release-keys

EDIT: so I did that and it didn't work! : ( can someone help plz?
[G1 Android Development] andonnguyen:
Confirmed working with this method on G1, CM 4.2.3.1, for those that don't know how to edit the build props, I've edited and attached them to this post.

use these commands to push them to your phone, after backing up your original build props and removing traces of maps in dalvik-cache, system/sd/app, and system/app:

adb remount
adb push build.trout.prop /system
adb push build.prop /system
adb push build.sapphire.prop /system
reboot
adb push Maps.apk /system/app

then navigation should be working. :)
[G1 Android Development] obe1:
after reinstalling google voice again was it able to download messages you had cause mine is stuck on downloading wont foreclose or anyhting just stays on downloading also my account app by tmobile your not able to browse wallpapers or ringtones anymore just to look at your acct.
[G1 Android Development] esmith972:
Any luck with the Car Dock yet? I tried changing the SDK thing to 4 but it disappears.
[G1 Android Development] Wisefire:
That would probably be very helpful, thanks.
[G1 Android Development] JAguirre1231:
You need to menu>directions>enter directions>and on the next screen, assuming it's there, click navigate
[G1 Android Development] TomasTrek:
Menu > Directions > Choose 2 points on the map, then click go > Beneath "Show on map" it should have the extra option.
[G1 Android Development] Nasrat:
So what does the ro.build. fingerprint refer to?
[G1 Android Development] MarcusMaximus04@gmail.com:
I've changed everything in build.trout.prop(I'm on a g1) I can while still giving it network abilities(turns out that bit about the network type is in the device specific build.prop, not the normal one). We'll see what happens.

EDIT: And... no luck with that. Looks like it's not using the build.prop(any of them) for checking whether or not to have navigation.
[G1 Android Development] followinginsanity:
I've changed everything I can think of in the build.prop and build.trout.prop.. the phone says its verizon and all that. but in maps>about it still says. Version: 3.2.0 (#3232) gmm-android-tmobile i can't figure out where its getting that from
[G1 Android Development] JAguirre1231:
Well, as we've changed things that make sense, it must be somewhere that is not easily accessible or in a file that you would only find if you were specifically looking for it
[G1 Android Development] staulkor:
It is probably in the kernel or the sqlite databases.
[G1 Android Development] TomasTrek:
I'm getting that problem too. I changed both build props to what the emulator build prop says and I am still getting the tmobile in the top line.

I'm going to try removing all the build props and putting the emulator one on there. I think it's been done before without removing the device specific ones (which I think we see now can overwrite the ones in normal build prop). I'll also clear d-c and reinstall maps just to be sure.

I'm not feeling hopeful though.

Edit: No joy using just the emulator build prop. Couldnt test after clearing d-c and user data as it couldn't get online so would show some error and force me to exit before ever letting me get to the menu to check the about.
[G1 Android Development] tutech:
I agree, most likely the check is in a DB somewhere.

Hopefully the log collector could shed some light.
[G1 Android Development] torturedsoul802:
So, I was thinking, would it possibly be easier to "reverse engineer" the whole process? Start from wherever possible (e.g. "Navigate" button) and trace the calls back?
[G1 Android Development] MarcusMaximus04@gmail.com:
With the code that was dispersed here, yes, and I believe someone's working on that already. Here's hoping they are reading it from some hidden file or database somewhere and not from something physical about the phone(i.e. network, chipset, etc).
[G1 Android Development] jdwme:
Ok, here's the log. Grabbed a droid and ran log collector for the naviagtion, entered an address and started google navigation.

http://www.mediafire.com/?dddh0geyizt
[G1 Android Development] JAguirre1231:
I don't try to pretend I know everything, but it seems that it made a couple mentions about cdma, and it also had problems removing it's cache. I'm thinking that google has the app remove it's cache upon exit to make it harder to find what was used during the uptime. However for whatever reason it had a problem removing cache/system. I'm going to keep going through it but jeez is it huge
[G1 Android Development] acydrx:
Well I'm not exactly sure what good this does anyone. Logcat from the first time I tried, sifted through it and found these few lines:

So I tried pushing the GooglePartnerSetup.apk from the milestone build. It didn't change a thing, except in the logcat, which only changed slightly. No longer mentioned the gmm-android-tmobile line, but it still showed up in the About in maps. (Still no navigate)

Tried replacing both the GooglePartnerSetup.apk and the GoogleSettingsProvider.apk, which caused a suicide. Couldn't do anything. Couldn't create the Java VM or anything. had to re-push the old stuff.

A thought I had was that it may also be getting it from the SIM card. So I started the phone without my SIM. Obviously it wouldn't connect to a network, but no luck. It still wouldn't show any way to navigate, and the line still had gmm-android-tmobile.

If anyone feels the entire log would be helpful, let me know and I'll pastebin it.
[G1 Android Development] nabzilla1990:
im pretty sure it has to do with the 2.0 framework has anyone tried this on the barak sholes rom
[G1 Android Development] staulkor:
Then why would it work in the 1.6 emulator.
[G1 Android Development] followinginsanity:
I got navigation working on my g1

OK so I finally got it. I got navigation working on my G1. Using the rom listed in my sig. I will give the exact method in a minute. I need to redo all the steps to make sure I have it all right. Standby for update.
[G1 Android Development] MarcusMaximus04@gmail.com:
Except that it works on 1.6 in the emulator. If it was because it's not on 2.0, it wouldn't work in the emulator on 1.6 either(plus, we'd pretty assuredly see something about it in the log, which we don't)

@followinginsanity: Woah really? Awesome!
[G1 Android Development] JAguirre1231:
M

I actually thought about that earlier but then remembered that a navigator is no good without sound,. Plus it works on 1.6 emulator
[G1 Android Development] freekyfrogy:
IT WORKS! Haha, this is why I love XDA =) I used it already today to get to best buy and the T-Mobile store (I'm writing this from a best buy laptop). I had to install Google voice after I did all of the command line stuff, but I finally got it working, lol. Thanks again to everyone who had a hand in getting this working. Oh, I have found a wierd side affect too. Now whenever I am getting an incoming call, a big button thing is on the incoming call screen that tells me to double-tap to answer the call. It's not that big of a deal, but it's just something I noticed.
[G1 Android Development] KeithLM:
Skreacher, your method worked perfectly on my myTouch. Must have been the build.sapphire.prop that I was missing as the other batch files never provided navigation. Thanks much!
[G1 Android Development] andonnguyen:
i believe SDK=4 is android 1.6

and SDK=5 is android 2.0
[G1 Android Development] homeboypvm:
where do i get the su file browser im running latest of cyanogen

:confused:
[G1 Android Development] esmith972:
Oh, I guess that would explain that... imagine that LOL.

Car Dock currently FCs, not sure why either. :(
[G1 Android Development] ibelimb:
Can anyone post a link to just the maps.apk? Would like to take a look at it but don't have a high enough connection right now to download the entire rom dump.

Thanks!
[G1 Android Development] phpdiddy:
Install went fine, Navigation is working for me, but Google Voice no longer works. At first, it would just FC all the time. Uninstalled and reinstalled, but it doesn't download any voicemails and won't make calls.

Ran the fix_permissions to see if that was causing problems, no dice. Anyone finding some Google Voice issues?
[G1 Android Development] homeboypvm:
guys i need some help on how to delete the maps.apk and files and edit the build.prop>??:confused: im on cyanogen latests 4.2.3.1
[G1 Android Development] Julies Brnz G1:
permission denied

help plz...

when I type in the adb remount into the terminal it says

adb: permission denied

I'm running the latest CyanogenMod, what am I missing?
[G1 Android Development] f2:
This is still only working for the US - isn't it?
[G1 Android Development] tee aiy emm:
Read the thread, a lot of people already wrote short and simple guides
[G1 Android Development] tee aiy emm:
You run adb on your computer through the command prompt, not on your phone in the terminal.

You can get adb in the android SDK.

If you don't want to use adb, this can still be done all in the terminal; the commands are just a bit different.
[G1 Android Development] andonnguyen:
enable usb debugging under Settings > Apllications on ur phone.
[G1 Android Development] manofconviction:
just checked mine after it being functional this morning and its gone, back to the original 'Google Maps' app. How weird!

I hope someone figures this out soon lol
[G1 Android Development] tee aiy emm:
Yes, that happens if you push back your original build.prop's. You can kept the modified build.props on your phone so that NAV will still work, but some people have reported that other apps crash with the modified build.props.
[G1 Android Development] manofconviction:
i never pushed the originals back, kept the modified ones
[G1 Android Development] Skreacher:
Can we get the link to the sappirenav updated on the first post please? I know this is the dream forum but a lot of us Mytouch users use this forum since most of the roms work on both.
[G1 Android Development] AimanF:
I'm getting the same problem, does anyone know of a fix for this?
[G1 Android Development] tee aiy emm:
Oh really? That's odd.. that's the first I've heard of that. Oh well, someone is working getting this working; maybe it'll be fixed soon :)
[G1 Android Development] JokersSmile:
I have a MT3G and I've managed to get the application installed. but I can't get navigation to work. I've installed google voice a few times.... tried a lot any suggestions?

EDIT: MY first post.... FTW
[G1 Android Development] Julies Brnz G1:
it is enabled. : (
[G1 Android Development] JAguirre1231:
Okay I'm back and ready to answer questions, from a quick look though it seems that many of these questions can be answered through a simple SEARCH. It's that rarely used button at the upper right of the thread
[G1 Android Development] gentryh:
Success Finally! - EDIT THE BUILD.PROP FILES

UPDATE:This exact solution stopped my gmail from receiving mail (maybe sending too.) I'm going to try SynMongers approach (see next post) and only change the fingerprint lineitem.

So for others that missed, or are slow like me ;) Here's a tip:

The build.prop and build.trout.prop files have to match your phone!

My main problem was (after downloading, unzipping and putting the distribution files on my sdcard) was after rebooting, NO SERVICE, and NO WIFI.

Did a little compare of the distribution files to my backup versions (second tip, backup your originals!, missing this forced me to reload my CY ROM) and found VERIZON in a bunch of references, since I am running a G1 on TMOBILE i figured this might be the reason I have no network!

So I edited the build.prop and build.trout.prop files to match by backup, except for the version stamp values (I read only the ro.build.fingerprint in the trout file matters (which i left with the verizon reference) but I left the other version stamps on v2, and just switched the version references to tmobile.

ok, so after doing the process over and over, (even editing the packages.xml file) I still did not have NAV... so the final tip:

Un-install and re-install Google Voice, this finally did the trick!

Hopefully it will not revert due to the automatic upgrade of the maps app, but since I am leaving the modified build.props files installed, I am hoping it is not going to happen to me.

Here are the TMOBILE HTC G1 build files I ended up using (use at your own risk!)

--------------------------------build.prop--------------------------------

Files removed, not perfect (Gmail stopped working) trying minimal editing of the fingerprint value (see synmongers next post)

-------------------------END OF FILES----------------------------

Hope this helps the new or similarly challenged!
[G1 Android Development] SynMonger:
This fixed it for me. Modified the original build.trout.prop and pushed it to the phone. Rebooted and had to run a new directions search to get navigation to come up.
[G1 Android Development] xdowner18:
is it possible to change something that the navigation function works outside u.s. ?