yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] here.david:
Voice GPS Works...great to 'speak' an address and the G1 both shows you the location/phone/etc and then will voice guide you to that location...the 'pick from contacts' does not seem to work and it is a little slow to start.

HOWEVER, after it is running it works great so far...Now when my conrtact is up I can update the G1 to the current "GREAT ANDROID PHONE"...much as I do love my G1, 1 yr old and still able to keep up, however, both the added memory and 1gig speed in the new phones has me longing ... just wish the G1 was upgradeable like a laptop, newer cpu, more memory and disk space and I would keep my G1...

Not what the Manufacturer's want so we either keep 'hacking' or buy a new phone every year, wait two year contract so you either miss out or HACK....

Has been worth the 100 plus hours learning....:D
[G1 Android Development] canadiancow:
I just noticed something very interesting.

I turned off cell/gps location services, then opened Maps, and plotted a route from San Francisco to Las Vegas. I got the Navigate option.

When I selected it, it prompted me to download the voice stuff, so I did. Then it told me to go into settings to enable GPS. When I did that, and came back, it popped up a dialog "No route found - Navigation to your destination is not available.".

HOWEVER, under this dialog is a Navigation view of my area. Which means it was able to download the necessary map data, but something is preventing it from retrieving or using a route.

It's possible that the route could be transmitted in the same format as normal directions in Maps, but that either:

a) The server is rejecting the request because it's coming from Navigation for Canada, or

b) The application is discarding it because it's for Canada.

If it's a), then we might be able to setup a proxy server (even a locally running server on the phone) to mask the signature of the request.

If it's b), then we might have to modify some of the Maps code.

But the fact that it can render the Navigation view of my neighbourhood in Canada means that it is downloading the appropriate map data, so that's a great start for getting Navigation to work outside the United States.

I have the day of today, so I think I'm going to try to examine some of the traffic between the app and the server.

Should we create a new thread for this?
[G1 Android Development] Travladin:
Will this work with KingxKxRom Sense hybrid ?:confused: and is there any console commands involved
[G1 Android Development] harpreet1988:
Would it be possible to use this method to install the new browser?
[G1 Android Development] RussianSolja:
works fine for me. why are you guys getting all these problems? my phone and apps work just fine.
[G1 Android Development] JAguirre1231:
Once again it will ot work on hero, hero is 1.5 the new maps needs 1.6+
[G1 Android Development] atgrande1:
atgrande1@aol.com:)
[G1 Android Development] octobclrnts:
That will depend on if the browser need any of the SDK5 (Eclair) framework or not. I will try installing it in a 1.6 emulator and see if it runs there.
[G1 Android Development] RussianSolja:
It's recommended you use newest CyanogenMod (4.2.3.1) ROM for this... also yes you need to to type in a few terminal commands to get it working.
[G1 Android Development] lacroixdp:
Would it be possible to get this to work on the 1.6 ROM on a Sapphire? I loaded it w/ Google Voice and everything but navigation works. The option for navigation doesn't even appear.
[G1 Android Development] krumbman0wnz:
So for some reason the part1.bat doesn't want to recognize my device, so i reboot into console thru recovery..then ran part2.bat...the dos prompt says cant remove over and over...

Dont get it:confused:
[G1 Android Development] harpreet1988:
Awesome. Let us know how it goes.
[G1 Android Development] Fr0sTy333:
got it in one shot. thanks Paul22000
[G1 Android Development] JAguirre1231:
Reread your statement and find what contradicts each other
[G1 Android Development] harpreet1988:
You need to have adb drivers installed on your computer.
[G1 Android Development] xidominicanoix:
just noticed the little handcent sms issue :\ ...

also anyone figure out how to revert back to old build.prop but keep nav working?

and lastly instead of pushing build.prop and build.trout.prop, could we do it with 'setprop'?
[G1 Android Development] manofconviction:
glad i slept on it, this thing was driving me crazy last night

installed google voice this morning and low and behold the navigate option showed up

