yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] HardCorePawn:
Howdy,

I have modified and recompiled the src for gMapMaker (mgmaps.com / cache) to download tiles in Z/Y/X format as used (currently) by Brut GM

If anyone is interested (Note: it is a windows app), let me know and i'll post it up somewhere...

Be Warned: The process still isn't exactly straightforward tho... you first need to use "Shustrik's .map Creation Tool for MGMaps" over at mapcacher.com (I would provide actual links but as a new user, my account has not been authorised by a moderator :()

At this stage, the only map type that works with my updated gMapMaker is "Google Road Maps".

You then need to edit the generated .map file (it is just a plain text file), and change the first line from GoogleMap to BrutMap

Within the app, you need to set "Group by Zoom" = Checked, "Operating Mode" to "BrutMaps mode, download tiles using a .map file" and set Hash size = 1 and Tiles per file = 1.

When you click "Go" you will be prompted to browse for the .map file.

There are some "interesting" effects tho... mainly due to the fact that as mentioned previously, BrutGM and normalGM use mobilemaps.clients.google.com to download their tiles... whereas gMapMaker downloads from the "desktop" mtX.google.com location... and the tiles have some minor differences between the 2 versions... (I assume this is to make allowances for smaller screens on mobile devices, as the text on the mobile tiles seems to be larger)

So if I wander into an area where I don't have a tile, and BrutGM downloads and caches it, it doesn't quite fit with the pre-downloaded tiles (road widths and text labels don't line up etc)

Also, the "zoom" levels between mobile and desktop are different... the outermost zoom on mobile (on my Samsung Galaxy S anyway) is Zoom 2. However, this corresponds to Zoom 1 on desktop...

Also BrutGM seems to have 2 caches... the SD cache... but also a (temp?) cache in the /data/data/brut.googlemaps/files dir as DATA_Tiles and DATA_Tiles_XXX files...

lot's of rebooting phone to ensure BrutGM is not running and Root Explorer file deleting later, i've managed to get BrutGM to use my downloaded maps... they even show up if the phone is in flight mode so I'm pretty confident it isn't downloading them via WiFi and/or 3G ;)

cheers,

HCP
[G1 Android Development] zenkinz:
does it mean that you can change the configuration of the voice navigation? e.g. currently it'll announce the direction (turn left or turn right) say 300m before the junction.

on highway, this will be too late, is it possible to alert say 1km, 500m and then 300m before the turn?
[G1 Android Development] leslie222:
Sad...

Its really sad that google does not provide a good navigation system ....their maps are lovely but the sw without caching/additional voices/ more features like Garmin/Sygic etc make one feel rather hard done by...if only...ah well, back to my sygic..for navigation.:mad:
[G1 Android Development] canadiancow:
There are features in TomTom I miss, but overall, I prefer Google Maps Navigation. I don't think it's fair to say they don't provide a "good" navigation system.
[G1 Android Development] leslie222:
@canadiancow: Sorry, i guess i sounded all wrong. I could not agree more with you. Its just a case of sour grapes for me i guess. i WISH i could use google maps more in my place but obviously cannot.
[G1 Android Development] gurmukhp:
I'd be really interested in this, do you have a link as to where I could download this from?

Cheers!
[G1 Android Development] chasepack:
just installed this mod on my Desire and cached a few maps. tried it out today while roaming in the neighbouring country and it works great!

I love this mod!

