yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] korrosiv:
The route for tiles in the sdcard is now correct, and the voice recognition works flawessly.

Thanks for your help/time :)
[G1 Android Development] Brut.all:
Seems there wasn't any issue neither in original nor modded GM? :-) Files are always saved to map-<system_locale> dir - there isn't any magic.

More Locale 2 is a good app for changing your system locale.
[G1 Android Development] korrosiv:
Sure there wasn't :). It's surprising how litlle problems often cause such headaches...

Will try this out, thanks. To be honest I just picked the first application I found :)

Great work, thanks Brut.all
[G1 Android Development] canadiancow:
Then why did they suspend Nav Launcher from the Market?
[G1 Android Development] Brut.all:
Good point.

But Nav Launcher was in system, for which they are somehow responsible. This mod is just "somewhere in the internet".
[G1 Android Development] Zimeon:
I beleive that it has something to do with stupid people who try to sue companies in the US to gain money by trusting the navigation software blindly. Like that one woman who ended up walking next to a highway as she followed google maps navigation. Some people just don't have any kind of self preservation :D
[G1 Android Development] canadiancow:
She wasn't using Navigation. She was using walking directions from Google Maps.
[G1 Android Development] notpj:
does this work offline?

does it save maps to SD card (including navigation information)?

or does it need constant internet connection to work the turn by turn feature?
[G1 Android Development] BryanChung:
I'm new here and came across this. Tested and working on Milestone and glad because Google did not make my country (Singapore) Navigation to work. :P So this helps! Not yet tested it on the road though. :P
[G1 Android Development] canadiancow:
The current caching feature does nothing for Navigation.

That being said, you only need an internet connection at the beginning of your trip to use Navigation. If you lose it part way through, everything will work except the map display. You'll just see a blue line on a grey background.
[G1 Android Development] jacobitofrito:
gmapmaker with maps brut?

Hi,

I downloaded a whole set of tiles (google maps cache) for my country (Spain) using gMapMaker, just as the FAQ suggests and copied them into sdcard/brut.googlemaps/tiles/map-es_ES.

But maps [brut] is not getting those tiles from the sdcard. I checked by disabling APN and WiFi.

Yes, the "Read map from cache" option is enabled" (and the "save map to cache" is enabled too).

What is it that i'm doing wrong?
[G1 Android Development] jacobitofrito:
By the way, i removed the extension of all the files (using a barch rename program) before copying the directory structure into the sdcard.
[G1 Android Development] korrosiv:
Hi,

I had a little problem with the tiles cache when I had to change the locale settings. The program cached some tiles in es_GB folder and now (after locale settings change) it had to cache tiles in es_ES folder, but it didn't work properly. In my case this steps (simple but not obvious) solved the problem:

1-Open Maps brut version

2-Menu>More>Brut Mod> and disable both read from cache and save to cache

3-Press back (the key with the arrow)

4-You should see maps again

5-Menu>More>Brut Mod> and enable both read from cache and save to cache

6-Press back (the key with the arrow)

7-You should see maps again

8-Exit all apps (and if you want to reboot do it too)

9-See if it's working now

Hope this helps
[G1 Android Development] korrosiv:
Why removing the extension? Just asking
[G1 Android Development] suffeks:
anyone interested in generating a tile cache pack say for all of europe, post the zip somewhere with info on how to use it. so then we can all avoid roaming charges when driving across europe, or even local data if it's expensive in your country ;)
[G1 Android Development] Brut.all:
Because current implementation don't look for e.g. z/y/x.png files - they must be exactly z/y/x .

