yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] fkna99:
It works. maps3.3.1-by-directions-root-2.apk in Japan.:)

thank you brute.all.

great works!!!

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

Phone: Docomo HT-03A (HTC Magic with Google (Sapphire 32B))

Rom: Docomo-official-1.6 *rooted

Recovery:

SPL:

Radio:
[G1 Android Development] brady1_uk:
First Class

Fantastic,

googled "XDA google navigation uk" and within 5 minutes im back up and running (or driving i suppose), working no problems

Brilliant work, you guys at XDA never fail to impress
[G1 Android Development] Rhepius:
Works fine at my no-root G1 with 1.6 here in The Netherlands.

Great work mate!
[G1 Android Development] leinad:
Same for me, with voice coming AFTER the corner ...

I'm living in France, using an HTC Hero with leaked 2.1 ROM from here http://htcpedia.com/forum/showthread.php?t=1448
[G1 Android Development] sagementor:
road tested the root-1 version. it worked in hong kong. no street name on the green bar as expected. the turn-by-turn voice was not responsive. it spoke once only when i stopped before a traffic light...

i hope the root-2 version is better.
[G1 Android Development] sagementor:
any mirror links? the uploaded.to link does not work for me...
[G1 Android Development] hjlow:
both posted at my blog
[G1 Android Development] Brut.all:
It fixes FCs only. If you don't experience them, you don't need root-2 version.
[G1 Android Development] pardus:
mirrors please (or how do you download from uploaded.to)?
[G1 Android Development] Kurius:
root

http://files.legendofbong.co.uk/download.php?file=442864971-maps3.3.1-by-directions-root-2.apk

no-root

http://files.legendofbong.co.uk/download.php?file=609077434-maps3.3.1-by-directions-no-root-2.apk
[G1 Android Development] sagementor:
thank you! i got it.
[G1 Android Development] sagementor:
by the way, the nav launcher cannot download the google maps on my phone...
[G1 Android Development] migalito:
You have to uninstall any version you have of Maps first
[G1 Android Development] thiasB:
Navigation works great! Thanks!

Nav Launcher has problems downloading GMaps, althought previous versions of Maps were removed.
[G1 Android Development] migalito:
Thanks to all who made possible Navigation works outside US.

Brut.all, just made you a donation for your incredible work ;) Cheers from Portugal.
[G1 Android Development] idkidk:
Just installed,

First thanks to Brut.all, incredible work!

Work fine but no voice, (TTS is installed and work) any suggestion?

TIA

Idk
[G1 Android Development] canadiancow:
Can you elaborate on these issues? It worked fine for me.
[G1 Android Development] nalle303:
ForceClose CyanogenMod 4.2.7.1

Hi!

I never got the navigation to work properly.

I am able to search for a destination and it calculates a route. But when the navigation should start it always Force Closes.

Im in Sweden, running Maps 3.3.1 with Nav Launcher on CyanogenMod 4.2.7.1 on my HTC Magic 32a.
[G1 Android Development] sagementor:
After uninstalled the old maps, run Nav Launch, prompt for download Gmaps, hang there...
[G1 Android Development] Brut.all:
Did you install -2 version? Could you attach adb lolcat output?
[G1 Android Development] nalle303:
Yes, the Nav Launcher downloaded the -2 version for me.

I started a navigation now (inside, connected to my computer) and dumped a adb lolcat to a txt file that i attached. I started the logging from start to exit of Nav Launcher.
[G1 Android Development] canadiancow:
If your device is rooted, the first thing the "Install Navigation" button should do is bring up the Superuser app, to clear out any remaining instances of Google Maps.

After that (or if your device is not rooted), it opens the browser to download the modified Maps apk.

Where exactly in this process does it "hang"?
[G1 Android Development] Brut.all:
android.content.res.Resources$NotFoundException: File res/raw/da_act.ogg from drawable resource ID #0x7f060000

Pull maps app from a device:

adb pull /data/app/com.google.android.apps.maps.apk ./

(m4ps for no-root version)

Unpack it and check if you have res/raw/da_act.ogg file inside. I have it in my apk.
[G1 Android Development] WebghostDK:
Same issue here, it starts up and i get force close.

I'm on a 32B with Hero Eclair 2.1
[G1 Android Development] sheridan20es:
Works in Spain. Thanks for navigation again !:)
[G1 Android Development] sagementor:
The SU app did not pop up when i tried last night, but it worked this morning and the new gmaps was downloaded from 130.89.165.156....