ok... got a few questions... sorry if i missed any replies earlier... 115 pages is a lot to go through... :(

1. How many levels of maps are there in GM? i'm now just starting from a very high level then zoom in once, scroll through all the places, then zoom in again, scroll all the places, etc etc etc until i get to the lowest level...

2. is there a way for me to figure out which tiles i have cached? just to avoid hitting blanks if i'm driving around somewhere...

3. is there an 'easier' way to cache a particular are map from high to lowest level without doing it manually?

4. What does Clear Map do?

Thanks all!

regardless... i still love this mod~!
[G1 Android Development] chasepack:
sorry for posting again...

i forgot to take note of my SD card memory space... and ran out of space.

now i have a few tiles that on a certain zoom level shows only the "minus magnifying mirror" icon... i cant seem to get them to refresh even if i turn off Read from SD card...

any suggestions?
[G1 Android Development] emincas:
I'd be really interested in this, do you have a link as to where I could download this from?

Emiliano
[G1 Android Development] manicmoose:
@Brut - is there any plan to integrate the new API(s) for chrome-to-phone stuff into the Brut maps?

ie. http://xdaforums.com/showthread.php?p=6754172#post6754172
[G1 Android Development] HardCorePawn:
Sorry for the slow reply... been a bit busy trying to get Samsung Kies talking to my Galaxy S on Win7 x64... :mad: (NOTE: it helps if you unmount and reformat your internal SD card... and then do a factory reset... YAY! who needed all those old pictures, apps and data anyway... :rolleyes:)

Anyway, do me a favour, download this (it is under 600k), unzip it, and see if it actually runs on your machine...

(NOTE: This redirects to a 2shared.com file... this no URL posting is a bit of a nuisance :( )

jump.fm/FJQLB

As always, use at your own risk, it shouldn't wipe your drive, blow up your phone, have Google send round lawyers or sleep with your wife/gf/bf/sister/mum... but I'm not going to guarantee it :P

Anyway, It's compiled for Win32, so it *should* work on any flavour of windows from XP up... but I'm not entirely sure I've built it correctly or that it contains all the necessary libraries and dependencies etc... ;)

NOTE: as mentioned in my earlier post, you need to create your .map file from that mapcacher.com and then edit the .map file and change the first line to BrutMap

If you run into any issues, let me know and I'll try to help :)

cheers,

HCP
[G1 Android Development] ryujilang:
great job. definitley need to try this
[G1 Android Development] suffeks:
somebody make a bunch of country map packages ready to be extracted to sd card ;)

i assume a connection is still needed to plan the route? we only save bandwidth with the tiles?
[G1 Android Development] bbogdann:
Is it possible to download google maps on sdcard and navigate offline?
[G1 Android Development] leslie222:
Is there any news /further development on this ??? I check many times a day but nothing much happening...
[G1 Android Development] canadiancow:
And just when I thought I might start paying more attention to this thread again, someone goes and asks this...
[G1 Android Development] gurmukhp:
Hey mate!

I'll give it a whirl now and let you know how I get on!!
[G1 Android Development] HardCorePawn:
Sweet... I'll be interested in how it goes...
[G1 Android Development] gurmukhp:
Ok, it installed fine and downloaded the tiles. However, when I went into my brut maps and tried to browse around (with mobile networks turned off) it didnt seem to find any tiles.....
[G1 Android Development] HardCorePawn:
Hmmm... Whereabouts on the sd-card did you put them? And was it an area you had already "browsed" previously?
[G1 Android Development] gurmukhp:
Hey!

I loaded up brut maps and it had my location shown fine. I then killed it using Taskiller and then removed the files from the brutmaps tiles folder and then replaced with the new folders. Then I loaded up brut maps again and this time I was just shown checked boxes and a message saying "data connection lost, retrying".
[G1 Android Development] HardCorePawn:
from memory, the app caches the title data in some temp files as well...

I can't remember if I mentioned those in my original post or not...

/data/data/brut.googlemaps/files

You'll find a bunch of files that start with "DATA_Tiles"

Make sure brut isn't running and delete those...
[G1 Android Development] bbogdann:
I've tried in Brut map in Romania an seems to work very fine.....My question: Is it possible to save maps and navigate offline?
[G1 Android Development] HardCorePawn:
Seriously... Did you read any part of this thread other than the first post?

The whole advantage of brut is that you can cache tiles... As it is saving them onto your sd card, there is nothing to stop you from manually downloading them and putting them onto the sd card yourself. The trick is finding a nice easy way to do this.

I hacked a map tile downloader, and got it to work... But I've already posted the info about that...

Not sure if anyone else got it to work or not... Some others got the maps but were having trouble getting brut to use them

Cheers,

HCP

-- Sent from my Galaxy S
[G1 Android Development] dan 6a:
BRUT wont install on the latest Samsung Galaxy i9000 firmware update :( It worked on all the other firmwares.. any ideas?
[G1 Android Development] drutort:
i tried to on diff device too, tried to install it on stock moto cliq (1.6) and it just refused to install :/
[G1 Android Development] HardCorePawn:
You mean the XWJM1 firmware??

I have JM1 and it installed... no issues here getting BRUT running...
[G1 Android Development] chasepack:
think you can help to reload it again? it telling me the download is not valid and to give you a holler
[G1 Android Development] HardCorePawn:
Ok... I have mirrored it on MultiUpload...

So if you have troubles downloading this from there, pick one of the other mirrors :)

http://www.multiupload.com/2N819C5O4R

As always, use at own risk... and I'd appreciate it if you read the instructions I posted earlier (this post) before asking how to make it work...

cheers,

HCP
[G1 Android Development] bu2askoor:
hello all, i have installed the latest update on my Nexcus one froyo. It installed properly, but navigation does not work. I live in UAE. Google Maps has all road and street names with great details.

Thanks
[G1 Android Development] canadiancow:
Do normal driving directions work in the Android client or on http://maps.google.com ?

I'm going to say no, because I wasn't able to get it to work.

As a result, there is nothing anyone can do to make GMN work for you.

P.S. Brut, you might want to add something about this to the first post.
[G1 Android Development] chasepack:
Did you turn on Data for navigation?

cos as far as i tried, the navigation instructions all come from online servers.

only the normal Google map maps are cached. the Navigation side still need a data connection
[G1 Android Development] chasepack:
Hi HCP,

great help this thing has been. i previously was doing it manually.. lol.. hella time consuming

just a quick question... is anything preventing us from using mobilemaps.clients.google.com to download the map tiles?

just curious...
[G1 Android Development] JonasDroid:
is this still under development?
[G1 Android Development] Brut.all:
It's stalled, but not dead.
[G1 Android Development] canadiancow:
4.4.0.

They finally included one of my favourite features from TomTom. You can use the Navigation view without setting a destination. I haven't played around with it anymore, but that alone is going to make me use stock until the next modified version.
[G1 Android Development] Brut.all:
Damn, more work ;-) Thx for info.
[G1 Android Development] wackob:
Newbie question...