Don't waste your time. brut14 will be mostly about offline maps and it will change cache format. But then you will be able to download your maps very easily :-)
[G1 Android Development] vincom2:
I've noticed something. If I give brut navigation an unambiguous destination, nav will work, but if I give a name that's ambiguous (i.e. when I type the same name in maps it'll pop up the "did you mean" dialog), it'll just stay on "getting directions" forever.
[G1 Android Development] Brut.all:
Could you look into logcat? There is probably some exception thrown over and over again.
[G1 Android Development] jacobitofrito:
Nope, this didn't help :-( The tiles cached by brut are being grabbed from cache, but the rest of the tiles are being redownloaded. Any other clues?
[G1 Android Development] jacobitofrito:
I just discovered what the problem is with gmapmaker. It is downloading the tiles as JPG files instead of downloading them as PNG images :-S So how on earth can I fix this?!
[G1 Android Development] korrosiv:
Well, you used a batch file renamer, why not a batch image converter? I'm sure there's free software to do this. Of course it can work just if the tiles are compatible in other terms...
[G1 Android Development] jacobitofrito:
Me again.

Well, no. I just noticed map tiles are donwloaded as PNGs while Hybrid, Satellite and Terrain are JPGs. Anyway, neither PNGs nor JPGs are being used by Maps [brut] when copied to the SD card after downloading them with gmapmaker.
[G1 Android Development] korrosiv:
According to gmapmaker, project is stopped, redirecting you to:

http://www.mgmaps.com/cache/

where you can find this online tool:

http://www.mapcacher.com/

Have you tried that way?
[G1 Android Development] jacobitofrito:
yes, that's where i got gmapmaker from precisely :-) the online tool generates a file which you pass to gmapmaker to download the tiles. not working with Maps [brut].

I suspect maybe Maps [brut] has an index file which lists the tiles which have been cached. Since the tiles downloaded with gmapmaker aren't in that index it will redownload them. Could this be it? Hope Brut.all will tell.
[G1 Android Development] Brut.all:
No, this algorithm is really simple, I don't use any index.

If you enable debug mode in the menu, you will be able to see in the logcat, where GM searches for tile files.
[G1 Android Development] BryanChung:
For the first time I tried Brut Map and Navigation while heading to church and it took the route I always travel! Thanks Brut for this! SINGAPORE! :D
[G1 Android Development] vincom2:
Yup, that's what it looks like.

http://pastebin.com/UQYDSuVd

Thanks for your hard work! :)
[G1 Android Development] Brut.all:
Thanks for logcat, I see errors :-)
[G1 Android Development] Genkoz:
Does this mod work for other devices too? (Samsung Galaxy Spica?)

Thank you.
[G1 Android Development] rac2030:
Maybe you just try it ;-)
[G1 Android Development] [deXter]:
Just tried this app and it works great on an HTC Desire @ Auckland, New Zealand!

I'd like to report a small bug though: Navigation is unable to route from a source other than the current location. For eg, say I enter some random address as the starting point and then some other address as the destination, the Navigation system always uses my current location instead of the specified starting point -

This bug only seems to affect the Navigation app - Google Maps itself is able to route it properly.

Would appreciate it if you could fix this minor annoyance. Thanks again!
[G1 Android Development] Brut.all:
It should work for any device on which original GM works.

This is a "bug" of original GM.
[G1 Android Development] t.Lancer:
hi there,

I have a question. As navigation is now officially available in Germany and other European countries, with native spoken language for the navigation routes, do you think that you might make the native languages available in your version? It’s rather annoying to hear the English voice try and pronounce German street names. And I'd rather use Brut mod as it has caching support and I don't have an full unlimited data plan (only a limited one).

and one more question: I read one can use downloaded map tiles, but I haven't figured out how to exactly import them to Brut using the right file names and folder structure. Has anyone done it yet, and if so, how?

many thanks!
[G1 Android Development] Genkoz:
It works on Spica! :D

This made my day!

Thank you.
[G1 Android Development] Brut.all:
Just disable int navi in the menu.

http://xdaforums.com/showthread.php?p=6788096#post6788096
[G1 Android Development] t.Lancer:
hey thanks for the quick reply ;)

then I guess I'll wait for the moment, thanks again ;)
[G1 Android Development] ourfear:
nice, when you release brut14? i really can't waiting...

with brut13, i use level 19 offline map... only 30MB size, but it used almost 300MB sd card storage.. fat32 sux..
[G1 Android Development] canadiancow:
I wouldn't even call it a bug, with quotation marks.

Google Maps Navigation's sole purpose is to get you from your current location to your destination. It doesn't make sense to make it work any other way.
[G1 Android Development] soplicy:
samsung i5700 spica | problem or not

Hi,

I tried to use this mod on Samsung Spica. Most things works fine. But I have a few questions, because I don't know if this is bug on spica only.

- always there is text "searching GPS signal"

- I have always 2D VIEW

