yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Amdathlonuk:
I can't get this to work on my Hero... :(

I have downloaded the latest SDK tools and got ADB working successfully. however I get the following message:

Failure [INSTALL_FAILED_OLDER_SDK]

Can anyone help?
[G1 Android Development] Brut.all:
Ignore that xargs. Try:

adb shell find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete

I didn't test it, just modified that above, but it should work.
[G1 Android Development] rac2030:
It does just work on 1.6 or above... most hero users have 1.5
[G1 Android Development] Amdathlonuk:
Aha,.......... of course.

Thankyou. I'll wait until I get 2.0 or something.
[G1 Android Development] jezzaaaa:
Yes, that's a much better option than piping to xargs. I wasn't aware that find has a -delete option. Nice.

The quotes around the pipe were to escape it from the Windows CMD shell so that it passed through to the Android shell.

Canadiancow: can you update the solution in the first post?

Why xargs doesn't work? Dunno. Perhaps the busybox version doesn't support it.

a2000rick: Did the "-delete" method work for you? Either way, can you give the output of these commands (from CMD prompt):

adb shell ls -l /system/xbin/bb/find
adb busybox --help
[G1 Android Development] jezzaaaa:
Hmmm. I meant to say "xargs" rather than "find". But I think that because busybox is showing an error, the xargs symlink is correctly pointing to busybox, so never mind about that one.

Ahh, nuts. My mistake. I'm obviously having a bad day today. Try again with:

adb shell busybox --help

What I'm expecting is a list of supported commands, and right near the end of the list will be "xargs". If not, then you can't use the xargs form of the command because your Busybox was not compiled with support for xargs. Either way "-delete" should work for you.

I'm perplexed why xargs wouldn't work though. I'm using CyanogenMod 4.2.5, and I wouldn't expect xargs to get removed from busybox.

The "adb install -r blabla.apk" is just to install whatever Android package (APK) file you have. It can be named anything you like, as long as the install command matches the filename. The install command was just showing a generic filename, and hasn't been adjusted to track changes to the actual filenames being used.

But why not just install Nav Launcher from the market? When you run it, it will automatically install the patched Maps for you.
[G1 Android Development] pierissimo:
google navigator doesn't work anymore....
[G1 Android Development] lostcontrol:
Same here :( They probably switched it off from the server side :mad:
[G1 Android Development] suffeks:
there is some update in market v.3.3.0

ya 3.2.1 isn't working anymore for me either, says navigation to route is not available. i hope this is only temporary!!!

if it is indeed server side checking, well then time to write that proxy you guys were thinking about originally...
[G1 Android Development] smccaldin:
Are you in the UK? Because sometime in the last 2 days the same thing has happened to me!

Was working fine on Saturday (5th Dec), now giving "Nagivation to your destination is un-available"... don't think I done anything that could have effected this?

Just tried un-installing Maps and re-installing both the original file and 3.2.1 file - neither works!
[G1 Android Development] suffeks:
in europe ya, i'm am pretty sure google did something, especially since there is an update to maps available in the market.
[G1 Android Development] christonge:
Same here... it was working fine until today here in Spain :-(
[G1 Android Development] Jonno12345:
Oh no :( It's not working in the UK anymore either :(.
[G1 Android Development] rac2030:
Same for CH... :-/

V/DrivingRequest( 1651): Response status: 7
V/NavigationInternal( 1651): Other routing failure
[G1 Android Development] b!rust:
In Germany it's not working anymore, too! Hope you guys will fix it...
[G1 Android Development] Jonno12345:
Looks like either this proxy idea will need to be put in... Or we're stuck til they expand :(.
[G1 Android Development] Terrandroid:
Yep, same here

I thought at last i got it working butt i get

"No navigation available"
[G1 Android Development] xsp:
Not working in Ireland either, guess no point reporting this, but just in case...
[G1 Android Development] carnegie0107:
Okay, I guess it's time to go back to the drawing board? Obviously Google is checking it server-side. This really makes no sense--it's no harm to them if we navigate instead of follow 2D directions outside the US--it's just a licensing issue for Google. If we're hacking to get it, then they can't be held responsible. I guess they just want to discourage us hacking their proprietary apps (that IS why they C&D'd Cyanogen), so they're doing what they can to take away any good we do by hacking....

...but I digress. Back to the drawing board! What can we do to A)install Maps 3.3.0 on ANY modded ROM, without a signing error, B) enable navigation outside the US on this new version of Maps, and C) keep Google's servers from knowing we're doing it?
[G1 Android Development] shagrath78:
I'm not sure about this... I think Google shouldn't serve UK/Germany/France/etc vectorized mapping datas in the first place, and it seems they made a filter to do so. Anyway, without details of the contract between Google and TeleAtlas, we will never know
[G1 Android Development] Brut.all:
There is a LOT of changes from 3.2.1 - not in code only, but also in resources.
[G1 Android Development] Jonno12345:
How hopeful does it look? :(
[G1 Android Development] TuRDMaN:
I had everything working fine here in Canada, and discovered today that it doesn't work anymore (even trying to navigate between 2 US addresses). Same error: "Navigation to your destination is not available."
[G1 Android Development] Jonno12345:
Is it possible it's only working with 3.3.0 and onwards now? Maybe finding a way to patch that would solve it? Seems unlikely, but... :p
[G1 Android Development] dph1987:
Im in the UK, mine is also not working. I noticed the update and did not download it but it hasn't made a difference, im on cyanogen too.

Hope the same heroes as before can crack this version too!
[G1 Android Development] TuRDMaN:
My diagnosis is that when you launch Navigation, it checks your current location, and if your current location is not in the US, it gives you the error. So hopefully this can be patched (although it may be a server-side issue, in which case, I don't imagine it would be so easy to fix).
[G1 Android Development] Brut.all:
I have managed to patch it analogical to 4.2.1, but it didn't work. So I'm back on my proxy research ;-)

Omnipatcher will have to wait ;-)
[G1 Android Development] dph1987:
There is a beer waiting for you from me if you fix it :)
[G1 Android Development] woSaa:
in Germany same error: "Navigation to your destination is not available." **** :mad:
[G1 Android Development] TuRDMaN:
Glad to see you're working on it! Good luck!
[G1 Android Development] codethief_:
Surprisingly, it's still working for me here in Germany. (G1, stock Android 1.6)
[G1 Android Development] canadiancow:
I can't say this surprised me.