Have an unrooted N1 and Brut, also used the recompiled Gmapmaker with Brut mode.

Created my map file, downloaded maps, copied to phone under:

brut.googlemaps\tiles\map-en_GB\

The existing tiles from Brut where named 12,13,14 etc where the gmapmaker made them google???12, so I removed google from the folder names, just left them with 12,13 etc.

But still doesnt seem to work. I cant find a temp folder either. Have go up and down posts, just no luck.

Any ideas?
[G1 Android Development] canadiancow:
I made my first change to Nav Launcher since it was suspended...I added the ability to launch an intent (rather than just Navigating), so that I can open the Navigation activity without a destination.

Now if only I could push my update to the Market...
[G1 Android Development] DirtyRasa:
So far from testing, this method works for the Samsung Captivate.

I'm going to download more maps and test to make sure it wasn't the cached maps I had from browsing around with just my phone.

Suggestion? Kind of...

I used to use this program NaviComputer for my HTC Fuze that ran on winmo and they used a map of type .nmap

I just thought I would share this program with you in case you didn't know about it or whatever.

It's just a handy tool to be able to create separate map files.

I'm not sure how easy it would be to do something like this, but I think it's easier to handle than all of those separate folders.

On another note, am I able to store the cached maps I create in separate folders so I can label them?

i.e. have one folder named Twin Cities and have all the tiles associated with the Twin Cities there.

or do I have to have all the tiles in a designated area?

Awesome work! I really like this app :)

P.s. I'm new to this app and I excuse myself for stating things that have already been said. I haven't had time to read through every post.

Edit, I started downloading zoom 17... bad mistake... haha Taking WAY too long lol
[G1 Android Development] ewker:
Can't wait for the update to 4.4, cheers man!

If you need any alpha/beta testers, give me a PM.
[G1 Android Development] Zoide_:
I'm traveling in Canada where I'm using a prepaid Rogers SIM but no data since it's too expensive. I had pre-cached the local maps so that when I go to Brut Maps I can zoom in and out, pan, etc. and it shows the maps perfectly from the SD card.

However, when I tap on "My Location" the phone can't show me where I am. I have GPS enabled on my Nexus One, yet the phone claims it doesn't know where I am.

I understand that A-GPS when you use data can give a quicker lock. However, shouldn't the GPS also work by itself?

I'd really appreciate some help since having the maps without the current location is quite a letdown :(

Thanks
[G1 Android Development] imachine:
It usually takes longer to get a lock on, especially if you're already on the move, without using network location or so.