Thank you!
[G1 Android Development] Scholesville:
Thanks to all the DEVs for their hardwork. Works perfectly on my rooted G1 here in Singapore.
[G1 Android Development] :
Well done lads. Got it working here in the UK.
[G1 Android Development] Moons7:
What shall i do? I cannot uninstall maps
[G1 Android Development] Brut.all:
adb install -r maps3.3.1-by-directions-root-2.apk

to reinstall it. But what you mean by: "I cannot uninstall maps"? Did you do "adb remount"? If you don't have root permissons, you should use maps3.3.1-by-directions-no-root-2.apk instead.
[G1 Android Development] Moons7:
Thanks for helping me Brut.all, but again, it gives me this:

And yes, i have root access, and i'm using latest CM rom, however, i can install the no-root version, but it is force closing, so it is not usable.

I can't uninstall it because in the android market, i cannot click the Uninstall button, and I cannot do it even from the Settings panel.
[G1 Android Development] scorpioo:
Very good， thx very much!
[G1 Android Development] adacali:
thanks Brut.all ..it works again in Belgium..
[G1 Android Development] march83:
awesome. success on a 32a magic in australia running cyanogen 4.2.7

all i did was remove the old maps via app manager and install the new one via apps manager. i was unable to get it to work via the terminal, though i *may* have done something that helped during my failed attempts...
[G1 Android Development] Sage and Onion:
Perfect

Me too,

All i did was remove the old maps via app manager and install the new one via apps manager.

Works ok.

Cheers all who cracked the googly ban.
[G1 Android Development] robzonpl:
Working fine for me (Poland, rooted 32a). Thanks a lot!
[G1 Android Development] Goonerdude:
Back working in the UK on my Magic :)

A very big thank you to Brut.all & everyone else for there hard work,
[G1 Android Development] OS299:
Thx @Brut.all

But one question ... is it possible for you to fix the problem with "unnamed streets"?

Greetings from south Germany ...
[G1 Android Development] Jubei:
Works in Japan again. Thank you Brut.All

Jubei

ps. of course lots of problems (like announcing turns after you've turned etc) but that's due to the fact that google maps is still in beta I think
[G1 Android Development] canadiancow:
Follow the instructions in the first post to uninstall Maps.

No, it's because of the hack to get it working outside the USA.
[G1 Android Development] brendanmurphy:
It is not working with Android 1.5 on a non-rooted HTC Dream.
[G1 Android Development] Brut.all:
Even original navigation don't work on 1.5 - it requires 1.6.
[G1 Android Development] BritSwedeGuy:
No APK?

Nav Launcher just hangs once I click install (I have root), if I try to manually install then the downloaded file is only 12.95K.
[G1 Android Development] canadiancow:
Do you have the Superuser application installed?
[G1 Android Development] chicofiebru:
Works fine

But no name on road in the Nav area...in the Rout Info displays correctly....is this normal due to the hack?
[G1 Android Development] JAguirre1231:
Yes it is, it will say unnamed road but it will show it in other places. Including when speaking the directions
[G1 Android Development] sim64one:
my feedback

simone@sim-desk:~$ adb devices
List of devices attached
HT935NG05828 device

simone@sim-desk:~$ adb remount
remount succeeded
simone@sim-desk:~$ adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete
simone@sim-desk:~$ adb uninstall com.google.android.apps.maps
Success
simone@sim-desk:~$ cd Dream
simone@sim-desk:~/Dream$ ls
android-sdk-linux cm4271_00.png hd-sd hd-sdcard maps3.3.1-by-directions-root-2.apk Roms Sterlock-4.2.3-sign.zip userinit.sh
simone@sim-desk:~/Dream$ adb install -r maps3.3.1-by-directions-root-2.apk
1233 KB/s (2384072 bytes in 1.886s)
pkg: /data/local/tmp/maps3.3.1-by-directions-root-2.apk
Success
simone@sim-desk:~/Dream$

then install nav launcher from market and all was OK!

many thanks to you dev-man
[G1 Android Development] chicofiebru:
Thanxs a lot...so maby later with another hack it can display the road names like the previous hack?, sorry 4 my english:)
[G1 Android Development] woSaa:
works perfect in Germany thanks to Brut.all
[G1 Android Development] canadiancow:
Maybe...

I know Brut.all is probably looking at it, and I spent a few minutes earlier looking through the many class files in Google Maps.
[G1 Android Development] the.nebular:
Brut.all did say that he was looking to make a much classier hack then this quick and dirty one. This one is just so we can get our navigate back.