- if I will exit planned route, this mode doesn't search alternative route automatically.

- I have always north on the top (it's OK when I'm driving to the north, but when I drive to the south it is a problem).

Best regards from Poland, Rafal
[G1 Android Development] Karolis:
I'm still getting Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] when trying to install My Tracks.

I'm using latest CM that I have re-flashed just in case.

Any ideas on how to fix it?
[G1 Android Development] neok44:
well first off, i'm a graphic artist, i know nothing about how to fix software, and even less about fixing android. And thats kinda just an ass reply too.

I would assume that the person who made the modified maps would be interested in fixing bugs.

I'd love to have multitouch 4.0 but apparently this is the only one, and with non-working navigation it makes it a bit useless.
[G1 Android Development] canadiancow:
Navigation works, but the limitations outside the USA make it a lot more difficult to use.

I don't know how much Brut.all has looked at issues like the voice prompts and the street names, but it's a lot of work. I mentioned this in another thread, but fixing these bugs is like editing an essay where every noun has been replaced with "*****". Google clearly doesn't want GMM for Android to be reverse engineered, and they've taken steps to prevent it.

Brut.all has done a great job with this so far. I looked into trying to fix some of the other bugs, but after a couple hours of trying to decipher the obfuscated bytecode, I decided I wasn't willing to put in the time. I don't know if Brut.all is going to attempt to fix any of the issues, but there are probably hundreds of people on this board who are qualified.

Brut.all has done almost all the work so far, aside from when TAPP stepped in initially, but I believe all the patches are available (or at the very least, can be obtained from a diff). Anyone can try to improve them, to add arrows, street names, or properly timed voice prompts. We just need someone (or a few people) with the skill, time, and motivation.
[G1 Android Development] Brut.all:
I wanna change my approach slightly. There may be more modifications in the future and I don't want to release x versions with different combinations of features, so I'm going to add enable/disable switches to every mod. I think it should be doable, so maybe in a week or two you will have GM with MT, but without navigations issues :-)

About fixing navi bugs.... maybe in some future, maybe not.
[G1 Android Development] Herossie:
Maps and Layar

On my Nexus with the installation of maps 4.0 (both alt and non-alt) resulted in missing 'a shared library' while installing Layar 3.0.

Logcat shows this error:

E/PackageManager( 111): Package com.layar requires unavailable shared library com.google.android.maps; failing!

Any thoughts on getting the appropriate lib (which actually is Google maps?)
[G1 Android Development] Herossie:
Maybe you could look for the exact library using adb logcat, install the app again and in the logfile you will see exacty what happens. Installing Layar gives the same error with me, I think some path will be mixed up or so...
[G1 Android Development] Brut.all:
As mentioned above, update does not change too much for maps user, but now I am able to modify app resources: texts, menus, etc. :-) All xml's and whole resources.arsc were rebuilt from scratch, so potentially there may be bugs everywhere - please report them to me.

As you can see, first post has changed quite a lot: "alt" version is default and only one now, uninstallation of original maps is an optional step for rooters/hackers. I have changed my approach because "alt" doesn't have any cons at all, so what's the point of complicating and releasing two versions?

I wondered about good choice of package name: something like com.google.apps.maps.brut looks like I'm from Google, but something starting with "brut" is like stealing their credits ;-) I've chosen "brut.googlemaps" to make it clear, that I'm responsible for this version, but it is 3rd party software.
[G1 Android Development] rac2030:
@brut.all

At the moment I don't have time to look for myself but I noticed that the correct road information and next turns are displayed in the notification bar (with proper timing) as ongoing activity while navigating.

Isn't it possible to fetch that information there into the "Unnamed road" string?

If I get some spare time I try to investigate into it and maybe a ticker (scrolling text) at the top of the application could be integrated to show the same information that is displayed in the notification bar if the text label where the "unnamed road" stuff is displayed can't handle long text...
[G1 Android Development] canadiancow:
This will simplify Nav Launcher a bit :)

Another useful feature might be including some easy way of detecting the version of your mod, so I can get Nav Launcher to update it when necessary.

I also like the idea of detecting when the mod isn't necessary, and reverting to the normal method of retrieving Navigation information.