But network location is free afaik - did you enable it?
[G1 Android Development] katun79:
Beta tester wanted???

Hi guys, if you need another beta tester I'm your man!

I have a rooteed HTC Desire, with 3 Italia as operator. :)
[G1 Android Development] chasepack:
think you are doing it wrong... it should not give you directories with googlemap name in it...

http://xdaforums.com/showpost.php?p=7189735&postcount=1137

reread his instructions again...

i think you forgot to use BrutMaps mode or forgot to edit the .map file content to BrutMaps instead of GoogleMaps.
[G1 Android Development] woSaa:
thankkss Brut.all :D
[G1 Android Development] Brut.all:
@woSaa

Is there a need for this? It could be installed even by clicking on a link from Android browser :-)
[G1 Android Development] woSaa:
120x people Download rev4 befor i reset, i think yes! ;)
[G1 Android Development] beav_35:
For a file sharing site hotfile.com is decent. I've never seen it not let you download like Rapidshare does.
[G1 Android Development] 5m00v3r:
test session goes on ^^

maps4.0.0-brut4-alt.apk

rev4-alt

navigation via Nav Launcher - WORKS

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

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

so for me i went back to maps4.0.0-brut4.apk and wait for rev6 :-)

EDIT: If anybody knows how to put just this/one thread into google reader i would be verry happy. Any other way to track this via my phone would be great also but i love doing all with google :-)
[G1 Android Development] Brut.all:
You could subscribe to thread and quick-check it from a browser or get email notifications :-)
[G1 Android Development] 5m00v3r:
thx i´ll do it via email notofication cause there is no way i can find for rss and i want instant informations

thanks brut

how did you did this? and can you put it all together in an update zip? so that we can use rev5 with launcher link navigation?
[G1 Android Development] Brut.all:
No, no. There will be rev6 with fixed shortcuts creating.
[G1 Android Development] pascanu:
[BUG] System Sounds

Great work! Love it.

Bug report: when Navigation starts it turns System Sounds all the way up so I have to manually set them back (it affects the click sound on buttons, keyboard etc.)

Please keep up the good work, I haven't had something new of this quality for some time on my G1, I almost thought there was nothing else to add to it. Thank you!
[G1 Android Development] canadiancow:
This seems to be coming along nicely. I'm going to add support for the new format into Nav Launcher (and remove the old), along with update checks and such, but I'm not releasing the changes until some of these new bugs are eliminated.
[G1 Android Development] Brut.all:
As I mentioned, shortcuts stores exact app name, you will have to remove all shortcuts and add them using modded version. Let me know, whether it fixed your problems :-)
[G1 Android Development] rancor187:
Hi, I'm trying to get it done for days but it won't work :(

* daemon started successfully *
adb remount
remount failed: Operation not permitted

adb shell "find /system /data -name *com.google.android.apps.maps.apk* -o -name Maps.apk | xargs rm"
find: /data: Permission denied
rm failed for /system/app/Maps.apk, Read-only file system
xargs: rm: exited with status 255; aborting

adb uninstall com.google.android.apps.maps
Failure

adb install maps4.0.0-brut4.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
[G1 Android Development] 5m00v3r:
test session goes on and on ^^

maps4.0.0-brut6.apk

rev6

navigation via Nav Launcher - doesn´t WORK (application not found) please give us an update canadiancow

navigation via launcher link - navigation via launcher link - WORKS

navigation via maps intern search by route and kontakt - does work SOMETIMES (I think after every reboot for one time) sorry for me it diddn´t fix this

this was a quick test! now that i´ve got to drive a bit i will test rev6 more deeply
[G1 Android Development] canadiancow:
I'm adding some stuff to Nav Launcher so that it will tell you when there's a new version from Brut.all, and making a few other changes. If you want Nav Launcher, uses rev4. There are no new features in rev6 (or even bug fixes with respect to rev4), so there's no rush to add support to Nav Launcher.

I'm currently in the middle of a couple big school projects due Monday, Tuesday, and Wednesday. When those are done, expect an update within a couple days.
[G1 Android Development] rac2030:
The error message says it all "remount failed: Operation not permitted

", you need to have a rooted phone to modify the system partition
[G1 Android Development] 5m00v3r:
It seams to be an root issue so just use the alt rev4 or rev6 just install without doing anything else.

Please report

@canadiancow

Thanks for the information i like your software more than doing it on my onw :-)
[G1 Android Development] proengin:
Hi Brut-all,

