yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Brut.all:
Ahh and I have a few words to our Chinese friends.

I got some messages from people from your country and I think you should try to organize yourself and cooperate more with the rest of the world. I know there are many of you and you don't have excellent English skills, so it's easier for you to separate and sit on your own forums, but this definitely isn't good for you all :-)

Let's take, for example, this Buzz issue. It was here for some time and there was even fix for it - made by people from hiapk. Two bad things about it: firstly, no one tried to search for solution here, secondly, no one told rest of the world about the fix.

And there is this funny thread :-) :

http://bbs.hiapk.com/viewthread.php?tid=226494

It's about latest brutmod, but most of people there probably don't know about XDA, my thread, etc. They thank thread author for this mod (no problem for me, really ;-) ), ask him why there is no Buzz and "map shift/drift" fix, someone even said that he have 3 versions of GM installed simultaneously to get full feature set - total chaos there.

I don't understand, why you don't find someone, who know English better and could translate. He would forward some more important informations, like new versions of my mod or reports of your issues. A week ago I didn't even know about your map shift problems! But I guess it is really pain in your asses.

Could someone translate this post and place it somewhere, for example in the thread linked above?
[G1 Android Development] RavenTBK:
Same issue here.
[G1 Android Development] copy.cat:
Hi Brut~

The situation of GM's problem seem to be just in Hong-kong?!

I live in Taiwan and the brut11 of GM is okay for me now. (Actually, I just test the navigation in simulation mode at home with wi-fi. Cause I do not have 3G plan. But buzz is working fo me.)

You said you need somebody to translate your post above and place in hiapk.com?! But I do not know what is the point you want to say exactly, so I am afraid of that if I post something wrong there about what you mean, it will be a big mistake to you and the reader in apk.com

Sorry, I am not good at english. But I would like to help if I could.
[G1 Android Development] celloin:
Brut, I agree all.

GM that I attached in previous thread was from here:

http://hiapk.com/bbs/viewthread.php?tid=157385

Since GM 4.2 out, ppl there in Hiapk keep on looking for new hacked GM 4.2 there but I believe most of the users won't try doing the same here in xda, main reason was language differences.

Actually most of the ppl who can read English in China would be able to find most of the answers here in xda. For me, I don't go hiapk before unless, as you said, issues can be produced here only so I can never find answers from xda. I believe someone here reading this post will translate your words to the users in hiapk for sure.

Anyway, the GM 4.2 dev has buzz layer enabled and works like a charm. Thank you Brut.
[G1 Android Development] Brut.all:
I have added this to my TODO list. It may be Google's bug in their system of Google account permissions. As I said before, when I run my GM for the first time and click on "Join Latitude", I get a notification about permission request and I must click to allow. Seems this notification don't show for everyone for some reason.

Yeah, I know, my post was some kind of blah blah blahing about nothing ;-) I think celloin described it well:

That's funny situation:

Many people there don't know about my mod and features they could get. Or maybe they have it, but some older version, because it was reposted by someone some time ago and they just don't know, what it was and that there are newer versions.

They have some country-specific issues, but they try to solve them on their own. I'm quite good at modding GM, you know ;-), I could try to fix them, but I'm just not informed about them.

Even if someone will post information on these issues and I will fix them, most of people there won't know about my fix :-D

I think about some kind of this mod embassy in China ;-D I won't be too self-important if I say this thread is a homeland of nearly all modifications to Google Maps. I think it would be nice if someone would inform Chinese people about that. He would start "official" thread and post about new versions and some important informations, he would also report back some feedback: issues, feature requests, etc. Seems there are a lot of people who will benefit from this.

Hiapk is the same for Chinese-language countries, as XDA is for the rest of the world, right? I ran into it many times, when I was searching for some things.

Not only. I don't know about Buzz, but this map shift is in Beijing too, not in Taiwan though. Do you know, what I mean by "map shift issue"?

Your English is definitely good enough ;-) 50% of people here don't have perfect English, cause it isn't their native. Me too :-)

Thanks for info :-)

Where do you live exactly? Seems you have several-countries-in-one-country there - I just reeducated myself ;-) Maybe I'm just stupid ignorant, but I think most of people think that Hong Kong is just a city... :-/

