yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] felipes:
Same here with brut15 :-(

Installed the file found at multiupload 9M8Z7SAJ1 (had to edit the URL as I am new to the forum). Installation proceed normally. After install, the icons I use to have at the home screen (one for Brut Maps, the other for the Direct Navigation - the blue compass arrow) turned into generic Android Icons (you know, the one with the green bot). Launching from any of those 2 icons would lead straight to an FC. Uninstalled, rebooted, redownloaded, retransfered to the phone, reinstalled. Same results. 4 new icons in the application list. Three of them FC. The 2nd one asks me whether I want to use latitude or com.google.android.maps.MapsActivity to complete action :-(

Uninstalled one more time, installed the (saved at the SD card) brut14 version. Brut14 works.

Gently tell this noob how to save a logcat and I will be more than glad to do so!

Unrooted Motorola Milestone, Android 2.1 update 1.

Best.

Felipe.
[G1 Android Development] HardCorePawn:
Everything seems fine here... :confused:

I downloaded 4.4 from multiupload... transferred to phone, uninstalled BrutGM 4.3, installed BrutGM 4.4... I see there are now 2 more icons (places and latitude)...

I'm running a "rooted" Samsung Galaxy S (GT-I9000) using the JM2 firmware (2.1 Eclair) as I'm told the Froyo update is still very "alpha" ;)
[G1 Android Development] squide:
Same thing happening here in my Acer Liquid running 1.6 Donut

4 Strange Icon and Force Close.
[G1 Android Development] BryanChung:
Places and Latitude came together with the original Google Maps 4.4.
[G1 Android Development] klx1204:
F/C on milestone 2.1

I downloaded brut 15 from multiupload, installed it. And there's 4 icons appeared in launcher but without the brut icon, instead of a green default icon.

Is brut 15 a broken pack?
[G1 Android Development] BryanChung:
Yeah I can confirm all of the above problems too. Here is the log:

E/AndroidRuntime(15340): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime(15340): java.lang.RuntimeException: Unable to start activity ComponentInfo{brut.googlemaps/com.google.android.maps.MapsActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f060003
E/AndroidRuntime(15340):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
E/AndroidRuntime(15340):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
E/AndroidRuntime(15340):	at android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime(15340):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
E/AndroidRuntime(15340):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(15340):	at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(15340):	at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(15340):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15340):	at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(15340):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(15340):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(15340):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(15340): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f060003
E/AndroidRuntime(15340):	at android.content.res.Resources.getValue(Resources.java:891)
E/AndroidRuntime(15340):	at android.content.res.Resources.openRawResource(Resources.java:816)
E/AndroidRuntime(15340):	at android.content.res.Resources.openRawResource(Resources.java:798)
E/AndroidRuntime(15340):	at com.google.android.maps.driveabout.vector.d.a(Unknown Source)
E/AndroidRuntime(15340):	at com.google.googlenav.android.l.a(Unknown Source)
E/AndroidRuntime(15340):	at com.google.googlenav.android.M.<init>(Unknown Source)
E/AndroidRuntime(15340):	at com.google.googlenav.android.c.<init>(Unknown Source)
E/AndroidRuntime(15340):	at com.google.googlenav.android.c.a(Unknown Source)
E/AndroidRuntime(15340):	at com.google.android.maps.MapsActivity.onCreate(Unknown Source)
E/AndroidRuntime(15340):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(15340):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
E/AndroidRuntime(15340):	... 11 more

The 4 icons appeared too. And brut map has no icon. Also on Milestone, 2.1.

Downgraded back to 14.
[G1 Android Development] canadiancow:
It's working fine on my Nexus One with CM 6 (latest nightly).
[G1 Android Development] nicolasf:
Same problem here. Motorola Milestone 2.1 update 1 (Brazil).
[G1 Android Development] cocchiararo:
same problem here, motorola milestone, thai (GOT) 2.1
[G1 Android Development] leejeans:
i just can not install it
[G1 Android Development] leejeans:
fc and bad icons ,g 1,rooted ,1.6
[G1 Android Development] gratti:
Same problems as the people above, with broken icons that force crash when trying to use it. I'm running froyo on nexus one (brasil). I download from at least four different sources and got same error on all of then.
[G1 Android Development] windoze.net:
Same problem on N1, non-rooted, original ROM

Works fine on N1 with CM6RC2 ROM.

Any ideas?
[G1 Android Development] domparry:
Works perfectly here. Desire running OpenDesire 3.0.5

Thanks for the hard work!
[G1 Android Development] Brut.all:
Ok, I don't get it :-/ Seems there aren't problems with my changes, but with... errr... apk structure. Some ROMs just can't read resources of this apk file.

I will try to install stock rom and test brut15 on it. Does anyone know, whether nandroid backup works with Froyo APP2SD? I doubt it and I don't want to lose my installed apps :-/
[G1 Android Development] foxsxy:
Same problem here. Motorola Milestone 2.1 update 1 (Southeast Asia).
[G1 Android Development] Brut.all:
Ok, I found this:

D/asset ( 98): Data exceeds UNCOMPRESS_DATA_MAX (1063360 vs 1048576)

Of course modded resources.arsc file is a little bigger, because I have added new resources. Original resources.arsc is 1048648 bytes, modded one is 1063360. Just 14K more, but seems this is the problem :-/

Funny thing is that original file is also bigger than above UNCOMPRESS_DATA_MAX. And this is weird that aapt doesn't warn you about potential size issues :-/

Ok, what language to remove? We could vote for this ;-) I will try to find something which I could cut down, but I don't really like such hacking :-/
[G1 Android Development] Brut.all:
Ok, I have removed some languages and brut15 works now on an emulator. Just wait for brut16. Ehhh... I hope Google will clean up resources soon - there are a lot of garbage.
[G1 Android Development] Brut.all:
Maybe removing some language isn't such bad idea. There are regional versions and they may not be so important.

