yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Brut.all:
BTW, funny thing is that AFAIR if you have both GM installed and you will click 'Navigate' button from one of them, you will see standard "Complete action using" dialog. So there is a general intent for starting GM navi, but apparently home shortcuts and CarDock just don't use it.

Might be a problem with this obfuscation, cause every new version of GM have much different names of classes, fields and methods. So more you will change in it, more you will have to port to each new version.

But I will definitely try to rewrite some methods. I wanna start git repo for it, we could even collaborate :-D

I am wondering on some tool, which will semi-automatically map old names to new ones. It should be possible to do, but if GM is single one app obfuscated using this method, it isn't worth working on it.
[G1 Android Development] canadiancow:
We should rewrite Car Dock. Is it open source?

I'm sure there are a lot of apps that could benefit from the ability. I'd be happy to work on Google Maps if there was a public(ish) repo.
[G1 Android Development] ORioN.BAK:
tanks a lot good job :)
[G1 Android Development] MoreYummy:
Do you need to download and install all 3 .apk on first post?
[G1 Android Development] 5m00v3r:
no just install rev6
[G1 Android Development] Brut.all:
I have added a short annotation about it to first post.
[G1 Android Development] 5m00v3r:
okay next time i´ll write: Read the first post ^^
[G1 Android Development] MoreYummy:
Or read my post #173 and continue from there. :)
[G1 Android Development] :No-Frost::
There is a new version of Google Maps in the market...
[G1 Android Development] canadiancow:
I noticed that too. Nothing spectacular though :P
[G1 Android Development] AndyCr15:
I heard it has live wallpaper and a latitude widget. That's pretty huge!
[G1 Android Development] Brut.all:
WTF is this "*" ;-D
[G1 Android Development] bokechukwu1:
After some reading and searching I finally got mine to work only thing is I can't sign into latitude or anything it just ask me for another google account brut can you please help me on this its the only thing missing for me right now thanks
[G1 Android Development] asianguy:
yea i mean starred places. I was hoping to be able to bookmark interesting locations while i was out and about on holiday - so I would have no data connection. As we already have the map loaded I was hoping it would be straightforward to save the current co-ordinates. I used to do this on my S60 devices using Mgmaps software - but there is nothing similar for android :(
[G1 Android Development] hotaru:
speaking of mgmaps, it actually can run on android... but gps doesn't seem to work.
[G1 Android Development] kolaf:
There is an application called "contact here". It allows you to store the current GPS position to a new or existing contact. In this way you could use your contact database as a waypoint database as well. To avoid cluttering up your phone book, it should be possible to filter out contacts without a phone number. I'm not currently sure it can be used to create arbitrary waypoints at other locations.
[G1 Android Development] Alisneaky:
Brut 17

when is brut 17 coming out...been waiting...love this thing...
[G1 Android Development] pilgrim011:
Me too.:D Brut said he will release it today with some awesome new features.:)
[G1 Android Development] canadiancow:
Where did he say that?
[G1 Android Development] Brut.all:
Here: http://xdaforums.com/showthread.php?p=9047493#post9047493 . But there won't be "awesome features": just update to GM4.6, fix for AndNav tiles format, possibility to choose custom format and support for zipped tiles.
[G1 Android Development] pilgrim011:
Maybe also a possibility to download maps for offline use, but in a simpler way than with the "old" version? That would be "awesome". :)
[G1 Android Development] Brut.all:
I don't think there will be ever a downloader in my mod itself. But improvements to tiles storage will make whole process a little easier and I will describe everything in my first post.
[G1 Android Development] reapur:
Brut I'm wondering if you mean that with brut17 we won't need to use brut.dev for use with andnav and instead just use brut17. is that correct?

Currently I've switched to brut.dev so that I can cache using mobile atlas.

can you please give us a quick rundown on that

cheers
[G1 Android Development] Brut.all:
"brutdev" is always just a testing, unnamed version - that time I have created it to test a fix for andnav format. Fix works, so it will be included in brut17. Yes, you will be able to use Mobile Atlas Creator or any other downloader which supports andnav format. Also you will be able to use your already downloaded tiles :-)
[G1 Android Development] reapur:
Sweet :) I'm glad I saved /tiles

Good job, we love ya!
[G1 Android Development] RazieLvX:
Great job, I had seen this mod first time at a rom for Hero (my device) and since then I use it instead of the original. Waiting for the new Brut17.