I'm sure he's going to try and get all the functionality back he can.
[G1 Android Development] canadiancow:
Well from what I see, the "directions" data contains almost everything needed for "navigation". A proper proxy should be able to modify the response bodies to contain the necessary data for things like the street names, and maybe the turn arrows.

I'm not sure exactly what else could easily be done, but those two things would be a great start.
[G1 Android Development] Brut.all:
As far as I remember, navi gets directions in tidy form, e.g.:

where to turn

streetname

toward what

But directions gets only description: "Turn left at Some Road toward Other Road"

It should be parsable, but there are many "continue onto", "Make a U-turn", "take the ramp onto", etc. things, so it will be boring to implement and unreliable.

I don't know, why there are some voice synchronization issues. It doesn't make sense to me. I will try to debug it, but this is the last on my todo list.
[G1 Android Development] BritSwedeGuy:
Yep, I give it permission and then it appears to hang.

I went through the uninstall/install procedure a couple of times with the same result.

Sounds like I'm the exception here so it's probably best to leave it and I'll try again with a later release.
[G1 Android Development] zoltanjr:
I get a bit of an odd goings on with mine in australia with optus on a HTC magic running amon ra rom.

Seems to work fine when i stand out on my balcony and using my wifi for the net but then when i change it over to the gprs it does the same deal searching for location etc but wont find anything and the voice pops up saying data connection lost, but the connection definitely isn't lost because its still transfering stuff and will keep doing downloads and stuff if i try. Wouldn't be a problem if i could just download all my maps to sd card, damn you google always wanting net on.

Anybody got any tips to get this going? Im holding off on buying a GPS hoping this will do what i need.

cheers
[G1 Android Development] snadge:
I also have the same problem on Optus. I get an "error no data connection" message, when there clearly is a data connection. I tried my brother's sim card which is on the Three network, and this seems to work fine.

*EDIT* I just remembered that Optus uses a transparent www proxy, that re compresses jpg images and is designed to "speed up web browsing performance". Perhaps the way the maps app is accessing via a local proxy could be causing the problem.

Is the "unnamed" road and the missing turning directions problem going to be difficult to fix?
[G1 Android Development] :
Hi guys,

great work so far. Only it is not working for me as it should work. It works when i use wifi and it doesn't work over my gprs connection. it gives me an error when i push navigation: " proces.com.google.android.apps.maps stops unexpectaly! Try again"

im working on a 2.01rom on a hero. Hope someone can give me a solution.

Thnx in advance.

Greetz
[G1 Android Development] Brut.all:
adb logcat
[G1 Android Development] :
When i do that it gives a lot of info. Do you need all that info. It's repeating after count 10

greetz
[G1 Android Development] udayrulz:
Hi guys , I have never used a G1 / Android based phone .. got a mate's phone here who is leaving on a tour to Singapore / Malaysia .. he need's some kind of navigation on the phone ..

The phone has Recovery Image 1.6 installed on it along with the latest Cybogen ROM .. can any one brief my what all I need to do to get maps working ..

Note - Other than the stock apps in Cybogen ROM no other apps have been installed ..

PS - I am a Win Mobile guy ..

Any help would be appreciated .
[G1 Android Development] hjlow:
All info you need are in the first post?
[G1 Android Development] udayrulz:
Yikes ! .. let me check ..

Ok , just checked the first post .. seems simple enough ..

Cheers mate .
[G1 Android Development] Brut.all:
There should be some exception log somewhere in last ~50 lines. But if you're not familiar with adb logcat output, you may write entire log to file and attach it to your post :-)
[G1 Android Development] Brut.all:
Ok, you aren't first person with this problem.
[G1 Android Development] :
adb pull /data/app/com.google.android.apps.maps.apk ./

gives an error: cannot create '.\' : no such file or directory

help :)

greetz

btw thnx for the quick response :)
[G1 Android Development] Brut.all:
Sorry, I didn't ever use adb on Windows platform, so I don't know, how to do it properly ;-) Try:

adb pull /data/app/com.google.android.apps.maps.apk com.google.android.apps.maps.apk
[G1 Android Development] :
The ogg file is in the package. Now what??

greetz
[G1 Android Development] Brut.all:
Ok, I got it. Wait a sec for version 3 :-)
[G1 Android Development] :
you're the best :)
[G1 Android Development] Brut.all:
http://ul.to/dh1cbe/maps3.3.1-brut-root-3.apk

http://ul.to/1bsozb/maps3.3.1-brut-no-root-3.apk

@jckdnls