There are:

es

es_MX

pt_PT

pt_BR

zh_CN

zh_TW

fr

fr_CA

en

en_GB

Could someone from these countries tell me whether all of them are so important? I guess zh_CN and zh_TW are totally different, same for pt langs, but what about e.g. fr_CA? What is it? I think one language will be enough.
[G1 Android Development] caspar.chan:
thx much.

brut-15 cant work on MS 2.1.

and hope to retain es and zh_CN
[G1 Android Development] rickysuper:
You are right. zh_CN and zh_TW are different. CN is simplified and TW is the traditional complex one. The language are the same but characters are different.

FYI:

The 4.4.0.4414-brut15 also failed to launch on my rooted Milestone 2.1 update 1
[G1 Android Development] jack031031:
You are right. zh_CN and zh_TW are different. And we need them both.Plz DO NOT remove them :)
[G1 Android Development] Brut.all:
Another idea is to remove only duplicated strings. For example many values from values-fr-rCA are identical as in values-fr, so they could be just removed. Same for values <-> values-* duplicates.

Unfortunately this won't be that easy :-/ In the future I could add optimization features to apktool.
[G1 Android Development] Brut.all:
I meant: "one language to remove will be enough" :-)

I think there is UNCOMPRESS_DATA_MAX config option somewhere in the Android sources. CM team had modified it, but on most ROMs it's default, so brut15 doesn't work on them.

Relax. I will try hard to not remove anything at all :-)
[G1 Android Development] neu242:
Brut Google Maps makes SE X10 mini homescreen crash

I just installed this on my newly rooted SE X10 mini pro, which promptly crashed the SE homescreen. If I select "Force Close", homescreen just crashes again. The only remedy is a manual uninstall, which instantly heals the homescreen:

$ adb shell
$ su
# rm -r data/data/brut.googlemaps
# rm data/dalvik-cache/data@app@brut.googlemaps.apk@classes.dex
# rm data/app/brut.googlemaps.apk
[G1 Android Development] totriz:
es and es_MX should be almost the same, I don't think anyone would mind if you leave only one of those
[G1 Android Development] Brut.all:
Continúa %1$s kilómetro

En el kilómetro %1$s

y, después, \n %1$s

entonces\n%1$s

Ruta

Instrucciones para llegar

Looks quite different ;-)
[G1 Android Development] felipes:
Same for pt_PT and pt_BR. As a Brazilian, I really don't mind loosing pt_BR. I use none of them, and I guess the ones that use PT can do with any.

Best.

Felipe.
[G1 Android Development] totriz:
but in the end it means the same :p

the text to speech engine, and anyone that understands spanish, should not have any trouble following either set of instructions
[G1 Android Development] felipes:
Although different, an Spanish speaker can understand both. And the same goes for Portuguese. Every single Brazilian can understand the Portuguese as it is written in Portugal. Every once in a while it may sound weird. But it is understandable.
[G1 Android Development] Brut.all:
I have removed all duplicates from en_GB lang (90% of all strings), but got just about 3K. I think it should be possible to get 14K, but I would have to do it automatically - manually it would be really hard.