Thanks a lot for it!!
[G1 Android Development] Brut.all:
Finally!

Also there are many changes in the first post of this thread.

If you was using hiapk's port of my mod, then you should know, that it have some bugs. It throws ContextNotSet warnings and location faking does not work for main map, but I guess you don't care. However hiapk's port doesn't have a hack for checking driving/walking availability in the area, so:

Button in DestinationActivity does not work

There is a cool feature in recent GM: if you are on the map screen and want to navigate to somewhere, you could just long-press this place, click on a tooltip and then click directions sign. In older versions of GM (or if GM thinks both driving/waling directions are unavailable) you would see directions screen. But in brut17 you will get dialog with options to open navigation directly. Very nice :-)

I hope I didn't screw something. I'm really tired and I go sleep now. See you tomorrow!
[G1 Android Development] xNotta:
Maps from the future! (at least for me, today is the 6th)

I couldn't get "Menu -> More -> Brut Mod" to open.

Keeps giving me Force Close or Wait option.

And it says "Login Failed" when I start it.

Probably not designed for my Evo. :-[

If that's the case, just ignore me.

Using Tagged version.

And ty for making separate versions so I didn't have to find this out though much more work.
[G1 Android Development] Coldblad3:
I also seem to have this problem.

Running an Unrooted Desire on 2.2

Uninstalled old version of Brut and installed the new version, but upon opening the app freezes and FCs. Old version worked fine Not sure what I may have done wrong... The odd part is that the Navigation app seems to work. just not the maps part...

Any help greatly appreciated!!

And great work Brut!!! great app!!!
[G1 Android Development] reapur:
OK, so just a little feedback here

Nexus one, USA T-Mobile, non rooted.

I unstalled 16 and installed maps4.6.0.4686-brut-renamed-tagged.apk.

when I launch Brutmaps, I see the map of the US for a seconds and then the app locks up, then I get the dialog to fc/wait, wait does nothing to help.

so I removed the old brut.googlemaps on the sdcard and tried again, same result.

Once, i was able to get into the menu and I could see the brut mod option right before it locked up.

I'll continue to mess with it and I'll post if I find anything new.

Update...

I installed brut16, then updated to brut17 and now I can see the maps and move around even see my starred locations, but, when I go to menu>brut mod, the app locks up.

I've been trying to get around this but I'm fresh out of ideas...

Cheers
[G1 Android Development] BryanChung:
I wanted the -tagged version but it gave me an "Application not installed" when trying to install.

The only version that got working for me is the -renamed version. I got it installed after I removed the original Maps. =)

I'm on Milestone 2.2.1, CM6-RC3 with gapps-hdpi-20101025-signed.zip.
[G1 Android Development] wutao667:
Finally!

I've been waiting for brut17 for months.

It works fine. Thank you very much for your work!

I have a question: what's the advantage of AndNav format?
[G1 Android Development] cogano:
When activating BrutMod, the app is force-closed.

Galaxy S, Froyo JPM, rooted, original Maps uninstalled.
[G1 Android Development] figgeo:
I also got fc on this one. I'm in a original Nexus one. Tried to update, uninstall and install, but fc all the times
[G1 Android Development] JonasBom:
I cant create a altas with mobile atlas...

"Mobile Altas Creator has detected that you are trying to download an extra ordinary large atlas with very high number of tiles..."

I only selected my city and reduce the Zoomlevel to 0 +1 ???

Mhm...

Map Source: Google Maps

Format: AndNav atlas format

a other format worked very well...

What did I wrong?

Greetz
[G1 Android Development] desean:
thanks for brut17 :)

I also have issues installing the -brut version, got the "Application not installed" error. The -renamed installed fine for me. Never tried the -tagged version.

anyway, here are some mediafire mirrors:

maps4.6.0.4686-brut.apk -> http://www.mediafire.com/?94mzlgfptap15nl

maps4.6.0.4686-brut-renamed.apk -> http://www.mediafire.com/?a1be1bn8vtoyom6

maps4.6.0.4686-brut-renamed-tagged.apk -> http://www.mediafire.com/?8bkw8s4c369jjb0
[G1 Android Development] mobilkungen78:
the first one wont install and the others i get FC
[G1 Android Development] Brut.all:
Ok, you're right: -renamed variants get random ANRs O_o This is really weird. -brut works just fine for me though.

To anyone who get FCs - are they really FCs or maybe ANRs - Activity is Not Responding dialogs?