i am getting that ugly double tap to answer box though, but i can live with it
[G1 Android Development] lacroixdp:
It does not contradict... in some of the earlier posts people reported installing Google Voice caused Navigation to appear. I just wanted to notate that I had tried that and it did not make it appear.
[G1 Android Development] kscasper13:
Confirmed, i got this working perfectly last night, replaced old build.props, and got crashed apps working after a reboot, today, no navigation option, apparently at some point in the day the build.prop. gets refreshed:mad:
[G1 Android Development] JAguirre1231:
I know but the wording was off you say but you said "but navigation works. The option for navigation doesn't even appear." But enough with that lets get this working. First remove the maps app.

rm /system/sd/app/*maps*

rm /system/sd/app/*Maps*

rm /system/app/*maps*

rm /system/app/*Maps*

Do that then come back for the next step
[G1 Android Development] dasoccerbomb:
Did u leave the new prop files or did you push your old ones back?
[G1 Android Development] wyldtek:
EDIT: Never mind it stopped working when I switched to a different destination.
[G1 Android Development] xidominicanoix:
i think its time to find the calls within the smali files and editing them so it doesnt look for the build version anymore .. imma start looking at that now
[G1 Android Development] jackthehack:
maybe a stupid ?

Should the instructions posted in the thread work OK on an HTC Ion dev handset if I update the current 1.6 ROM to the Cyanogen 4.2.3.1 first?

Any caveats for Ion dev phone?
[G1 Android Development] JAguirre1231:
I'm sure it should work fine, but I don't have an Ion so don't take my word for it
[G1 Android Development] lacroixdp:
Gotcha - sorry for the confusion :) That was worded a bit funny.

I have the maps app completely removed now.
[G1 Android Development] octobclrnts:
Just FYI, I was not able to get the Browser app to launch (well, it launched, but immediately crashed) which says to me that it probably needs the new sdk framework to be installed. I tried it on my actual G1 which currently has navigation working.
[G1 Android Development] JAguirre1231:
Ok do you already have the build.prop's?
[G1 Android Development] followinginsanity:
Alright I'm back again, more tests, and hopefully a final solution
[G1 Android Development] dwang:
That would seem to be the better solution long term, as then you wouldn't have to modify the build.prop files anymore.
[G1 Android Development] lacroixdp:
Yes I do - it's pushed onto the device.
[G1 Android Development] JAguirre1231:
Well we'll have to make that our next order of buisness seeing how we got this one solved. P.s. In one day the thread has gotten over 50,000 views
[G1 Android Development] JAguirre1231:
Ok now we need to remove the dalvik-cache mentions so do

rm /system/sd/dalvik-cache/*maps*

rm /system/sd/dalvik-cache/*Maps*
[G1 Android Development] Jrbourque:
If we dont use apps to sd then would that change to rm /data/dalvik-cache/*maps* ?
[G1 Android Development] JAguirre1231:
I'm sure it should, but I know in Cyanogenmod it has a2sd enabled by default which is why I use that
[G1 Android Development] Jrbourque:
yeah i didnt put an ext3 on there. not needed for MT. but i think thats what it is thanks
[G1 Android Development] lacroixdp:
Well that's a problem... the ROM I'm using (1.6 Ion) doesn't have dalvik-cache in that location. I've got to find where it's at.
[G1 Android Development] JAguirre1231:
change /system/sd to /data then
[G1 Android Development] Chahk:
So what exactly was changed to get GV working back when we had the same problem on 4.2.1? The issue on CM tracker suggests adding "ro.build.version.codename=REL" to build.prop, but it's already there.
[G1 Android Development] JAguirre1231:
If you did this and GV isn't working just reinstall, people are saying that works
[G1 Android Development] lacroixdp:
Awesome - you're good! :D That's done now.

If I was a little better in Linux, I could have probably stumbled upon it. Hahaha
[G1 Android Development] hyperandy:
file removal

I tried and failed, but was trying to do it quick

should we remove the following files as well:

system@app@GoogleMaps.apk@classes.dex

system@app@Maps.apk@classes.dex

I didn't have:

data@app@com.google.android.apps.maps.apk@classes. dex

I got the gray double tap box, which was fine because hitting the green answer button worked fine to answer as well.

too many other apps were failing on me so I reverted back to old props for right now. will attempt again in a few hours. when I'm not trying to rush through it.
[G1 Android Development] JAguirre1231:
Now you can install
[G1 Android Development] bogdi1988:
ok. this is really weird... i installed the app last night and it worked well...

today i am trying to uninstall it

it shows up in the Apps menu on the phone, and i can uninstall it that way.

but it does not show up in /system/app

running cyanogen latest, one fat32 partition on sd card. any ideas where it can be?
[G1 Android Development] JAguirre1231:
/system/sd/app
[G1 Android Development] bogdi1988:
found it!

it is also stored in /data/app/com.google.android.apps.maps.apk

we need to update the tutorials :D
[G1 Android Development] lacroixdp:
I must have done something wrong... the Navigation still isn't showing up when you go to show the route. I'll try the steps again real quick.
[G1 Android Development] kscasper13:
yea and imagine how many more pages its gonna get to when everyone realizes tomorrow that their navigation option is gone:eek:
[G1 Android Development] followinginsanity:
Am narrowing things down more.
[G1 Android Development] kscasper13:
go go gadget brain!

keep up the good work FI
[G1 Android Development] JAguirre1231:
You might also want to try install in google voice, people said that also helps
[G1 Android Development] JAguirre1231:
Oh god... I feel bad for the people tomorrow, I have school therefore won't be able to help
[G1 Android Development] kkinder:
That seems to be the problem. I'm running Cyanogen, I copied the build.prop files, rebooted, and it installed fine. Problem is, it's just a newer version of Maps without the navigation -- no idea why.

NavigationParameters.data might help, but it isn't prompting us to download it.
[G1 Android Development] Rekna:
I'm seeing the following:

adb install maps.apk

1019 KB/s (2624470 bytes in 2.513s)

pkg: /data/local/tmp/maps.apk

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

I tried exiting packages.xml and remove the google maps package but that didn't work. I then tried removing the <updated-package name="com.google.android.apps.maps" ... /> section but that also didn't help. Hopefully someone figures this out. Thanks for all the work.
[G1 Android Development] kkinder:
Yes, actually.
[G1 Android Development] JAguirre1231:
Try pushing it to /system/app
[G1 Android Development] kscasper13:
i know right......i'm guessin its gonna hit like 200 pages before lunch tomorrow, :rolleyes:
[G1 Android Development] yellathcir:
Anyone looking into the contact info not showing on handcent? I have the altered prop files and everything is working great on my phone except there's no contact info on handcent. Any ideas? I tried to reinstall but it was a no go
[G1 Android Development] JAguirre1231:
It's being worked on, as of now the only workaround is not using handcent. That's kind of one of the last things to be fixed though, first is finding what enables navigation and how to stop navigation from disappearing
[G1 Android Development] Abolfazl:
Copy it to the root of your sdcard and run

cp -r /sdcard/Maps.apk /system/app/Maps.apk
[G1 Android Development] btmec:
great work! It works perfectly. Now to test it out once I get off work.
[G1 Android Development] Chahk:
It resolves GV force-closing, but it's still not downloading anything, and isn't showing notifications. Something in .prop files is conflicting with GV 0.2.6. Does anyone have the old 0.2 version of GV? I remember that one didn't have the problem.
[G1 Android Development] JAguirre1231:
I don't but do a search for googlevoice.apk and see what you find on google
[G1 Android Development] yellathcir:
So keeping the new prop files in is pointless, Its still going to diapear?
[G1 Android Development] Raid187:
it installed succesfully, now imma take it for a test drive..
[G1 Android Development] JAguirre1231:
No at first we were telling everyone that pushing the original build,prop's would be fine, 8hrs. later with a few thousand people have done it, the flood is going to come in. We need to find out how to use it with the original build.prop's if you have the droid .prop's you should be fine
[G1 Android Development] soloxp:
I try everthing...I did a full wipe...I wipe my ex4 and linux swap and still no go. Till I saw someone say install google voice from the market. Did that and it work. It is awsome. The voice is loud and clear. Street view kick as s.

Download (SapphireNav) it's the one with .bat Part 1.bat and Part 2.bat.
[G1 Android Development] code72:
Only in USA?

Does this work only in USA?
[G1 Android Development] thisisdumbasdfasdfs479s32:
Yes, sort of.

More specifically, only with directions for the continental United States. You can use this if you're in another country, just the point A and point B directions need to be in the US. :/
[G1 Android Development] JAguirre1231:
Yes Nav is U.S. only
[G1 Android Development] coredalae:
Yep only works in usa, had it working on my g1, but only for USA adresses :p

so couldnt be boethered with keeping it ;)
[G1 Android Development] code72:
ok, thanks
[G1 Android Development] kkinder:
BINGO. Uninstalling Google Voice, then reinstalling it and rebooting made navigation appear.
[G1 Android Development] JAguirre1231:
I'm taking from your emoticon that you're not in the U.S.
[G1 Android Development] andonnguyen:
Doesn't it make sense that since it was dumped off a droid device, that it would only work on the droid since it was pre-installed on it, therefore would require the droid (or our modified to look like a droid) build.prop? Otherwise we would need to baksmali the apk in order to get it to work with our original build.props, without it disappearing again (unless someone figures out another way, then that would be great.) Just my 2 cents.
[G1 Android Development] Paul22000:
Reposing for more visibility:

Complete Idiot's Guide to Getting Nav

(No ADB needed!)

(T-Mobile G1, Cyanogen 4.2.3.1)

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

B) Terminal (on phone):

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
(Must have GPS on and data connection active)
(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

Enjoy!

Note: I had to repeat this process 4 times to get it working for some reason. Not sure why. If it doesn't work for you, try it a few times. If the new version of Maps installs, you know you're doing it right. But I think the Navigate feature is just finnicky to show up, which is why it may take a few tries.

Also, people are reporting that uninstalling and reinstalling Google Voice made the "Navigation" finally show up in the Maps app, so try that as well.
​
[G1 Android Development] sstang2006:
it works for me but it makes PhoneMyPc.apk crash.
[G1 Android Development] Travladin:
Were is the map.apk

Is the map.apk file included in the navigation.zip or do we use the old one
[G1 Android Development] jasonmlit:
Has anyone got this to work on the Blur Rom? I started to try and test it out, but after I removed the maps, and then rebooted, I had no service, and could not even get the phone to search for a mobile network. Weird? Yeah. Anyway, let me know if someone figures that out.
[G1 Android Development] mvv_hyd:
Yup.. failed for the first time and worked for 2nd time.

Also.. anyone noticed some of your apps getting uninstalled? chompsms and couple of others are gone for me and I can't find in the market either. Is the market defaulting to verizon store now???
[G1 Android Development] mihir77:
No device found when running part1.bat

Any ideas why i get no device found when i run part1. bat.

Thanks,

Mihir
[G1 Android Development] thisisdumbasdfasdfs479s32:
It's included in navigation.zip as "Maps.apk", not "map.apk".
[G1 Android Development] mr_notorious:
Is usb debugger enabled on your phone?
[G1 Android Development] Travladin:
thanks i downloaded it and that file was missing ill have to re :)download
[G1 Android Development] jasonmlit:
were you saying "yup" to me? and if so, what method did you use?
[G1 Android Development] jikei:
I don't know if this will help those troubleshooting, but since people are posting how Navigation may somehow conflict with Google Voice, when I got it working last night (and put original prop files back on afterward) and Navigation disappeared a couple hours later, I did *not* have GV installed on my phone. So I don't know if that's helpful or not.
[G1 Android Development] RussianSolja:
That's what i did and it works fine for me i dont understand why all these people are getting these errors and having all these problems. i guess ill have to wait and see if tomorrow the navi button disappear. who knows.
[G1 Android Development] elusivebyte:
I used the batch file from the zip file, and it does not do a backup of the original prop files. Does anyone have the original prop files they could post here? I have a G1 with CM 4.2.3.1.

The Navigation works great, though!
[G1 Android Development] JAguirre1231:
Download the rom again and they are in /system
[G1 Android Development] Telemaniaka:
just wanted to report something: I noticed some issues with my phone, new Facebook app started FC'ing my phone would hang if I receive two calls in one after another, and so on...

So I restored the backup of build.prop and build.trout.prop and everything is working + I still have the Navigate option in maps.

running CM 4.2.3.1
[G1 Android Development] JAguirre1231:
You'll have it for a few hours but for some reason maps does a check every few hours and as soon as it sees that it is not a droid it will remove the navigate option
[G1 Android Development] zendick:
mytouch 3g users need to update the build.sapphire.prop as well and add run this adb push build.sapphire.prop /system

save this into build.sapphire.prop

# begin build properties

# autogenerated by buildinfo.sh

ro.build.id=ESD20

ro.build.display.id=ESD20

ro.build.version.incremental=17572

ro.build.date=Wed Sep 30 12:57:02 PDT 2009

ro.build.date.utc=1254340622

ro.product.model=Droid

ro.product.brand=verizon

ro.product.name=opal

ro.product.device=sholes

ro.product.board=sholes

ro.product.cpu.abi=armeabi

ro.product.manufacturer=Motorola

ro.product.locale.language=en

ro.product.locale.region=US

ro.board.platform=msm7k

# ro.build.product is obsolete; use ro.product.device

ro.build.product=sapphire

# Do not try to parse ro.build.description or .fingerprint

ro.build.description=voles-user 2.0 ESD20 17572 ota-rel-keys,release-keys

ro.build.fingerprint=verizon/voles/sholes/sholes:2.0/esd20/17572:user/ota-rel-keys,release-keys

# end build properties

#

# system.prop for sapphire

#

rild.libpath=/system/lib/libhtc_ril.so

ro.ril.hsxpa=1

ro.ril.gprsclass=10

wifi.interface = tiwlan0

# Time between scans in seconds. Keep it high to minimize battery drain.

# This only affects the case in which there are remembered access points,

# but none are in range.

wifi.supplicant_scan_interval = 45

# density in DPI of the LCD of this board. This is used to scale the UI

# appropriately. If this property is not defined, the default value is 160 dpi.

ro.sf.lcd_density = 160

# Default network type

# # 0 => WCDMA Preferred.

ro.telephony.default_network = 0
[G1 Android Development] tee aiy emm:
I can confirm that the new facebook app fc with the new build.prop
[G1 Android Development] mvv_hyd:
No Sorry.. I was saying "Yup" to @Paul22000 post
[G1 Android Development] tee aiy emm:
For sapphire users, you could just push the the build.trout.prop as the build.shapphire.prop:

adb push desktop/build.trout.prop system/build.sapphire.prop
[G1 Android Development] Takenover83:
I have a small problem, that maybe someone else knows how to get around.

Everything works great. But, when I reboot the old version of Maps is re-installed. What do I do to prevent this?
[G1 Android Development] zendick:
i am using the modified small icons new facebook app and am running the modified trout and sapphire build files and no force closes
[G1 Android Development] JAguirre1231:
What rom are you running
[G1 Android Development] Takenover83:
TMO OTA DRC83 - US

/w expansion.
[G1 Android Development] tee aiy emm:
Mine didn't either last night, but it does now when i push the back button while looking at the news feed.

So I think yours will too eventually.. possibly after a reboot.
[G1 Android Development] JAguirre1231:
Well so far we have it working on CyanogenMod and somebody else on Dwang, I don't know if anybody has it working on that yet without problems
[G1 Android Development] djkdawg:
were did my chompsms go ???? cant find it in the market it, so i said screw it, i downloaded handcent and now it shows the phone numbers where it used to show my friends names, WTH :( i guess back to the default message app for me.
[G1 Android Development] lp894:
IF you do that, you'll have to re-load your original build.prop and build.sapphire.prop files. because using the build.trout.prop as build.sapphire.prop won't allow you to get a wi-fi OR a network connection in the sapphire builds. use the build.prop and build.sapphire.prop files located here:

Build.Prop, Build.Sapphire.Prop, and Maps.apk files

you SHOULDN'T need to re-load your original.
[G1 Android Development] JAguirre1231:
I'm starting to think that since so many people are having problems that maybe they haven't been updated for 2.0 yet
[G1 Android Development] xidominicanoix:
yes this is a known side effect for now

to the OP: can we keep a running list of any and all apps that are being affected by using a modified build.prop ... from what I've read its GV, Handcent, and ChompSMS so far correct?
[G1 Android Development] IronWolve:
Using latest rooted 4.2.3.1

d:\android>adb install -r Maps.apk

pkg: /data/local/tmp/Maps.apk

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

565 KB/s (2624470 bytes in 4.534s)

Now I don't have any maps on my G1.