I will try to solve this issue better in the future, but for know I've just removed es_MX lang, so es will be used instead. Grab this and let me know, whether it works - if yes then I will release brut16:

http://www.multiupload.com/N2ARZ7EUOF

55d241e4c5a728e0ce1388bee747d62b
[G1 Android Development] nanling:
I have tried the dev version and work on my N1 official 2.2 OK, thanks lot!!
[G1 Android Development] gratti:
I installed the new version and although it installs and all, it's behaving I kinda weird.

First of all, on google maps there are no regular settings. When I pressed the menu button there's only brut mode and I can't not access any of the features of google maps, like search or directions, navigation or anything.

Secondly, I can't move around. I can zoom in and out but I can't go side ways.

The other brut apps, like navigation, places and latitude seems to work fine.

Running, stock froyo on non rooted nexus one.

[update]: after killing the application and reopening, it started working properly.
[G1 Android Development] totriz:
new version working fine now.

nexus one, modaco r21 rom.
[G1 Android Development] felipes:
working!

I've installed it on my Milestone and, although it caused the Application Installer to FC (trying to launch it from there, just after installing), the Maps and Navigation icons (and places and latitude) are OK and the application itself is launching without crashing. Thanks a million, Brutt.all.

Felipe.
[G1 Android Development] canadiancow:
fr_CA: Canadian French.

I think your idea of optimizing away duplicate values (i.e. anything in fr_CA that's also in fr) would be a great addition to apktool.

In Nav Launcher, I have an en_US localization, but the only strings that appear in it are words like "favorite", "color", etc., which are written as "favourite", "colour", etc., elsewhere. I didn't duplicate other English words, so I don't know why Google did.
[G1 Android Development] rickysuper:
New version working on my rooted Milestone running 2.1update1 !

Thanks
[G1 Android Development] Brut.all:
Yeah, but actually it should be done by aapt tool. I don't see any reason to keep such duplicates, so there is no problem to do optimization in official tool. And this should be done at build, not decode time.

Hmm... apk optimizations would be even more efficient at installation time. E.g. on mdpi device you could remove all hdpi resources. You could remove resources for langs, that you don't use. Also Froyo supports UTF8 strings, but most of apks contain data in Unicode-16 for backward compatibility. If this is possible to do on a device, then it would be a fantastic feature for CM!

Maybe I will try to patch aapt and/or CM sources.

I think it's easier to maintain if you support ~50 languages. That's all.

Each version of GM is a little bigger then previous one and now it can't be bigger, so I hope they will clean up resources for next version.
[G1 Android Development] billquinn1:
Sorry, by "doesn't work on any of them" do you mean CM roms or other roms?

Thanks,

billquinn1, G1 ,danger, FR partition hack, chromatic froyo
[G1 Android Development] Brut.all:
Other. brut15 won't work on default ROM settings, but seems it works on CM-based ROMs.
[G1 Android Development] ravi84m:
force metric system option

I second that. I hate it when I get distances in miles.
[G1 Android Development] swefse:
Since the last update (4.4.0.4414-brut15) I can't open or use Brut at all.

In the app drawer the Maps [Brut] icon has disappeared, and I have four new icons titled com.google.android.(something).

Whenever I press any of those I get "The application brut.googlemaps (process brut.googlemaps) has stopped unexpectedly. Please try again."

How can I fix this?
[G1 Android Development] treperio:
is possible to save the maps in the SD, and use google navigator offline?
[G1 Android Development] lchiu7:
Works for me with stock N1 and Froyo
[G1 Android Development] canadiancow:
I swear to god. You both need to learn to ****ing read.
[G1 Android Development] chrislee:
Same Here!!

Help!
[G1 Android Development] str4vag:
once again, an awesome update. keep up to good work guys :)
[G1 Android Development] leslie222:
Me too....not working!!
[G1 Android Development] Brut.all:
http://www.multiupload.com/Z1JHL9IRMO

md5sum: 34ffb9375de5fb2e5d976316000e561d
[G1 Android Development] swefse:
With brut16 it works again.

Thank you so very much!
[G1 Android Development] leslie222:
Thanks