And to anyone having problems with installation of -brut variant - read first post, I have explained what all these suffixes mean:
[G1 Android Development] Coldblad3:
Just an update, now when I open it, it does not force close immidiately i get the map screen and am able to scroll around and zoom in/out etc, but it cant locate me and using ANY functions, whether it be search, trying to open Brut Mods menu or anything causes FC. and to answer Brut, it hangs for a while and then a prompt comes up saying Sorry! Activity Maps ( in application Maps) is not responding. Then have option to wither wait or FC, but waiting gets you no where.

As I said earlier though it is odd because if you go straight to the navigation app and run it from there, everything appears to work correctly...
[G1 Android Development] Brut.all:
Yeah, this is an ANR, not FC - something totally different. I think no one really gets FCs, but people don't see a difference ;-)
[G1 Android Development] Skardy:
Very nice upgrade. Thank you !

However I have a little bug:

FC when in navigation and pressing menu->more->brut mod (under normal maps it works fine)

HTC legend with azure 1.0.1

EN (UK) locale

-brut version installed
[G1 Android Development] Mortus:
Brut, can we owners of HTC Desire, please have an installable (from recovery) zip of normal 4.6 maps? apk cannot be installed since /system is not writable on Desire. Or maybe I'm missing something, but installing apk gives me "Application is not installed" message.
[G1 Android Development] figgeo:
Yes just like this for me too. What can i Do to make it work? Back on brut 16, works perfekt.
[G1 Android Development] Brut.all:
Please, don't flood this thread with ANR reports for -renamed variants - I get them too and I don't think you can't do anything to fix that. I need to find, what is going on there. If you have root, you could try to install -brut variant - it's working fine :-)

Got it, thanks for info :-)

If you have root, then you should be able to uninstall original maps through hacking way (adb remount, adb shell rm /system/app/Maps.apk, adb uninstall com.google.android.apps.maps - or something like that). If you still want to use update.zip method, then you could try this tool: http://xdaforums.com/showthread.php?t=717437 . Didn't try it by myself, but Daneshm90 does good job :-)
[G1 Android Development] B1ny:
Thanks works great!

Here is what I had to do to get it installed, on both my cm6 Nexus and cm6 Liquid:

- Uninstalled both Maps and Brut Maps 16

- moved Brut 17 apk over to internal memory

- unmounted sd card

- installed Brut 17
[G1 Android Development] canadiancow:
Is that because of the missing superclass?
[G1 Android Development] kenkiller:
Ok, installed brut17 smoothly. First uninstalled built in Maps via Titanium Backup, then installed brut17 (non-rename or tagged version)
[G1 Android Development] Brut.all:
Yes, missing class, but not superclass. There are VectorMapActivity and VectorMapView classes, but if you try to run VectorMapActivity directly you will see just black screen. In older GM there was also MapActivity extending VectorMapActivity. I think MapActivity was some kind of controller: it was telling VectorMapActivity what to display, it was handling input, moving camera, etc. They have removed that class from 4.5.0. It should be possible to port it from older GM, but I don't see much sense.
[G1 Android Development] desean:
Yup I did read the first post. My phone is rooted and had the original Maps.apk removed.

When I re-read again, I realised what's wrong. I only replaced the previous Maps.apk (hiapk's port which I pushed to /system/app) with -brut17 without first uninstalling it. So I reinstalled hiapk's port of GM again, uninstall it, then install -brut17 again. Works this time :)

Silly me to simply replace the Maps.apk initially.
[G1 Android Development] suffeks:
would be nice if the cached tiles would have the same font size as the online ones. i assume atlascreator pulls tiles meant for browsing on pc's
[G1 Android Development] jkoljo:
Works great, thanks! I removed original maps using titbackup/recovery exploit.
[G1 Android Development] canadiancow:
Ah...I only briefly looked into it. I just knew that somewhere in the hierarchy, something was missing.

I wonder why they removed it. They clearly haven't stopped working on it.
[G1 Android Development] Brut.all:
Maybe they don't want to let people play with it. Since adding a library projects feature to Android SDK, they could extend base GM application with some testing/development classes, so they will have them, but people don't.

As I said some time ago, in earlier versions of GM there were some dead references to GPS track recording feature - for testing purposes. But that feature was never there, even in first 3.2.0 version of GM.

