[T-Mobile Samsung Galaxy S II SGH-T989] Splaktar:
Bluetooth logcats

Here are some logcats that I'm seeing from BT. They were constantly spamming in the background, but I wasn't in the middle of BT failing and needing to reboot (though it still does happen on the latest build). There were hundreds of these 'fail to get port number' and then 9 of the 'java.io.IOException: Bad file number' messages.

E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/MP-Decision( 812): UP Ld:33 Nw:1.990000 Tw:140 rq:2.300000 seq:147.000000
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/bt-btif ( 5319): bta_jv_rfcomm_start_server, RFCOMM_CreateConnection failed
E/BluetoothSocket( 4694): bindListen, fail to get port number, exception: java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/System ( 4694): Uncaught exception thrown by finalizer
E/System ( 4694): java.io.IOException: socket not created
E/System ( 4694):	at android.net.LocalSocketImpl.shutdownInput(LocalSocketImpl.java:343)
E/System ( 4694):	at android.net.LocalSocket.shutdownInput(LocalSocket.java:184)
E/System ( 4694):	at android.bluetooth.BluetoothSocket.close(BluetoothSocket.java:446)
E/System ( 4694):	at android.bluetooth.BluetoothSocket.finalize(BluetoothSocket.java:224)
E/System ( 4694):	at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:187)
E/System ( 4694):	at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170)
E/System ( 4694):	at java.lang.Thread.run(Thread.java:856)
E/System ( 4694): Uncaught exception thrown by finalizer
E/System ( 4694): java.io.IOException: Bad file number
E/System ( 4694):	at android.net.LocalSocketImpl.shutdown(Native Method)
E/System ( 4694):	at android.net.LocalSocketImpl.shutdownInput(LocalSocketImpl.java:346)
E/System ( 4694):	at android.net.LocalSocket.shutdownInput(LocalSocket.java:184)
E/System ( 4694):	at android.bluetooth.BluetoothSocket.close(BluetoothSocket.java:446)
E/System ( 4694):	at android.bluetooth.BluetoothSocket.finalize(BluetoothSocket.java:224)
E/System ( 4694):	at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:187)
E/System ( 4694):	at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170)
E/System ( 4694):	at java.lang.Thread.run(Thread.java:856)

I turned off BT (successfully) and saw this:

E/BtOppRfcommListener( 5319): Error accept connection java.io.IOException: read failed, socket might closed or timeout, read ret: -1
E/bt-rfcomm( 5319): RFCOMM_RemoveServer() BAD handle:0
E/bt-btif ( 5319): BTA AG is already disabled, ignoring ...
E/bt-btif ( 5319): btif_disable_service: Current Services:0x140000
E/bt-btif ( 5319): warning : no command pending, ignore ack
E/bt-btif ( 5319): btif_disable_service: Current Services:0x100000
E/bt-btif ( 5319): btif_disable_service: Current Services:0x100000

Then I turned BT back on (successfully - not paired) and got this:

E/bt-btif ( 5319): btif_enable_service: current services:0x100040
E/bt-btif ( 5319): btif_enable_service: current services:0x140040
E/bt-btif ( 5319): btif_enable_service: current services:0x140040
E/bt-btif ( 5319): Calling BTA_HhEnable
E/bt-btif ( 5319): ## btif_config_get assert section && *section && key && *key && name && *name && bytes && type failed at line:182 ##
E/bt-btif ( 5319): btif_storage_get_adapter_property service_mask:0x140040
E/BluetoothRemoteDevices( 5319): devicePropertyChangedCallback: bdDevice: 00:13:8A:20:2D:53, value is empty for type: 10
E/BluetoothRemoteDevices( 5319): devicePropertyChangedCallback: bdDevice: 00:18:6B:A7:B1:00, value is empty for type: 10
E/bt-btif ( 5319): ## btif_config_get assert section && *section && key && *key && name && *name && bytes && type failed at line:182 ##
E/bt_h4 ( 5319): vendor lib postload completed
E/BluetoothServiceJni( 5319): SOCK FLAG = 1 ***********************
E/BluetoothServiceJni( 5319): SOCK FLAG = 0 ***********************
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************
E/BluetoothServiceJni( 5319): SOCK FLAG = 3 ***********************

After that the BT Error messages stopped.

I'm also getting gapps FCs while using the latest gapps from OP and the latest build:

F/libc (22530): Fatal signal 11 (SIGSEGV) at 0x5d0717f8 (code=1), thread 22530 (e.process.gapps)
E/AndroidRuntime(13498): FATAL EXCEPTION: main
E/AndroidRuntime(13498): java.lang.RuntimeException: Unable to instantiate service com.google.android.syncadapters.bookmarks.BookmarksSyncAdapterService: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.bookmarks.BookmarksSyncAdapterService" on path: /system/app/ChromeBookmarksSyncAdapter.apk
E/AndroidRuntime(13498):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2639)
E/AndroidRuntime(13498):	at android.app.ActivityThread.access$1600(ActivityThread.java:150)
E/AndroidRuntime(13498):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1326)
E/AndroidRuntime(13498):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13498):	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(13498):	at android.app.ActivityThread.main(ActivityThread.java:5195)
E/AndroidRuntime(13498):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(13498):	at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(13498):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime(13498):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime(13498):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(13498): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.bookmarks.BookmarksSyncAdapterService" on path: /system/app/ChromeBookmarksSyncAdapter.apk
E/AndroidRuntime(13498):	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
E/AndroidRuntime(13498):	at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime(13498):	at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime(13498):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2636)
E/AndroidRuntime(13498):	... 10 more

As far as USB transfers, I just did a transfer over MTP and it was very fast. I didn't have any problems connecting or disconnecting and haven't needed to reboot. ADB works when in Mass Storage and MTP modes.

I did get a little weirdness but I think that it is just caused by my own driver configuration. If I plugin MTP mode first, Win7 pops up an invalid deviceid message. I get ADB but no storage gets mounted on Win7. I can then switch to Mass Storage and see no error msg, but no storage gets mounted. Then I switch back to MTP and that time I don't get the invalid deviceid and my storage is mounted properly.

This might just be because of my usage of the Universal Naked 0.72 drivers or some other oddity in my current configuration. It's not a major problem that is blocking anything. Thank you for the USB fixes!