Thanks so much....all working with brut16!!! yes!!!!!
[G1 Android Development] :No-Frost::
Does that mean that we have spanish available now???
[G1 Android Development] canadiancow:
Brut, is the removal of the language the only change (because if so, there's no reason for me to use 16)?
[G1 Android Development] BoSib:
Thanks, works perfectly with Car panel etc.
[G1 Android Development] maxld:
Working flawlessly on my xperia X10, finally I have navigation, dzięki ziomuś!
[G1 Android Development] ravi84m:
I'm in europe why do i still get distance in miles?

does anyone know how to fix this?
[G1 Android Development] maxld:
I'm from poland and everything is working in metric system, so I have kilometers. Strange.
[G1 Android Development] cwhuang:
Support for Froyo and Android-x86

Hi Brut,

Thank you for your nice work so I can use Google Maps on the android board I'm developing (using Samsung SMDKV210 CPU).

Now I have two questions:

* I'm testing brut.googlemaps on Froyo running on my android dev board, which doesn't have any location service like gps or wifi. I got such exception in logcat on starting brut.googlemaps, and it just terminated:

W/dalvikvm( 1343): threadid=18: thread exiting with uncaught exception (group=0x4001d7c8)

E/AndroidRuntime( 1343): FATAL EXCEPTION: BaseLocationProvider

E/AndroidRuntime( 1343): java.lang.IllegalArgumentException: provider=gps

E/AndroidRuntime( 1343): at android.os.Parcel.readException(Parcel.java:1251)

E/AndroidRuntime( 1343): at android.os.Parcel.readException(Parcel.java:1235)

E/AndroidRuntime( 1343): at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:516)

E/AndroidRuntime( 1343): at android.location.LocationManager._requestLocationUpdates(LocationManager.java:711)

E/AndroidRuntime( 1343): at android.location.LocationManager.requestLocationUpdates(LocationManager.java:691)

E/AndroidRuntime( 1343): at M.a.c(Unknown Source)

E/AndroidRuntime( 1343): at y.e.run(Unknown Source)

E/AndroidRuntime( 1343): at java.lang.Thread.run(Thread.java:1096)

W/ActivityManager( 1072): Force finishing activity brut.googlemaps/com.google.android.maps.MapsActivity

On the other hand, I have no problem to run brut.googlemaps on Eclair running on the same board. I've tested brut.googlemaps 4.1, 4.2, 4.3 and 4.4, all the same results. Do you have any idea what the difference is?

* I'm also working for android-x86, i.e., porting android to x86 platform. Brut.googlemaps 4.1 (and before) works fine on my android-x86 donut and eclair branch (but froyo crashed as described above). However, since 4.2 you added jni to brut.googlemaps, so the apk can't be installed to android-x86 anymore. I think the jni is just used to fix some minor problems (shifting in China map, right?), could you provide a pure java apk without jni, so I can install it to android-x86? Or, could you provide an x86 jni version?

Regards,

Chih-Wei

Android-x86.org
[G1 Android Development] xerxesz:
Voice Guidance

Hi,

I installed Brut 16, and it is great as usual :D

However I have one issue. When I start the navigation it says: For voice-guided navigation, you nedd to install text-to-speech support from the Android Market."

Two options: Install / Skip.

If I press install, it goes to the Market and opens the app "SpeechSynthesis Data Installer" but it is already installed. But at the next start the same situation.

Any idea?
[G1 Android Development] canadiancow:
You need to run the "SpeechSynthesis Data Installer"
[G1 Android Development] Brut.all:
As you can see GM didn't do anything unusual - it just called requestLocationUpdates() method. I don't think GM treats location differently for Eclair and Froyo - I think your Froyo system crashes for request, for which Eclair works.

Question is: why Eclair doesn't throw errors for provider=gps? You could create simple one-line app to check this out.

I could, but I won't do that for every new version :-) You could unpack it, remove jni lib, zip it back, sign and install. Ofc then GM will crash if you'll enable location faking, but you could remove this menu option very easily using apktool.

I don't have sources :-)
[G1 Android Development] xerxesz:
Sorry, I don't get the point here. I installed it - e.g. run the installer - but the 2nd, 3rd, etc. time I got the same message. However it is already installed. I cannot install it again :? This is the issue.
[G1 Android Development] canadiancow:
The app is an installer for the speech data. You have to run the app.
[G1 Android Development] xerxesz:
Oh, thanks. And sorry. Normally I can handle cases like this :D
[G1 Android Development] zhaocs:
I like the map for brut!

Very good useful!