It's not that easy to have your own playground in Android app and don't give it to people. I think all these hidden features are there by mistake or cause of "people won't see it anyway". If we see, then they try harder to hide it ;-)
[G1 Android Development] tatsit:
is it possible to have rar compression supported instead? zip doesnt support bigger than 4gb. and the maps i've downloaded are huge
[G1 Android Development] Brut.all:
It's not a limitation of zip, but FAT32. And I say NO to rar - it's proprietary format and theoretically you can't even create a rar archive for free (really!). For now I don't see a good solution for this problem, but I will think about it.

I was considering adding support for multiple zip files, so people would not have to add files to existing zip file (e.g. when compacting saved tiles), but just create a new zip. Also then you could categorize your tiles, e.g.: new.york.0-17.zip, USA.0-10.zip, etc. But I'm worried about performance - when scrolling GM loads several tiles at once and checking for them in memory, internal GM cache, regular files on SD and in all zips might be a performance kill.

EDIT:

Does Android supports NTFS?
[G1 Android Development] embryo10:
Hi all!

This brut mod is great. Especially the zip suport.

I have one wish though. Is it posible to keep the old database format in future versions too?

The AndNav maps are imposible to read in my screen (Nexus One intruder here :o) because the font is super small, whatever zoom I use.

I'm waiting for the version that will give us the option to remove the search field, freeing up the valueble screen space that we missing now.

Anyway, this is an exellent mod.

Thanx for your time.

Nexus send it ...
[G1 Android Development] Brut.all:
BrutMod Menu -> Database format -> BrutMod old

It should read your old tiles instantly, without any additional steps :-) (or, if you had used "stockified" version, then tiles are in /sdcard/com.google.android.apps.maps/tiles , so you have to move them to /sdcard/brut.googlemaps/tiles )

EDIT:

Ahh or maybe you meant: to not remove that format in the future. Yes, it's no problem to keep it.

Should be easy thing to do :-)
[G1 Android Development] embryo10:
Wow! That was fast!

Great news.

Do I push my luck if I ask you for your opinion about a "Font Size" change option?

It will be easier to use the AndNav maps that you can download from a PC,

than manually download all the tiles from inside the Maps.

BTW what is the brut's old format type?

Maybe I can download this type of maps with the Mobile Atlas Creator ...
[G1 Android Development] HaloTechnology:
Can i use Mobile Atlas Creator to cash offline maps ??

and thank you brut

if anyone dont have data plane should have brut map
[G1 Android Development] Brut.all:
I can't resize that font - it's written in png file ;-) Problem is: tiles for GM Mobile are different than for normal Google Maps. There are no tool for downloading mobile tiles.

It was AndNav format screwed up by me ;-P AndNav is (Z)/(X)/(Y).png.andnav and old format is (Z+1)/(Y)/(X) - I don't think it's compatible with anything else. But Mobile Atlas Creator is open source project and I think several pages ago someone posted a link to MAC modified to support my format.

Read first post in this thread.
[G1 Android Development] reapur:
Can someone give me some hints on how to proceed?

I checked again and it is and ANR, not a FC, but an FC is the only option that does anything useful.

The problem now is that I can't get to the Brut Mod menu, I need to get in the menu to enable read/write cached tiles.

Brut, do you think the ANR is caused because of permissions? do I need to root my phone?

Also from reading the first post I assumed that on my particular phone I need to use a renamed variant as I'm not rooted.

How did brut16 install? was it automatically a renamed version?

I really want to make this work, but if I can't get in the menu options I can't cache tiles.

regards
[G1 Android Development] Brut.all:
I really don't know, what causes these ANRs, so I can't answer your questions right now. Yes, brut16 was -brut-renamed-tagged version, but for some reason it didn't get ANRs.
[G1 Android Development] kiwijunglist:
Thanks for creating this awesome modification to save our data $$.

Is there any way to load a POI file into brut google maps?

There is a website here which lists all the free wifi hotspots within New Zealand

http://jahoog.org/wifi/

The free wifi map is able to be downloaded as a

KMZ / KML / GPX / GPI file

The nearly free wifi map is able to be download as a

KMZ / KML file

Is possible to add this information into my brut maps?

Thanks

Kiwi
[G1 Android Development] embryo10:
Hmm... and how come your version had bigger letters?

Because of the (Z+1)?

