Nuitrack SDK android and orbbec

Hi,

I downloaded nuitrack.apk file and install it to my android device, connect astra pro to the device, click compatible test, but it doesnt recognize the sensor, the app crashes.

Does anybody have it work on android?

Thanks
Tung

Hi Tung,

Please specify what Android device do you use?
Does this device have USB OTG support?

Hi Olga,

Im using Odroid C2, it does have USB OTG support

Thanks
Tung

Please advise:

  1. What is your Odroid C2 firmware version?
  2. What Android version is used?
  3. Does a popup window ‘Allow Nuitrack app access to camera’ apper after you connect the sensor to your device using USB?

Please run “Compatibility test” on the Android device, then close Nuitrack app and connect your phone to the PC, save and send us the output of the command “adb logcat”.

Hi Olga,

  1. My Odroid C2 firmware version is odroidc2-eng 6.0.1 master 104
  2. Android version: 6.0.1
  3. The popup window “Allow the app Nuitrack to access the usb device?” when i click on the Compatibility test button and the app crash after i hit ok button of the popup.
    Im not sure how to upload file to this website so i uploaded the logcat file here
    https://www.dropbox.com/s/wze8r7b611llf9e/nuitrack.log?dl=0

Thanks
Tung

Please advise do you use a rooted device?

If yes, go to adb shell and try to set permissions for USB devices with the following command:

chmod -R 777 /dev/bus/usb/

Hi Olga,

Yes, i have a rooted device.
I have run the command in adb shell, but it seems the problem still there

THanks
Tung

Here is the /dev/bus/usb

root@odroidc2:/ # ls -al /dev/bus/usb
drwxrwxrwx root root 1970-01-01 00:00 001
drwxrwxrwx root root 1970-01-01 00:00 002
root@odroidc2:/ # ls -al /dev/bus/usb/
drwxrwxrwx root root 1970-01-01 00:00 001
drwxrwxrwx root root 1970-01-01 00:00 002
root@odroidc2:/ # ls -al /dev/bus/usb/001
crwxrwxrwx root usb 189, 0 1970-01-01 00:00 001
crwxrwxrwx root usb 189, 1 1970-01-01 00:00 002
crwxrwxrwx root usb 189, 2 1970-01-01 00:00 003
crwxrwxrwx root usb 189, 3 1970-01-01 00:00 004
crwxrwxrwx root usb 189, 4 1970-01-01 00:00 005
crwxrwxrwx root usb 189, 5 1970-01-01 00:00 006
crwxrwxrwx root usb 189, 6 2018-11-29 21:27 007
crwxrwxrwx root usb 189, 7 2018-11-29 21:27 008
root@odroidc2:/ # ls -al /dev/bus/usb/002
crwxrwxrwx root usb 189, 128 1970-01-01 00:00 001

Here is the logcat:

11-29 21:26:50.881 3225 3281 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 100]
11-29 21:26:53.749 3225 4244 D NetlinkSocketObserver: NeighborEvent{elapsedMs=713720, 10.50.30.254, [706BB9433FE5], RTM_NEWNEIGH, NUD_REACHABLE}
11-29 21:26:53.885 3225 3281 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 100]
11-29 21:26:56.310 3225 3612 I ActivityManager: Killing 4098:com.hardkernel.odroid/1000 (adj 15): empty #17
11-29 21:26:56.413 3225 4375 D ActivityManager: cleanUpApplicationRecord – 4098
11-29 21:26:56.890 3225 3281 D ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [WIFI () - 100]
11-29 21:27:04.398 2916 3254 D audio_hw_primary: out_set_parameters(kvpairs(routing=2), out_device=0x2)
11-29 21:27:04.400 3225 3237 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.tdv.nuitrack.sdk/.NuitrackManager (has extras)} from uid 10007 on display 0
11-29 21:27:04.409 2916 3254 D audio_hw_primary: start_output_stream(adev->out_device=0x2, adev->mode=0)
11-29 21:27:04.409 2916 3254 D audio_hw_primary: select_devices(mode=0, out_device=0x2)
11-29 21:27:04.409 2916 3254 D audio_hw_primary: select_devices : hs=0 , hp=0, sp=2, hdmi=0x0,earpiece=0x0
11-29 21:27:04.409 2916 3254 D audio_hw_primary: select_devices : in_device(0x4), mic_in(0x4), headset_mic(0)
11-29 21:27:04.409 2916 3254 D audio_hw_primary: select_devices : output_standby=1,input_standby=1
11-29 21:27:04.409 2916 3254 D audio_hw_primary: *start_output_stream, open card(0) port(0)
11-29 21:27:04.409 2916 3254 D audio_hw_primary: channels=2—format=0—period_count4—period_size1024—rate=48000—
11-29 21:27:04.481 3225 3236 I ActivityManager: Start proc 4578:com.tdv.nuitrack.sdk/u0a69 for activity com.tdv.nuitrack.sdk/.NuitrackManager
11-29 21:27:04.499 2916 3254 D AudioFlinger: mixer(0xf48c0000) throttle end: throttle time(29)
11-29 21:27:04.550 4578 4578 I art : Not late-enabling -Xcheck:jni (already on)
11-29 21:27:04.550 4578 4578 I art : Late-enabling JIT
11-29 21:27:04.560 4578 4578 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
11-29 21:27:04.606 4578 4578 D NuitrackManager: Start Nuitrack Manager
11-29 21:27:04.665 3225 3611 I ActivityManager: Start proc 4592:com.tdv.nuitrack.sdk:NuitrackServiceProcess/u0a69 for service com.tdv.nuitrack.sdk/.NuitrackService
11-29 21:27:04.673 4578 4598 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
11-29 21:27:04.704 4578 4598 I OpenGLRenderer: Initialized EGL, version 1.4
11-29 21:27:04.731 4592 4592 I art : Not late-enabling -Xcheck:jni (already on)
11-29 21:27:04.731 4592 4592 I art : Late-enabling JIT
11-29 21:27:04.742 4592 4592 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
11-29 21:27:04.754 3225 3244 I ActivityManager: Displayed com.tdv.nuitrack.sdk/.NuitrackManager: +284ms
11-29 21:27:04.780 4592 4592 D NuitrackService: Create Nuitrack Manager Service
11-29 21:27:04.780 4592 4592 D NuitrackService: getChecker()
11-29 21:27:04.781 4592 4592 D NuitrackService: onBind
11-29 21:27:04.789 4592 4611 D NuitrackService: Check Updates
11-29 21:27:04.796 3225 3236 D VoldConnector: SND -> {7 volume mkdirs /storage/emulated/0/Android/data/com.tdv.nuitrack.sdk/files/}
11-29 21:27:04.798 3225 3273 D VoldConnector: RCV <- {200 7 Command succeeded}
11-29 21:27:05.682 4578 4578 D NuitrackManager: onPostExecute
11-29 21:27:05.778 4578 4614 W art : Method processed more than once: java.lang.Long com.tdv.nuitrack.sdk.NuitrackManager$InstallTask.getAssetsSize(android.content.res.AssetManager, java.lang.String)
11-29 21:27:05.922 4578 4614 W art : Method processed more than once: void com.tdv.nuitrack.sdk.NuitrackManager$InstallTask.copyFile(android.content.res.AssetManager, java.lang.String, java.lang.String)
11-29 21:27:06.174 3225 3279 D WifiStateMachine: starting scan for "TruClear Global"WPA_PSK with 2412,2437
11-29 21:27:06.590 3515 3569 D MyPppoeService: interfaceLinkStateChanged+wlan0uptrue
11-29 21:27:07.490 2916 3254 D audio_hw_primary: do_output_standby(0xf616c380)
11-29 21:27:11.248 3536 3536 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=633.9392, y[0]=373.17404, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=731217, downTime=724256, deviceId=4, source=0x2002 }
11-29 21:27:11.248 3536 3536 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=633.9392, y[0]=373.17404, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=731217, downTime=724256, deviceId=4, source=0x2002 }
11-29 21:27:11.248 3536 3536 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=633.9392, y[0]=373.17404, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=731217, downTime=724256, deviceId=4, source=0x2002 }
11-29 21:27:11.248 3536 3536 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=633.9392, y[0]=373.17404, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=731217, downTime=724256, deviceId=4, source=0x2002 }
11-29 21:27:13.603 3225 3611 I ActivityManager: START u0 {cmp=com.tdv.nuitrack.sdk/.SampleActivity} from uid 10069 on display 0
11-29 21:27:13.605 2916 3254 D audio_hw_primary: out_set_parameters(kvpairs(routing=2), out_device=0x2)
11-29 21:27:13.616 2916 3254 D audio_hw_primary: start_output_stream(adev->out_device=0x2, adev->mode=0)
11-29 21:27:13.616 2916 3254 D audio_hw_primary: select_devices(mode=0, out_device=0x2)
11-29 21:27:13.616 2916 3254 D audio_hw_primary: select_devices : hs=0 , hp=0, sp=2, hdmi=0x0,earpiece=0x0
11-29 21:27:13.616 2916 3254 D audio_hw_primary: select_devices : in_device(0x4), mic_in(0x4), headset_mic(0)
11-29 21:27:13.616 2916 3254 D audio_hw_primary: select_devices : output_standby=1,input_standby=1
11-29 21:27:13.616 2916 3254 D audio_hw_primary: *start_output_stream, open card(0) port(0)
11-29 21:27:13.617 2916 3254 D audio_hw_primary: channels=2—format=0—period_count4—period_size1024—rate=48000—
11-29 21:27:13.689 4592 4592 D NuitrackService: onBind
11-29 21:27:13.740 4592 4611 D NuitrackService: Check Updates
11-29 21:27:13.811 3225 3619 I ActivityManager: START u0 {cmp=com.tdv.nuitrack.sdk/android.app.NativeActivity} from uid 10069 on display 0
11-29 21:27:13.817 4592 4592 D NuitrackService: onUnbind
11-29 21:27:13.853 3225 3375 D VoldConnector: SND -> {8 volume mkdirs /storage/emulated/0/Android/obb/com.tdv.nuitrack.sdk/}
11-29 21:27:13.857 3225 3273 D VoldConnector: RCV <- {200 8 Command succeeded}
11-29 21:27:13.940 3225 3244 I ActivityManager: Displayed com.tdv.nuitrack.sdk/android.app.NativeActivity: +103ms (total +326ms)
11-29 21:27:13.949 4578 4619 I NUITRACK: RGB device VID: 11205, PID: 1281
11-29 21:27:13.958 3225 3612 I ActivityManager: START u0 {flg=0x10000000 cmp=com.android.systemui/.usb.UsbPermissionActivity (has extras)} from uid 1000 on display 0
11-29 21:27:14.181 3225 3244 I ActivityManager: Displayed com.android.systemui/.usb.UsbPermissionActivity: +103ms
11-29 21:27:15.027 4578 4578 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=822.7707, y[0]=122.61601, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=734997, downTime=733443, deviceId=4, source=0x2002 }
11-29 21:27:15.027 4578 4578 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=822.7707, y[0]=122.61601, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=734997, downTime=733443, deviceId=4, source=0x2002 }
11-29 21:27:15.027 4578 4578 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=822.7707, y[0]=122.61601, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=734997, downTime=733443, deviceId=4, source=0x2002 }
11-29 21:27:15.027 4578 4578 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=822.7707, y[0]=122.61601, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=734997, downTime=733443, deviceId=4, source=0x2002 }
11-29 21:27:16.409 2916 3254 D audio_hw_primary: out_set_parameters(kvpairs(routing=2), out_device=0x2)
11-29 21:27:16.439 2916 3254 D AudioFlinger: mixer(0xf48c0000) throttle end: throttle time(31)
11-29 21:27:16.481 3225 4375 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@7452b attribute=null, token = android.os.BinderProxy@9a431d4
11-29 21:27:16.482 3323 3481 D OpenGLRenderer: endAllStagingAnimators on 0xe2974000 (RippleDrawable) with handle 0xdff3f250
11-29 21:27:16.642 4578 4619 E XnLinuxUSB: /home/ubuntu16/gitOpenNI2_3/openni2.3/Wrappers/java/jni/…/…/…/Source/Core/…/…/ThirdParty/PSCommon/XnLib/Source/Linux/XnLinuxUSB.cpp:643 0x2bc5: 0x403
11-29 21:27:16.659 4578 4619 I NUITRACK: DevicesList size: 1
11-29 21:27:16.659 4578 4619 I NUITRACK: DEPTH device VID: 11205, PID: 1027
11-29 21:27:16.666 3225 3376 I ActivityManager: START u0 {flg=0x10000000 cmp=com.android.systemui/.usb.UsbPermissionActivity (has extras)} from uid 1000 on display 0
11-29 21:27:16.783 3225 3244 I ActivityManager: Displayed com.android.systemui/.usb.UsbPermissionActivity: +95ms
11-29 21:27:17.589 2916 3254 D audio_hw_primary: out_set_parameters(kvpairs(routing=2), out_device=0x2)
11-29 21:27:17.629 2916 3254 D AudioFlinger: mixer(0xf48c0000) throttle end: throttle time(1)
11-29 21:27:17.638 3225 4375 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@73c4691 attribute=null, token = android.os.BinderProxy@9a431d4
11-29 21:27:17.651 3323 3481 D OpenGLRenderer: endAllStagingAnimators on 0xe194a500 (RippleDrawable) with handle 0xdff3f3e0
11-29 21:27:17.659 3323 3323 I art : Starting a blocking GC Explicit
11-29 21:27:17.669 4578 4619 E usbfs : openni2 op_open filename: /dev/bus/usb/001/007, fd:62
11-29 21:27:17.690 3323 3323 I art : Explicit concurrent mark sweep GC freed 1835(123KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 3MB/5MB, paused 548us total 30.778ms
11-29 21:27:17.693 3323 3323 I art : Starting a blocking GC Explicit
11-29 21:27:17.721 3323 3323 I art : Explicit concurrent mark sweep GC freed 1722(109KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 3MB/5MB, paused 641us total 27.247ms
11-29 21:27:17.721 3323 3323 I art : Starting a blocking GC Explicit
11-29 21:27:17.750 3323 3323 I art : Explicit concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 39% free, 3MB/5MB, paused 826us total 28.619ms
11-29 21:27:17.834 4578 4619 I NUITRACK: 320 x 240 @ 30 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 320 x 240 @ 30 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 320 x 240 @ 60 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 320 x 240 @ 60 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 640 x 480 @ 30 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 640 x 480 @ 30 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 640 x 400 @ 30 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 640 x 400 @ 30 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 800 @ 5 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 800 @ 5 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 800 @ 30 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 800 @ 30 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 1024 @ 30 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 1024 @ 30 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 960 @ 5 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 1280 x 960 @ 5 fps (101)
11-29 21:27:17.834 4578 4619 I NUITRACK: 160 x 120 @ 30 fps (100)
11-29 21:27:17.834 4578 4619 I NUITRACK: 160 x 120 @ 30 fps (101)
11-29 21:27:17.835 4578 4619 I NUITRACK: Create DepthProvider: AstraProPerseeDepthProvider
11-29 21:27:18.602 4578 4622 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xe2cc0000 in tid 4622 (Thread-165)
11-29 21:27:18.703 2912 2912 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-29 21:27:18.703 2912 2912 F DEBUG : Build fingerprint: ‘ODROID/odroidc2/odroidc2:6.0.1/MOI10E/odroidc2-eng-s905_6.0.1_master-104:eng/test-keys’
11-29 21:27:18.703 2912 2912 F DEBUG : Revision: ‘0’
11-29 21:27:18.703 2912 2912 F DEBUG : ABI: ‘arm’
11-29 21:27:18.704 2912 2912 F DEBUG : pid: 4578, tid: 4622, name: Thread-165 >>> com.tdv.nuitrack.sdk <<<
11-29 21:27:18.704 2912 2912 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe2cc0000
11-29 21:27:18.716 2912 2912 F DEBUG : r0 e2cc0000 r1 e249e140 r2 0000010c r3 00821f00
11-29 21:27:18.716 2912 2912 F DEBUG : r4 e249e000 r5 f5569b40 r6 dcc4d220 r7 00000000
11-29 21:27:18.716 2912 2912 F DEBUG : r8 dcc4d220 r9 dbb88aac sl dbbbf070 fp 0000028c
11-29 21:27:18.716 2912 2912 F DEBUG : ip dbbbe9f8 sp e2dc1788 lr dba37b73 pc f749fc2e cpsr 20010030
11-29 21:27:18.719 2912 2912 F DEBUG :
11-29 21:27:18.719 2912 2912 F DEBUG : backtrace:
11-29 21:27:18.719 2912 2912 F DEBUG : #00 pc 00017c2e /system/lib/libc.so (__memcpy_base+97)
11-29 21:27:18.719 2912 2912 F DEBUG : #01 pc 00086b6f /data/app/com.tdv.nuitrack.sdk-1/lib/arm/libNuitrackModule.so
11-29 21:27:18.719 2912 2912 F DEBUG : #02 pc 00090ae5 /data/app/com.tdv.nuitrack.sdk-1/lib/arm/libNuitrackModule.so (usbi_handle_transfer_completion+104)
11-29 21:27:18.719 2912 2912 F DEBUG : #03 pc 00094e05 /data/app/com.tdv.nuitrack.sdk-1/lib/arm/libNuitrackModule.so
11-29 21:27:18.719 2912 2912 F DEBUG : #04 pc 00090939 /data/app/com.tdv.nuitrack.sdk-1/lib/arm/libNuitrackModule.so
11-29 21:27:18.719 2912 2912 F DEBUG : #05 pc 00090ffb /data/app/com.tdv.nuitrack.sdk-1/lib/arm/libNuitrackModule.so (libusb_handle_events_timeout_completed+162)
11-29 21:27:18.719 2912 2912 F DEBUG : #06 pc 00091119 /data/app/com.tdv.nuitrack.sdk-1/lib/arm/libNuitrackModule.so (libusb_handle_events+16)
11-29 21:27:18.719 2912 2912 F DEBUG : #07 pc 0008674b /data/app/com.tdv.nuitrack.sdk-1/lib/arm/libNuitrackModule.so
11-29 21:27:18.719 2912 2912 F DEBUG : #08 pc 0003fda3 /system/lib/libc.so (_ZL15__pthread_startPv+30)
11-29 21:27:18.719 2912 2912 F DEBUG : #09 pc 0001a345 /system/lib/libc.so (__start_thread+6)
11-29 21:27:19.055 3225 4638 W ActivityManager: Force finishing activity com.tdv.nuitrack.sdk/android.app.NativeActivity
11-29 21:27:19.056 2912 2912 F DEBUG :
11-29 21:27:19.056 2912 2912 F DEBUG : Tombstone written to: /data/tombstones/tombstone_07
11-29 21:27:19.056 2912 2912 E DEBUG : AM write failed: Broken pipe
11-29 21:27:19.056 3225 3242 I BootReceiver: Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
11-29 21:27:19.168 3225 4369 I OpenGLRenderer: Initialized EGL, version 1.4
11-29 21:27:19.189 3225 3244 E JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 60)
11-29 21:27:19.189 3225 3270 W InputDispatcher: channel ‘fff7d com.tdv.nuitrack.sdk/android.app.NativeActivity (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
11-29 21:27:19.189 3225 3270 E InputDispatcher: channel ‘fff7d com.tdv.nuitrack.sdk/android.app.NativeActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!
11-29 21:27:19.270 2922 2922 I Zygote : Process 4578 exited due to signal (11)
11-29 21:27:19.279 3225 3270 W InputDispatcher: channel ‘cd997a4 com.tdv.nuitrack.sdk/com.tdv.nuitrack.sdk.NuitrackManager (server)’ ~ Consumer closed input channel or an error occurred. events=0x9
11-29 21:27:19.279 3225 3270 E InputDispatcher: channel ‘cd997a4 com.tdv.nuitrack.sdk/com.tdv.nuitrack.sdk.NuitrackManager (server)’ ~ Channel is unrecoverably broken and will be disposed!
11-29 21:27:19.285 3225 3678 I WindowState: WIN DEATH: Window{fff7d u0 com.tdv.nuitrack.sdk/android.app.NativeActivity}
11-29 21:27:19.285 3225 3678 W InputDispatcher: Attempted to unregister already unregistered input channel ‘fff7d com.tdv.nuitrack.sdk/android.app.NativeActivity (server)’
11-29 21:27:19.286 3225 3612 I ActivityManager: Process com.tdv.nuitrack.sdk (pid 4578) has died
11-29 21:27:19.286 3225 3612 D ActivityManager: cleanUpApplicationRecord – 4578
11-29 21:27:19.286 3225 3376 D GraphicsStats: Buffer count: 4
11-29 21:27:19.287 4592 4592 D NuitrackService: onUnbind
11-29 21:27:19.288 3225 3611 I WindowState: WIN DEATH: Window{cd997a4 u0 com.tdv.nuitrack.sdk/com.tdv.nuitrack.sdk.NuitrackManager}
11-29 21:27:19.288 3225 3611 W InputDispatcher: Attempted to unregister already unregistered input channel ‘cd997a4 com.tdv.nuitrack.sdk/com.tdv.nuitrack.sdk.NuitrackManager (server)’
11-29 21:27:19.290 3225 3612 W ActivityManager: Force removing ActivityRecord{99e08c8 u0 com.tdv.nuitrack.sdk/.NuitrackManager t216}: app died, no saved state
11-29 21:27:19.830 3225 3244 W WindowAnimator: Failed to dispatch window animation state change.
11-29 21:27:19.830 3225 3244 W WindowAnimator: android.os.DeadObjectException
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.os.BinderProxy.transactNative(Native Method)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.os.BinderProxy.transact(Binder.java:503)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.view.Choreographer.doCallbacks(Choreographer.java:670)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.view.Choreographer.doFrame(Choreographer.java:603)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.os.Handler.handleCallback(Handler.java:739)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.os.Handler.dispatchMessage(Handler.java:95)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.os.Looper.loop(Looper.java:148)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at android.os.HandlerThread.run(HandlerThread.java:61)
11-29 21:27:19.830 3225 3244 W WindowAnimator: at com.android.server.ServiceThread.run(ServiceThread.java:46)
11-29 21:27:19.831 3225 3244 W WindowAnimator: Failed to dispatch window animation state change.
11-29 21:27:19.831 3225 3244 W WindowAnimator: android.os.DeadObjectException
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.os.BinderProxy.transactNative(Native Method)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.os.BinderProxy.transact(Binder.java:503)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.view.IWindow$Stub$Proxy.onAnimationStopped(IWindow.java:534)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator.updateWindowsLocked(WindowAnimator.java:286)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator.animateLocked(WindowAnimator.java:678)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator.-wrap0(WindowAnimator.java)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at com.android.server.wm.WindowAnimator$1.doFrame(WindowAnimator.java:123)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:856)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.view.Choreographer.doCallbacks(Choreographer.java:670)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.view.Choreographer.doFrame(Choreographer.java:603)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.os.Handler.handleCallback(Handler.java:739)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.os.Handler.dispatchMessage(Handler.java:95)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.os.Looper.loop(Looper.java:148)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at android.os.HandlerThread.run(HandlerThread.java:61)
11-29 21:27:19.831 3225 3244 W WindowAnimator: at com.android.server.ServiceThread.run(ServiceThread.java:46)
11-29 21:27:20.670 2916 3254 D audio_hw_primary: do_output_standby(0xf616c380)
11-29 21:27:23.932 2916 3254 D audio_hw_primary: out_set_parameters(kvpairs(routing=2), out_device=0x2)
11-29 21:27:23.938 3225 4369 D OpenGLRenderer: endAllStagingAnimators on 0xdb266680 (RippleDrawable) with handle 0xdc5fb2d0
11-29 21:27:23.941 3225 3375 W InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 4578 uid 10069
11-29 21:27:23.943 2916 3254 D audio_hw_primary: start_output_stream(adev->out_device=0x2, adev->mode=0)
11-29 21:27:23.943 2916 3254 D audio_hw_primary: select_devices(mode=0, out_device=0x2)
11-29 21:27:23.943 2916 3254 D audio_hw_primary: select_devices : hs=0 , hp=0, sp=2, hdmi=0x0,earpiece=0x0
11-29 21:27:23.943 2916 3254 D audio_hw_primary: select_devices : in_device(0x4), mic_in(0x4), headset_mic(0)
11-29 21:27:23.943 2916 3254 D audio_hw_primary: select_devices : output_standby=1,input_standby=1
11-29 21:27:23.944 2916 3254 D audio_hw_primary: *start_output_stream, open card(0) port(0)
11-29 21:27:23.944 2916 3254 D audio_hw_primary: channels=2—format=0—period_count4—period_size1024—rate=48000—
11-29 21:27:24.029 2916 3254 D AudioFlinger: mixer(0xf48c0000) throttle end: throttle time(29)
11-29 21:27:24.165 3225 3244 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
11-29 21:27:24.466 3536 3728 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer…
11-29 21:27:24.466 3536 3728 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer…
11-29 21:27:24.466 3536 3728 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer…
11-29 21:27:27.020 2916 3254 D audio_hw_primary: do_output_standby(0xf616c380)
11-29 21:27:28.109 3225 4244 D NetlinkSocketObserver: NeighborEvent{elapsedMs=748080, 10.50.30.254, [706BB9433FE5], RTM_NEWNEIGH, NUD_STALE}

Please run Nuitrack.apk, wait until crash, then go to ADB Shell, run the dmesg command and provide us with the output.

Hi Olga,

Here is the dmesg log

Unfortunately, we cannot reproduce your issue because we don’t have Odroid C2 on hand.

  1. When you run Nuitrack, do you see a popup window asking for connection of a USB device?
  2. As an option, you can try to use other firmware version
  3. From your dmesg log we can see that a USB device was disconnected. Did you disconnect the USB device? If not, you can check these threads with the same problem:
    https://wiki.odroid.com/odroid-c2/troubleshooting/usb_hub_ic
    https://forum.odroid.com/viewtopic.php?f=141&t=23733

Thank you Olga,

I tried with different device and it works fine. Im not sure what the issue with the Odroid C2 but fortunately my project is not strict with the ordroid device.