The reason I initially suggested a proxy was that I thought there was no way Google would be stupid enough to do a client-side check, because of how easily they can be bypassed.

I'm sure we'll get something working again, although it might not be nearly as clean or easy as the old method.
[G1 Android Development] Jonno12345:
Really? Have you tried it in the last few hours? You're using the maps version in the first post?
[G1 Android Development] ursimon:
it stopped working

it stopped working for me too...here in cz; it was nice to see it working; google closed it down is my bet
[G1 Android Development] nk02:
there is a new 3.3.0 version in (italian) market..? hacked version?
[G1 Android Development] canadiancow:
You should read the thread before jumping in with comments like that.
[G1 Android Development] sleepymatt:
God dammit! Mine has dropped out today too. Loved this navigation sooooo much!! :(
[G1 Android Development] mikexilva:
Could other Google app cause this?

I didn't notice GPS Sat Nav stopped working :(until now), but just checked and it does say always no route available.

Today I installed the new app from Google called "Goggles" (image based google search) could this somehow interfere (silent patch) with the Google Maps 3.2.1?
[G1 Android Development] MontAlbert:
has stopped working for me and navlauncher now FCs as well. Navstarter works but the maps says not available for you! buggers...
[G1 Android Development] str4vag:
nav dead here as well. since its dead anyway, removing the hacked version and installing the new one now..
[G1 Android Development] fridlack:
Maps stop working :(
[G1 Android Development] rickytenzer:
So if I'm getting the "No route found" error after installing the latest version, it's because Google has blocked it?
[G1 Android Development] cheperdumonde:
Same problem in france

The program don't launch navigation

Please help us Xda developper :)
[G1 Android Development] nicola771:
Same problem in Italy

Help Us!!!! :D
[G1 Android Development] robbiekhan:
Seems so, server side block to non US navigation.
[G1 Android Development] sputnik99:
At first sight, this is a bit confusing. We should say clearly that Maps 3.3.0 is not solved yet ans the 3.2.0 version doesn't work anymore outside the US.
[G1 Android Development] canadiancow:
Any better now, or should I explicitly say "this will not work".
[G1 Android Development] kevo:
It wont let me install the new 3.30 version from the market.

So I'm trying to uninstall the old modified 3.2 but I cant uninstall that either. Anyone have ideas on how to force uninstall the modified 3.2?
[G1 Android Development] ZilverZurfarn:
Well, since my "modified" 3.2 version no longer was giving me Navigation, I decided to update to 3.3. Of course, a straight Market update failed, but by first extracting old original Maps.apk from HTCs 1.6 update, pushing it over to /system/app (with adb) and then rebooting, I was able to update from Market.

/Mats
[G1 Android Development] snellx:
Try the complete uninstall-process, that you find in the first post of this thread. That solved it for me.
[G1 Android Development] cheperdumonde:
are you sure its works for you ?

I complete uninstall and reinstall 3.2.1 hack and doesnt work

Thanks Xda
[G1 Android Development] Silence66:
open the market so that you can see the maps update (because i got the problem, that when i uninstall the 3.2.1 i can't see the 3.3.0 complete install in the market) and DON'T CLOSE IT(!!), then plugin the usb cable and uninstall the 3.2.1 like on page 1 and at the end install the 3.3.0 from the market (you see now "install" instead of "update"). worked for me
[G1 Android Development] snakerl:
What's the sense of installing the hacked version of 3.2.1 again? This hack doesn't work anymore (navigation from outside the usa) and disables the update to the current version of Google Maps.

I did the following:

In Astro Filemanager i uninstalled the hacked version of Google Maps.

Put on the USB-cable -> run adb shell

mount -o remount,rw /system

find /system /data -name \*google\*maps.apk\* -o -name Maps.apk -delete

pm uninstall com.google.android.apps.maps

Last step runs on failure of course, I uninstalled GM a fiew minutes ago, just want to see, what will happen.

After that my device was clear from GM -> opened the market and installed current version of Google Maps.
[G1 Android Development] immyh:
thank you brut.all, TAAP Candiancow for all your help just cuz its not working now doesnt mean anything you guys still rock and it was good while it lasted.

Think Google made a mistake we could off got TomTom to listen and understand google navigation is coming and they cant stop it. With all of us paving the way for when it does eventually arrive, denting TomTom sales in process would of been a great benefit in googles discussions to bring navigation outside of the US.

Bad move again Google, you should know its the power of the developers thats Androids real edge over Iphone.
[G1 Android Development] Brut.all:
Google may not have a choice. I think they will do everything, what they can, to allow use of their navigation worldwide. Legally.
[G1 Android Development] suffeks:
i think navlauncher spoiled it for everyone. it was wayyy too easy for anyone to get this working outside of the US. if we left it at command line patching through adb google would have looked the other way.
[G1 Android Development] Jonno12345:
They wouldn't have, they can't use the maps they don't own, or theyre opening themselves to being sued. it was just amazing they didn't have server side checks initially.
[G1 Android Development] Shailendra Garg:
Map installed like charm

Almost applied all listed solutions but unable to install

then uninstall navlauncher map new version installed like charm from market.
[G1 Android Development] CatalystNZ:
Truely a sad day. Just in time for the holidays when everyone wants to go away... I was looking forward to travelling with the Navigation :(

Good luck to everyone involved in this
[G1 Android Development] sputnik99:
3.3.1

3.3.1 is at the market. Still doesn't work, with or without nav launcher.

Btw, I think we should change the threadtitle from solved to open. Temporarily ;-)
[G1 Android Development] jezzaaaa:
How did you try to uninstall? Did you get a message when you tried?

I went to Marketplace where it showed Google Maps "Update Available" and instead of clicking on "Update" I clicked on "Uninstall". Once that was finished, I instead had an "Install" button to click, which did what you might expect.

BTW, the latest version is 3.3.1.
[G1 Android Development] sprint_ca:
I asked Google and here is the reply

Here is the answer I got from Google forum.
[G1 Android Development] sleepymatt:
Can we not reroute the requests through a proxy? Was that not one of the original ideas? And maybe only make it available to people here on xda through command line - no market apps.
[G1 Android Development] shinobi_uk:
Yeah cuz if we keep it secret, Google will never know!!!! ;) Seriously the market had NOTHING to do with this move from Google, otherwise they'd have simply removed NavLauncher.
[G1 Android Development] Brut.all:
A few geeks from forum or regular people - it isn't the same. For exactly same reason Cyanogen got C&D and other rom devs not - it's a matter of popularity and availability.
[G1 Android Development] canadiancow:
Nothing unexpected there. But I think the real reason has to do with licensing. Their data is fine in Canada, they just don't have the proper license.

I'm not sure I agree, but it doesn't change much. Cyanogen didn't stop releasing ROM's after the C&D, and I'm certainly not going to stop releasing Nav Launcher updates (it's still useful to Americans :P).
[G1 Android Development] Brut.all:
Yes, but Cyanogen doesn't include Google apps now - other devs still do. And Nav Launcher, as far as I know, doesn't contain hacked maps, does it?
[G1 Android Development] canadiancow:
And it never did :p

