IE report invalid argument for window.open()

2025-09-06 02:39:42.209 11752-12383 ADB_SERVICES adbd I post waitpid (pid=12382) status=0000 2025-09-06 02:39:42.209 11752-11752 ADB_SERVICES adbd I for fd 32, revents = 2011 2025-09-06 02:39:42.210 11752-11752 ADB_SERVICES adbd I for fd 32, revents = 2011 2025-09-06 02:39:42.359 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:42.353 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19938): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:42.860 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:42.853 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19939): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:43.361 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:43.353 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19940): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:43.862 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:43.853 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19941): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:43.922 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:39:43.960 459-459 SurfaceFlinger surfaceflinger I [Built-in Screen (type:0)] fps:2.280133,dur:4824.28,max:4354.80,min:6.24 2025-09-06 02:39:43.983 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:39:39.867 1095-1106 chatty system_server I uid=1000(system) Binder:1095_2 identical 2 lines 2025-09-06 02:39:39.868 1095-1106 NetworkStatsRecorder system_server W unknown interfaces [wlan0, lo], ignoring those stats 2025-09-06 02:39:43.989 12323-12323 Timeline person.tools.treasurebox I Timeline: Activity_launch_request time:8410125 2025-09-06 02:39:43.991 1095-1106 ActivityManager system_server I START u0 {cmp=person.tools.treasurebox/.customview.view.LineChartMarkerActivity} from uid 10135 2025-09-06 02:39:43.992 1095-1106 BoostFramework system_server E BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: com.qualcomm.qti.Performance 2025-09-06 02:39:43.993 1095-1106 BoostFramework system_server E BoostFramework() Ux Perf: Exception = java.lang.ClassNotFoundException: com.qualcomm.qti.UxPerformance 2025-09-06 02:39:43.993 1095-1106 BoostFramework system_server E BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: com.qualcomm.qti.Performance 2025-09-06 02:39:43.994 1095-1106 BoostFramework system_server E BoostFramework() Ux Perf: Exception = java.lang.ClassNotFoundException: com.qualcomm.qti.UxPerformance 2025-09-06 02:39:43.995 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I powerHintAsync hint:8, data:1 2025-09-06 02:39:43.996 440-472 libPowerHal ven...ek.hardware.power@2.1-service I 8: cpu_ctrl set freq: 2001000 -1 1500000 -1 2025-09-06 02:39:44.000 1095-1106 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:44.009 1095-1106 chatty system_server I uid=1000(system) Binder:1095_2 identical 2 lines 2025-09-06 02:39:44.010 1095-1106 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:44.014 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox.customview.view.LineChartMarkerActivity, pid:12323, uid:10135, state:1 2025-09-06 02:39:44.016 1095-1106 Timeline system_server I Timeline: App_transition_ready time:8410151 2025-09-06 02:39:44.021 12323-12323 ActivityThread person.tools.treasurebox W handleWindowVisibility: no activity for token android.os.BinderProxy@9149a1f 2025-09-06 02:39:44.064 12323-12356 ViewContentFactory person.tools.treasurebox D initViewContentFetcherClass 2025-09-06 02:39:44.065 12323-12356 ContentCatcher person.tools.treasurebox I ViewContentFetcher : ViewContentFetcher 2025-09-06 02:39:44.065 12323-12356 ViewContentFactory person.tools.treasurebox D createInterceptor took 1ms 2025-09-06 02:39:44.094 12323-12323 AndroidRuntime person.tools.treasurebox D Shutting down VM 2025-09-06 02:39:44.098 12323-12323 AndroidRuntime person.tools.treasurebox E FATAL EXCEPTION: main Process: person.tools.treasurebox, PID: 12323 java.lang.RuntimeException: Unable to start activity ComponentInfo{person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.github.mikephil.charting.components.Description com.github.mikephil.charting.charts.LineChart.getDescription()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2976) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3113) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:113) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:71) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1858) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6820) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.github.mikephil.charting.components.Description com.github.mikephil.charting.charts.LineChart.getDescription()' on a null object reference at person.tools.treasurebox.customview.view.LineChartMarkerActivity.setupLineChart(LineChartMarkerActivity.java:44) at person.tools.treasurebox.customview.view.LineChartMarkerActivity.initView(LineChartMarkerActivity.java:33) at person.tools.treasurebox.customview.view.LineChartMarkerActivity.onCreate(LineChartMarkerActivity.java:27) at android.app.Activity.performCreate(Activity.java:7224) at android.app.Activity.performCreate(Activity.java:7213) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2956) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3113)  at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)  at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:113)  at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:71)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1858)  at android.os.Handler.dispatchMessage(Handler.java:106)  at android.os.Looper.loop(Looper.java:201)  at android.app.ActivityThread.main(ActivityThread.java:6820)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922)  2025-09-06 02:39:44.111 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox, pid:12323, uid:10135, state:3 2025-09-06 02:39:44.111 2030-2053 octvm_klo mcd I klo lock 2025-09-06 02:39:44.113 1095-1106 ActivityManager system_server W Force finishing activity person.tools.treasurebox/.customview.view.LineChartMarkerActivity 2025-09-06 02:39:44.115 1095-1106 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:44.118 1095-1106 ActivityManager system_server W Force finishing activity person.tools.treasurebox/.customview.view.CustomViewTestActivity 2025-09-06 02:39:44.115 1095-1106 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:44.120 1095-12385 AES system_server W Exception Log handling... 2025-09-06 02:39:44.120 1095-12385 AES system_server W Skipped - do not care third party apk 2025-09-06 02:39:44.127 2030-2053 octvm_klo mcd I get wanted event[mask:128, name:data_app_crash@1757097584118.txt] from the watchset 2025-09-06 02:39:44.127 1095-12386 ContextImpl system_server W Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1622 android.content.ContextWrapper.bindService:708 miui.os.DropBoxManager.ds:361 miui.os.DropBoxManager.a:350 miui.os.DropBoxManager.addText:314 2025-09-06 02:39:44.128 2030-2053 octvm_klo mcd I start gathering logcat log... 2025-09-06 02:39:44.129 1095-1106 ActivityManager system_server D report kill process: killerPid is:12323, killedPid is:12323 2025-09-06 02:39:44.129 12323-12323 Process person.tools.treasurebox I Sending signal. PID: 12323 SIG: 9 2025-09-06 02:39:44.140 2219-2555 JavaExceptionHandler com.miui.daemon W Too noisy! skip duplicate java exception report:person.tools.treasurebox now=1757097584140 mLastReportTime=1757097530813 interval=60000 2025-09-06 02:39:44.145 2030-2053 octvm_klo mcd I gathering logcat log done 2025-09-06 02:39:44.145 2030-2053 octvm_klo mcd I klo unlock 2025-09-06 02:39:44.149 1095-1190 InputDispatcher system_server W channel 'f025fa4 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 2025-09-06 02:39:44.149 1095-1190 InputDispatcher system_server E channel 'f025fa4 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2025-09-06 02:39:44.150 1095-1190 InputDispatcher system_server W channel '6802547 person.tools.treasurebox/person.tools.treasurebox.dashboard.view.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 2025-09-06 02:39:44.150 1095-1190 InputDispatcher system_server E channel '6802547 person.tools.treasurebox/person.tools.treasurebox.dashboard.view.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2025-09-06 02:39:44.150 11752-11752 ADB_SERVICES adbd I for fd 18, revents = 2011 2025-09-06 02:39:44.150 1095-1106 WindowManager system_server I WIN DEATH: Window{6802547 u0 person.tools.treasurebox/person.tools.treasurebox.dashboard.view.MainActivity} 2025-09-06 02:39:44.150 1095-1106 InputDispatcher system_server W Attempted to unregister already unregistered input channel '6802547 person.tools.treasurebox/person.tools.treasurebox.dashboard.view.MainActivity (server)' 2025-09-06 02:39:44.150 1095-10052 ActivityManager system_server I Process person.tools.treasurebox (pid 12323) has died: fore TOP 2025-09-06 02:39:44.150 1095-1114 libprocessgroup system_server W kill(-12323, 9) failed: No such process 2025-09-06 02:39:44.152 11752-11752 ADB_SERVICES adbd I for fd 18, revents = 2011 2025-09-06 02:39:44.152 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox, pid:12323, uid:10135, state:3 2025-09-06 02:39:44.155 1095-2166 WindowManager system_server I WIN DEATH: Window{f025fa4 u0 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity} 2025-09-06 02:39:44.155 1095-2166 InputDispatcher system_server W Attempted to unregister already unregistered input channel 'f025fa4 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' 2025-09-06 02:39:44.156 1095-1114 libprocessgroup system_server W kill(-12323, 9) failed: No such process 2025-09-06 02:39:44.156 1095-1114 libprocessgroup system_server I Successfully killed process cgroup uid 10135 pid 12323 in 5ms 2025-09-06 02:39:44.163 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:39:44.163 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:39:44.163 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 19 microseconds, avg: 876 2025-09-06 02:39:44.167 459-1186 SurfaceFlinger surfaceflinger W Attempting to set client state on removed layer: person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity#0 2025-09-06 02:39:44.167 459-1186 SurfaceFlinger surfaceflinger W Attempting to destroy on removed layer: person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity#0 2025-09-06 02:39:44.169 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:39:44.169 1095-10052 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:44.169 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:39:44.169 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 19 microseconds, avg: 873 2025-09-06 02:39:44.169 1095-10052 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:44.171 1095-10052 chatty system_server I uid=1000(system) Binder:1095_20 identical 1 line 2025-09-06 02:39:44.171 1095-10052 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:44.173 459-1186 SurfaceFlinger surfaceflinger I [SF client] Remove(0xaea97940) for (1095:system_server) 2025-09-06 02:39:44.177 1095-1170 ViewRootIm...easurebox] system_server D hardware acceleration = false , fakeHwAccelerated = true, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false 2025-09-06 02:39:44.179 454-454 APM_AudioPolicyManager audioserver D AudioPolicyManager:setRecordSilenced(uid:10135, silenced:1) 2025-09-06 02:39:44.179 454-454 AudioFlinger audioserver D AudioFlinger::setRecordSilenced(uid:10135, silenced:1) 2025-09-06 02:39:44.179 1095-1119 ActivityManager system_server W setHasOverlayUi called on unknown pid: 12323 2025-09-06 02:39:44.195 1095-1113 Boost system_server D hostingType=activity, hostingName=person.tools.treasurebox/.dashboard.view.MainActivity, callerPackage=null, isSystem=true, isBoostNeeded=false. 2025-09-06 02:39:44.197 1095-1113 ActivityManager system_server I Start proc 12389:person.tools.treasurebox/u0a135 for activity person.tools.treasurebox/.dashboard.view.MainActivity caller=null 2025-09-06 02:39:44.202 12389-12389 ols.treasurebo pid-12389 I Late-enabling -Xcheck:jni 2025-09-06 02:39:44.226 1095-1170 Surface system_server D lockCanvas 2025-09-06 02:39:44.226 1095-1170 Surface system_server D Surface::connect(this=0x8f30b000,api=2) 2025-09-06 02:39:44.252 11752-11752 ADB_SERVICES adbd I local_socket_flush_incoming write_data=2497352 2025-09-06 02:39:44.256 11752-11752 ADB_SERVICES adbd I service_to_fd shell:stat -c %u /proc/12389 | xargs -n 1 cmd package list packages --uid 2025-09-06 02:39:44.267 12389-12389 libc pid-12389 E Access denied finding property "persist.vendor.sys.activitylog" 2025-09-06 02:39:44.263 12389-12389 re-initialized> pid-12389 W type=1400 audit(0.0:19942): avc: denied { read } for name="u:object_r:mtk_amslog_prop:s0" dev="tmpfs" ino=9762 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:mtk_amslog_prop:s0 tclass=file permissive=0 2025-09-06 02:39:44.278 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox.dashboard.view.MainActivity, pid:12389, uid:10135, state:1 2025-09-06 02:39:44.280 1095-1170 Timeline system_server I Timeline: App_transition_ready time:8410416 2025-09-06 02:39:44.280 1095-1170 Timeline system_server I Timeline: App_transition_stopped time:8410416 2025-09-06 02:39:44.283 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:39:44.283 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:39:44.283 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 30 microseconds, avg: 869 2025-09-06 02:39:44.283 454-8468 APM_AudioPolicyManager audioserver D AudioPolicyManager:setRecordSilenced(uid:10135, silenced:0) 2025-09-06 02:39:44.284 454-8468 AudioFlinger audioserver D AudioFlinger::setRecordSilenced(uid:10135, silenced:0) 2025-09-06 02:39:44.286 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:39:44.286 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) ---------------------------- PROCESS STARTED (12389) for package person.tools.treasurebox ---------------------------- 2025-09-06 02:39:44.286 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 17 microseconds, avg: 865 2025-09-06 02:39:44.362 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:44.353 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19943): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:44.386 11752-11752 ADB_SERVICES adbd I for fd 29, revents = 10 2025-09-06 02:39:44.387 11752-12403 ADB_SERVICES adbd I post waitpid (pid=12402) status=0000 2025-09-06 02:39:44.531 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection) 2025-09-06 02:39:44.531 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection) 2025-09-06 02:39:44.585 12389-12389 AppCompatDelegate person.tools.treasurebox D Checking for metadata for AppLocalesMetadataHolderService : Service not found 2025-09-06 02:39:44.643 12389-12389 Binder:intercep person.tools.treasurebox W type=1400 audit(0.0:19944): avc: denied { getattr } for path="/data/data/com.miui.contentcatcher" dev="dm-2" ino=3088579 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 2025-09-06 02:39:44.657 12389-12414 ViewContentFactory person.tools.treasurebox D initViewContentFetcherClass 2025-09-06 02:39:44.657 12389-12414 ViewContentFactory person.tools.treasurebox D getInterceptorPackageInfo 2025-09-06 02:39:44.657 12389-12414 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/app/AppGlobals;->getInitialApplication()Landroid/app/Application; (light greylist, linking) 2025-09-06 02:39:44.658 12389-12414 ViewContentFactory person.tools.treasurebox D getInitialApplication took 2ms 2025-09-06 02:39:44.659 12389-12414 ViewContentFactory person.tools.treasurebox D packageInfo.packageName: com.miui.catcherpatch 2025-09-06 02:39:44.663 12389-12389 Binder:intercep person.tools.treasurebox W type=1400 audit(0.0:19945): avc: denied { getattr } for path="/data/data/com.miui.catcherpatch" dev="dm-2" ino=3114656 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 2025-09-06 02:39:44.677 12389-12414 ViewContentFactory person.tools.treasurebox D initViewContentFetcherClass took 21ms 2025-09-06 02:39:44.678 12389-12414 ContentCatcher person.tools.treasurebox I ViewContentFetcher : ViewContentFetcher 2025-09-06 02:39:44.678 12389-12414 ViewContentFactory person.tools.treasurebox D createInterceptor took 22ms 2025-09-06 02:39:44.697 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2025-09-06 02:39:44.731 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;-><init>()V (light greylist, reflection) 2025-09-06 02:39:44.731 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection) 2025-09-06 02:39:44.732 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection) 2025-09-06 02:39:44.732 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection) 2025-09-06 02:39:44.732 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection) 2025-09-06 02:39:44.732 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;II)Landroid/graphics/Typeface; (light greylist, reflection) 2025-09-06 02:39:44.798 12389-12389 BoostFramework person.tools.treasurebox E BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: com.qualcomm.qti.Performance 2025-09-06 02:39:44.798 12389-12389 BoostFramework person.tools.treasurebox E BoostFramework() Ux Perf: Exception = java.lang.ClassNotFoundException: com.qualcomm.qti.UxPerformance 2025-09-06 02:39:44.799 12389-12389 BoostFramework person.tools.treasurebox E BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: com.qualcomm.qti.Performance 2025-09-06 02:39:44.799 12389-12389 BoostFramework person.tools.treasurebox E BoostFramework() Ux Perf: Exception = java.lang.ClassNotFoundException: com.qualcomm.qti.UxPerformance 2025-09-06 02:39:44.849 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2025-09-06 02:39:44.863 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:44.926 12389-12389 SurfaceFactory person.tools.treasurebox I [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@2b38fec 2025-09-06 02:39:44.941 12389-12389 ViewRootIm...nActivity] person.tools.treasurebox D hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false 2025-09-06 02:39:44.944 459-1186 SurfaceFlinger surfaceflinger I [SF client] NEW(0xac6fe700) for (1095:system_server) 2025-09-06 02:39:44.949 12389-12389 PhoneWindow person.tools.treasurebox V DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@3e639bb, this = DecorView@baaaede[MainActivity] 2025-09-06 02:39:44.950 1095-1196 UiModeManager system_server V switch night mode to 1 2025-09-06 02:39:44.975 459-459 SurfaceFlinger surfaceflinger I [Built-in Screen (type:0)] fps:11.821832,dur:1015.07,max:665.79,min:14.89 2025-09-06 02:39:45.006 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:39:45.006 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:39:45.007 12389-12389 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:39:45.131 1095-2166 WindowManager system_server I Relayout Window{4359870 u0 person.tools.treasurebox/person.tools.treasurebox.dashboard.view.MainActivity}: oldVis=4 newVis=0 focusMayChange = true 2025-09-06 02:39:45.150 12389-12389 Surface person.tools.treasurebox D Surface::allocateBuffers(this=0xa2b88000) 2025-09-06 02:39:45.159 12389-12415 ConfigStore person.tools.treasurebox I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2025-09-06 02:39:45.159 12389-12415 ConfigStore person.tools.treasurebox I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2025-09-06 02:39:45.159 12389-12415 OpenGLRenderer person.tools.treasurebox I Initialized EGL, version 1.4 2025-09-06 02:39:45.159 12389-12415 OpenGLRenderer person.tools.treasurebox D Swap behavior 2 2025-09-06 02:39:45.178 12389-12415 Surface person.tools.treasurebox D Surface::connect(this=0xa2b88000,api=1) 2025-09-06 02:39:45.181 12389-12415 libEGL person.tools.treasurebox I [MTK Game SDK] low_latency_mode(0) pid(-1) property(-1) 2025-09-06 02:39:45.195 12389-12389 Looper person.tools.treasurebox W Slow Looper main: doFrame is 395ms late because of 3 msg, msg 1 took 401ms (late=60ms h=android.app.ActivityThread$H w=159) 2025-09-06 02:39:45.270 12389-12415 ion person.tools.treasurebox E ioctl c0044901 failed with code -1: Invalid argument 2025-09-06 02:39:45.316 1095-1170 View system_server D [Warning] assignParent to null: this = DecorView@26afc6e[treasurebox] 2025-09-06 02:39:45.316 1095-1119 ActivityManager system_server I Displayed person.tools.treasurebox/.dashboard.view.MainActivity: +1s142ms (total +1s303ms) 2025-09-06 02:39:45.317 1095-1119 Timeline system_server I Timeline: Activity_windows_visible id: ActivityRecord{6668306 u0 person.tools.treasurebox/.dashboard.view.MainActivity t51} time:8411452 2025-09-06 02:39:45.326 1095-1170 Surface system_server D Surface::disconnect(this=0x8f30b000,api=2) 2025-09-06 02:39:45.328 459-495 SurfaceFlinger surfaceflinger W Attempting to set client state on removed layer: Splash Screen person.tools.treasurebox#0 2025-09-06 02:39:45.328 459-495 SurfaceFlinger surfaceflinger W Attempting to destroy on removed layer: Splash Screen person.tools.treasurebox#0 2025-09-06 02:39:45.353 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19947): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:45.363 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:45.383 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I powerHintAsync hint:8, data:0 2025-09-06 02:39:45.386 1095-2166 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:45.386 1095-2166 PowerWrap system_server I PowerHal_Wrap_querySysInfo 2025-09-06 02:39:45.387 1095-2166 PowerHalWrapper system_server E <amsBoostStop> duration: 6000ms 2025-09-06 02:39:45.387 1095-2166 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:45.387 1095-2166 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:39:45.864 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:45.853 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19948): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:46.065 454-8468 APM_AudioPolicyManager audioserver D AudioPolicyManager:setRecordSilenced(uid:10042, silenced:1) 2025-09-06 02:39:46.065 454-8468 AudioFlinger audioserver D AudioFlinger::setRecordSilenced(uid:10042, silenced:1) 2025-09-06 02:39:46.362 1095-1231 BatteryService system_server D /data/anr/adb_enable file.exists() = false mPlugType==2 2025-09-06 02:39:46.364 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:46.363 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19949): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:46.365 1285-1285 KeyguardUpdateMonitor com.android.systemui D received broadcast android.intent.action.BATTERY_CHANGED 2025-09-06 02:39:46.365 2487-2487 BatteryInfoReceiver com.miui.securitycenter.remote I ACTION_BATTERY_CHANGED 2025-09-06 02:39:46.366 5434-5518 PowerCheckerService com.miui.powerkeeper D onBatteryChanged, mBatteryLevel = 100, status = 5, level = 100, plug = 2, scale = 100 2025-09-06 02:39:46.368 463-463 MTK_FG fuelgauged W fd < 0, init first! 2025-09-06 02:39:46.368 463-463 MTK_FG fuelgauged E init failed, return! 2025-09-06 02:39:46.368 463-463 MTK_FG fuelgauged W fd < 0, init first! 2025-09-06 02:39:46.368 463-463 MTK_FG fuelgauged E init failed, return! 2025-09-06 02:39:46.384 1095-1231 BatteryService system_server D /data/anr/adb_enable file.exists() = false mPlugType==2 2025-09-06 02:39:46.865 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:46.863 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19950): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:47.365 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:47.363 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19951): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:47.866 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:47.863 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19952): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:48.366 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:48.363 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19953): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:48.867 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:48.863 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19954): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:49.367 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:49.363 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19955): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:49.369 11752-11752 ADB_SERVICES adbd I local_socket_flush_outgoing read_data=48483 2025-09-06 02:39:49.868 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:49.863 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19956): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:50.368 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:50.363 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19957): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:50.426 607-607 thermal_repeater thermal I [recvMdThermalInfo] ret=30, strLen=127, 3, 39, -127, 0, 32767, -28377 2025-09-06 02:39:50.690 12389-12420 ProfileInstaller person.tools.treasurebox D Installing profile for person.tools.treasurebox 2025-09-06 02:39:50.869 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:50.863 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19958): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:51.277 607-634 thermal_repeater thermal I inotify_add_watch error! 2025-09-06 02:39:51.277 607-634 thermal_repeater thermal I Error 2: No such file or directory 2025-09-06 02:39:51.369 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:51.363 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19959): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:51.394 440-472 powerd ven...ek.hardware.power@2.1-service I [TIMER] POWER_MSG_MTK_HINT_EXT_LAUNCH ENABLE EXPIRE 2025-09-06 02:39:51.395 440-472 libPowerHal ven...ek.hardware.power@2.1-service I 15: cpu_ctrl set freq: -1 -1 -1 -1 2025-09-06 02:39:51.518 599-719 storaged storaged E getDiskStats failed with result NOT_SUPPORTED and size 0 2025-09-06 02:39:51.870 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:51.863 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19960): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:52.371 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:39:52.363 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:19961): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:39:52.526 12389-12412 ols.treasurebo person.tools.treasurebox I ProcessProfilingInfo new_methods=85 is saved saved_to_disk=1 resolve_classes_delay=8000 分析崩溃原因
09-07
我需要 彩色的,点云重建得好的。代码:import os import cv2 import numpy as np import matplotlib.pyplot as plt import argparse import trimesh from tqdm import tqdm from typing import Tuple import time def normalize_disparity_map(disparity_map): """Normalize disparity map for visualization, clip negative values.""" disparity_valid = disparity_map[disparity_map > 0] if len(disparity_valid) == 0: return np.zeros_like(disparity_map) d_min, d_max = disparity_valid.min(), disparity_valid.max() normalized = np.zeros_like(disparity_map, dtype=np.float32) if d_max > d_min: normalized = (disparity_map - d_min) / (d_max - d_min) normalized[disparity_map <= 0] = 0 return normalized def visualize_disparity_map(disparity_map, gt_map, save_path=None): """ Visualize or save the estimated and ground truth disparity maps side-by-side. Use JET colormap for better visual interpretation (colorful). """ # Normalize both maps disp_norm = normalize_disparity_map(disparity_map) gt_norm = normalize_disparity_map(gt_map) # Apply jet colormap -> (H, W, 3) disp_color = plt.cm.jet(disp_norm)[:, :, :3] # Remove alpha gt_color = plt.cm.jet(gt_norm)[:, :, :3] # Concatenate horizontally: [result | GT] concat_color = np.hstack([disp_color, gt_color]) if save_path is None: plt.figure(figsize=(12, 5)) plt.imshow(concat_color) plt.axis('off') plt.title("Estimated Disparity (left) vs Ground Truth (right)") plt.show() else: os.makedirs(os.path.dirname(save_path), exist_ok=True) plt.imsave(save_path, concat_color, cmap='jet') # Save as colorful PNG print(f"Disparity map saved to {save_path}") def task1_compute_disparity_map_simple( ref_img: np.ndarray, sec_img: np.ndarray, window_size: int, disparity_range: Tuple[int, int], matching_function: str ): """ Compute disparity map using simple window-based matching. Uses OpenCV's boxFilter for fast cost aggregation. Returns a single-channel float32 disparity map. """ ref = ref_img.astype(np.float32) sec = sec_img.astype(np.float32) H, W = ref.shape dmin, dmax = disparity_range if dmin < 0: raise ValueError("min_disparity should be >= 0.") disparities = list(range(dmin, dmax + 1)) ksize = (window_size, window_size) N = float(window_size * window_size) eps = 1e-6 cost_volume = np.empty((len(disparities), H, W), dtype=np.float32) for idx, d in enumerate(disparities): shifted_sec = np.zeros_like(sec) if d == 0: shifted_sec = sec.copy() else: shifted_sec[:, d:] = sec[:, :-d] if matching_function == "SSD": diff = ref - shifted_sec cost = cv2.boxFilter(diff * diff, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) elif matching_function == "SAD": diff = np.abs(ref - shifted_sec) cost = cv2.boxFilter(diff, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) elif matching_function == "normalized_correlation": sumI = cv2.boxFilter(ref, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumJ = cv2.boxFilter(shifted_sec, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumI2 = cv2.boxFilter(ref * ref, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumJ2 = cv2.boxFilter(shifted_sec * shifted_sec, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumIJ = cv2.boxFilter(ref * shifted_sec, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) num = sumIJ - (sumI * sumJ) / N den = np.sqrt(np.maximum(sumI2 - sumI*sumI/N, 0)) * np.sqrt(np.maximum(sumJ2 - sumJ*sumJ/N, 0)) + eps ncc = num / den cost = -ncc # Maximize NCC => Minimize (-NCC) else: raise ValueError(f"Unknown matching function: {matching_function}") if d > 0: cost[:, :d] = np.inf cost_volume[idx] = cost best_idx = np.argmin(cost_volume, axis=0) disparity_map = np.take(np.array(disparities, dtype=np.float32), best_idx) best_cost = np.min(cost_volume, axis=0) disparity_map[~np.isfinite(best_cost)] = 0.0 return disparity_map def task1_simple_disparity(ref_img, sec_img, gt_map, img_name='tsukuba'): """ Run Task 1: test different configurations of window size, disparity range, and matching function. Save all results as colorful disparity images and log runtime. """ window_sizes = [5, 9, 15] disparity_range = (0, 64) matching_functions = ['SSD', 'SAD', 'normalized_correlation'] disparity_maps = [] print(f"🚀 Starting Task 1: Testing multiple configurations on '{img_name}'...") for window_size in window_sizes: for matching_function in matching_functions: start_time = time.time() print(f"⚙️ Computing: ws={window_size}, func={matching_function}") disparity_map = task1_compute_disparity_map_simple( ref_img, sec_img, window_size, disparity_range, matching_function) runtime = time.time() - start_time print(f"⏱️ Done in {runtime:.2f}s") disparity_maps.append((disparity_map.copy(), window_size, matching_function, disparity_range)) # Save path with full info dmin, dmax = disparity_range save_path = f"output/task1_{img_name}_{window_size}_{dmin}_{dmax}_{matching_function}.png" visualize_disparity_map(disparity_map, gt_map, save_path=save_path) # Log runtime for report with open("output/runtime_log.txt", "a") as f: f.write(f"Task1,{img_name},{window_size},{dmin},{dmax},{matching_function},{runtime:.4f}\n") return disparity_maps def task2_compute_depth_map(disparity_map, baseline=0.2, focal_length=615): """ Convert disparity to depth using z = fB / d Ignore zero/negative disparities. """ depth_map = np.zeros_like(disparity_map, dtype=np.float32) valid = disparity_map > 0 depth_map[valid] = (focal_length * baseline) / (disparity_map[valid] + 1e-8) return depth_map def task2_visualize_pointcloud( ref_img_bgr: np.ndarray, disparity_map: np.ndarray, save_path: str = 'output/task2_tsukuba.ply' ): """ Generate a FULLY COLORFUL 3D point cloud from disparity. - X,Y: pixel coordinates - Z: depth derived from disparity - Color: true RGB from reference image (convert BGR → RGB) Filters out invalid depths and extreme outliers. """ # Calibration parameters (Tsukuba dataset typical values) baseline = 0.2 # meters focal_length = 615 # pixels depth_map = task2_compute_depth_map(disparity_map, baseline, focal_length) # Remove infinite/nan and clip top 1% valid = np.isfinite(depth_map) & (depth_map > 0) if np.sum(valid) == 0: print("⚠️ No valid depth points found!") return # Clip far outliers max_depth = np.percentile(depth_map[valid], 99) valid &= (depth_map <= max_depth) H, W = depth_map.shape xs, ys = np.meshgrid(np.arange(W), np.arange(H), indexing='xy') points = np.stack([xs[valid], ys[valid], depth_map[valid]], axis=1) # Convert BGR to RGB and extract colors ref_rgb = cv2.cvtColor(ref_img_bgr, cv2.COLOR_BGR2RGB) colors = ref_rgb[valid].reshape(-1, 3).astype(np.uint8) # Create and save PLY pc = trimesh.PointCloud(vertices=points, colors=colors) os.makedirs(os.path.dirname(save_path), exist_ok=True) pc.export(save_path, file_type='ply') print(f"🎨 Colored point cloud saved to {save_path}") def task3_compute_disparity_map_dp(ref_img, sec_img): """ Dynamic Programming based stereo matching along horizontal scanlines. Handles occlusions via penalty terms. """ ref = ref_img.astype(np.float32) sec = sec_img.astype(np.float32) H, W = ref.shape occlusion_penalty = 20.0 max_disparity = 64 disparity_map = np.zeros((H, W), dtype=np.float32) t0 = time.perf_counter() for r in tqdm(range(H), desc="DP Scanline Processing"): L = ref[r] R = sec[r] dp = np.full((W+1, W+1), np.inf, dtype=np.float32) move = np.zeros((W+1, W+1), dtype=np.uint8) # 0=match, 1=occL, 2=occR dp[0, 0] = 0.0 for i in range(1, W+1): dp[i, 0] = dp[i-1, 0] + occlusion_penalty move[i, 0] = 1 for i in range(1, W+1): li = L[i-1] for j in range(1, i+1): # Match only if within max_disparity disp = i - j if disp <= max_disparity: c_match = dp[i-1, j-1] + abs(li - R[j-1]) else: c_match = np.inf c_occL = dp[i-1, j] + occlusion_penalty c_occR = dp[i, j-1] + occlusion_penalty if c_match <= c_occL and c_match <= c_occR: dp[i, j] = c_match move[i, j] = 0 elif c_occL <= c_occR: dp[i, j] = c_occL move[i, j] = 1 else: dp[i, j] = c_occR move[i, j] = 2 # Backtrack i, j = W, W while i > 0 or j > 0: m = move[i, j] if i > 0 and j > 0 and m == 0: disparity_map[r, i-1] = float(i - j) i -= 1 j -= 1 elif i > 0 and (j == 0 or m == 1): disparity_map[r, i-1] = 0.0 i -= 1 else: j -= 1 t1 = time.perf_counter() print(f"[Task3] DP runtime: {t1 - t0:.3f}s") return disparity_map def main(tasks): # Load images try: moebius_img1 = cv2.imread("data/moebius1.png") moebius_img1_gray = cv2.cvtColor(moebius_img1, cv2.COLOR_BGR2GRAY).astype(np.float32) moebius_img2 = cv2.imread("data/moebius2.png") moebius_img2_gray = cv2.cvtColor(moebius_img2, cv2.COLOR_BGR2GRAY).astype(np.float32) moebius_gt = cv2.imread("data/moebius_gt.png", cv2.IMREAD_GRAYSCALE).astype(np.float32) except Exception as e: print("Moebius data not available:", e) tsukuba_img1 = cv2.imread("data/tsukuba1.jpg") tsukuba_img1_gray = cv2.cvtColor(tsukuba_img1, cv2.COLOR_BGR2GRAY).astype(np.float32) tsukuba_img2 = cv2.imread("data/tsukuba2.jpg") tsukuba_img2_gray = cv2.cvtColor(tsukuba_img2, cv2.COLOR_BGR2GRAY).astype(np.float32) tsukuba_gt = cv2.imread("data/tsukuba_gt.jpg", cv2.IMREAD_GRAYSCALE).astype(np.float32) # Ensure output directory exists os.makedirs("output", exist_ok=True) # Clear or init runtime log with open("output/runtime_log.txt", "a") as f: f.write("Method,Image,WindowSize,dMin,dMax,MatchingFunction,Runtime(s)\n") # Task 0: OpenCV Baseline if '0' in tasks: print('🔧 Running Task 0: OpenCV StereoBM baseline...') stereo = cv2.StereoBM.create(numDisparities=64, blockSize=15) tsukuba_disparity_cv2 = stereo.compute(tsukuba_img1_gray.astype(np.uint8), tsukuba_img2_gray.astype(np.uint8)).astype(np.float32) tsukuba_disparity_cv2[tsukuba_disparity_cv2 < 0] = 0 visualize_disparity_map(tsukuba_disparity_cv2, tsukuba_gt, save_path="output/task0_tsukuba_colormap.png") if '2' in tasks: task2_visualize_pointcloud(tsukuba_img1, tsukuba_disparity_cv2, save_path='output/task2_tsukuba_cv2.ply') # Task 1: Simple Matching if '1' in tasks: print('🔍 Running Task 1: Window-based Matching with Multiple Settings...') start_time = time.time() disparity_maps = task1_simple_disparity(tsukuba_img1_gray, tsukuba_img2_gray, tsukuba_gt, img_name='tsukuba') total_time = time.time() - start_time print(f"🏁 Task 1 completed in {total_time:.2f}s") if '2' in tasks: print('🎨 Generating colored point clouds for each Task 1 result...') for dm, ws, mf, dr in disparity_maps: dmin, dmax = dr path = f'output/task2_tsukuba_{ws}_{dmin}_{dmax}_{mf}.ply' task2_visualize_pointcloud(tsukuba_img1, dm, save_path=path) # Task 3: DP Matching if '3' in tasks: print('⚡ Running Task 3: Dynamic Programming Matching...') start_time = time.time() tsukuba_disparity_dp = task3_compute_disparity_map_dp(tsukuba_img1_gray, tsukuba_img2_gray) runtime = time.time() - start_time print(f"⏱️ Task 3 runtime: {runtime:.2f}s") with open("output/runtime_log.txt", "a") as f: f.write(f"Task3,tsukuba,DP,0,64,DP,{runtime:.4f}\n") visualize_disparity_map(tsukuba_disparity_dp, tsukuba_gt, save_path='output/task3_tsukuba_colormap.png') if '2' in tasks: task2_visualize_pointcloud(tsukuba_img1, tsukuba_disparity_dp, save_path='output/task2_tsukuba_dp.ply') if __name__ == '__main__': parser = argparse.ArgumentParser(description='Homework 4: Binocular Stereo (FULL COLOR VERSION)') parser.add_argument('--tasks', type=str, default='0123', help='Tasks to run: e.g., 0, 12, 023') args = parser.parse_args() main(args.tasks) 。 严格按照题目要求,不要修改原代码
11-28
import os import cv2 import numpy as np import matplotlib.pyplot as plt import argparse import trimesh import multiprocessing as mp from tqdm import tqdm from typing import Tuple import time def normalize_disparity_map(disparity_map): '''Normalize disparity map for visualization disparity should be larger than zero ''' return np.maximum(disparity_map, 0.0) / (disparity_map.max() + 1e-10) def visualize_disparity_map(disparity_map, gt_map, save_path=None): '''Visualize or save disparity map and compare with ground truth ''' # Normalize disparity maps disparity_map = normalize_disparity_map(disparity_map) gt_map = normalize_disparity_map(gt_map) # Visualize or save to file if save_path is None: concat_map = np.concatenate([disparity_map, gt_map], axis=1) plt.imshow(concat_map, 'gray') plt.show() else: os.makedirs(os.path.dirname(save_path), exist_ok=True) concat_map = np.concatenate([disparity_map, gt_map], axis=1) plt.imsave(save_path, concat_map, cmap='gray') def task1_compute_disparity_map_simple( ref_img: np.ndarray, # shape (H, W) sec_img: np.ndarray, # shape (H, W) window_size: int, disparity_range: Tuple[int, int], # (min_disparity, max_disparity) matching_function: str # can be 'SSD', 'SAD', 'normalized_correlation' ): '''Assume image planes are parallel to each other Compute disparity map using simple stereo system following the steps: 1. For each row, scan all pixels in that row 2. Generate a window for each pixel in ref_img 3. Search for a disparity (d) within (min_disparity, max_disparity) in sec_img 4. Select the best disparity that minimize window difference between ref_img[row, col] and sec_img[row, col - d] ''' ref = ref_img.astype(np.float32) sec = sec_img.astype(np.float32) H, W = ref.shape dmin, dmax = disparity_range if dmin < 0: raise ValueError("min_disparity should be >= 0 for rectified stereo pairs.") if dmax < dmin: raise ValueError("max_disparity should be >= min_disparity.") disparities = list(range(dmin, dmax + 1)) # Use fast box filter to aggregate window costs ksize = (int(window_size), int(window_size)) N = float(window_size * window_size) eps = 1e-6 cost_volume = np.empty((len(disparities), H, W), dtype=np.float32) if matching_function not in {"SSD", "SAD", "normalized_correlation"}: raise ValueError(f"Unknown matching function: {matching_function}") for idx, d in enumerate(disparities): # shifted_sec[:, col] = sec[:, col - d] (valid for col >= d) shifted_sec = np.zeros_like(sec) if d == 0: shifted_sec = sec else: shifted_sec[:, d:] = sec[:, :-d] if matching_function == "SSD": diff = (ref - shifted_sec) cost = cv2.boxFilter(diff * diff, ddepth=-1, ksize=ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) elif matching_function == "SAD": diff = np.abs(ref - shifted_sec) cost = cv2.boxFilter(diff, ddepth=-1, ksize=ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) else: # normalized_correlation # NCC = cov(I,J) / (std(I) std(J)) sumI = cv2.boxFilter(ref, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumJ = cv2.boxFilter(shifted_sec, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumI2 = cv2.boxFilter(ref * ref, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumJ2 = cv2.boxFilter(shifted_sec * shifted_sec, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) sumIJ = cv2.boxFilter(ref * shifted_sec, -1, ksize, normalize=False, borderType=cv2.BORDER_REFLECT101) num = sumIJ - (sumI * sumJ) / N den = np.sqrt(np.maximum(sumI2 - (sumI * sumI) / N, 0.0) * np.maximum(sumJ2 - (sumJ * sumJ) / N, 0.0)) + eps ncc = num / den cost = -ncc # maximize NCC == minimize (-NCC) # Mask invalid region where (col - d) < 0 if d > 0: cost[:, :d] = np.inf cost_volume[idx] = cost best_idx = np.argmin(cost_volume, axis=0) disparity_map = np.take(np.array(disparities, dtype=np.float32), best_idx) # If a pixel has no valid disparity (all inf), set to 0 best_cost = np.min(cost_volume, axis=0) disparity_map[~np.isfinite(best_cost)] = 0.0 return disparity_map def task1_simple_disparity(ref_img, sec_img, gt_map, img_name='tsukuba'): '''Compute disparity maps for different settings ''' window_sizes = [5, 9, 15] # Try different window sizes disparity_range = (0, 64) # Determine appropriate disparity range matching_functions = ['SSD', 'SAD', 'normalized_correlation'] # Try different matching functions disparity_maps = [] # Generate disparity maps for different settings for window_size in window_sizes: for matching_function in matching_functions: print(f"Computing disparity map for window_size={window_size}, disparity_range={disparity_range}, matching_function={matching_function}") disparity_map = task1_compute_disparity_map_simple( ref_img, sec_img, window_size, disparity_range, matching_function) disparity_maps.append((disparity_map, window_size, matching_function, disparity_range)) dmin, dmax = disparity_range visualize_disparity_map( disparity_map, gt_map, save_path=f"output/task1_{img_name}_{window_size}_{dmin}_{dmax}_{matching_function}.png") return disparity_maps def task2_compute_depth_map(disparity_map, baseline, focal_length): '''Compute depth map by z = fB / (x - x') Note that a disparity less or equal to zero should be ignored (set to zero) ''' disp = disparity_map.astype(np.float32) # OpenCV StereoBM uses fixed-point disparity (scaled by 16); try to auto-handle it. if np.issubdtype(disp.dtype, np.integer) or disp.max() > 512: # Heuristic: if values are large, it's likely scaled if disp.max() > 512: disp = disp / 16.0 depth_map = np.zeros_like(disp, dtype=np.float32) valid = disp > 0 depth_map[valid] = (float(focal_length) * float(baseline)) / disp[valid] return depth_map def task2_visualize_pointcloud( ref_img: np.ndarray, # shape (H, W, 3) disparity_map: np.ndarray, # shape (H, W) save_path: str = 'output/task2_tsukuba.ply' ): '''Visualize 3D pointcloud from disparity map following the steps: 1. Calculate depth map from disparity 2. Set pointcloud's XY as image's XY and and pointcloud's Z as depth 3. Set pointcloud's color as ref_img's color 4. Save pointcloud to ply files for visualizationh. We recommend to open ply file with MeshLab 5. Adjust the baseline and focal_length for better performance 6. You may need to cut some outliers for better performance ''' baseline = 10 focal_length = 10 depth_map = task2_compute_depth_map(disparity_map, baseline, focal_length) # Points H, W = depth_map.shape xs, ys = np.meshgrid(np.arange(W, dtype=np.float32), np.arange(H, dtype=np.float32)) # Keep only valid depths and drop far outliers valid = depth_map > 0 if np.any(valid): z = depth_map[valid] z_max = np.percentile(z, 99) # cut extreme far points valid = valid & (depth_map <= z_max) points = np.stack([xs[valid], ys[valid], depth_map[valid]], axis=1) # Colors # trimesh expects colors in RGB ref_rgb = ref_img[..., ::-1] colors = ref_rgb[valid].reshape(-1, 3).astype(np.uint8) # Save pointcloud to ply file pointcloud = trimesh.PointCloud(points, colors) os.makedirs(os.path.dirname(save_path), exist_ok=True) pointcloud.export(save_path, file_type='ply') def task3_compute_disparity_map_dp(ref_img, sec_img): ''' Conduct stereo matching with dynamic programming ''' ref = ref_img.astype(np.float32) sec = sec_img.astype(np.float32) H, W = ref.shape # Hyperparameters for DP occlusion_penalty = 20.0 max_disparity = 64 # only allow matches with disparity <= this value disparity_map_dp = np.zeros((H, W), dtype=np.float32) t0 = time.perf_counter() for r in tqdm(range(H), desc="DP stereo", leave=False): L = ref[r] R = sec[r] # DP tables (only lower triangle is used: j <= i) dp = np.full((W + 1, W + 1), np.inf, dtype=np.float32) move = np.zeros((W + 1, W + 1), dtype=np.uint8) # 0=match, 1=occL, 2=occR dp[0, 0] = 0.0 for i in range(1, W + 1): dp[i, 0] = dp[i - 1, 0] + occlusion_penalty move[i, 0] = 1 # Fill DP (j from 1..i) for i in range(1, W + 1): li = L[i - 1] for j in range(1, i + 1): # Match only if disparity is within range if (i - j) <= max_disparity: c_match = dp[i - 1, j - 1] + abs(li - R[j - 1]) else: c_match = np.inf c_occL = dp[i - 1, j] + occlusion_penalty c_occR = dp[i, j - 1] + occlusion_penalty if c_match <= c_occL and c_match <= c_occR: dp[i, j] = c_match move[i, j] = 0 elif c_occL <= c_occR: dp[i, j] = c_occL move[i, j] = 1 else: dp[i, j] = c_occR move[i, j] = 2 # Backtracking from (W, W) i, j = W, W while i > 0 or j > 0: m = move[i, j] if i > 0 and j > 0 and m == 0: disparity_map_dp[r, i - 1] = float(i - j) i -= 1 j -= 1 elif i > 0 and (j == 0 or m == 1): disparity_map_dp[r, i - 1] = 0.0 i -= 1 else: j -= 1 t1 = time.perf_counter() print(f"[Task3] DP runtime: {t1 - t0:.3f}s (occlusion={occlusion_penalty}, max_disp={max_disparity})") return disparity_map_dp def main(tasks): # Read images and ground truth disparity maps moebius_img1 = cv2.imread("data/moebius1.png") moebius_img1_gray = cv2.cvtColor(moebius_img1, cv2.COLOR_BGR2GRAY) moebius_img2 = cv2.imread("data/moebius2.png") moebius_img2_gray = cv2.cvtColor(moebius_img2, cv2.COLOR_BGR2GRAY) moebius_gt = cv2.imread("data/moebius_gt.png", cv2.IMREAD_GRAYSCALE) tsukuba_img1 = cv2.imread("data/tsukuba1.jpg") tsukuba_img1_gray = cv2.cvtColor(tsukuba_img1, cv2.COLOR_BGR2GRAY) tsukuba_img2 = cv2.imread("data/tsukuba2.jpg") tsukuba_img2_gray = cv2.cvtColor(tsukuba_img2, cv2.COLOR_BGR2GRAY) tsukuba_gt = cv2.imread("data/tsukuba_gt.jpg", cv2.IMREAD_GRAYSCALE) # Task 0: Visualize cv2 Results if '0' in tasks: # Compute disparity maps using cv2 stereo = cv2.StereoBM.create(numDisparities=64, blockSize=15) moebius_disparity_cv2 = stereo.compute(moebius_img1_gray, moebius_img2_gray) visualize_disparity_map(moebius_disparity_cv2, moebius_gt) tsukuba_disparity_cv2 = stereo.compute(tsukuba_img1_gray, tsukuba_img2_gray) visualize_disparity_map(tsukuba_disparity_cv2, tsukuba_gt) if '2' in tasks: print('Running task2 with cv2 results ...') task2_visualize_pointcloud(tsukuba_img1, tsukuba_disparity_cv2, save_path='output/task2_tsukuba_cv2.ply') ###################################################################### # Note. Running on moebius may take a long time with your own code # # In this homework, you are allowed only to deal with tsukuba images # ###################################################################### # Task 1: Simple Disparity Algorithm if '1' in tasks: print('Running task1 ...') disparity_maps = task1_simple_disparity(tsukuba_img1_gray, tsukuba_img2_gray, tsukuba_gt, img_name='tsukuba') ##################################################### # If you want to run on moebius images, # # parallelizing with multiprocessing is recommended # ##################################################### # task1_simple_disparity(moebius_img1_gray, moebius_img2_gray, moebius_gt, img_name='moebius') if '2' in tasks: print('Running task2 with disparity maps from task1 ...') for (disparity_map, window_size, matching_function, disparity_range) in disparity_maps: dmin, dmax = disparity_range task2_visualize_pointcloud( tsukuba_img1, disparity_map, save_path=f'output/task2_tsukuba_{window_size}_{dmin}_{dmax}_{matching_function}.ply') # Task 3: Non-local constraints if '3' in tasks: print('----------------- Task 3 -----------------') tsukuba_disparity_dp = task3_compute_disparity_map_dp(tsukuba_img1_gray, tsukuba_img2_gray) visualize_disparity_map(tsukuba_disparity_dp, tsukuba_gt, save_path='output/task3_tsukuba.png') if '2' in tasks: print('Running task2 with disparity maps from task3 ...') task2_visualize_pointcloud(tsukuba_img1, tsukuba_disparity_dp, save_path='output/task2_tsukuba_dp.ply') if __name__ == '__main__': # Set tasks to run parser = argparse.ArgumentParser(description='Homework 4') parser.add_argument('--tasks', type=str, default='0123') args = parser.parse_args() main(args.tasks) 修改一下这个代码,严格按照题目要求,并且一定要彩色!彩色!彩色!写全代码,谢谢
11-28
2025-09-06 02:51:39.535 11752-12832 ADB_SERVICES adbd I post waitpid (pid=12831) status=0000 2025-09-06 02:51:39.837 1095-2189 NtpTrustedTime system_server D currentTimeMillis() cache hit 2025-09-06 02:51:39.862 1095-2189 NetworkStatsRecorder system_server W unknown interfaces [wlan0, lo], ignoring those stats 2025-09-06 02:51:39.868 1095-2189 NtpTrustedTime system_server D currentTimeMillis() cache hit 2025-09-06 02:51:39.874 2487-3343 TrafficManageService com.miui.securitycenter.remote I mina mTrafficStatsReceiver onReceive 2025-09-06 02:51:39.875 1439-1832 PhoneInterfaceManager com.android.phone E [PhoneIntfMgr] checkCarrierPrivilegesForPackage: No UICC 2025-09-06 02:51:39.882 1439-1832 PhoneInterfaceManager com.android.phone E [PhoneIntfMgr] checkCarrierPrivilegesForPackage: No UICC 2025-09-06 02:51:39.883 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21469): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:39.892 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:40.393 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:40.383 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21470): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:40.679 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:40.699 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:40.883 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21471): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:40.894 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:41.089 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:41.145 459-459 SurfaceFlinger surfaceflinger I [Built-in Screen (type:0)] fps:2.591705,dur:4244.31,max:3658.59,min:9.15 2025-09-06 02:51:41.182 1095-1191 PowerWrap system_server I PowerHal_TouchBoost 2025-09-06 02:51:41.218 12754-12754 AndroidRuntime person.tools.treasurebox D Shutting down VM 2025-09-06 02:51:41.227 12754-12754 AndroidRuntime person.tools.treasurebox E FATAL EXCEPTION: main Process: person.tools.treasurebox, PID: 12754 java.lang.NullPointerException: null cannot be cast to non-null type java.util.Calendar at person.tools.treasurebox.customview.widget.TrafficConsumptionLineChartMarker.refreshContent(TrafficConsumptionLineChartMarker.kt:55) at com.github.mikephil.charting.charts.Chart.drawMarkers(Chart.java:745) at com.github.mikephil.charting.charts.BarLineChartBase.onDraw(BarLineChartBase.java:271) at android.view.View.draw(View.java:20355) at android.view.View.updateDisplayListIfDirty(View.java:19195) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4381) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4354) at android.view.View.updateDisplayListIfDirty(View.java:19145) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:686) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:692) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:801) at android.view.ViewRootImpl.draw(ViewRootImpl.java:3542) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3322) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2676) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1594) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7661) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1047) at android.view.Choreographer.doCallbacks(Choreographer.java:843) at android.view.Choreographer.doFrame(Choreographer.java:771) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1033) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6820) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922) 2025-09-06 02:51:41.250 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox, pid:12754, uid:10135, state:3 2025-09-06 02:51:41.251 2030-2053 octvm_klo mcd I klo lock 2025-09-06 02:51:39.863 1095-2189 chatty system_server I uid=1000(system) Binder:1095_B identical 2 lines 2025-09-06 02:51:39.864 1095-2189 NetworkStatsRecorder system_server W unknown interfaces [wlan0, lo], ignoring those stats 2025-09-06 02:51:41.252 1095-2189 ActivityManager system_server W Force finishing activity person.tools.treasurebox/.customview.view.LineChartMarkerActivity 2025-09-06 02:51:41.254 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.255 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.256 440-472 libPowerHal ven...ek.hardware.power@2.1-service I 17: cpu_ctrl set freq: 2001000 -1 1500000 -1 2025-09-06 02:51:41.263 1095-12833 AES system_server W Exception Log handling... 2025-09-06 02:51:41.263 1095-12833 AES system_server W Skipped - do not care third party apk 2025-09-06 02:51:41.264 12754-12754 Process person.tools.treasurebox I Sending signal. PID: 12754 SIG: 9 2025-09-06 02:51:41.265 1095-2189 ActivityManager system_server D report kill process: killerPid is:12754, killedPid is:12754 2025-09-06 02:51:41.269 2030-2053 octvm_klo mcd I get wanted event[mask:128, name:data_app_crash@1757098301263.txt] from the watchset ---------------------------- PROCESS ENDED (12754) for package person.tools.treasurebox ---------------------------- 2025-09-06 02:51:41.269 2030-2053 octvm_klo mcd I start gathering logcat log... 2025-09-06 02:51:41.283 1095-1190 InputDispatcher system_server W channel 'e2f25e9 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 2025-09-06 02:51:41.283 1095-1190 InputDispatcher system_server E channel 'e2f25e9 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2025-09-06 02:51:41.283 1095-1190 InputDispatcher system_server W channel '10e1762 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 2025-09-06 02:51:41.284 1095-1190 InputDispatcher system_server E channel '10e1762 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2025-09-06 02:51:41.284 2030-2053 octvm_klo mcd I gathering logcat log done 2025-09-06 02:51:41.284 2030-2053 octvm_klo mcd I klo unlock 2025-09-06 02:51:41.284 11752-11752 ADB_SERVICES adbd I for fd 18, revents = 2011 2025-09-06 02:51:41.284 1095-8460 WindowManager system_server I WIN DEATH: Window{e2f25e9 u0 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity} 2025-09-06 02:51:41.284 11752-11752 ADB_SERVICES adbd I for fd 18, revents = 2011 2025-09-06 02:51:41.284 1095-8460 InputDispatcher system_server W Attempted to unregister already unregistered input channel 'e2f25e9 person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity (server)' 2025-09-06 02:51:41.284 1095-2189 ActivityManager system_server I Process person.tools.treasurebox (pid 12754) has died: fore TOP 2025-09-06 02:51:41.284 1095-1114 libprocessgroup system_server W kill(-12754, 9) failed: No such process 2025-09-06 02:51:41.286 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox, pid:12754, uid:10135, state:3 2025-09-06 02:51:41.288 1095-2818 WindowManager system_server I WIN DEATH: Window{10e1762 u0 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity} 2025-09-06 02:51:41.288 1095-2818 InputDispatcher system_server W Attempted to unregister already unregistered input channel '10e1762 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity (server)' 2025-09-06 02:51:41.290 1095-1114 libprocessgroup system_server W kill(-12754, 9) failed: No such process 2025-09-06 02:51:41.290 1095-1114 libprocessgroup system_server I Successfully killed process cgroup uid 10135 pid 12754 in 5ms 2025-09-06 02:51:41.297 459-1187 SurfaceFlinger surfaceflinger W Attempting to set client state on removed layer: person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity#0 2025-09-06 02:51:41.297 459-1187 SurfaceFlinger surfaceflinger W Attempting to destroy on removed layer: person.tools.treasurebox/person.tools.treasurebox.customview.view.LineChartMarkerActivity#0 2025-09-06 02:51:41.299 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.299 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.300 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:51:41.300 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:51:41.300 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 27 microseconds, avg: 862 2025-09-06 02:51:41.302 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.302 1095-2189 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:41.305 459-1187 SurfaceFlinger surfaceflinger I [SF client] Remove(0xaea97ee0) for (1095:system_server) 2025-09-06 02:51:41.309 454-2151 APM_AudioPolicyManager audioserver D AudioPolicyManager:setRecordSilenced(uid:10135, silenced:1) 2025-09-06 02:51:41.309 454-2151 AudioFlinger audioserver D AudioFlinger::setRecordSilenced(uid:10135, silenced:1) 2025-09-06 02:51:41.309 1095-1119 ActivityManager system_server W setHasOverlayUi called on unknown pid: 12754 2025-09-06 02:51:41.313 1095-1170 ViewRootIm...easurebox] system_server D hardware acceleration = false , fakeHwAccelerated = true, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false 2025-09-06 02:51:41.325 1095-1113 Boost system_server D hostingType=activity, hostingName=person.tools.treasurebox/.customview.view.CustomViewTestActivity, callerPackage=person.tools.treasurebox, isSystem=false, isBoostNeeded=false. 2025-09-06 02:51:41.326 607-634 thermal_repeater thermal I inotify_add_watch error! 2025-09-06 02:51:41.326 607-634 thermal_repeater thermal I Error 2: No such file or directory 2025-09-06 02:51:41.327 1095-1113 ActivityManager system_server I Start proc 12836:person.tools.treasurebox/u0a135 for activity person.tools.treasurebox/.customview.view.CustomViewTestActivity caller=person.tools.treasurebox 2025-09-06 02:51:41.335 12836-12836 ols.treasurebo pid-12836 I Late-enabling -Xcheck:jni 2025-09-06 02:51:41.341 612-638 ApmSession mtk_agpsd D Connect 2025-09-06 02:51:41.342 386-386 hwservicemanager hwservicemanager W getTransport: Cannot find entry vendor.mediatek.hardware.apmonitor@1.0::IAPMonitorService/default in either framework or device manifest. 2025-09-06 02:51:41.342 612-638 ApmSession mtk_agpsd D Connect: false 2025-09-06 02:51:41.342 612-638 ApmNative mtk_agpsd D apmIsKpiEnabled2: type = 54, ret = 0 2025-09-06 02:51:41.360 1095-1170 Surface system_server D lockCanvas 2025-09-06 02:51:41.360 1095-1170 Surface system_server D Surface::connect(this=0x90e39000,api=2) 2025-09-06 02:51:41.394 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:41.383 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21472): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:41.396 11752-11752 ADB_SERVICES adbd I local_socket_flush_incoming write_data=1250735 2025-09-06 02:51:41.400 11752-11752 ADB_SERVICES adbd I service_to_fd shell:stat -c %u /proc/12836 | xargs -n 1 cmd package list packages --uid 2025-09-06 02:51:41.403 12836-12836 re-initialized> pid-12836 W type=1400 audit(0.0:21473): avc: denied { read } for name="u:object_r:mtk_amslog_prop:s0" dev="tmpfs" ino=9762 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:mtk_amslog_prop:s0 tclass=file permissive=0 2025-09-06 02:51:41.410 12836-12836 libc pid-12836 E Access denied finding property "persist.vendor.sys.activitylog" 2025-09-06 02:51:41.423 440-473 vendor.med...r@2.1-impl ven...ek.hardware.power@2.1-service I notifyAppState_2_1 pack:person.tools.treasurebox, act:person.tools.treasurebox.customview.view.CustomViewTestActivity, pid:12836, uid:10135, state:1 2025-09-06 02:51:41.424 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:51:41.425 1095-1170 Timeline system_server I Timeline: App_transition_ready time:9127560 2025-09-06 02:51:41.425 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:51:41.425 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 20 microseconds, avg: 860 2025-09-06 02:51:41.425 1095-1170 Timeline system_server I Timeline: App_transition_stopped time:9127560 2025-09-06 02:51:41.427 1285-1285 EventBus com.android.systemui D [1285, u0] send(AppTransitionFinishedEvent) 2025-09-06 02:51:41.428 1285-1285 EventBus com.android.systemui D [1285, u0] -> ForcedResizableInfoActivityController [0x976a029, P1] onBusEvent(AppTransitionFinishedEvent) 2025-09-06 02:51:41.428 1285-1285 EventBus com.android.systemui D [1285, u0] onBusEvent(AppTransitionFinishedEvent) duration: 30 microseconds, avg: 857 2025-09-06 02:51:41.428 454-8468 APM_AudioPolicyManager audioserver D AudioPolicyManager:setRecordSilenced(uid:10135, silenced:0) ---------------------------- PROCESS STARTED (12836) for package person.tools.treasurebox ---------------------------- 2025-09-06 02:51:41.428 454-8468 AudioFlinger audioserver D AudioFlinger::setRecordSilenced(uid:10135, silenced:0) 2025-09-06 02:51:41.533 11752-11752 ADB_SERVICES adbd I for fd 29, revents = 10 2025-09-06 02:51:41.534 11752-12850 ADB_SERVICES adbd I post waitpid (pid=12848) status=0000 2025-09-06 02:51:41.671 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection) 2025-09-06 02:51:41.672 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection) 2025-09-06 02:51:41.722 12836-12836 AppCompatDelegate person.tools.treasurebox D Checking for metadata for AppLocalesMetadataHolderService : Service not found 2025-09-06 02:51:41.783 12836-12836 Binder:intercep person.tools.treasurebox W type=1400 audit(0.0:21474): avc: denied { getattr } for path="/data/data/com.miui.contentcatcher" dev="dm-2" ino=3088579 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 2025-09-06 02:51:41.794 12836-12861 ViewContentFactory person.tools.treasurebox D initViewContentFetcherClass 2025-09-06 02:51:41.794 12836-12861 ViewContentFactory person.tools.treasurebox D getInterceptorPackageInfo 2025-09-06 02:51:41.794 12836-12861 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/app/AppGlobals;->getInitialApplication()Landroid/app/Application; (light greylist, linking) 2025-09-06 02:51:41.795 12836-12861 ViewContentFactory person.tools.treasurebox D getInitialApplication took 2ms 2025-09-06 02:51:41.796 12836-12861 ViewContentFactory person.tools.treasurebox D packageInfo.packageName: com.miui.catcherpatch 2025-09-06 02:51:41.803 12836-12836 Binder:intercep person.tools.treasurebox W type=1400 audit(0.0:21475): avc: denied { getattr } for path="/data/data/com.miui.catcherpatch" dev="dm-2" ino=3114656 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 2025-09-06 02:51:41.814 12836-12861 ViewContentFactory person.tools.treasurebox D initViewContentFetcherClass took 21ms 2025-09-06 02:51:41.815 12836-12861 ContentCatcher person.tools.treasurebox I ViewContentFetcher : ViewContentFetcher 2025-09-06 02:51:41.815 12836-12861 ViewContentFactory person.tools.treasurebox D createInterceptor took 21ms 2025-09-06 02:51:41.822 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2025-09-06 02:51:41.895 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:41.893 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21476): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;-><init>()V (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromAssetManager(Landroid/content/res/AssetManager;Ljava/lang/String;IZIII[Landroid/graphics/fonts/FontVariationAxis;)Z (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->freeze()Z (light greylist, reflection) 2025-09-06 02:51:41.898 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/FontFamily;->abortCreation()V (light greylist, reflection) 2025-09-06 02:51:41.899 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/graphics/Typeface;->createFromFamiliesWithDefault([Landroid/graphics/FontFamily;Ljava/lang/String;II)Landroid/graphics/Typeface; (light greylist, reflection) 2025-09-06 02:51:41.994 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2025-09-06 02:51:42.053 12836-12836 SurfaceFactory person.tools.treasurebox I [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@35df084 2025-09-06 02:51:42.069 12836-12836 ViewRootIm...tActivity] person.tools.treasurebox D hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false 2025-09-06 02:51:42.072 459-1187 SurfaceFlinger surfaceflinger I [SF client] NEW(0xab9552d0) for (1095:system_server) 2025-09-06 02:51:42.077 12836-12836 PhoneWindow person.tools.treasurebox V DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@5842533, this = DecorView@50b90f0[CustomViewTestActivity] 2025-09-06 02:51:42.079 1095-1196 UiModeManager system_server V switch night mode to 1 2025-09-06 02:51:42.085 607-607 thermal_repeater thermal I [recvMdThermalInfo] ret=30, strLen=127, 3, 39, -127, 0, 32767, -28377 2025-09-06 02:51:42.136 1095-1267 WindowManager system_server I Relayout Window{479f0cd u0 person.tools.treasurebox/person.tools.treasurebox.customview.view.CustomViewTestActivity}: oldVis=4 newVis=0 focusMayChange = true 2025-09-06 02:51:42.150 12836-12836 Surface person.tools.treasurebox D Surface::allocateBuffers(this=0xa47ad000) 2025-09-06 02:51:42.159 459-459 SurfaceFlinger surfaceflinger I [Built-in Screen (type:0)] fps:12.829244,dur:1013.31,max:649.58,min:13.13 2025-09-06 02:51:42.159 12836-12862 ConfigStore person.tools.treasurebox I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2025-09-06 02:51:42.159 12836-12862 ConfigStore person.tools.treasurebox I android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2025-09-06 02:51:42.159 12836-12862 OpenGLRenderer person.tools.treasurebox I Initialized EGL, version 1.4 2025-09-06 02:51:42.159 12836-12862 OpenGLRenderer person.tools.treasurebox D Swap behavior 2 2025-09-06 02:51:42.168 12836-12836 Looper person.tools.treasurebox W Slow Looper main: doFrame is 390ms late because of 3 msg, msg 1 took 391ms (late=59ms h=android.app.ActivityThread$H w=159) 2025-09-06 02:51:42.180 12836-12862 Surface person.tools.treasurebox D Surface::connect(this=0xa47ad000,api=1) 2025-09-06 02:51:42.183 12836-12862 libEGL person.tools.treasurebox I [MTK Game SDK] low_latency_mode(0) pid(-1) property(-1) 2025-09-06 02:51:42.248 12836-12862 ion person.tools.treasurebox E ioctl c0044901 failed with code -1: Invalid argument 2025-09-06 02:51:42.292 1095-1170 View system_server D [Warning] assignParent to null: this = DecorView@752c93[treasurebox] 2025-09-06 02:51:42.292 1095-1119 ActivityManager system_server I Displayed person.tools.treasurebox/.customview.view.CustomViewTestActivity: +986ms 2025-09-06 02:51:42.293 1095-1119 Timeline system_server I Timeline: Activity_windows_visible id: ActivityRecord{d4d52dd u0 person.tools.treasurebox/.customview.view.CustomViewTestActivity t55} time:9128428 2025-09-06 02:51:42.310 1095-1170 Surface system_server D Surface::disconnect(this=0x90e39000,api=2) 2025-09-06 02:51:42.311 459-495 SurfaceFlinger surfaceflinger W Attempting to set client state on removed layer: Splash Screen person.tools.treasurebox#0 2025-09-06 02:51:42.311 459-495 SurfaceFlinger surfaceflinger W Attempting to destroy on removed layer: Splash Screen person.tools.treasurebox#0 2025-09-06 02:51:42.315 1095-1267 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:42.315 1095-1267 PowerWrap system_server I PowerHal_Wrap_querySysInfo 2025-09-06 02:51:42.317 1095-1267 PowerHalWrapper system_server E <amsBoostStop> duration: 6000ms 2025-09-06 02:51:42.317 1095-1267 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:42.317 1095-1267 PowerWrap system_server I PowerHal_Wrap_mtkPowerHint 2025-09-06 02:51:42.395 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:42.393 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21477): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 2025-09-06 02:51:42.547 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:51:42.547 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:51:42.548 12836-12836 ols.treasurebo person.tools.treasurebox W Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection) 2025-09-06 02:51:42.895 626-712 factoryInterface_common int....factoryInterface@1.0-service E ERROR: factoryInterface,serial_config.cpp,265,open_usb(): Open /dev/ttyGS0 fail 2025-09-06 02:51:42.893 626-626 ata_acm int....factoryInterface@1.0-service W type=1400 audit(0.0:21478): avc: denied { dac_override } for capability=1 scontext=u:r:factory_services:s0 tcontext=u:r:factory_services:s0 tclass=capability permissive=0 崩溃分析
09-07
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值