Thanks your hard work for the map!
[G1 Android Development] rassha:
todo: make it compatible with latest google voice actions

I have latest version installed (4.4.0-brut16 (#4414)

Everything works fine, but it does not work with latest google voice actions.

It says:

In order to use this feature, download latest google maps from the android market.

Or, you may be in a unsupported region for this action.
[G1 Android Development] canadiancow:
No big surprise there. I'm guessing the package name for Google Maps is hard coded into Voice Search.
[G1 Android Development] NickChaplin:
does that mean without a modded voice search it wont work with brut maps?
[G1 Android Development] bladez:
Could you please move this thread to General Android Apps & Games, since it probably works on every ROM and phone.
[G1 Android Development] figgeo:
If I uninstall the original Google maps, will the brut version take over everything that originally start Google maps. Or must I do something to make it work as original maps?
[G1 Android Development] henriquesp:
Thanks a lot, Brut.all!

I missed the brut15 version, went straight to the brut16 one and it installed like a charm. I'll test Navigation view mode today and post the results.

Best regards,

Henrique.
[G1 Android Development] AnEgg:
It's good. I have download burt14,15,16.
[G1 Android Development] wackob:
Has anyone checked out a maps caching app on the market called maps (-)

It can cache tiles, but needs a small mod to get it too work.
[G1 Android Development] g0800276:
help

Why could not I search places or get directions in Brut?

No matter how long I wait
[G1 Android Development] B1ny:
Upgraded from an old brut version and I am really impressed! Thanks a lot for all the great work that have been put into this :)

The only thing missing in maps now, must be adjustable update time in latitude. Amazing work and thanks a lot!
[G1 Android Development] B1ny:
No need for that, you can do that with brut :)
[G1 Android Development] formula91:
Is it possible to get this app to work with the new Google Voice actions?

this probably involves changing the app process name... or something else. Not sure.
[G1 Android Development] hungugu:
great stuff, thank you :)
[G1 Android Development] Brut.all:
4.5.0 in aTrackDog :-)
[G1 Android Development] chasepack:
Heys Brut.all,

a quick question on files...

according to gmapmaker (yes that little useful caching program), the same hybrid map for the same are consists of a Sat and a Hybrid(map) tile that are overlaid. Both are jpg files...

in brut maps, the cache for Hybrid maps are single files/tiles... and doesn't appear to be an image format...

any clues as to how the tile for brut map is derived? or is it straight from server as it is?

Thanks dude, this mod is full of WinZ especially when out exploring area with dodgy reception!
[G1 Android Development] canadiancow:
They seem to increment the version number right after every release.

4.4.0 was in aTrackDog pretty much right after 4.3.0 was released, but it still took a while before 4.4.0 was released.
[G1 Android Development] amir_rafie:
could anyone tell me how should I use gMapmaker for this app ?

cause I don`t have access to 3G connection all the time ,,,
[G1 Android Development] chasepack:
I surrender to the weirdness of the 1s and 0s of computer....

now both computers are running the script fine... and... i never did anything.

all instances maintain 32MB to 35MB in memory...

lol...

@Amir:

its all in front... ~end july period.. this link to start you off

http://xdaforums.com/showthread.php?p=7411865#post7411865
[G1 Android Development] voodoo0:
pls check the new version link, I cant get it. Thanks a lot.
[G1 Android Development] jankhner:
it's working, m8
[G1 Android Development] dieselboy:
HI, I have a Desire and have this working - I think it's excellent!

Whats the easiest way to cache the tiles?

So far I have been using local wifi to view googlemaps and have so far stored 20mb of tiles which is a good few thousand files. It takes time, is there a quicker way?
[G1 Android Development] Brut.all:
I go on holidays and have tried to precache some tiles using Mobile Atlas Creator. As you all say X and Y are swapped and Z is one point bigger. I've modified one line of code in GM and now I could use tiles downloaded by MAC instantly - just copy files to sdcard and that's all. Shame on me that I didn't do that earlier, so you had to write some scripts, modify code of precachers, etc. :-/ I was thinking I will release completely new caching mechanism soon and I didn't want to break compatibility with already cached tiles, so I decided to wait a little. But time passes and we don't have that new caching, so I should add some fixes to old one. I will do that right after I will be back.
[G1 Android Development] dieselboy:
This sounds like it would be perfect! Thanks for all your work!
[G1 Android Development] billquinn1:
That effort would get you a few droidburgers.