Regardless, I wish Google would really tell us why they won't make it available.

I'm starting to think they put in such crappy security in the first place because they planned to roll it out to everyone in the "near" future, and didn't want a better security model that would become obsolete in 6 months.
[G1 Android Development] balachmar:
The real reason is very simple. It is license issues.

They use TeleAtlas information for Google Maps in Europe. TeleAtlas is owned by TomTom. In the contract that Google signed to get access to the map information of TeleAtlas they agreed to not use it for Turn By Turn navigation. That is the reason that sentence is in the maps api agreement.

Now for the US, they have generated a new map, that they fully own. (Look at the copyright notice for America and Europe.)

And they can do what they want, with the data they own, right?

So, Google doesn't really care about navigation in EU. But TeleAtlas does. So probably TeleAtlas told Google to do something about it.
[G1 Android Development] canadiancow:
That's all speculation. I've said the same thing many times. But when it comes right down to it, why wouldn't Google just pay Tele Atlas (and the other providers) for the "better" license? I think licensing is a big part of it, but there's more to it than that.
[G1 Android Development] ZilverZurfarn:
No matter how and why, the thing is that Navigation is now not possible, not using NavLauncher, not using hacked Maps.apk, for start and/or end points outside US. It was a few happy days, but as Google didn't allow world wide navigation to begin with, it was only a matter of time before they tightened security up. I'm sure that it's also just a matter of time until Google officially allows navigation to work outside US. In the mean time, someone will surely find a way to circumvent the lock down, and Google will surely plug that hole too.

