[XPERIA X10 Q&A, Help & Troubleshooting] em1983:
Due to the fact that the stock ROM is running so bad and drains my battery, I decided to try some custom roms and kernels. Ended up flashing all kinds of stuff but eventuelly reflashed the stock kernel to get it all right again.

At this moment I am using DoomKernel v6 for UB, together with DiXperia 7 for UB.

Everything works fine, not WLOD or FC issues.

Because I flashed a new rom, all my contacts, sms, settings etc. got deleted. Not much of a issue as I have a backup of everything. All my contacts are synced with gmail anyway, which is the most important thing for me.

So after I installed the new rom correctly and made all wanted settings, I set up gmail sync to get my contacts back. So far so good, got em all back!

When I got in my car, I resetted my radio head unit (running on the latest firmware) and paired it with my phone. As usual a notification appeared on the phone saying my Alpine CDE-103BT requested phonebook and call history access (PBAP), which I granted with the "ALWAYS" option checked. After a half hour drive I checked if my head unit was able to get all contacts from my phone. Unfortunatly I only saw 5 entries in there!

Being disappointed of having yet another ROM that has this problem, I decided to find out what is going wrong. Even now I still don't know why this happens.

What I did find out is that the 5 names that do get synced are also the first 5 entries that appear in the VCF-file when I export my contact list.

The number 6 in that list is no different from any other contact in that list, and only has a name and phonenumber, just like the rest.

Can anyone tell me if there is something else I can check, try, run to get it all going or at least find out what is causing hte problem?

When I flash back to the stock kernel (2.3.3), the problems are gone.

All roms I tried are 2.3.3 based as well.

*UPDATE*

I used the app CatLog to get a dump of log events when my phone was connecting to the carkit and sync it's contacts.

This is what I got (filtered out other events):

06-05 16:49:25.655 D/Netd (1127): NetLink Event bluetooth action 1
06-05 16:49:25.695 E/BluetoothEventLoop.cpp(4320): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/4705/hci0/dev_00_12_1C_CC_F3_CC
06-05 16:49:26.725 I/BluetoothAudioGateway.cpp(4663): Accepting HF connection.
06-05 16:49:26.725 I/BluetoothAudioGateway.cpp(4663): Successful accept() on AG socket 58: new socket 63, address 00:12:1C:CC:F3:CC, RFCOMM channel 10
06-05 16:49:26.725 I/BT Audio Gateway(4663): connect notification!
06-05 16:49:26.725 I/BT Audio Gateway(4663): Incoming connection from handsfree 00:12:1C:CC:F3:CC on channel 10
06-05 16:49:26.735 I/BT HSHFP(4663): Incoming rfcomm (handsfree) connection from 00:12:1C:CC:F3:CCon channel 10
06-05 16:49:26.735 I/BluetoothDeviceProfileState(4320): Entering IncomingHandsfree state with: 2
06-05 16:49:26.735 I/BluetoothDeviceProfileState(4320): Processing command:2
06-05 16:49:26.735 D/BT HSHFP(4663): Device: 00:12:1C:CC:F3:CC Headset state0 -> 1, result = 1
06-05 16:49:26.755 I/BT HSHFP(4663): initializeNativeDataNative: ALREADY CONNECTED!
06-05 16:49:26.755 I/ActivityManager(4320): Start proc com.android.settings for broadcast com.android.settings/.bluetooth.DockEventReceiver: pid=6357 uid=1000 gids={3002, 3001, 3003, 1015}
06-05 16:49:26.755 D/BT HSHFP(4663): Rfcomm connected
06-05 16:49:26.765 D/BT HSHFP(4663): Device: 00:12:1C:CC:F3:CC Headset state1 -> 2, result = 1
06-05 16:49:26.785 D/BT HSHFP(4663): Saved priority 00:12:1C:CC:F3:CC = 1000
06-05 16:49:26.815 I/BluetoothDeviceProfileState(4320): Entering ACL Connected state with: 102
06-05 16:49:27.195 D/AudioFlinger(1137): setParameters(): io 0, keyvalue bt_headset_name=ALPINE CDE-103BT;bt_headset_nrec=on, tid 2567, calling tid 4663
06-05 16:49:27.245 I/AudioHardwareQSD(1137): Using default acoustic parameters (ALPINE CDE-103BT not in acoustic database)
06-05 16:49:27.245 I/AudioHardwareQSD(1137): Routing audio to Speakerphone
06-05 16:49:27.455 D/AudioFlinger(1137): setParameters(): io 0, keyvalue bt_headset_nrec=off, tid 2568, calling tid 4663
06-05 16:49:27.455 I/AudioHardwareQSD(1137): Turning noise reduction and echo cancellation off for BT headset
06-05 16:49:27.735 I/Bluetooth HeadsetBase(4663): Error processing <AT+CMGF=0>
06-05 16:49:27.865 I/Bluetooth HeadsetBase(4663): Error processing <AT+CBC>
06-05 16:49:28.355 I/VCardBuilder(4887): Use the charset "UTF-8" for export.
06-05 16:49:28.385 W/VCardComposer(4887): The charset "UTF-8" is used while SHIFT_JIS is needed to be used.
06-05 16:49:28.385 D/VCardComposer(4887): Use the charset "UTF-8"
06-05 16:49:28.745 D/DefCapUpdaterReceiver(5262): onReceive()
06-05 16:49:30.735 I/BluetoothDeviceProfileState(4320): A2dp:Connect Other Profiles
06-05 16:49:30.735 D/BluetoothA2dpService(4320): connectSink(00:12:1C:CC:F3:CC)
06-05 16:49:32.515 E/VCardBuilder(4887): All ContentValues given from database is empty.
06-05 16:49:32.605 W/BluetoothPbapObexServer(4887): Not support access SIM card info!
06-05 16:49:32.725 I/BtAtPhonebook(4663): Refreshed phonebook RC with 0 results
06-05 16:49:32.755 I/BtAtPhonebook(4663): Refreshed phonebook RC with 0 results
06-05 16:49:32.885 I/BtAtPhonebook(4663): Refreshed phonebook DC with 1 results
06-05 16:49:32.925 I/BtAtPhonebook(4663): Refreshed phonebook DC with 1 results
06-05 16:49:33.065 I/BtAtPhonebook(4663): Refreshed phonebook MC with 0 results
06-05 16:49:33.115 I/BtAtPhonebook(4663): Refreshed phonebook MC with 0 results
06-05 16:49:33.295 I/Bluetooth HeadsetBase(4663): Error processing <AT+CMGF=0>
06-05 16:49:47.235 I/TelephonyRegistry(4320): notifyServiceState: 0 home T-Mobile NL T-Mobile NL 20416 UMTS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false
06-05 16:49:47.255 I/TelephonyRegistry(4320): notifyDataConnection: state=0 isDataConnectivityPossible=true reason=null interfaceName=null networkType=3