Many thanks for your great work!

I just wonder if there is way to modify it to use sqlite formatted offline map created by Mobile Atlas Creator 1.7. It would save a lot of OTA bandwidth and may eventually speed up the navigation response.

Patrick
[G1 Android Development] Brut.all:
Wow, nice app! :-)

I wondered about offline maps/caching some time ago and:

I think, it is possible to do.

About format of data: I wanted to use tile-files format (many files with names like: ./mapnik/0/0/0.png). It is simple, modifiable from any file manager, used already by some apps, eg. AndNav and there are map packs available to download (eg.: http://wiki.andnav.org/index.php/List_Of_MapTilePacks).

But... opened maps market is growing very rapidly now, there may be some kind of standard for storing maps in a year or two and Mobile Atlas Creator may have influence on it. If I ever decide to add offline maps feature, I will think really hard on format choice.

I don't want to do someone's else work. It's Google's app, not mine and they should think about caching, if many people ask about it. I prefer to focus on features, which they can't add cause of: licensing (navi outside USA), not supporting unofficial works (MT on Donut), etc.

And I'll be really pissed off, if I will spend 2 weeks on smali hacking, will add offline maps feature (hurray!) and then Google will release new version of Maps with that feature included, of course 10 times better than that from my mod :-)

I don't want to do bigger changes in a smali code without some decent toolchain. I have a proof of concept, that my "idea, how to greatly improve developing and debugging smali code" should work, so I want to do it first.

Summarizing:

apktool v1.5

other features and bugfixes

if at this point Google still won't add it and I will have some free time, then maybe :-)
[G1 Android Development] rancor187:
so thanks to 5m00v3r, I managed to install maps4 :)

I tried brut6 .. didn't work

brut4 ... didn't work

"maps4.0.0-brut4-alt.apk" did work for me though.

Main issue is still not resolved:

Once I start Navi Launcher, I add an Address to where it should route me,
then I start navigation, I see the map for a sec then a pop-up appears saying
"No Route found" - Couldn't find destination - [End Navigation]-Button"

FYI: pop-up translated into English

suggestions please, this drives me crazy little by little.

Thank you

@rac2030 my hero IS rooted
[G1 Android Development] 5m00v3r:
Now it's getting a bit stupid for you cause now you've got 2 times maps so you have to find out which one is the brut one ... just open them up and go via routeand search for a destination than navigate

If it says no route find than it is the original one if it navigates its brute ones...

Sorry i'm not home i hope this helps
[G1 Android Development] jquake:
Looking forward to your next version.:)
[G1 Android Development] leslie222:
Cant check out the new features in 4.4 :-( No navigation yet in my country. Waiting and hoping that Brut.all comes to the rescue :-):-)
[G1 Android Development] Johan_Kred:
Thanks for enabling us in Sweden to use Google Navigation.

Just one question:

I would like to try the "Street View" navigation but when I enable "I'm in USA" I am unable to get a fix on my location.

Is there anyway to solve this or is it impossible to use Street view navigation in Sweden?

Thanks
[G1 Android Development] canadiancow:
Network location queries Google's severs with data about your surroundings. It definitely uses data.

Honestly, if Brut is going to take beta testers, he is not going to take some random user with 3 posts. Maybe if you'd actually follow the thread and contribute, you'd have a chance. But you're also assuming that Brut has or wants beta testers at all.

Have you tried it without enabling "I'm in USA"?
[G1 Android Development] for.digit:
I also have the same problem. the hebrew is reversed.::(
[G1 Android Development] henriquesp:
Regarding Google Maps 4.4.

Are there any real updates to the actual Maps / Navi apps, or the only changes were related to the new Places app?

Thanks,

Henrique.
[G1 Android Development] canadiancow:
Well, there's the Navigation view, that allows you to open Navigation without setting a destination. I found that useful in TomTom.

There have been some colour changes too. Some screens that used to be white on black are now black on white.

There may be more improvements with the vector map display too, but I haven't bothered looking at it yet. I was going to wait for Brut to release an update before checking that out.
[G1 Android Development] Brut.all:
Are there ads in 4.4.0? Because they have added a lot of code from their AdSense library (com.google.ads).