/Mats
[G1 Android Development] rac2030:
Maybe TomTom want's to sell their devices...
[G1 Android Development] suffeks:
Wasn't the proxy already working before Brut.all found the simple 0-1 flag? So we just gotta write it for android? Anyone know if that proxy posted earlier still works with the newest version of maps?

-bart
[G1 Android Development] Brut.all:
Google maps directions have majority of data needed for navi and it's allowed worldwide. Earlier I've managed to force Navigation to work on directions data with some issues and it should be possible now. This "hole" will be very hard to fix.
[G1 Android Development] Brut.all:
Yes, it was working.

No, it doesn't. In 3.3.0 version Google has drastically changed communications with servers, so I must decode it.
[G1 Android Development] suffeks:
Regular Google Maps data I am sure will stay in its current format for a long time. There are too many apps, APIs, cell phones, etc accessing that data. Changing that will break a lot of things. However maybe its possible Google changed the 3.3.x navigation data format greatly in the app so its hard to go off regular Map data?

I wonder if we will be stuck with 3.2.1+proxy in that case, if that solution still works.

PS: wlasnie niedlugo mam jechac do krakowa i nawigacja by sie przydala ;)
[G1 Android Development] Brut.all:
I don't think so. At first sight there are no new navi features, so data should be similar. There are changes in request/response headers and other data, so navi could use fewer requests than 3.2.x version.

Hah, I didn't come up with it :-) I'll check if it still work, but mainly for curiosity - I really want 3.3.x and no proxy.
[G1 Android Development] xenio2000:
is it possibile that google are checking the coordinates of the route (coordinates that are inside USA for the route), and not the place where the connection request is done?

I mean in this way the proxy is useless anyway.
[G1 Android Development] ZilverZurfarn:
That's what I would have done anyway...

/Mats
[G1 Android Development] Brut.all:
But they don't have data, that client didn't send them. And client is on our side ;-)
[G1 Android Development] jorobochi:
They have the coordinates of your possition. So they didn't give the route :( and navigation is closing.
[G1 Android Development] Brut.all:
Nevermind, I misunderstood you.