If yes, can you put a"switch" or something, to make this kind of zooming real-time?
[G1 Android Development] hshah:
The latest version (second link) worked until I tried the zipped tiles and then it just closes a few seconds after opening :(
[G1 Android Development] hshah:
Just looking at the logs and it is saying it cant find the tiles in the zip, but it is there and the path seems correct.

Although it does say it can't find the tile in map-en_GB-andnav(.zip#)/11/ etc.
[G1 Android Development] pascanu:
How did you uninstall it? Do you need S-Off for that?
[G1 Android Development] tatsit:
i have the same problem as you. it keeps saying unable to find the tile in the zip file, but i ran a check in the zip file on my comp, the tile is in it.

it tried opening the zip file with file manage, it gives me this error

"E/FileManagerActivity(31596): skipping exception: expected 65535 more entries in the Central Directory"
[G1 Android Development] apratomo:
Hi brut,

same problem for me, I'm on CM nightlies, and brut17 just kept on not responding, more when I tried to open brut mod settings

do I have to delete all cached tiles that located on /sdcard/brutmod/*
[G1 Android Development] asero:
I got the same issue. Is there an ideal file size for zipped maps?

Edit: Tried renaming the zip file by removing the file extension (.zip) and the log cat now says

D/TileStore(15464): Tile loaded from a store: /mnt/sdcard/brut.googlemaps/tiles/map-en_US-andnav.zip#/17/84272/55750.png.andnav

but all I get is scrambled tiles.
[G1 Android Development] mobilkungen78:
i unistalled maps and installed the first brut and all is working fine...

i tested navigation and it didnt freeze and no FC or ANR
[G1 Android Development] deuse:
All working fine on my G1 :)

Thanks for your hard work dude ;)
[G1 Android Development] hshah:
Brut, can we have some clarification on this please?
[G1 Android Development] pool7:
Not by default AFAIK.

If you have the time and want to add support (although I'd stick with ext2) you can try to port ntfs-3g driver used by most GNU/Linux distributions, but that would probably take a while.
[G1 Android Development] craigacgomez:
@brut.all this is by far the best app mod available... awesome work brut... you are nothing short of a genius... navi works amazing in Bombay, India...
[G1 Android Development] desean:
Hero is less complicated when comes to rooting but I don't think S-Off will make a differences (I may be wrong on this).

As I really removed the Maps.apk initially, I reinstalled & uninstall hiapk's port via astro (app manager). TitaniumBackup should give the same effect too.
[G1 Android Development] kenkiller:
S-Off shouldn't be needed. I'm on Desire with Defrost rom, never did the S-Off process. Just uninstalled original Maps with Titanium Backup, then installed the -brut version apk as per usual.
[G1 Android Development] pittas:
sorry but it is unclear for me

brut-navi cannot work with cached maps ?

And if i use wifi to manually load some maps...are the maps cached or no ?

Sorry i tried to read more than 50 pages on topic but this question still remains
[G1 Android Development] Nikos_s3:
Hallo Brut, thanks a lot for your great app. So, I have a couple of questions about it, just to clear things out.

I leave in Greece, where default google navigation is not (yet) available. In order to get brut 16 to work, I had to download an application called NavLauncher.apk , then brut16.apk and thing runs smooth afterwards .(nexus 1- rooted-stock ROM)

Do I have to do the same with brut 17? Do I still need NavLauncher.apk or is it ok to uninstall both NavLauncher and brut 16 and install brut 17 renamed-tagged ? ( I want default maps as well).

Appreciate your effort and time…;)
[G1 Android Development] DirtyRasa:
I downloaded the new version however it is not able to read any of my tiles.

My directory is: /sdcard/brut.googlemaps/tiles/maps-en_us/13/

Any reason why this is not working?

I'm using the andnav tiles but they are not zipped
[G1 Android Development] asero:
1. Make sure that you have enabled "Read map from cache" option.

2. Check if you're on zoom level 13

3. Check your logcat by enabling debug mode (mentioned in OP)

On a side note, I've used mobile atlas creator to download my tiles. For me, reading from zip file is not working properly. The unzipped tile maps is working though with some overlapping issues.

Thanks brut!
[G1 Android Development] DirtyRasa:
I have all zooms from 0 -17. I was just using 13 as an example. I do have read from cache enabled and still doesn't work. Works fine on the dev version do I'm confused as to what happened

It should be able to show my maps with the wifi off and 3g off but it doesn't...
[G1 Android Development] QBANIN:
"Brut MOD" in Navigation causes FCs. Same menu in maps works fine.