That would be great. There are really only three bugs (four if you split the voice issues into "late" and "missing"), so fixing one would be a huge step in the right direction.
[G1 Android Development] 5m00v3r:
hi from germany

rev5 is really buggy navigation via Nav Launcher doesn´t work atm because of the change in the paket name i think

navigation via launcher link doesn´t work also i think it´s the same problem

navigation sometimes works by opening the programs and click on route ... Most times the program crashes just after you have selected the contact

thats it for the moment if i have more i will tell again

and if some of you don´t have this problems please help me to find out whats wrong on my phone :-)

btw rev4 and the ones before worked really nice
[G1 Android Development] Brut.all:
versionName :-) Currently it is "4.0.0-brut", I will add rev numer, so next version will be "4.0.0-brut6" :-)

EDIT:

@5m00v3r

Could you confirm, that rev4 works for you right now? I want to be sure, that your problems are connected with rev5 - it works as usual for me.
[G1 Android Development] 5m00v3r:
@brut i can confirm that rev4 worked 4hours before my post perfektly and the only thing i changed was going from 4 to 5 via uninstall over astro and than installing rev5

i'm sorry i can't test if 4 works right now cause i'm not home and i haven't got the rev4 file on my phone

I hope my explanation helps you if you need more please ask i will look up this thread every few minutes
[G1 Android Development] robbiekhan:
v5 works here on my 32B, Voice guidance works too and speaks road names etc just at the top road names are not displayed.
[G1 Android Development] Wysie:
Thanks for rev5 ;)! The different icon sure helps!
[G1 Android Development] canadiancow:
Hmm...so every release from you will increment the number at the end of the versionName? That sounds good.

I'm concerned about 5m00v3r's comments about the quality though. I don't want to include the updated version in Nav Launcher until I get some confirmation on whether the bugs exist.
[G1 Android Development] 5m00v3r:
Back Home :-)

now i tested maps4.0.0-brut4.apk by uninstalling maps4.0.0-brut5.apk over Astro and installing maps4.0.0-brut4.apk and all works!

so the issue should be in the release5

to be sure i tested all a few times

rev4

navigation via Nav Launcher - WORKS

navigation via launcher link - WORKS

navigation via maps intern search by route and kontakt - WORKS

rev5

navigation via Nav Launcher - doesn´t WORK (application not found)

i think its because of your change "changed package name to brut.googlemaps"

navigation via launcher link - doesn´t WORK (application not found)

i think its because of your change "changed package name to brut.googlemaps"

navigation via maps intern search by route and kontakt - does work SOMETIMES (I think after everey reboot for one time)

now i´ve got to sleep and wake up in about 6 hours

EDIT: i just mirrored rev4 on Rapidshare you can find it in my signature :-)
[G1 Android Development] sagementor:
Brut,

Can you provide alternative download links? upload.to does not work in my country. it requires a paid account to download.

Thank you!
[G1 Android Development] Brut.all:
It's canadiancow's job, I think.

Ok, it doesn't work for me either. Thanks for reporting it!

Search works for me just fine, but contact crashes every time. I will look into it, thx.

I mentioned that it may be buggish. Whenever someone tells me, that new version has some bugs and I know I changed only a few lines of smali code, I start to laugh. But after rebuilding resources, I expected the worst ;-) Actually... it is much better than it could be :-)

Just wait for rev6 :-)

Anyone knows any *good* files sharing site? Rapidshare sucks, I tried Mediafire and upload.to, but there were always some users, who couldn't download files.
[G1 Android Development] 1r2R1:
google doc ?
[G1 Android Development] Brut.all:
About shortcut links: they are targeted precisely at com.google.android.apps.maps, so it seems they couldn't work for earlier alt/nonroot versions as well. Did they?

I've managed to target them at brut.googlemaps and it fixed shortcuts problems.
[G1 Android Development] Brut.all:
All these issues are caused by GPS problems. For some reason GM doesn't work well on Samsung and Motorola devices. Maybe Google will fix this now, when they released navigation to new countries.
[G1 Android Development] mbiza:
Anybody have tried this for download maps?

http://damiendebin.net/archives/gMapMaker/

sorry but I haven't a pc with windows...
[G1 Android Development] jacobitofrito:
I have. Doesn't work. The reason is that the numbering gMapMaker uses to save the cached tiles doens't correspond to those used by Maps [brut], so Maps [brut] will not find them anyway when it goes to see if the tiles are cached.