P.S.

It's really funny to read these Google translations of hiapk to English. "Landlord" is freaking me out! :-D I guess it is just thread author, but I don't know, whether this is some idiom or maybe Google translates this weirdly :-)
[G1 Android Development] hk5354:
it is so lag if connect is not so good.

or in offline mode.

the map tile not be a accelerator of the map.:(
[G1 Android Development] canadiancow:
I'm not sure I understand what you're saying, but I think you mean that the map-caching is not helping with speed.

In that case, I'd have to agree. I tried it the other day, and it doesn't seem to be working with the desired effect. I can go into airplane mode, and I can see all my cached tiles, but they take just as long to load as downloading them over the net. However, it's not a feature I actually care about (I don't want to risk having out of date maps to save a few hundred milliseconds here and there), so I didn't post anything about it.
[G1 Android Development] copy.cat:
"map shift issue"---> Does it mean the GPS location show on GM is not the actually position in real world?

"Landlord" is freaking me out! :-D I guess it is just thread author--->Yes, you are rihgt.:-)

I am totally agree with that.
[G1 Android Development] KyleK29:
Not sure if this was mentioned, I searched but didn't find anything relevant. Anyone notice a delay in the navigation when using Brut compared to when using the normal Google Navigation? I can't confirm it is a Brut-issue, as I switched to Brut right after switching to Super-D. So it might be a rom issue.

The delay happens when getting navigation, it'll tell you (and show you) "turn left" right after you passed the street you were supposed to turn on. Previously (using CM-mod 4.2 and Google Nav beta) it would give you a good heads up. Just trying to narrow the causes down.
[G1 Android Development] canadiancow:
You're in the United States. Either disable the international modification (Menu -> Brut mod), or go back to the official version.

The primary purpose of Brut's mod is to enable Navigation in countries not officially supported, at the expense of functionality.
[G1 Android Development] canadiancow:
Brut,

"Queen Elizabeth Way W turns slightly right and becomes Peace Bridge"

Think it's worth adding the slight left/right icons for directions like that?
[G1 Android Development] Brut.all:
You should know that GM has its own cache, so if you are looking at area near you, you probably don't even touch data connection. Try to move screen farther.

And this feature isn't for speed, but costs. Try to find something on the map and you will eat 5MB in 1-2 minutes. Some people in my country use 50MB/month in their phones. Also offline maps give you possibility to e.g. look at them when you're on a trip to the mountains

I think GPS couldn't be tricked, because, as its name says, it's *Global* Positioning System. But China government requires that every map on their market must be shifted by some variable vector.

http://maps.google.com/maps?sll=52.241732,20.993522&ll=39.906263,116.304649&t=h&z=17

If you will switch to map view, then you will be ~500m from selected point :-/ This made me look like => O_o when I saw that for the first time.

Yeah, thanks for that :-)
[G1 Android Development] :
hi,

i'm using the 4.2-brut11 on my milestone.

i'm using in spain, and my locale lang is spanish.

all works fine except the indications, that are showed

and spoken in english.

in my old brut6, the indications are showed and

spoken in spanish.

howto resolve, please!

thank's for a good work, also!!
[G1 Android Development] Brut.all:
Yeah, I know of and must fix them.

Problem is: most of things requires me to have application context, but in places where I inject my mods it may be hardly accessible. So I save context statically on initialization - in onCreate() methods of MapsActivity, NavigationActivity, etc.

Sometimes (for example on Navigation starting) there are some preferences checks before any of these onCreate() calls. There must be some other onCreate() methods that I should modify.

As long as there is no FC, these exceptions shouldn't break anything.
[G1 Android Development] sikra:
Could someone with lacking Buzz feature check this version? I can't reproduce this issue, so I had to do some guessing ;-)

EDIT:

@5m00v3r

I think mirroring brutdev files does not have much sense - they are for testing :-)[/QUOTE]

Thank you a lot. Could you please include this feature in the future edition of your wonderful mod.
[G1 Android Development] copy.cat:
I got it.

But so strange......

I have told that to my friend in China, and he pass me back a link like this:

