[G2 and Desire Z General] vyruz1986:
Hi,

I exetensively searched XDA and google for a solution to this, but while finding solutions to problems which are close to my problem, I couldn't find quite what I'm looking for, so be aware at first this might seem like a question that has already been asked, but please keep reading since this is really something different.

I have the following problem with my Desire Z which I have for 2 days now:

In my Gmail account (which is in fact a hosted apps account), I have like probably most of you a "All Contacts" group and a "My Contacts" group.

I use the My Contacts group for all my contacts which I maintain with correct information like name, last name, phone, etc. The "All Contacts" group is auto-updated by Gmail and contains each and every contact that I have ever sent or received an email from/to.

The difference is that my "All Contacts" contains 497 records, while my "My Contacts" group only contains 127 record, suffice it to say I don't want the "All Contacts" group anywhere near/on my phone.

Off course I've found out by now that using the menu button in the 'People' app and going to 'View' brings up a window where I can nicely select which groups I want to see and which ones I don't.

The problem, however, is that this setting only affects what is being shown, and even when turning off "(Ungrouped Contacts)", while effectively hiding these contacts, they are still in the phone, and worst of all : still synced to my Bluetooth carkit.

This causes huge problems with my carkit, probably because either there are weird characters in one or more of the records, or because there are just too many of them.

This is off course not just a wild guess, but a conclusion I have drawn after performing some tests:

I tested this with 2 carkits : My own Dodge Ram 2009 MyGig system, and my dad's Audi S5 Audi MMI (Multimedia Interface) system.

Tests were performed with 4 phones:

- Tmobile G1/HTC Dream running CM6.1 (stock android contacts.apk)

- Moto Milestone running CM6.1 (stock android contacts.apk)

- Samsung Galaxy S I9000 running stock ROM (TouchWiz contacts.apk)

- HTC Desire Z running stock ROM (HTC Sense contacts.apk)

For all 4 phones I connected them to the 2 carkits and enabled logcat while doing this. The logcat log effectively showed me that the CM6.1 phones were only syncing the 'right' contacts, while the 2 other phones (both using non-stock contacts.apk) were sending all the other **** to the carkit as well.

These tests lead me to conclude that apparently it's very hard to make a decent custom contacts.apk, because 2 independant manufacturers both screwed it up at the same point.

From where I stand I can see 3 possible solutions/workarounds to get this working correctly on my Dezire Z:

- Replace contacts.apk with stock one

- Flash CM6.1 on there

- Clean up 'all contacts' group in gmail account.

Normally I wouldn't hesitate to just fire up CM6.1 on there, but I really like the HTC sense web controll thingy, so I want to stick with the stock ROM for a while, or until Cyanogen comes with a ROM that includes this. (not yet AFAIK)

Cleaning up 497 contacts is really something I want to keep as a last resort.

So the only remaining option is to put a stock contacts.apk on there.

Can this be done, and if so, how?

Or are there possibly other ways around this which I'm failing to see?