Hope brut14 does something about this, since Brut.all just said brut14 will all be about cached tiles.
[G1 Android Development] Brut.all:
Hmm... numbers in your files were in different order, e.g. Z/X/Y or they were totally different?

I think these tile packs should work after removing file extensions (but didn't test this):

http://wiki.andnav.org/index.php/List_Of_MapTilePacks
[G1 Android Development] jacobitofrito:
Brut.all,

gMapMaker numbers had the following format: X/Y/Z1_Z2

Anyway, I tried the TilePacks you just mentioned and couldn't make them work either. I'll try again in a moment with debugcat and see if I find any useful info there. I'm testing with the Spain region (zoom up to 12). I'll re-download the tilepack and remove the extension to make sure everyhing is ok.

I'm writting back in 10 minutes.
[G1 Android Development] soplicy:
Thanks,

After I this post I've found this thread:

google.com/support/forum/p/Google+Mobile/thread?tid=2b9d8886075f7a08&hl=en

You're right - google knows the problem, and I hope they fix it ASAP.

best regards, Rafal
[G1 Android Development] jacobitofrito:
Nope, the spanish tilepack doesn't work. For example, in zoom 12 it has directories from 1941 to 2097 but Maps [brut] will search for example for the tile 12/763/1028. In another example, for zoom 9 the TilesPack has folders from 242 to 262m but Maps [brut] will search for example for 9/93/129.
[G1 Android Development] aronsky:
Tile Packs

First of all, I'd like to thank Brut for the great mod.

I haven't read all the 99 pages of discussions, just the first post and this last page (so hopefully I won't repeat stuff that was said before), and here are my two cents.

1. During navigation, the following happens quite a lot: the voice tells me "Continue on [some street]", and a few moments later - "Continue on continue on [some street]". I suppose it has something to do with the way that Google navigation directions are processed - please take a look whether something can be done about it. I'm from Israel, btw, maybe it has something to do with directions here, I'm not sure.

2. I have tested the tile packs from the site you provided, as well as output from Mobile Atlas Creator (with output set as OSMTracker or Mobile Trail Explorer). The thing is, that while the tiles in brut are saved as A/B/C, the tiles output by Mobile Atlas Creator (as well as the packs from your link) are A/C/B.png. So removing the PNG extension (or PNG.ANDNAV extension) is not enough. I have written a Python script which fixes this, attached here. Usage is simple:

2.a. Put the file Fix.py (from the zip) in the same directory that contains the folder with all the zooms (that is, if you are at the folder where the zooms are - numbers from 1 to 20 - go up one level, and put the script there).

2.b. Edit the script. Change the SOURCE variable to match the folder name containing the zooms; DEST variable to whatever you like; and EXT variable to match the extension of the tiles you have (Usually .png or .png.andnav).

2.c. That's it! Just run the script, and when it's done, you'll have a new folder, the contents of which you should place under map-en_US (depending on your locale).

2.d. To run Python scripts, you need the Python interpreter.

2.e. By the way, you can use OpenStreetMap, as well as other tiles this way!

3. I like the idea of having a cache of all the maps I use, cuz' I have a 100MB per month data plan. However, using the current storage of the cache, it is pretty impossible to put this on the SD card without sacrificing a lot of space. Maps of Israel up to zoom level 15 (16 in brut cache) take up 61 MB data-wise, but they weigh 324 MB on a compressed NTFS volume, and a whopping ~2.5 GB on FAT32! I have an 8 GB microSD card, and most of it is filled with music. I really don't have 2.5 GB spare space for maps (and I would like more zoom than level 15/16 anyway). I haven't tried converting the SD card to ext3, but that's not the perfect solution since Windows will have difficulty reading this card if I eject it. The problem is, of course, the minimum file size of the file system, which is far bigger than the actual size of the tiles (at level 16, there are lots of tiles that take up as little as 103 bytes, but they take 4.00 KB of space on an NTFS volume, and even more on FAT32). So what I am trying to say is, Brut - can you please implement SQLite storage instead? This will allow much more detailed maps while taking less space on the SD card.

That's all for now, thanks for reading,

Lev.