http://ditu.google.com/maps?ie=UTF8&hq=&hnear=%E5%8F%B0%E7%81%A3%E5%8F%B0%E5%8C%97%E5%B8%82%E4%B8%AD%E6%AD%A3%E5%8D%80&ll=39.907457,116.310335&spn=0.004584,0.011362&t=h&z=17&brcurrent=3,0x35f04e1b7f268399:0x21e98f374c293def,1,0x35f044f161e0fbd5:0x465ce85ee05be6b7%3B5,0,1

It is correct between map view and satellite view.

The only different is that show in simple chinese language.

so.....what is going wrong?!
[G1 Android Development] celloin:
http://hiapk.com/bbs/thread-232561-1-1.html

:)
[G1 Android Development] xiaoming93:
Thank you.

Working properly on my G1.
[G1 Android Development] Brut.all:
Yeah, of course, I wanted to test it before releasing :-)

All I know comes from a guy, who contacted me some time ago. He told me about that shift and gave tools to fix this. He claimed that this issue occurs on both map and satellite view on their Android devices. I tested this and for me only map view was shifted, but maybe it behaves differently depending on location.

I think I have fixed this issue just ~30 minutes ago. Tested on an emulator and locations seemed to be ok. I sent apk to this guy, but it would be nice, if anyone else would test it too.

@celloin

Where do you live? Does this issue occurs for you?

Thanks :-)

If shift fix works, then there will be brut12 soon :-)
[G1 Android Development] celloin:
I live and work in China now. I think shift issue only occurs when we fake our mobile carrier entirely to the carriers other than Chinese ones by using market enabler. (normally I fake my carrier info: gsm.sim.operator.numeric to T-mobile's (310260) while leaving other info. unchanged, this ensures the shift won't occur in maps and can have market enabler works also).

official google maps already fixed the shift if we do not use market enabler to fake carrier (but as far as I know it's not including shift fix in navigation as official one doesn't have this function). I'm testing the shift issue in navigation, so far so good, no shift occurs.

I do hoping for someone can fix the shift issue from system level which can fix all apps from position shifting not only for GM.

Thanks
[G1 Android Development] Brut.all:
I think it would be quite easy to fix on system level, but would require to compile your own system. Or maybe write some patcher, which would modify already compiled files.

And it would be a problem, if some application has its own fix, because then fix would be doubled. More advanced solution would be to give possibility to select, which applications must get the fix and which not.
[G1 Android Development] Dhex-:
Hi, this app is great, the option to store the map tiles on the sd is fantastic, specially on countries like mine where theres no 3g service for my phone, just slow Edge.

Anyways ive a request, a very simple one, can you change the icon to something nicier? maybe the old maps icon or the red marker, dunno, something to indentify it that differ from the original maps.
[G1 Android Development] Brut.all:
I don't want to add modifications, that can't be enabled/disabled in the menu. Some people may like it, others not :-)

And icons are distinguishable from original maps already - there is red "BRUT" tag on them.
[G1 Android Development] canadiancow:
I hope it includes the "slight left/right" icon for the instruction I posted, and I hope it's before I leave for Buffalo in 10 hours ;)

But no...take as long as you need to get everything working properly. I'll manage without the arrow.
[G1 Android Development] jiukouer:
Thank you for your hard work for the Chinese users.
[G1 Android Development] simba2008:
Hello Brut,

I would like to thank you for your exllent work and , a little information on the reason why we have map/gps shift/deviations in mainland China.

I live in Beijing, China, where we usually see the GPS locations and map locations do not match each other, the reason behind, based on my wild guess, is that once the United States opens fire(missile attack?) to China, they could not take the China's local digital maps as direct reference, this is also the reason why China is developing its own global positioning system - BeiDou（COMPASS）Navigation Satellite System.

I would not say this is good or bad, but it really takes a lot of headache when we use navigations locally.

Thanks again.
[G1 Android Development] Rallyharry:
good work, but i have the problem, that i can not log in if i start your maps. and it says 10 mins and longer, logging in. can´t cancel this process and have to reboot that it stops.

do i need to log in to work?

Rallyharry
[G1 Android Development] rac2030:
Just to note, in the latest version of MarketEnabler (3.0.8) I just included the sim.operator changes and not all the changes like in the first versions.

Does this still interfere with maps?

