tomthecarrot / arcore-for-all

Google ARCore (dev preview 1) for "unsupported" Android devices
GNU General Public License v3.0
1.04k stars 145 forks source link

Tango Core keeps stopping on S7 #89

Open dylanbaxter opened 6 years ago

dylanbaxter commented 6 years ago

Thanks for this great library!

SM-G935V does not work unfortunately...

logcat output:

11-01 11:46:08.701 2293 5290 I ActivityManager: DSS on for com.google.tango and scale is 1.0 11-01 11:46:08.723 10958 10995 D com.vzw.utils.AppIndexingService: AppIndexingService call 11-01 11:46:08.766 19386 19386 I SmartManagerReceiver: Received : android.intent.action.DROPBOX_ENTRY_ADDED 11-01 11:46:08.771 10980 10980 D ContextRelationMgrBrdg: loadKlass() : caller=com.samsung.android.bridge.multiscreen.common.ContextRelationManagerBridge.:28 android.app.LoadedApk.makeApplication:833 11-01 11:46:08.799 10980 10980 D tango-ndk-hal: jint JNI_OnLoad(JavaVM, void) 11-01 11:46:08.800 10867 10886 I Unity : Handle to Tango Unity 3DR shim library is non-NULL 11-01 11:46:08.806 10867 10867 D TangoVhs: connected 11-01 11:46:08.811 10867 11005 I TangoCameraNative: Tango VHS Ready 11-01 11:46:08.811 10980 10991 D tango-ndk-hal: void Java_com_google_atap_tango_TangoVirtualHalService_initialize(JNIEnv, jclass) 0x0 11-01 11:46:08.812 10980 10980 D TangoService.java: onCreate() 11-01 11:46:08.829 10867 11005 I tango_camera_native_jni: jint Java_com_google_tango_jni_TangoCameraNative_ConnectVhs(JNIEnv, jobject, jobject, jobject) 11-01 11:46:08.829 10867 11005 I tango_camera_native_jni: Attaching tracking_window 0xd0d72808 11-01 11:46:08.849 10867 10886 F tango : jni_helper.cc:19 'vm' Must be non NULL 11-01 11:46:08.849 10867 10886 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 10886 (UnityMain) 11-01 11:46:08.850 608 608 W : debuggerd: handling request: pid=10867 uid=10353 gid=10353 tid=10886 11-01 11:46:08.886 10980 11009 I tango : java_service_entrypoint.cc:216 Creating new g_tango. 11-01 11:46:08.886 10980 10980 D TangoService.java: Returned Tracker! 11-01 11:46:08.889 10980 10980 F tango : calibration_provider.cc:589 Check failed: parse_cad_error_code == LoadCalibrationXmlErrorCode::kSuccess 11-01 11:46:08.889 10980 10980 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 10980 (om.google.tango) 11-01 11:46:08.890 10980 11009 W tango : helpers.cc:418 Defaulting to persistent calibration file. 11-01 11:46:08.890 10980 11009 W tango : helpers.cc:395 Property calibration_cad is not defined. 11-01 11:46:08.890 10980 11009 I tango : calibration_provider.cc:486 Instantiating calibration provider with sources: 11-01 11:46:08.890 10980 11009 I tango : CAD: 11-01 11:46:08.890 10980 11009 I tango : Factory: 11-01 11:46:08.890 10980 11009 I tango : Online: /data/data/com.google.tango/files/config/online-calibration.xml 11-01 11:46:08.890 10980 11009 I tango : ActiveFile: kOnlineCalibrationFile 11-01 11:46:08.890 10980 11009 I tango : Hardcoded CAD model fallback: Enabled 11-01 11:46:08.890 10980 11009 E tango : device_provider.cc:336 Could not identify device type from build fingerprint 'Verizon/hero2qltevzw/hero2qltevzw:7.0/NRD90M/G935VVRU4BQH4:user/release-keys'. 11-01 11:46:08.890 10980 11009 E tango : helpers.cc:288 Hardcoded CAD model unavailable for device kUnknownDevice 11-01 11:46:08.890 10980 11009 W tango : calibration_provider.cc:379 Requested parsing of Online calibration, but failed to parse it and the following fallbacks: 11-01 11:46:08.890 10980 11009 W tango : - Online calibration: File does not exist: /data/data/com.google.tango/files/config/online-calibration.xml. 11-01 11:46:08.890 10980 11009 W tango : - Factory calibration: File not set. 11-01 11:46:08.890 10980 11009 W tango : - CAD calibration: File not set. 11-01 11:46:08.890 10980 11009 W tango : - Hardcoded CAD model: Could not load hardcoded CAD model. It is only available when: 11-01 11:46:08.890 10980 11009 W tango : - Explicitly setting the active file to kHardcodedCadModel. 11-01 11:46:08.890 10980 11009 W tango : - On device, as a fallback when reading the CAD calibration file fails. 11-01 11:46:08.890 10980 11009 W tango : calibration_provider.cc:379 Requested parsing of CAD calibration, but failed to parse it and the following fallbacks: 11-01 11:46:08.890 10980 11009 W tango : - CAD calibration: File not set. 11-01 11:46:08.890 10980 11009 W tango : - Hardcoded CAD model: Could not load hardcoded CAD model. It is only available when: 11-01 11:46:08.890 10980 11009 W tango : - Explicitly setting the active file to kHardcodedCadModel. 11-01 11:46:08.890 10980 11009 W tango : - On device, as a fallback when reading the CAD calibration file fails. 11-01 11:46:08.890 609 609 W : debuggerd: handling request: pid=10980 uid=10352 gid=10352 tid=10980 11-01 11:46:08.976 11008 11008 F DEBUG : 11-01 11:46:08.977 11008 11008 F DEBUG : Build fingerprint: 'Verizon/hero2qltevzw/hero2qltevzw:7.0/NRD90M/G935VVRU4BQH4:user/release-keys' 11-01 11:46:08.977 11008 11008 F DEBUG : Revision: '15' 11-01 11:46:08.977 11008 11008 F DEBUG : ABI: 'arm' 11-01 11:46:08.978 11008 11008 F DEBUG : pid: 10867, tid: 10886, name: UnityMain >>> com.PrairieSoft.Wakka <<< 11-01 11:46:08.978 11008 11008 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 11-01 11:46:08.988 11010 11010 F DEBUG : 11-01 11:46:08.989 11010 11010 F DEBUG : Build fingerprint: 'Verizon/hero2qltevzw/hero2qltevzw:7.0/NRD90M/G935VVRU4BQH4:user/release-keys' 11-01 11:46:08.989 11010 11010 F DEBUG : Revision: '15' 11-01 11:46:08.989 11010 11010 F DEBUG : ABI: 'arm64' 11-01 11:46:08.990 11010 11010 F DEBUG : pid: 10980, tid: 10980, name: om.google.tango >>> com.google.tango <<< 11-01 11:46:08.990 11010 11010 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 11-01 11:46:09.004 11010 11010 F DEBUG : Abort message: 'calibration_provider.cc:589 Check failed: parse_cad_error_code == LoadCalibrationXmlErrorCode::kSuccess ' 11-01 11:46:09.004 11010 11010 F DEBUG : x0 0000000000000000 x1 0000000000002ae4 x2 0000000000000006 x3 0000000000000008 11-01 11:46:09.004 11010 11010 F DEBUG : x4 0000000000000021 x5 0000000000000000 x6 0000007fa7dfa000 x7 0000000000000000 11-01 11:46:09.004 11010 11010 F DEBUG : x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001 11-01 11:46:09.004 11010 11010 F DEBUG : x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 003507d2f1087fd3 11-01 11:46:09.004 11010 11010 F DEBUG : x16 0000007fa75e5ee0 x17 0000007fa758ebc8 x18 0000000000000000 x19 0000007fa7eaeb40 11-01 11:46:09.005 11010 11010 F DEBUG : x20 0000000000000006 x21 0000007fa7eaea98 x22 0000000000000002 x23 0000007fe1864788 11-01 11:46:09.005 11010 11010 F DEBUG : x24 0000000000000068 x25 0000007f9572b998 x26 0000007f9569e620 x27 0000007f95699a20 11-01 11:46:09.005 11010 11010 F DEBUG : x28 0000007f956999f8 x29 0000007fe1864160 x30 0000007fa758c058 11-01 11:46:09.005 11010 11010 F DEBUG : sp 0000007fe1864140 pc 0000007fa758ebd0 pstate 0000000060000000 11-01 11:46:09.016 11008 11008 F DEBUG : Abort message: 'jni_helper.cc:19 'vm' Must be non NULL' 11-01 11:46:09.016 11008 11008 F DEBUG : r0 00000000 r1 00002a86 r2 00000006 r3 00000008 11-01 11:46:09.016 11008 11008 F DEBUG : r4 f27ff978 r5 00000006 r6 f27ff920 r7 0000010c 11-01 11:46:09.016 11008 11008 F DEBUG : r8 f27fdd30 r9 f27fdd2c sl 00000515 fp f27fe040 11-01 11:46:09.016 11008 11008 F DEBUG : ip 00000054 sp f27fd8b0 lr f42676f7 pc f4269f78 cpsr 200f0010 11-01 11:46:09.022 11010 11010 F DEBUG : 11-01 11:46:09.022 11010 11010 F DEBUG : backtrace: 11-01 11:46:09.023 11010 11010 F DEBUG : #00 pc 000000000006bbd0 /system/lib64/libc.so (tgkill+8) 11-01 11:46:09.023 11010 11010 F DEBUG : #01 pc 0000000000069054 /system/lib64/libc.so (pthread_kill+64) 11-01 11:46:09.023 11010 11010 F DEBUG : #02 pc 00000000000244b8 /system/lib64/libc.so (raise+24) 11-01 11:46:09.023 11010 11010 F DEBUG : #03 pc 000000000001ced4 /system/lib64/libc.so (abort+52) 11-01 11:46:09.023 11010 11010 F DEBUG : #04 pc 0000000000005c48 /system/lib64/liblog.so (android_log_assert+232) 11-01 11:46:09.023 11010 11010 F DEBUG : #05 pc 0000000000100718 /data/app/com.google.tango-1/lib/arm64/libtango_service_library.so (_ZN13MessageLoggerD2Ev+4120) 11-01 11:46:09.023 11010 11010 F DEBUG : #06 pc 0000000000c8433c /data/app/com.google.tango-1/lib/arm64/libtango_service_library.so 11-01 11:46:09.023 11010 11010 F DEBUG : #07 pc 0000000000c85be8 /data/app/com.google.tango-1/lib/arm64/libtango_service_library.so 11-01 11:46:09.023 11010 11010 F DEBUG : #08 pc 0000000000129150 /data/app/com.google.tango-1/lib/arm64/libtango_service_library.so (_ZN13tango_service12TangoContextC1ESt10shared_ptrINS_15JniTangoServiceEE+512) 11-01 11:46:09.023 11010 11010 F DEBUG : #09 pc 000000000013c80c /data/app/com.google.tango-1/lib/arm64/libtango_service_library.so (_ZN12tango_binder7ServiceC2ESt10shared_ptrIN13tango_service15JniTangoServiceEE+228) 11-01 11:46:09.023 11010 11010 F DEBUG : #10 pc 000000000013a238 /data/app/com.google.tango-1/lib/arm64/libtango_service_library.so (Java_com_google_atap_tango_TangoServiceJNINative_CreateNativeService+972) 11-01 11:46:09.023 11010 11010 F DEBUG : #11 pc 00000000007d6d58 /data/app/com.google.tango-1/oat/arm64/base.odex (offset 0x7ac000) 11-01 11:46:09.024 11008 11008 F DEBUG : 11-01 11:46:09.024 11008 11008 F DEBUG : backtrace: 11-01 11:46:09.024 11008 11008 F DEBUG : #00 pc 00049f78 /system/lib/libc.so (tgkill+12) 11-01 11:46:09.024 11008 11008 F DEBUG : #01 pc 000476f3 /system/lib/libc.so (pthread_kill+34) 11-01 11:46:09.024 11008 11008 F DEBUG : #02 pc 0001d829 /system/lib/libc.so (raise+10) 11-01 11:46:09.024 11008 11008 F DEBUG : #03 pc 00019321 /system/lib/libc.so (libc_android_abort+34) 11-01 11:46:09.024 11008 11008 F DEBUG : #04 pc 00017388 /system/lib/libc.so (abort+4) 11-01 11:46:09.024 11008 11008 F DEBUG : #05 pc 00005909 /system/lib/liblog.so (__android_log_assert+112) 11-01 11:46:09.024 11008 11008 F DEBUG : #06 pc 00009e69 /data/app/com.PrairieSoft.Wakka-1/lib/arm/libtango_client_api2.so 11-01 11:46:09.024 11008 11008 F DEBUG : #07 pc 0001256d /data/app/com.PrairieSoft.Wakka-1/lib/arm/libtango_client_api2.so 11-01 11:46:09.024 11008 11008 F DEBUG : #08 pc 00009247 /data/app/com.PrairieSoft.Wakka-1/lib/arm/libtango_client_api2.so (TangoService_isSupported+26) 11-01 11:46:09.025 11008 11008 F DEBUG : #09 pc 00007184 11-01 11:46:10.648 2293 11012 W ActivityManager: Force finishing activity com.PrairieSoft.Wakka/com.unity3d.player.UnityPlayerActivity 11-01 11:46:10.648 2293 11012 W MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): root is not base activity 11-01 11:46:10.651 2293 2311 W DropBoxManagerService: Dropping: SYSTEM_TOMBSTONE (10 > 0 bytes) 11-01 11:46:10.652 2293 11014 W DropBoxManagerService: Dropping: data_app_native_crash (2807 > 0 bytes) 11-01 11:46:10.663 2293 11012 D ActivityManager: moveToFront() : reason=finishActivity adjustFocus setFocusedActivity isAttached=true TaskRecord{f38132d0 #3196 A=com.sec.android.app.launcher U=0 StackId=0 sz=1} 11-01 11:46:10.663 2293 11012 W MultiScreenManagerService: moveTaskBackToDisplayIfNeeded(): root activity or app is null 11-01 11:46:10.678 2293 11012 D ActivityManager: setFocusStackUnchecked: reason=finishActivity adjustFocus setFocusedActivity focusCandidate=ActivityStack{eebe936d0 stackId=0, 2 tasks} caller=com.android.server.am.ActivityStack.moveToFront:875 com.android.server.am.ActivityStackSupervisor.moveActivityStackToFront:1995 11-01 11:46:10.689 925 925 I Zygote : Process 10980 exited due to signal (6) 11-01 11:46:10.690 2293 2478 W InputDispatcher: channel ~ Consumer closed input channel or an error occurred. events=0x9 11-01 11:46:10.690 2293 2478 E InputDispatcher: channel ~ Channel is unrecoverably broken and will be disposed! 11-01 11:46:10.692 2293 2311 I BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE) 11-01 11:46:10.695 2293 2311 W DropBoxManagerService: Dropping: SYSTEM_TOMBSTONE (10 > 0 bytes) 11-01 11:46:10.696 2293 11015 W DropBoxManagerService: Dropping: data_app_native_crash (1521 > 0 bytes) 11-01 11:46:10.698 2293 11012 D InputDispatcher: Focused application set to: xxxx 11-01 11:46:10.699 2293 11012 D ActivityTrigger: ActivityTrigger activityPauseTrigger 11-01 11:46:10.699 2293 11012 D GameManagerService: sem_perfomance_mode: 0 11-01 11:46:10.699 2293 11012 E JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 112) 11-01 11:46:10.701 2293 4392 D InputTransport: Input channel destroyed: fd=623 11-01 11:46:10.702 8630 8630 D InputTransport: Input channel destroyed: fd=87 11-01 11:46:10.705 2293 5289 I WindowManager: WIN DEATH: Window{763eaadd0 u0 com.PrairieSoft.Wakka/com.unity3d.player.UnityPlayerActivity} 11-01 11:46:10.705 2293 5289 W InputDispatcher: Attempted to unregister already unregistered input channel 11-01 11:46:10.715 2293 11012 W ActivityManager: Exception thrown during pause 11-01 11:46:10.715 2293 11012 W ActivityManager: android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died 11-01 11:46:10.715 2293 11012 W ActivityManager: at android.os.BinderProxy.transactNative(Native Method) 11-01 11:46:10.715 2293 11012 W ActivityManager: at android.os.BinderProxy.transact(Binder.java:628) 11-01 11:46:10.715 2293 11012 W ActivityManager: at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:888) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1433) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:4205) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:4019) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2287) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:735) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:571) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:407) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.AppErrors.crashApplication(AppErrors.java:346) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:16876) 11-01 11:46:10.715 2293 11012 W ActivityManager: at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86) 11-01 11:46:10.716 2293 5289 I WindowManager: Destroying surface Surface(name=com.PrairieSoft.Wakka/com.unity3d.player.UnityPlayerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2849 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:1079 com.android.server.wm.WindowState.removeLocked:1783 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2882 com.android.server.wm.WindowManagerService.removeWindowLocked:2822 com.android.server.wm.WindowState$DeathRecipient.binderDied:2203 android.os.BinderProxy.sendDeathNotice:701 11-01 11:46:10.716 2293 11012 D ActivityManager: resumeTopActivityInnerLocked() : #0 prevTask=null next=ActivityRecord{cd800a6d0 u0 com.sec.android.app.launcher/.activities.LauncherActivity t3196} mFocusedStack=ActivityStack{eebe936d0 stackId=0, 2 tasks} 11-01 11:46:10.716 718 4975 I SurfaceFlinger: id=21643 Removed VnityPlayer (4/9) 11-01 11:46:10.724 2293 5289 D InputTransport: Input channel destroyed: fd=619 11-01 11:46:10.738 2293 10233 I WindowManager: WIN DEATH: Window{7792030d0 u0 SurfaceView - com.PrairieSoft.Wakka/com.unity3d.player.UnityPlayerActivity} 11-01 11:46:10.738 2293 10233 I WindowManager: Destroying surface Surface(name=SurfaceView - com.PrairieSoft.Wakka/com.unity3d.player.UnityPlayerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2849 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:1079 com.android.server.wm.WindowState.removeLocked:1783 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2882 com.android.server.wm.WindowManagerService.removeWindowLocked:2822 com.android.server.wm.WindowState$DeathRecipient.binderDied:2203 android.os.BinderProxy.sendDeathNotice:701 11-01 11:46:10.739 718 4975 I SurfaceFlinger: id=21644 Removed VnityPlayer (3/8) 11-01 11:46:10.739 718 743 I SurfaceFlinger: id=21644 Removed VnityPlayer (-2/8) 11-01 11:46:10.739 718 743 I SurfaceFlinger: id=21645 Removed VnityPlayer (2/7) 11-01 11:46:10.739 718 1645 I SurfaceFlinger: id=21645 Removed VnityPlayer (-2/7) 11-01 11:46:10.742 718 738 I SurfaceFlinger: id=21644 Removed VnityPlayer (-2/7) 11-01 11:46:10.742 718 738 I SurfaceFlinger: id=21645 Removed VnityPlayer (-2/7) 11-01 11:46:10.747 716 716 E lowmemorykiller: Error writing /proc/10867/oom_score_adj; errno=22 11-01 11:46:10.754 2293 4573 V WindowManager: Relayout Window{4826620d0 u0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity}: viewVisibility=4 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#30 ty=1 fl=#81910d02 pfl=0x20000 fmt=-2 wanim=0x103038a vsysui=0x600 needsMenuKey=2 dimDuration=0 naviIconColor=0 sfl=0x40} 11-01 11:46:10.754 2293 11012 D GameManagerService: sem_perfomance_mode: 0 11-01 11:46:10.771 4816 4816 D Launcher: onRestart, Launcher: 84580854 11-01 11:46:10.775 2293 4584 I ActivityManager: Process com.google.tango (pid 10980) has died(187,655)