[Galaxy S 4 i9505 Original Android Development] :
I have tried to create a kang version directly from your github.

but stumble again and again to an error in the bluetooth.

do you happen to have an idea what could be it?

target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: error: invalid conversion from 'void (*)(bt_bdaddr_t*, bt_bdname_t*, uint32_t) {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int)}' to 'wake_state_changed_callback {aka void (*)(bt_state_t)}' [-fpermissive]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: error: invalid conversion from 'void (*)(bt_bdaddr_t*, bt_bdname_t*, uint32_t, bt_ssp_variant_t, uint32_t) {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int, bt_ssp_variant_t, unsigned int)}' to 'pin_request_callback {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int, unsigned char)}' [-fpermissive]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: error: invalid conversion from 'void (*)(bt_status_t, bt_bdaddr_t*, bt_bond_state_t)' to 'ssp_request_callback {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int, bt_ssp_variant_t, unsigned int)}' [-fpermissive]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: error: invalid conversion from 'void (*)(bt_status_t, bt_bdaddr_t*, bt_acl_state_t)' to 'bond_state_changed_callback {aka void (*)(bt_status_t, bt_bdaddr_t*, bt_bond_state_t)}' [-fpermissive]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: error: invalid conversion from 'void (*)(bt_cb_thread_evt)' to 'acl_state_changed_callback {aka void (*)(bt_status_t, bt_bdaddr_t*, bt_acl_state_t)}' [-fpermissive]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: error: invalid conversion from 'void (*)(uint16_t, uint8_t*, uint8_t) {aka void (*)(short unsigned int, unsigned char*, unsigned char)}' to 'callback_thread_event {aka void (*)(bt_cb_thread_evt)}' [-fpermissive]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: error: invalid conversion from 'void (*)(bt_status_t, uint16_t) {aka void (*)(bt_status_t, short unsigned int)}' to 'dut_mode_recv_callback {aka void (*)(short unsigned int, unsigned char*, unsigned char)}' [-fpermissive]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: warning: missing initializer for member 'bt_callbacks_t::le_test_mode_cb' [-Wmissing-field-initializers]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: warning: missing initializer for member 'bt_callbacks_t::le_extended_scan_result_cb' [-Wmissing-field-initializers]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: warning: missing initializer for member 'bt_callbacks_t::le_lpp_write_rssi_thresh_cb' [-Wmissing-field-initializers]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: warning: missing initializer for member 'bt_callbacks_t::le_lpp_read_rssi_thresh_cb' [-Wmissing-field-initializers]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: warning: missing initializer for member 'bt_callbacks_t::le_lpp_enable_rssi_monitor_cb' [-Wmissing-field-initializers]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:457:1: warning: missing initializer for member 'bt_callbacks_t::le_lpp_rssi_threshold_evt_cb' [-Wmissing-field-initializers]
make: *** [out/target/product/jfltexx/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/com_android_bluetooth_btservice_AdapterService.o] Fehler 1