Try NinjaMorph from stericson, with this app you can change the resource files of Native application by yourself at runtime (no need to repackage the apk)
[G1 Android Development] KyleK29:
I'll give it a shot (disabling the International feature). Thanks.

I'd say Brut has done such a good job with his modifications that he has surpassed the main goal of adding international functionality. I use his mod for all the extra features he's plugged into it and as previously mentioned, I'm in a "supported" country.
[G1 Android Development] Brut.all:
I think so too ;-) This leaves no doubt that most people use it because of navigation, but I don't agree with: "The primary purpose of Brut's mod is to enable Navigation" :-)

@rac2030

Where were you so long? :-) Working on your thesis presentation? ;-D

P.S.

Shift fix works perfectly ok, there will be release soon :-)
[G1 Android Development] canadiancow:
BUT I JUST GOT TO BUFFALO T_T

P.S. I really miss fully functional Navigation.
[G1 Android Development] Brut.all:
http://ul.to/f7czf6/maps4.2.0.4210-brut12.apk

@celloin

When you (or someone else) will write on hiapk about new version, please include information that all features are disabled by default, so they must be enabled in Menu -> More -> Brut Mod. People tested brutdev version, which has Buzz force-enable hardcoded, so they will lose this feature after updating. This probably will confuse some people, especially because they aren't too familiar with this mod :-)

About the warning when enabling location faking: acamar don't want to share source code of his faking algorithm (libaddshift.so) - he don't want to piss off someone in China's government. I can't say its 100% safe to run it, but this guy seems to be a good one :-)

If someone want to localize Brut Mod menu, then no problem - I will post XML contents here.

Sorry ;-)

Don't gripe, you're in Canada. Maybe we will have navigation in Poland before 2015 ;-)
[G1 Android Development] desean:
any mirrors with megaupload or mediafire? i always can't seem to download from uploaded.to
[G1 Android Development] celloin:
Noted. As I saw someone there in Hiapk requesting for better support of the default map handler, could you add an option in your mod or build an stand alone tool that can enable users to choose which is the default map to handle all external map launching requests?
[G1 Android Development] Brut.all:
Do you mean some applications starts original GM without asking, which one do you want? What are these applications?

AFAIK there is only CarDock - it has original GM hardcoded. Navigation shortcuts on the home screen always run version, which created them - so if you have some shortcuts already, you must remove them and create using "Directions & Navigation [brut]". If you enter maps.google.com page in the browser, you should be asked, which GM you want. I don't know of other things, that run GM.

And of course if Android asks you, which of GM to run, you could set one of them as default.

Maybe I totally misunderstood you :-)
[G1 Android Development] celloin:
Brut, you understood me exactly. but I believe that there are lots of applications will bypass the user settings page and launch original GM instead of letting you choose one. Thus I dunno if an stand alone tool will fix?

Anyway, will you or your team help to build an system level tool to fix all applications' positioning deviation/shift in China? As you said, this application should ask users which applications should be excluded being fixed.
[G1 Android Development] copy.cat:
The function "Location faking" of maps 4.2.0.4210-brut12 is working for me.

But.....

http://ditu.google.com/maps?ie=UTF8&hq=&hnear=%E5%8F%B0%E7%81%A3%E5%8F%B0%E5%8C%97%E5%B8%82%E4%B8%AD%E6%AD%A3%E5%8D%80&ll=30.99365,121.194134&spn=0.077402,0.180416&t=h&z=13&brcurrent=3,0x35b2f3134712333b:0xca9d692aa9cc3e4c,1%3B5,0,1
[G1 Android Development] cxj3000:
I got this great app from hiapk and track to this thread, It's really useful about offline map and navigation.

Thanks for your effort to resolve those chinese specific issues.

I think you could use AliPay account to receive donation, because only the few people use paypal in China, the most popular pay tool is AliPay.
[G1 Android Development] Brut.all:
Applications on Android OS could run some actions through general Intents like "open web page XXX", "send email", etc. and then OS will look for applications which could run this action. They could also run "targeted" Intents: using exact packageName and activity name.

I guess these applications use second option: they don't want to e.g. "Run map at location XXX", but "Run activity MapsActivity from application com.google.android.apps.maps" - of course I can't catch this.