Please report whether it fixed your problems :-)
[G1 Android Development] 5m00v3r:
for me it works perfect as it did before :-) but i havent got the problems ^^

any improvements or just a bug fix?

btw great job again!!
[G1 Android Development] Brut.all:
It is just "res/raw/da_act.ogg not found" fix.

BTW for all who are repackaging apks: don't use zip or jar commands for app packaging. Android is compatible with them only on a first sight, but in some cases, as above, it isn't. Use aapt instead.

And I haven't see such warning in Android docs :-/
[G1 Android Development] :
thnx, gonna try now....

let you know if it works
[G1 Android Development] :
Yes!! it works. Thank you very much for making this work for me :) had some visitors, kicked them out!! so i could try this :)....

greetz.
[G1 Android Development] canadiancow:
You can always uninstall/install Maps manually if Nav Launcher isn't working. I'm not really sure what would hang though. After you click "allow" in Superuser, it should only take a few seconds, then launch the browser.
[G1 Android Development] dph1987:
V.3 seems quicker to me but still no arrows/road names.

Test drove today though and works very well :)
[G1 Android Development] Brut.all:
Don't be crazy about it. I write changes/fixes for every release. And if I wrote that v3 fixes ogg file issue, then it probably doesn't do anything else and you don't need it if you don't experience this problem :-)

And in truth v3 may be a slightly slower and more memory consuming, cause I forgot to zipalign it ;-)
[G1 Android Development] bjtheone:
Well I found v2 way faster and it even makes jullien fries...

just kidding.

Thanks again for all your work!
[G1 Android Development] canadiancow:
Brut.all, is there anything you could use some help on? I was looking through the baksmali'd class files, but I'm having a hard time figuring out what's what, and the last thing I want to do is start working on something that you're almost done :p
[G1 Android Development] sleepymatt:
Thanks Brut.all! You totally rock. Sent $5 your way :)
[G1 Android Development] Brut.all:
In truth, I didn't even start working on it. I'm working on a tool, which will greatly enhance smali code editing and debugging.

Thanks! :-)
[G1 Android Development] elvisdai:
Navigation's back!! It works flawlessly on my Tattoo!

Thanks!!
[G1 Android Development] canadiancow:
Sounds useful. Let me know if you need anything.
[G1 Android Development] kittcoldfire:
I don't know if any of you have had this problem before... I just loaded on one of the new 2.0.1 builds last night and put on the canadiancow's navigation app (so i can use it in canada) and when i tried to use it it kicked me off the Rogers network and said my SIM (rogers obviously) would not register on the Rogers network, I restarted and it still wouldn't boot, turned off the radio and turned it back on and now I'm back on Rogers but i lost my apn settings and stuff.... Any ideas?

(Using a Black Rogers Dream, got danger SPL, Android 2.0.1 etc...)
[G1 Android Development] kittcoldfire:
now I'm trying it again to see if it'll happen again but when i try and use it to navigate to something, it just goes to the Google Navigate Screen, and then goes back to the app, doesn't go to the map (same thing if i make a shortcut and try going, shows the google navigation part then goes back to the home screen)
[G1 Android Development] maglovato:
Got a force close...

Hi all,

I have a HTC Magic 32A Cyanogen 4.2.7.1.

I tryed first the non-root option, but in both cases (cell & SDK) it forces close right after opening.

The older file (Maps-no-root-aligned.apk) did open, but Navi got "no route". This one, on SDK, got force close when trying to search some address. On phone worked.

I am from Brazil, and using MarketEnabler. Dont know if this can affect something.

Any ideas? I am afraid of using the root version, and loose my GMaps app.

MAL
[G1 Android Development] canadiancow:
None of what you described sounds like it's related to the modified Maps app or my Nav Launcher app. It's more likely because you're using some 2.0.1 ROM that probably has a few issues.
[G1 Android Development] canadiancow:
If you're in Brazil, there's no point in keeping the old app. If something really screws up, you can always uninstall the modified app, and download the official app from the Market. If your phone is rooted, you're probably better off using the rooted version.
[G1 Android Development] urb7:
Just done it on my non-root G1, works in Malaysia.