It doesn't work that way. Navi app requests data, proxy intercepts that, sends maps directions request to Google (it is allowed worldwide), receives response, modifies it to be compatible with navi data and sends back to navi app. And it was working earlier :-)
[G1 Android Development] ZilverZurfarn:
So directions requests and navigation requests are the same? Then it can't be blocked by start/end points. And I don't think it can be blocked on phone location, as I imagine I could get navigation between Washington and NY even if I'm in Stockholm.

/Mats
[G1 Android Development] Brut.all:
Not the same, but are somewhat similar, both must contain names of streets, distances, times, graphical path, etc., so proxy could convert one to another.

Exactly :-)

That was our (precisly: canadiancow's) first idea, but after that I discovered that forbid_outside_usa flag, so we ignored proxy solution.
[G1 Android Development] Brut.all:
I have just run navigation in Poland :-) For now it is emulator + 3.2.0 + proxy, but it should work on 3.3.1 and I have some idea, how to run it without external proxy.

Of course I have same issues as before:

"Unnamed road" in top bar

no graphical symbols like "turn left arrow" and so on

no alternate routes

But I think that exploiting security holes is a dead end. Our only hope is directions and it doesn't have some of needed data. We could substitute a part of these with something and live with the rest - app is usable anyway.

I need much more time because of that no proxy thing. But we should have navi back, it's just a matter of time :-)
[G1 Android Development] Wysie:
Brut.all: Thanks, good to hear that! :) However, if Google goes by our location to determine if we can navigate, we're basically screwed right? :(
[G1 Android Development] canadiancow:
No. Because we aren't using "Navigation". Open Google Maps, and find directions between two points. That works anywhere, and that's what we're going to do.

However, we want to feed that data back into the Navigation application, so it displays and acts like Navigation, even though it's just normal directions.
[G1 Android Development] Wysie:
canadiancow: I don't get you, sorry. I'm saying that if google uses our location before navigation, then conceptually they can reject/disallow navigation there and then right?

I know what you all are trying to do, using a proxy and all :D. thanks for the hard work!
[G1 Android Development] christonge:
Excellent news! Thanks for your time and effort it's really appreciated :-)
[G1 Android Development] jorobochi:
I have check the NavWidget sourcecode.

On line 153-154 (http://code.google.com/p/andrac/sou...dget/src/ch/racic/android/gnav/NavSearch.java) the URL reqest is

http://maps.google.com/maps?myl=saddr&daddr="
+ address + "&dirflg=d&nav=1

if i change the address with some City like London

http://maps.google.com/maps?myl=saddr&daddr=London&dirflg=d&nav=1

and try over the browser, the point B is missing :( no directions.

But if i try this

http://maps.google.com/maps?saddr=Sofia&daddr=London&dirflg=d&nav=1

setting saddr=.... i have the directions.

The first point A ist not my location, it's some address.

What will be happen, if we try to give points A and B for the reqest.

I hope this can help !
[G1 Android Development] Brut.all:
It works for 3.3.1 too :-)
[G1 Android Development] Jonno12345:
Is it looking promising??? =D =D
[G1 Android Development] sleepymatt:
Awesome! Glad to hear you guys are giving this another shot!
[G1 Android Development] SkinnerY2K:
so is there a solution for the problem then? I;m getting the error saying no route to destination at the mo.

This was working awesome for me before (except the voice)

Cheers Guys
[G1 Android Development] canadiancow:
There is no easy to deploy solution yet. It is being worked on, but it will probably not be as easy to use as the old one, and full Navigation functionality may not be available.
[G1 Android Development] SkinnerY2K:
Ok, so anyone know when google will release this in the UK for free officially? B/C it's surely only round the corner.
[G1 Android Development] jorobochi:
They didnt have the maps or the routes for Europa.

©2009 , Europa Technologies, PPWK, Tele Atlas, Transnavicom

If G... buy it, we will have the navigation.

We can spend some many, if they didn't have :))) hehe
[G1 Android Development] canadiancow:
Exactly. I think Canada is much more likely to be next, because it uses map data from Google and Tele Atlas. I'm not sure how much of the data is from Google, and how much is from Tele Atlas, but none of the UK data is from Google.
[G1 Android Development] mitchman:
I hope you'll fix it. I trust in you.
[G1 Android Development] raversnet:
Awwwwww :p
[G1 Android Development] Brut.all:
Enjoy it:

http://ul.to/9mi9vu/maps3.3.1-by-directions-root.apk

:-)

Wait a sec for no-root version.