Such thing could be done through some hacking:

Modify other applications to use general Intent or call my version of GM. But there may be plenty of them to modify.

Modify my maps package name to com.google.android.apps.maps or modify original maps to rethrow modified Intents right after it will get them. Unfortunately GM is system app, so this would require root and some hacking to uninstall GM.

Maybe hack OS: root + hacking + problems.

But there is one good thing: if rumors about Froyo are truth and if I understand them correctly, GM may be normal, not system app soon. Then above "Modify my maps (...)" will be easily possible.

Hmm... I think I would be able to hack it system-wide in a short time. Applications excluding feature would take more, because building UI always take more than internal mechanisms. Also I think these modifications should work for the most of different systems, so I could create simple and universal smali diffs.

But... I won't create auto-patcher tool. Patching would be quite complicated process: pulling files from a device, baksmaling, patching, smaling, creating update.zip file, signing... and there probably will be some people, which will break their systems. I'm not so nice to do that ;-)

I think there are many talented people in your countries - if someone would want to work on auto-patcher or on some guide, how to do it manually, I could try to create diffs for patching :-)
[G1 Android Development] copy.cat:
strange...

I test the brut12, and everything is okay.

Then my phone is out of battery and power off himself.

After I change a battery and power on to keep on the testing.

The "Location faking" function does not work, no matter enable or disable.

Why ?!
[G1 Android Development] Brut.all:
Hah, nice photo :-D

But GM doesn't use ditu maps. Or maybe does it?

I don't really care so much :-) If I would not spent time on this mod, but instead on some regular work, I would get 10 times more cash, than I could get from donations ;-) It's not about the money :-)

You could enable "debug mode" in menu and search in logcat for some LocationFaker messages.
[G1 Android Development] copy.cat:
Yes, it does. I found that on my phone but I can't take phone. so I post the link on my computer.

The place on GM of my phone look like that.

I have enable the "debug mode", and how to find out what is going wrong?

no matter I enable or disable the "Location faking", it still shift about 500m. :(
[G1 Android Development] bjtheone:
This is with .11 NOT .12 but I just had something weird happen.

Started with the "freezing" upon NAV start, where it initialises the display correctly showing the location but then does not update (like I was in debug mode)... I checked and definitely am not. Persisted through multiple app restarts, even though Map mode would show my position moving. The weird part was that my position was offset about 300-500 feet generally south of my real position. Happily displayed me driving beside the highway the entire trip in map mode. Went away after a phone reboot and behaved normally on the way home.

This is the second time I have had this freezing behaviour. I certainly have updated some apps but have not loaded any new ones.

Any ideas of what to look for to try and diagnose this as it is a total PITA and I am not thrilled with the idea of having to reboot before using Nav each time.
[G1 Android Development] Brut.all:
I must go to sleep now, so I'm uploading my work-in-progress. If someone is bored, he could download it and check voice feature. I didn't have time to test it well, will go for it tomorrow. Also I think I heard some issues, but anyway this is a great news, we will probably have quite good voice support soon :-)

http://ul.to/pzkyj1/maps-brutdev.apk

Please use for english locale only (or disable force locale option). I didn't try this, but I guess if you change locale, it will read english directions with e.g. French TTS ;-) It's working version, you know :-)

And don't repost it on hiapk, etc., please. It's better to wait for release.

cya tomorrow :-)
[G1 Android Development] squbel:
Geeez Brut.all !! You're tha MAN!!!

Just tested it around the town (Hamilton, New Zealand) for 20+ min -> works flawlessly !!! All voice instructions concise and on time!

Only one funny thing for now - AFAIR originally roundabouts were called and pronounced as "roundabout". Now it's "traffic circle". Not a problem at all but just a bit odd.

HaHaHaHa!!! You're a genius!

Ps. To trzeba oblac nastepnym piwem! Twoje zdrowie!
[G1 Android Development] sikra:
Thank you a lot for the version 12, would you please add proxy/api interface support just in case.
[G1 Android Development] sikra:
shift issue fix did not work well right now. It seems that google map recognize the location with connection ip and transfer different edition of map and shift value. Maybe a combination of a https proxy interface and the shift fix will finally settle it down.