Would need to uninstall Maps first (otherwise you'll get a Force Close) and then ADB-ed it. Suddenly my 3G doesn't seem to work, but a restart of the device fixed it. Works flawlessly. Thanks a lot for the great work!

And Google, please don't cut us off! :D:D:D
[G1 Android Development] maglovato:
Humm. I removed the MAPS-nonroot, and tryed to install the root one. Got "maps could not be installed on this phone".

When I did MarketEnabled, it asked me explicity for root access. Do I need to do something to install this, like a "su" ? I just tryed to install it over the original installed one.

I heard people saying to uninstall maps (with some adb commands, becaused of the signed problem with I actually face too) and then successfuly install the one from Market. But guess this pointless, because will not be able to Navigate anyway (non USA country). Or maybe after completely wipeing GMaps, this root version happens to work...

Marco
[G1 Android Development] canadiancow:
You can use Navigation outside the USA...that's what this whole thread's about...

Follow the instructions at the very top of the first post, and it will work.
[G1 Android Development] maglovato:
And... YES. It did work. Thanks a lot for your patience and attention.
[G1 Android Development] kittcoldfire:
So I fooled around with it a bunch and found out somehow it wasn't installing the new maps apk it was using googles original maps, so I got it all fixed and working!! So thanks its awesome!! The only 2 things I'm wondering now...

1) Does anyone else find the voice really quiet for the directions?

2) For most of the streets as I'm approaching them (and it has at the top the street to turn on) it usually just says "Unamed Road" or "Unkown Street", I can still click and get the street view, but it doesn't show the name... anyone know why this is?

Thanks again for the great work guys, its so awesome!! Now wether to use my phone's GPS... or my Celica's 7inch touch screen one? haha decisions decisions!
[G1 Android Development] canadiancow:
1) No, but I route it through my car stereo over A2DP, so it silences my music and blasts it out.

2) Because this is a dirty (but amazing) hack to get it working outside the USA.
[G1 Android Development] kittcoldfire:
sorry if this is a newb question but what's A2DP? If i sync mine up with bluetooth will it do the same thing?
[G1 Android Development] canadiancow:
A2DP is Advanced Audio Distribution Profile. It's the Bluetooth profile that lets you stream high quality stereo audio. This is not the same as HSP/HFP (Headset Profile/Handsfree Profile), which stream bidirectional mono audio for phone calls.

If your car stereo supports Bluetooth, try it and see. If high quality music comes out over your car speakers, then it supports A2DP, and it will behave as I described. If it only supports HSP/HFP, then I'm not sure what the behaviour will be.
[G1 Android Development] kittcoldfire:
alright cool thanks, ill try it when i leave work (in like 5 minutes) its a pioneer 7inch touchscreen 6DVD player combo (with vehicle dynamics processing) and everything so I'm hoping it can do that too :) I'll let you know
[G1 Android Development] djduong:
thanks again brut.all

Thanks again for the clever hack. Got it working on the milestone in Canada again. I should be getting a new milestone with 3G radio (i've been on edge this whole time ;)) and should also be getting the 2.0.1 version of android, so i'll be able to test on that too.
[G1 Android Development] maglovato:
Couple of questios...

I understand very clearly that there is a "fix" (a dirty and amazing one) to make it work outside USA, and so some limitations take place.

So, just checking:

- Unnamed Street: Ok. Expected outside USA.

- Lower Volume: Using Magics speaker, sounds really nice. Not a prob to me.

- Voice Direction: Here I noticed that the voice directions are not played all the time. Some turns ok, some only silence. Is it expected?

- Voice Direction before event: I noticed also that some audios are played when I am actually already turning. Is this expected? Maybe a problem with brazilian maps? The real GMNav works this way in USA?

And a few questions related to maps/nav (that perhaps someone here knows the answer) for non-USA users (where 3G too expensive...):

- Can I cache a large amount of map data (not for Navigation...)

- Can I set to Nav use something like TTS Service Extented, like HandcentSMS does? There I have at least Portuguese-PT (not BR) which makes much more easy to understand the TTS (in english) speaking portuguese street names.

Thanks a lot for this AMAZING "fix".

Marco
[G1 Android Development] kittcoldfire:
So I tried it yesterday, and just wondering a couple things...

1) I understand the unamed street thing will come up sometimes... but on my maps it doesn't show ANY upcoming street names? Is everyone getting this?

2) As well it doesn't show the direction arrow of which way you're supposed to turn (which should be beside the upcoming street name right?)

3) it'll say the first direction when the map first loads and then I don't get any voice direction at all, anyone know why?

Thanks again guys! It's a lot of fun to play with the streetview (I saw my house haha)
[G1 Android Development] bjtheone:
It does do some caching by default. I have not played with it enough to figure out what the size limitations are of the cache. Plus it might be possible to tweak the software to cache a longer route. With that in place you could pre-route while connected with wifi and then be good to go, as long as you don't get far off route.

No idea about the language issue... sorry, I am barely uni-lingual in English... :-)